diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index a0953bcc2..4881ac758 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1 @@ -github: [psanders] +github: [fonoster] diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..bbcbbe7d6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/stale.yml b/.github/stale.yml index 8e55aa0ee..514b3223c 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -1,4 +1,4 @@ -daysUntilStale: 90 +daysUntilStale: 365 daysUntilClose: 7 exemptLabels: - pinned diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 000000000..0dcbbafc7 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,41 @@ +name: "CodeQL" + +on: + push: + branches: [ main, 0.2 ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ main ] + schedule: + - cron: '45 20 * * 2' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'javascript', 'typescript' ] + + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8cefd8cb5..b99717c87 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,9 +5,6 @@ on: - 'mods/**' branches: - main - - dev - #release: - # types: [published] workflow_dispatch: jobs: build: @@ -27,78 +24,206 @@ jobs: npm install npm run bootstrap npm run build + - name: Login Dockerhub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_PASSWORD }} + - name: Copy and Push Traefik image + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/traefik:v2.4 + dst: | + docker.io/fonoster/traefik:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Fluentd with Elasticsearch Plugin + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: fonoster/fluent:latest + dst: | + docker.io/fonoster/fluent:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Vault + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: vault:latest + dst: | + docker.io/fonoster/vault:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Elasticsearch + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: elasticsearch:7.16.3 + dst: | + docker.io/fonoster/elasticsearch:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Whoami image + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/containous/whoami:latest + dst: | + docker.io/fonoster/whoami:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Minio image + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/minio/minio:RELEASE.2020-02-27T00-23-05Z + dst: | + docker.io/fonoster/minio:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Redis image + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/redis:6.0.3-alpine + dst: | + docker.io/fonoster/redis:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push RTPEngine image + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/psanders/rtpengine:20211114 + dst: | + docker.io/fonoster/rtpengine:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Routr image + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/fonoster/routr:1.0.0-rc6 + dst: | + docker.io/fonoster/routr:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Rox as Voice image + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/fonoster/rox:0.0.13 + dst: | + docker.io/fonoster/voice:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Autoheal + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/willfarrell/autoheal:latest + dst: | + docker.io/fonoster/autoheal:${{ steps.get_version.outputs.VERSION }} + - name: Copy and Push Healthcheck + uses: akhilerm/tag-push-action@v2.0.0 + with: + src: docker.io/psanders/healthcheck:latest + dst: | + docker.io/fonoster/healthcheck:${{ steps.get_version.outputs.VERSION }} + - name: Publish to Docker Hub the Fonoster installer + uses: elgohr/Publish-Docker-Github-Action@v5 + env: + FONOSTER_VERSION: ${{ steps.get_version.outputs.VERSION }} + BRANCH: main + with: + name: fonoster/fonoster + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_PASSWORD }} + tags: "latest, ${{ steps.get_version.outputs.VERSION }}" + buildargs: FONOSTER_VERSION,BRANCH + - name: Publish to Docker Hub the Projects API + uses: elgohr/Publish-Docker-Github-Action@v5 + with: + name: fonoster/projects + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_PASSWORD }} + workdir: mods/projects + tags: "latest, ${{ steps.get_version.outputs.VERSION }}" + - name: Publish to Docker Hub the Monitor API + uses: elgohr/Publish-Docker-Github-Action@v5 + with: + name: fonoster/monitor + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_PASSWORD }} + workdir: mods/monitor + tags: "latest, ${{ steps.get_version.outputs.VERSION }}" + - name: Publish to Docker Hub the Users API + uses: elgohr/Publish-Docker-Github-Action@v5 + with: + name: fonoster/users + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_PASSWORD }} + workdir: mods/users + tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the Secrets API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-secrets + name: fonoster/secrets username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/secrets tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the Funcs API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-funcs + name: fonoster/funcs username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/funcs tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the Agents API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-agents + name: fonoster/agents username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/agents tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the Domains API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-domains + name: fonoster/domains username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/domains tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the Numbers API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-numbers + name: fonoster/numbers username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/numbers tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the Providers API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-providers + name: fonoster/providers username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/providers tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the Storage API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-storage + name: fonoster/storage username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/storage tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the CallManager API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-callmanager + name: fonoster/callmanager username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/callmanager tags: "latest, ${{ steps.get_version.outputs.VERSION }}" - name: Publish to Docker Hub the Auth API - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@v5 with: - name: fonoster/fonos-auth + name: fonoster/auth username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} workdir: mods/auth tags: "latest, ${{ steps.get_version.outputs.VERSION }}" + - name: Publishing MediaServer Service + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: publish to docker hub + repo: fonoster/mediaserver + token: ${{ secrets.GH_PAT }} + ref: main + inputs: '{"version": "${{ steps.get_version.outputs.VERSION }}" }' + #- name: Publishing RTPEngine Service + # uses: benc-uk/workflow-dispatch@v1 + # with: + # workflow: publish to docker hub + # repo: fonoster/rtpengine + # token: ${{ secrets.GH_PAT }} + # ref: main + # inputs: '{"version": "${{ steps.get_version.outputs.VERSION }}" }' - name: Publishing JWTHelper Service uses: benc-uk/workflow-dispatch@v1 with: @@ -107,11 +232,12 @@ jobs: token: ${{ secrets.GH_PAT }} ref: main inputs: '{"version": "${{ steps.get_version.outputs.VERSION }}" }' - - name: Publishing MediaServer Service + - name: Publishing GRPC Gateway uses: benc-uk/workflow-dispatch@v1 with: workflow: publish to docker hub - repo: fonoster/mediaserver + repo: fonoster/grpc-gateway token: ${{ secrets.GH_PAT }} ref: main + inputs: '{"version": "${{ steps.get_version.outputs.VERSION }}" }' diff --git a/.gitignore b/.gitignore index 7cbfaeaf6..2be68c6af 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ node_modules coverage .nyc_output +*.DS_Store *.tar.gz *.zip build @@ -25,6 +26,7 @@ site lerna-debug.log mods/**/src/protos/common.proto !mods/core/src/protos/common.proto +swagger.json # User-specific stuff: .idea/workspace.xml diff --git a/.helm/Chart.yaml b/.helm/Chart.yaml index 432297987..6e9f70f75 100644 --- a/.helm/Chart.yaml +++ b/.helm/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 -name: fonos +name: fonoster description: | - Project Fonos assembles the components needed to deploy a telephony system. + Fonoster assembles the components needed to deploy a telephony system. It helps VoIP integrators quickly deploy new networks and include value-added services such as Programmable Voice, Messaging, and Video. type: application diff --git a/.helm/README.md b/.helm/README.md index 86fa25e87..d44d3efa1 100644 --- a/.helm/README.md +++ b/.helm/README.md @@ -1,18 +1,18 @@ -# Project Fonos +# Fonoster -Project Fonos assembles the components needed to deploy a telephony system. It helps VoIP integrators quickly deploy new networks and include value-added services such as Programmable Voice, Messaging, and Video. +Fonoster assembles the components needed to deploy a telephony system. It helps VoIP integrators quickly deploy new networks and include value-added services such as Programmable Voice, Messaging, and Video. -Project Fonos: https://github.com/fonoster/fonos +Fonoster: https://github.com/fonoster/fonoster ## Introduction -This chart bootstraps Project Fonos for deployment on a [Kubernetes](https://kubernetes.io/) cluster using the [Helm](https://helm.sh/) package manager. +This chart bootstraps Fonoster for deployment on a [Kubernetes](https://kubernetes.io/) cluster using the [Helm](https://helm.sh/) package manager. ## Prerequisites - Kubernetes 1.18+ - Helm 3.0-beta3+ -- [Fonos CTL](https://www.npmjs.com/package/@fonos/ctl) +- [Fonoster CTL](https://www.npmjs.com/package/@fonoster/ctl) - PV provisioner support in the underlying infrastructure - Nginx ingress Controller @@ -29,7 +29,7 @@ fonos config:init ## Add this Helm repository to your Helm client ```bash -helm repo add fonoster https://fonoster.github.io/fonos +helm repo add fonoster https://fonoster.github.io/fonoster/charts ``` ## Installing the Chart @@ -38,10 +38,10 @@ To install the chart with the release name my-release: ```bash kubectl create namespace fonos -helm install my-release fonoster/fonos --namespace fonos +helm install my-release fonoster/fonoster --namespace fonos ``` -The command deploys Project Fonos in the `fonos` namespace on the Kubernetes cluster in the default configuration. +The command deploys Fonoster in the `fonos` namespace on the Kubernetes cluster in the default configuration. > We recommend using a namespace for easy upgrades. @@ -57,7 +57,7 @@ The command removes all the Kubernetes components associated with the chart and ## Changelog -The [CHANGELOG](https://github.com/fonoster/fonos/tree/gh-pages/charts/CHANGELOG.md) provides notable changes on the chart. +The [CHANGELOG](https://github.com/fonoster/fonoster/tree/gh-pages/charts/CHANGELOG.md) provides notable changes on the chart. ## Parameters @@ -93,7 +93,7 @@ redis: Specify each parameter using the --set key=value[,key=value] argument to helm install. For example, ```bash -helm upgrade --wait my-release fonoster/fonos +helm upgrade --wait my-release fonoster/fonoster ``` Alternatively, you can provide a YAML file that specifies the above parameters' values while installing the chart. For example: diff --git a/.helm/templates/deployments/apiserver.yml b/.helm/templates/deployments/apiserver.yml index cff72d12f..28272db89 100644 --- a/.helm/templates/deployments/apiserver.yml +++ b/.helm/templates/deployments/apiserver.yml @@ -23,7 +23,7 @@ spec: spec: containers: - name: fonos - image: fonoster/fonos-apiserver:latest + image: fonoster/apiserver:latest imagePullPolicy: Always env: - name: SIPPROXY_HOST @@ -53,13 +53,13 @@ spec: - name: EVENTS_BROKERS value: amqp://{{ .Values.rabbitmq.auth.username }}:{{ .Values.rabbitmq.auth.password }}@{{ printf "%s-%s" .Release.Name .Values.rabbitmq.nameOverride }}:5672 volumeMounts: - - mountPath: /root/.fonos - name: fonos-config + - mountPath: /root/.fonoster + name: fonoster-config readOnly: true ports: - name: grpc containerPort: 50052 volumes: - - name: fonos-config + - name: fonoster-config secret: - secretName: fonos-config + secretName: fonoster-config diff --git a/.helm/templates/deployments/mediacontroller.yml b/.helm/templates/deployments/mediacontroller.yml index 992369ae7..0bd2ae7cb 100644 --- a/.helm/templates/deployments/mediacontroller.yml +++ b/.helm/templates/deployments/mediacontroller.yml @@ -23,7 +23,7 @@ spec: spec: containers: - name: mediacontroller - image: fonoster/fonos-nodejsmc:latest + image: fonoster/nodejsmc:latest imagePullPolicy: Always env: - name: APISERVER_ENDPOINT @@ -37,10 +37,10 @@ spec: - name: EVENTS_QUEUE value: apiserver volumeMounts: - - mountPath: /root/.fonos - name: fonos-config + - mountPath: /root/.fonoster + name: fonoster-config readOnly: true - - mountPath: /fonos + - mountPath: /fonoster name: shared-files readOnly: false ports: @@ -57,9 +57,9 @@ spec: name: shared-files readOnly: false volumes: - - name: fonos-config + - name: fonoster-config secret: - secretName: fonos-config + secretName: fonoster-config - name: shared-files persistentVolumeClaim: claimName: {{ printf "%s-%s" .Release.Name .Values.minio.nameOverride }} \ No newline at end of file diff --git a/.helm/templates/deployments/mediaserver.yml b/.helm/templates/deployments/mediaserver.yml index c079d3a16..50cfad168 100644 --- a/.helm/templates/deployments/mediaserver.yml +++ b/.helm/templates/deployments/mediaserver.yml @@ -72,15 +72,15 @@ spec: - name: EVENTS_BROKERS value: amqp://{{ .Values.rabbitmq.auth.username }}:{{ .Values.rabbitmq.auth.password }}@{{ printf "%s-%s" .Release.Name .Values.rabbitmq.nameOverride }}:5672 volumeMounts: - - mountPath: /root/.fonos - name: fonos-config + - mountPath: /root/.fonoster + name: fonoster-config readOnly: true - mountPath: /data name: recordings readOnly: false volumes: - - name: fonos-config + - name: fonoster-config secret: - secretName: fonos-config + secretName: fonoster-config - name: recordings emptyDir: {} diff --git a/.helm/templates/ingress/apiserver.yml b/.helm/templates/ingress/apiserver.yml index ede6371b5..b59e7c231 100644 --- a/.helm/templates/ingress/apiserver.yml +++ b/.helm/templates/ingress/apiserver.yml @@ -15,7 +15,7 @@ metadata: spec: tls: - hosts: [{{ .Values.apiserver.ingress.host }} ] - secretName: fonos-certs + secretName: fonoster-certs rules: - host: {{ .Values.apiserver.ingress.host }} http: diff --git a/.helm/values.yaml b/.helm/values.yaml index 22b17c618..43adfb85d 100644 --- a/.helm/values.yaml +++ b/.helm/values.yaml @@ -74,7 +74,7 @@ mediaserver: # registry is the MediaServer's image registry registry: docker.io # registry is the MediaServer's image repository - repository: fonoster/fonos-mediaserver + repository: fonoster/mediaserver # tag is the MediaServer's image tag tag: latest # pullPolicy is the MediaServer's image pull policy diff --git a/.husky/pre-commit b/.husky/pre-commit index 3dee86848..c49ebbaba 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,7 +1,7 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm test -npm run lint -npm run check-types -npm run format +#npm test +#npm run lint +# npm run check-types +#npm run format diff --git a/.prettierignore b/.prettierignore index 1857e4da3..bdeda2e41 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,4 +3,5 @@ **/*.d.ts **/dist **/package-lock.json -**/*.md \ No newline at end of file +**/*.md +**/generated/* \ No newline at end of file diff --git a/.scripts/gen_code_proto.sh b/.scripts/gen_code_proto.sh new file mode 100755 index 000000000..44b09b279 --- /dev/null +++ b/.scripts/gen_code_proto.sh @@ -0,0 +1,53 @@ +#!/usr/bin/env sh +DIRNAME="$(cd "$(dirname "$0")"; pwd)" + +PROTOS=( + monitor \ + agents \ + callmanager \ + domains \ + storage \ + numbers \ + providers \ + funcs \ + auth \ + secrets \ + users \ + projects) + +for proto in "${PROTOS[@]}" +do + grpc_tools_node_protoc \ + -I=. $DIRNAME/../etc/vendor_protos/protoc-gen-openapiv2/options/annotations.proto \ + -I=. $DIRNAME/../etc/vendor_protos/protoc-gen-openapiv2/options/openapiv2.proto \ + -I=. $DIRNAME/../etc/vendor_protos/google/api/annotations.proto \ + -I=. $DIRNAME/../etc/vendor_protos/google/api/field_behavior.proto \ + -I=. $DIRNAME/../etc/vendor_protos/google/api/http.proto \ + -I=. $DIRNAME/../etc/vendor_protos/google/api/httpbody.proto \ + -I=. $DIRNAME/../mods/core/src/protos/common.proto \ + -I=. /$DIRNAME/../mods/${proto}/src/protos/${proto}.proto \ + -I=$DIRNAME/../etc/vendor_protos \ + -I=$DIRNAME/../mods/core/src/protos \ + -I=$DIRNAME/../mods/${proto}/src/protos \ + --js_out=import_style=commonjs,binary:$DIRNAME/../mods/${proto}/src/service/protos \ + --grpc_out=grpc_js:$DIRNAME/../mods/${proto}/src/service/protos \ + --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` + + # generate d.ts codes + grpc_tools_node_protoc \ + -I=. $DIRNAME/../etc/vendor_protos/protoc-gen-openapiv2/options/annotations.proto \ + -I=. $DIRNAME/../etc/vendor_protos/protoc-gen-openapiv2/options/openapiv2.proto \ + -I=. $DIRNAME/../etc/vendor_protos/google/api/annotations.proto \ + -I=. $DIRNAME/../etc/vendor_protos/google/api/field_behavior.proto \ + -I=. $DIRNAME/../etc/vendor_protos/google/api/http.proto \ + -I=. $DIRNAME/../etc/vendor_protos/google/api/httpbody.proto \ + -I=. $DIRNAME/../mods/core/src/protos/common.proto \ + -I=. /$DIRNAME/../mods/${proto}/src/protos/${proto}.proto \ + -I=$DIRNAME/../etc/vendor_protos \ + -I=$DIRNAME/../mods/core/src/protos \ + -I=$DIRNAME/../mods/${proto}/src/protos \ + --proto_path=$DIRNAME/../mods/core/src/protos \ + --proto_path=$DIRNAME/../mods/${proto}/src/protos \ + --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts \ + --ts_out=grpc_js:$DIRNAME/../mods/${proto}/src/service/protos +done diff --git a/.scripts/gen_docs.js b/.scripts/gen_docs.js new file mode 100644 index 000000000..ab8fc833e --- /dev/null +++ b/.scripts/gen_docs.js @@ -0,0 +1,46 @@ +"use strict"; +const jsdoc2md = require("jsdoc-to-markdown"); +const fs = require("fs"); +const path = require("path"); + +/* input and output paths */ +const outputDir = path.join(__dirname, "../docs/reference"); + +function generate(inputFile) { + /* get template data */ + const templateData = jsdoc2md.getTemplateDataSync({ files: inputFile }); + + /* reduce templateData to an array of class names */ + const classNames = templateData.reduce((names, identifier) => { + if (identifier.kind === "class" && !names.includes(identifier.name)) names.push(identifier.name); + return names; + }, []); + + console.log(classNames) + + /* create a documentation file for each class */ + for (const className of classNames) { + // Workaround an issue with the inputFile picking up wrong classes + if (["Scanner", "Walker", "Parser", "Filter"].includes(className)) continue; + const template = `{{#class name="${className}"}}{{>docs}}{{/class}}`; + console.log(`rendering ${className}, template: ${template}`); + const output = jsdoc2md.renderSync({ + data: templateData, + template: template + }); + fs.writeFileSync(path.resolve(outputDir, `${className}.md`), output); + } +} + +generate(path.join(__dirname, "../mods/agents/dist/client/*.js")) +generate(path.join(__dirname, "../mods/domains/dist/client/*.js")) +generate(path.join(__dirname, "../mods/auth/dist/client/*.js")) +generate(path.join(__dirname, "../mods/callmanager/dist/client/*.js")) +generate(path.join(__dirname, "../mods/funcs/dist/client/*.js")) +generate(path.join(__dirname, "../mods/numbers/dist/client/*.js")) +generate(path.join(__dirname, "../mods/projects/dist/client/*.js")) +generate(path.join(__dirname, "../mods/providers/dist/client/*.js")) +generate(path.join(__dirname, "../mods/storage/dist/client/*.js")) +generate(path.join(__dirname, "../mods/users/dist/client/*.js")) +generate(path.join(__dirname, "../mods/secrets/dist/client/*.js")) +generate(path.join(__dirname, "../mods/voice/dist/*.js")) \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..0ec150b66 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# 0.1 + +Initial release diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000000000..b43b6e138 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,46 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at psanders@fonoster.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] + +[homepage]: http://contributor-covenant.org +[version]: http://contributor-covenant.org/version/1/4/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..97646ea8f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,36 @@ +FROM fonoster/base +LABEL maintainer="Pedro Sanders " + +# Build example: +# docker build --no-cache \ +# --build-arg BRANCH=dev \ +# --build-arg FONOSTER_VERSION=0.2.20 \ +# --tag fonoster/fonoster:0.2.20 . + +ARG FONOSTER_VERSION=0.2.20 +ARG BRANCH=main +ENV FONOSTER_VERSION=$FONOSTER_VERSION +ENV BRANCH=$BRANCH + +WORKDIR /work + +RUN apk add --no-cache --update git curl docker docker-compose openssl bash\ + && git clone https://github.com/fonoster/fonoster --depth=1 -b $BRANCH --single-branch \ + && curl -qL -o /usr/bin/netdiscover https://github.com/CyCoreSystems/netdiscover/releases/download/v1.2.5/netdiscover.linux.amd64 \ + && chmod +x /usr/bin/netdiscover \ + && mkdir -p operator config \ + && touch config/config config/user_credentials \ + && cp -a fonoster/operator/compose/* operator \ + && mv operator/env_example operator/.env \ + && cp fonoster/etc/rbac.json config \ + && cp fonoster/etc/log4j2.yml config \ + && cp fonoster/etc/bootstrap.yml config \ + && cp fonoster/etc/redis.conf config \ + && cp fonoster/etc/service_envs.json config \ + && cp fonoster/install.sh . \ + && rm -rf fonoster \ + && find . -type f -iname "*.sh" -exec chmod +x {} + \ + && mv /work/install.sh /install.sh \ + && chown -R fonoster:fonoster /work + +ENTRYPOINT [ "/install.sh" ] diff --git a/LICENSE b/LICENSE index 804d56caa..192c1ed32 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Fonoster Inc +Copyright (c) 2021 Fonoster Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 872688d8d..fbb2296a5 100644 --- a/README.md +++ b/README.md @@ -1,46 +1,23 @@ -![build](https://github.com/fonoster/fonos/workflows/unit%20tests/badge.svg) license: MIT [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Programmable%20Voice%20&url=https://github.com/fonoster/fonos&via=fonoster&hashtags=voip,sip,webrtc,telephony) +![build](https://github.com/fonoster/fonoster/workflows/unit%20tests/badge.svg) license: MIT [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Programmable%20Voice%20&url=https://github.com/fonoster/fonos&via=fonoster&hashtags=voip,sip,webrtc,telephony) -![Repo Banner](https://raw.githubusercontent.com/fonoster/fonos/master/docs/assets/images/repo_banner.jpg) +![Flow](https://raw.githubusercontent.com/fonoster/fonoster/main/flow.png) -With Project Fonos, [Fonoster Inc](https://fonoster.com) researches an innovative Programmable Telecommunications Stack that will allow for an entirely cloud-based utility for businesses to connect telephony services with the Internet. + -Project Fonos aims to solve businesses needing to add voice, video, and messaging features to their websites and applications. Companies are, in most cases, unable to accomplish this independently due to the complexity and number of telephony services involved in the task. Instead, businesses rely on third-party providers that offer software as a service (SaaS) that allows for communication between telephony devices and internet-based APIs, services, etc. +## 💬 [Join the conversation](https://github.com/fonoster/fonoster/discussions) 👈 -The primary innovation of Project Fonos lies in researching and developing the means for creating a highly portable, extensible, cloud-based Programmable Telecommunications Stack. Using this form of CPaaS, businesses will call up an API to dial, answer a call, establish a video session, send SMS, etc., all with just HTTP requests and without worrying what servers and networks are doing with that information in the background. For Project Fonos to be a viable alternative to existing CPaaS, the system must be portable. Therefore, Project Fonos must take advantage of the various cloud environments such as Kubernetes and AWS ECS to run solutions at scale. Guaranteeing portability for Project Fonos will also mean ensuring the deployability of the system using a "single-click-install" when possible. - ---- - -

- Special Announcement: -
- - - -
- We now have a Slack Channel -
- There we plan to discuss roadmaps, feature requests and more
Join the channel
-

- ---- - -## Architecture - -High-level overview - -![Repo Banner](https://raw.githubusercontent.com/fonoster/fonos/dev/docs/assets/images/arquitecture.png) - -> Conceptual architecture and stack. We will post more details soon. +[Fonoster Inc](https://fonoster.com) researches an innovative Programmable Telecommunications Stack that will allow for an entirely cloud-based utility for businesses to connect telephony services with the Internet. ## Features -The most notable features on PF 0.1 are: +The most notable features on FN 0.2 are: - [x] Cloud initialization with Cloud-Init - [x] Multitenancy - [x] Easy deployment of PBXs functionalities - [x] Programmable Voice Applications - [x] NodeJS SDK +- [x] Web SDK - [x] Support for Amazon Simple Storage Service (S3) - [x] Secure API endpoints with Let's Encrypt - [x] Authentication with OAuth2 @@ -55,9 +32,13 @@ The most notable features on PF 0.1 are: A Voice Application is a server that takes control of the flow in a call. A Voice Application can use any combination of the following verbs: +- `Answer` - Accepts an incoming call +- `Hangup` - Closes the call - `Play` - Takes an URL or file and streams the sound back to the calling party - `Say` - Takes a text, synthesizes the text into audio, and streams back the result -- `Gather` - Waits for DTMF events and returns back the result +- `Gather` - Waits for DTMF or speech events and returns back the result +- `SGather` - Returns a stream for future DTMF and speech results +- `Dial` - Passes the call to an Agent or a Number at the PSTN - `Record` - It records the voice of the calling party and saves the audio on the Storage sub-system - `Mute` - It tells the channel to stop sending media, effectively muting the channel - `Unmute` - It tells the channel to allow media flow @@ -65,7 +46,7 @@ A Voice Application is a server that takes control of the flow in a call. A Voic Voice Application Example: ```typescript -const { VoiceServer } = require("@fonos/voice"); +const { VoiceServer } = require("@fonoster/voice"); const voiceServer = new VoiceServer({ base: '/voiceapp' }); voiceServer.listen((req, res) => { @@ -73,58 +54,74 @@ voiceServer.listen((req, res) => { res.play("sound:hello-world"); }); -// your app will leave at http://127.0.0.1/voiceapp +// your app will be at http://127.0.0.1/voiceapp // and you can easily publish it to the Internet with: // ngrok http 3000 ``` -Everything in PF is an API first, and initiating a call is no exception. You can use the SDK to start a call with a few lines of code. +Everything in FN is an API first, and initiating a call is no exception. You can use the SDK to start a call with a few lines of code. Example of originating a call with the SDK: ```typescript -const Fonos = require("@fonos/sdk"); -const callManager = new Fonos.CallManager(); +const Fonoster = require("@fonoster/sdk"); +const callManager = new Fonoster.CallManager(); callManager.call({ from: "9842753574", to: "17853178070", webhook: "https://5a2d2ea5d84d.ngrok.io/voiceapp" }) -.then(console.log) -.catch(console.error); + .then(console.log) + .catch(console.error); ``` ## Getting Started -![command-line tool](https://raw.githubusercontent.com/fonoster/fonos/dev/docs/assets/images/console.png) - -To get started with PF use the following resources: +To get started with FN use the following resources: -- [Deploying Project Fonos to the Cloud](./docs/operator/deploy-your-server.md) -- [An introduction to Programmable Voice Applications](https://github.com/fonoster/blog/blob/main/2021/002/post.md) +- [Deploying Fonoster to the Cloud](./docs/operator/deploy-your-server.md) +- [Getting started with Fonoster](https://learn.fonoster.com/) +- [Connecting Fonoster with Dialogflow](https://learn.fonoster.com/docs/tutorials/connecting_with_dialogflow) +- [Using Google Speech APIs](https://learn.fonoster.com/docs/tutorials/using_google_speech) - [How we created an open-source alternative to Twilio and why it matters](https://github.com/fonoster/blog/blob/main/2021/001/post.md) +Fonoster - Engage with your customers with VoIP or SMS | Product Hunt + ## Bugs and Feedback -For bugs, questions, and discussions, please use the [Github Issues](https://github.com/fonoster/fonos/issues) +For bugs, questions, and discussions, please use the [Github Issues](https://github.com/fonoster/fonoster/issues) ## Contributing For contributing, please see the following links: - - [Contribution Documents](https://github.com/fonoster/fonos/blob/master/CONTRIBUTING.md) - - [Contributors](https://github.com/fonoster/fonos/contributors) + - [Contribution Documents](https://github.com/fonoster/fonoster/blob/master/CONTRIBUTING.md) + - [Contributors](https://github.com/fonoster/fonoster/contributors) We're glad to be supported by respected companies and individuals from several industries. [See our Github Sponsors learn more](https://github.com/sponsors/psanders). -**Platinum Sponsors** +**Sponsors** Find all supporters in our [`BACKERS.md`](./BACKERS.md) file. -> [Support Fono's developers on Gh Sponsors](https://github.com/sponsors/psanders) +> [Become a Github Sponsor](https://github.com/sponsors/fonoster) + +--- + +

+ Special Announcement: +
+ + + +
+ We now have a Slack Channel +
+ There we plan to discuss roadmaps, feature requests and more
Join the channel
+

--- @@ -132,5 +129,5 @@ Find all supporters in our [`BACKERS.md`](./BACKERS.md) file. - [Pedro Sanders](https://github.com/psanders) ## License -Copyright (C) 2021 by [Fonoster Inc](https://fonoster.com). MIT License (see [LICENSE](https://github.com/fonoster/fonos/blob/master/LICENSE) for details). +Copyright (C) 2021 by [Fonoster Inc](https://fonoster.com). MIT License (see [LICENSE](https://github.com/fonoster/fonoster/blob/master/LICENSE) for details). diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..1c2730d54 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,13 @@ +# Security Policy + +## Supported Versions + +| Version | Supported | +| ------- | ------------------ | +| 0.3.x | :white_check_mark: +| 0.2.x | :white_check_mark: | +| 0.1.x | :x: | + +## Reporting a Vulnerability + +For security issues, kindly email us at fonosterteam@fonoster.com instead of posting a public issue in GitHub. diff --git a/betauser.json b/betauser.json new file mode 100644 index 000000000..b93161644 --- /dev/null +++ b/betauser.json @@ -0,0 +1,19 @@ +{ + "users": [ + "efraa", + "psanders", + "itzmanish", + "BrayanMnz", + "antoniusostermann", + "FinnStutzenstein", + "baflo", + "cdrsociate", + "harish-chander", + "VictorOz", + "itsalb3rt", + "theewiz", + "xTryHard", + "antirek", + "psuet" + ] +} \ No newline at end of file diff --git a/run_dispatcher.ts b/dispatcher.ts similarity index 91% rename from run_dispatcher.ts rename to dispatcher.ts index a7147a7b9..5852518bc 100644 --- a/run_dispatcher.ts +++ b/dispatcher.ts @@ -1,9 +1,9 @@ #!/usr/bin/env node /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,6 +17,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import dotenv from "dotenv"; import {join} from "path"; diff --git a/docs/CNAME b/docs/CNAME deleted file mode 100644 index 509fb8d79..000000000 --- a/docs/CNAME +++ /dev/null @@ -1 +0,0 @@ -fonoster.github.io diff --git a/docs/assets/images/arquitecture.png b/docs/assets/images/arquitecture.png deleted file mode 100644 index 3169fad62..000000000 Binary files a/docs/assets/images/arquitecture.png and /dev/null differ diff --git a/docs/assets/images/console.png b/docs/assets/images/console.png deleted file mode 100644 index 4cc61a42f..000000000 Binary files a/docs/assets/images/console.png and /dev/null differ diff --git a/docs/assets/images/deploy_banner.png b/docs/assets/images/deploy_banner.png deleted file mode 100644 index 7ff06e516..000000000 Binary files a/docs/assets/images/deploy_banner.png and /dev/null differ diff --git a/docs/assets/images/favicon.ico b/docs/assets/images/favicon.ico deleted file mode 100644 index 2e0ca3953..000000000 Binary files a/docs/assets/images/favicon.ico and /dev/null differ diff --git a/docs/assets/images/favicon/favicon.ico b/docs/assets/images/favicon/favicon.ico deleted file mode 100644 index 2e0ca3953..000000000 Binary files a/docs/assets/images/favicon/favicon.ico and /dev/null differ diff --git a/docs/assets/images/repo_banner.jpg b/docs/assets/images/repo_banner.jpg deleted file mode 100644 index 4430a3bc2..000000000 Binary files a/docs/assets/images/repo_banner.jpg and /dev/null differ diff --git a/docs/assets/logo.png b/docs/assets/logo.png deleted file mode 100644 index 64971d62d..000000000 Binary files a/docs/assets/logo.png and /dev/null differ diff --git a/docs/charts/fonos-0.0.1.tgz b/docs/charts/fonos-0.0.1.tgz deleted file mode 100644 index 4026bd716..000000000 Binary files a/docs/charts/fonos-0.0.1.tgz and /dev/null differ diff --git a/docs/charts/fonos-0.0.2.tgz b/docs/charts/fonos-0.0.2.tgz deleted file mode 100644 index 6ee13024c..000000000 Binary files a/docs/charts/fonos-0.0.2.tgz and /dev/null differ diff --git a/docs/charts/fonos-0.0.3.tgz b/docs/charts/fonos-0.0.3.tgz deleted file mode 100644 index 2b1a578eb..000000000 Binary files a/docs/charts/fonos-0.0.3.tgz and /dev/null differ diff --git a/docs/charts/fonos-0.0.4.tgz b/docs/charts/fonos-0.0.4.tgz deleted file mode 100644 index 197a738b1..000000000 Binary files a/docs/charts/fonos-0.0.4.tgz and /dev/null differ diff --git a/docs/charts/fonos-0.0.5.tgz b/docs/charts/fonos-0.0.5.tgz deleted file mode 100644 index a549a9083..000000000 Binary files a/docs/charts/fonos-0.0.5.tgz and /dev/null differ diff --git a/docs/charts/fonos-0.0.6.tgz b/docs/charts/fonos-0.0.6.tgz deleted file mode 100644 index ee010193e..000000000 Binary files a/docs/charts/fonos-0.0.6.tgz and /dev/null differ diff --git a/docs/charts/fonos-0.0.7.tgz b/docs/charts/fonos-0.0.7.tgz deleted file mode 100644 index 92a5db549..000000000 Binary files a/docs/charts/fonos-0.0.7.tgz and /dev/null differ diff --git a/docs/charts/index.yaml b/docs/charts/index.yaml deleted file mode 100644 index 54c60be55..000000000 --- a/docs/charts/index.yaml +++ /dev/null @@ -1,304 +0,0 @@ -apiVersion: v1 -entries: - fonos: - - apiVersion: v2 - appVersion: 0.0.41 - created: "2020-08-25T17:03:16.867939-04:00" - dependencies: - - name: redis - repository: https://charts.bitnami.com/bitnami - version: 10.6.18 - - name: minio - repository: https://openchart.choerodon.com.cn/choerodon/c7n - version: 5.0.5 - - name: rabbitmq - repository: https://charts.bitnami.com/bitnami - version: 7.5.6 - description: "Project Fonos assembles the components needed to deploy a telephony - system. \nIt helps VoIP integrators quickly deploy new networks and include - value-added \nservices such as Programmable Voice, Messaging, and Video.\n" - digest: 1ba2389cc6616a729f81bf94ea10b14fcaefdc5d8a28b31f3ddd7de11aa4d1b2 - keywords: - - twilio - - routr - - sip - - voip - - webrtc - - ims - - proxy - - registrar - - asterisk - - kamailio - - freepbx - - yate - - freeswitch - - fusionpbx - - server - maintainers: - - email: fonosterteam@fonoster.com - name: Fonoster - - email: psanders@fonoster.com - name: psanders - name: fonos - sources: - - https://github.com/fonoster/fonos - type: application - urls: - - fonos-0.0.7.tgz - version: 0.0.7 - - apiVersion: v2 - appVersion: 0.0.37 - created: "2020-08-25T17:03:16.860644-04:00" - dependencies: - - name: redis - repository: https://charts.bitnami.com/bitnami - version: 10.6.18 - - name: minio - repository: https://openchart.choerodon.com.cn/choerodon/c7n - version: 5.0.5 - - name: rabbitmq - repository: https://charts.bitnami.com/bitnami - version: 7.5.6 - description: "Project Fonos assembles the components needed to deploy a telephony - system. \nIt helps VoIP integrators quickly deploy new networks and include - value-added \nservices such as Programmable Voice, Messaging, and Video.\n" - digest: 0faba49071d7967ba763950f300d1048c429d72303b341eef211d6cb90c829a1 - keywords: - - twilio - - routr - - sip - - voip - - webrtc - - ims - - proxy - - registrar - - asterisk - - kamailio - - freepbx - - yate - - freeswitch - - fusionpbx - - server - maintainers: - - email: fonosterteam@fonoster.com - name: Fonoster - - email: psanders@fonoster.com - name: psanders - name: fonos - sources: - - https://github.com/fonoster/fonos - type: application - urls: - - fonos-0.0.6.tgz - version: 0.0.6 - - apiVersion: v2 - appVersion: 0.0.38 - created: "2020-08-25T17:03:16.841554-04:00" - dependencies: - - name: redis - repository: https://charts.bitnami.com/bitnami - version: 10.6.18 - - name: minio - repository: https://openchart.choerodon.com.cn/choerodon/c7n - version: 5.0.5 - - name: rabbitmq - repository: https://charts.bitnami.com/bitnami - version: 7.5.6 - description: "Project Fonos assembles the components needed to deploy a telephony - system. \nIt helps VoIP integrators quickly deploy new networks and include - value-added \nservices such as Programmable Voice, Messaging, and Video.\n" - digest: 08e1a436e6c1c3fb983f34059c01d3c700c5220b76952c0abe5fd5afed5e44db - keywords: - - twilio - - routr - - sip - - voip - - webrtc - - ims - - proxy - - registrar - - asterisk - - kamailio - - freepbx - - yate - - freeswitch - - fusionpbx - - server - maintainers: - - email: fonosterteam@fonoster.com - name: Fonoster - - email: psanders@fonoster.com - name: psanders - name: fonos - sources: - - https://github.com/fonoster/fonos - type: application - urls: - - fonos-0.0.5.tgz - version: 0.0.5 - - apiVersion: v2 - appVersion: 0.0.19 - created: "2020-08-25T17:03:16.820776-04:00" - dependencies: - - name: redis - repository: https://charts.bitnami.com/bitnami - version: 10.6.18 - - name: minio - repository: https://hkube.io/helm - version: 5.0.23 - description: "Project Fonos assembles the components needed to deploy a telephony - system. \nIt helps VoIP integrators quickly deploy new networks and include - value-added \nservices such as Programmable Voice, Messaging, and Video.\n" - digest: 32edbe30cf75fb79cae3cddf4db7bd5445fbe6c7aa328288f3636ecf615afd5c - keywords: - - twilio - - routr - - sip - - voip - - webrtc - - ims - - proxy - - registrar - - asterisk - - kamailio - - freepbx - - yate - - freeswitch - - fusionpbx - - server - maintainers: - - email: fonosterteam@fonoster.com - name: Fonoster - - email: psanders@fonoster.com - name: psanders - name: fonos - sources: - - https://github.com/fonoster/fonos - type: application - urls: - - fonos-0.0.4.tgz - version: 0.0.4 - - apiVersion: v2 - appVersion: 0.0.19 - created: "2020-08-25T17:03:16.807236-04:00" - dependencies: - - name: redis - repository: https://charts.bitnami.com/bitnami - version: 10.6.18 - - name: minio - repository: https://hkube.io/helm - version: 5.0.23 - description: "Project Fonos assembles the components needed to deploy a telephony - system. \nIt helps VoIP integrators quickly deploy new networks and include - value-added \nservices such as Programmable Voice, Messaging, and Video.\n" - digest: 1dc24982a616018879a215e0002e1d3f00c601250650e5d6679a19815b8eaeb3 - keywords: - - twilio - - routr - - sip - - voip - - webrtc - - ims - - proxy - - registrar - - asterisk - - kamailio - - freepbx - - yate - - freeswitch - - fusionpbx - - server - maintainers: - - email: fonosterteam@fonoster.com - name: Fonoster - - email: psanders@fonoster.com - name: psanders - name: fonos - sources: - - https://github.com/fonoster/fonos - type: application - urls: - - fonos-0.0.3.tgz - version: 0.0.3 - - apiVersion: v2 - appVersion: 0.0.19 - created: "2020-08-25T17:03:16.791794-04:00" - dependencies: - - name: redis - repository: https://charts.bitnami.com/bitnami - version: 10.6.18 - - name: minio - repository: https://hkube.io/helm - version: 5.0.23 - description: "Project Fonos assembles the components needed to deploy a telephony - system. \nIt helps VoIP integrators quickly deploy new networks and include - value-added \nservices such as Programmable Voice, Messaging, and Video.\n" - digest: 7c4f71423834492c701a90ee6aacc03159c5a68ab77a1d72bb9810f5481ebd41 - keywords: - - twilio - - routr - - sip - - voip - - webrtc - - ims - - proxy - - registrar - - asterisk - - kamailio - - freepbx - - yate - - freeswitch - - fusionpbx - - server - maintainers: - - email: fonosterteam@fonoster.com - name: Fonoster - - email: psanders@fonoster.com - name: psanders - name: fonos - sources: - - https://github.com/fonoster/fonos - type: application - urls: - - fonos-0.0.2.tgz - version: 0.0.2 - - apiVersion: v2 - appVersion: 0.0.15 - created: "2020-08-25T17:03:16.778472-04:00" - dependencies: - - name: redis - repository: https://charts.bitnami.com/bitnami - version: 10.6.18 - - name: minio - repository: https://hkube.io/helm - version: 5.0.23 - description: "Project Fonos assembles the components needed to deploy a telephony - system. \nIt helps VoIP integrators quickly deploy new networks and include - value-added \nservices such as Programmable Voice, Messaging, and Video.\n" - digest: 4af517299512da919ed56c3ca8dc80533a6a0816233ad5cc1553f4d54766077f - keywords: - - twilio - - routr - - sip - - voip - - webrtc - - ims - - proxy - - registrar - - asterisk - - kamailio - - freepbx - - yate - - freeswitch - - fusionpbx - - server - maintainers: - - name: psanders - name: fonos - sources: - - https://github.com/fonoster/fonos - type: application - urls: - - fonos-0.0.1.tgz - version: 0.0.1 -generated: "2020-08-25T17:03:16.759723-04:00" diff --git a/docs/coming-soon.md b/docs/coming-soon.md deleted file mode 100644 index fdf702fb0..000000000 --- a/docs/coming-soon.md +++ /dev/null @@ -1 +0,0 @@ -Coming soon... \ No newline at end of file diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index bf3d46a8e..000000000 --- a/docs/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# Welcome - -Use the left-hand to navigate to find topics of interest diff --git a/docs/maintainers/notes.md b/docs/maintainers/notes.md deleted file mode 100644 index 70997b208..000000000 --- a/docs/maintainers/notes.md +++ /dev/null @@ -1,7 +0,0 @@ -# Obtaining access to the Dev server - -**Few notes for the maintainers.** - -Use the following link, to obtain a set of credentials for access to the development server: - -[Github OAuth2](https://github.com/login/oauth/authorize?client_id=09ae6a73c171c39d4924) diff --git a/docs/operator/deploy-server-manually.md b/docs/operator/deploy-server-manually.md deleted file mode 100644 index 3f6e74791..000000000 --- a/docs/operator/deploy-server-manually.md +++ /dev/null @@ -1,3 +0,0 @@ -# Deploy server manually - -Comming soon! \ No newline at end of file diff --git a/docs/operator/deploy-to-multipass.md b/docs/operator/deploy-to-multipass.md index f24609ad9..a75e19fd7 100644 --- a/docs/operator/deploy-to-multipass.md +++ b/docs/operator/deploy-to-multipass.md @@ -2,7 +2,7 @@ Have you heard about Multipass? Multipass is a Canonical project that offers a lightweight VM manager for Linux, Windows, and macOS. With Multipass, you can deploy Project Fonos in a local environment in a single command. This deployment method is by far the fasted way to get started with PF. -> This method will not automatically enable TLS for you +> This method will not automatically enable TLS for you. You will also need to deactivate TLS on the client-side by setting the environment variable `ALLOW_INSECURE` to true. Deploy PF to Multipass with the following steps. First, download the [cloud-config.txt](https://raw.githubusercontent.com/fonoster/fonos/main/operator/cloud-config.txt) file into a local directory with: @@ -10,13 +10,7 @@ Deploy PF to Multipass with the following steps. First, download the [cloud-conf curl https://raw.githubusercontent.com/fonoster/fonos/main/operator/cloud-config.txt -o cloud-config.txt ``` -Since we are running locally, we have to modify the cloud-config to discover the private ipv4 instead of the public ipv4. First, update your cloud config with: - -```bash -sed -i.bak -e "s#publicv4#privatev4#g" "cloud-config.txt" -``` - -Then, from the same directory, fire up Multipass +Be sure to update the environment variables to meet your requirements. Then, from the same directory, fire up Multipass: ```bash multipass launch --name fonos --disk 10G --cpus 2 --mem 4G --cloud-init cloud-config.txt diff --git a/docs/operator/deploy-with-docker.md b/docs/operator/deploy-with-docker.md new file mode 100644 index 000000000..deb1a6f94 --- /dev/null +++ b/docs/operator/deploy-with-docker.md @@ -0,0 +1,48 @@ +# Deploy with Docker + +The easiest way to start running your Fonoster server is with our docker-in-docker (dind) installer. Before running the installation command, make sure you have [Docker Engine](https://docs.docker.com/engine/install/) installed on your machine: + +## Unix + +```bash +docker run -it --rm \ + -e CONFIG_PATH=$(pwd)/fonoster/config \ + --volume /var/run/docker.sock:/var/run/docker.sock \ + --volume $(pwd)/fonoster:/out:rw \ + --entrypoint="/install.sh" \ + fonoster/fonoster:0.2.20 +``` + +## Windows + +**CMD** + +```cmd +docker run -it --rm ^ + -e CONFIG_PATH="%cd%"/fonoster/config ^ + --volume //var/run/docker.sock:/var/run/docker.sock ^ + --volume "%cd%"/fonoster:/out:rw ^ + --entrypoint="/install.sh" ^ + fonoster/fonoster:0.2.20 +``` + +**PowerShell** + +```powershell +docker run -it --rm ` + -e CONFIG_PATH=${pwd}/fonoster/config ` + --volume /var/run/docker.sock:/var/run/docker.sock ` + --volume ${pwd}/fonoster:/out:rw ` + --entrypoint="/install.sh" ` + fonoster/fonoster:0.2.20 +``` + +## Environment Variables + +- `DOCKER_HOST_IP` - If you run on a cloud, such as Digital Ocean, the installer will use your public IP. For a local environment, you must set the value of your host's IP (it won't be automatic.) +- `DOMAIN` - The Domain for your API endpoint. This is required for TLS support. The DNS entry must point to the public IP of your Docker Host +- `ENABLE_TLS` - Set to `true` if you want to generate and use a set of Let's Encrypt certificates. The value of `DOMAIN` must be publicly accessible. Defaults to `false` +- `HTTP_PORT` - Unsecure port for HTTP connections. Defaults to `50051` +- `HTTPS_PORT` - Secure port for HTTP connections. Defaults to `443` +- `LETSENCRYPT_EMAIL` - We recommend setting this value to get important communication from Let's Encrypt. Defaults to `admin@$DOMAIN` +- `GLOBAL_SIP_DOMAIN` - The main SIP Domain. New Domains will be under this one diff --git a/docs/operator/deploy-your-server.md b/docs/operator/deploy-your-server.md index 631f0397e..2ecfacd91 100644 --- a/docs/operator/deploy-your-server.md +++ b/docs/operator/deploy-your-server.md @@ -1,17 +1,15 @@ -![Deploy Server Banner](https://raw.githubusercontent.com/fonoster/fonos/main/docs/assets/images/deploy_banner.png) - -This document will guide guide through installationg process of Project Fonos(PF) in a self-hosted environment or the cloud. You will learn about the available installation options and which one is the best for your current journey with PF. +This document will guide through the installation process of Fonoster in a self-hosted environment or the cloud. You will learn about the available installation options and which one is the best for your current journey with Fonoster. ## Self-hosted or Cloud There are several considerations to decide which deployment method to use. The main factors you should consider are costs and availability. Running the server in a cloud environment will likely be more stable than a home Internet connection. The cloud also gives you the advantage of not worrying about physical servers, electricity, etc. -However, running a local server might be a good option, especially while exploring PF if you have stable Internet with good bandwidth. +However, running a local server might be a good option, especially while exploring Fonoster if you have stable Internet with good bandwidth. To get started check the following guides: +- [Deploy with Docker](./deploy-with-docker.md) - [Deploy to Multipass](./deploy-to-multipass.md) - [Deploy to Digital Ocean](./deploy-to-digitalocean.md) -- [Deploy server Manually](./deploy-server-manually.md) - [Adding support for Cloud Functions (Experimental)](./adding_support_for_functions.md) - [Adding support for Secrets (Experimental)](./adding_support_for_secrets.md) diff --git a/docs/reference/Agents.md b/docs/reference/Agents.md index c3cfd3556..281da616c 100644 --- a/docs/reference/Agents.md +++ b/docs/reference/Agents.md @@ -1,87 +1,36 @@ -## Agents ⇐ FonosService -Use Fonos Agents, a capability of Fonos SIP Proxy subsystem, +## Agents ⇐ APIClient +Use Fonoster Agents, a capability of Fonoster SIP Proxy subsystem, to create, update, get and delete Agents. Agents requires of a -running Fonos deployment. +runningFonosterdeployment. **Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService - -* [Agents](#Agents) ⇐ FonosService - * [new Agents()](#new_Agents_new) - * [new Agents()](#new_Agents_new) - * [new Agents()](#new_Agents_new) - * [.createAgent(request)](#Agents+createAgent) ⇒ Promise.<Object> - * [.getAgent(ref)](#Agents+getAgent) ⇒ Promise.<Object> - * [.updateAgent(request)](#Agents+updateAgent) ⇒ Promise.<Object> +**Extends**: APIClient +**See**: module:core:APIClient + +* [Agents](#Agents) ⇐ APIClient + * [new Agents(options)](#new_Agents_new) + * [.createAgent(request)](#Agents+createAgent) ⇒ Promise.<CreateAgentResponse> + * [.getAgent(ref)](#Agents+getAgent) ⇒ Promise.<GetAgentResponse> + * [.updateAgent(request)](#Agents+updateAgent) ⇒ Promise.<UpdateAgentResponse> * [.listAgents(request)](#Agents+listAgents) ⇒ Promise.<ListAgentsResponse> * [.deleteAgent(ref)](#Agents+deleteAgent) - * [.createAgent(request)](#Agents+createAgent) ⇒ Promise.<Object> - * [.getAgent(ref)](#Agents+getAgent) ⇒ Promise.<Object> - * [.updateAgent(request)](#Agents+updateAgent) ⇒ Promise.<Object> - * [.listAgents(request)](#Agents+listAgents) ⇒ Promise.<ListAgentsResponse> - * [.deleteAgent(ref)](#Agents+deleteAgent) - * [.createAgent(request)](#Agents+createAgent) ⇒ Promise.<Object> - * [.getAgent(ref)](#Agents+getAgent) ⇒ Promise.<Object> - * [.updateAgent(request)](#Agents+updateAgent) ⇒ Promise.<Object> - * [.listAgents(request)](#Agents+listAgents) ⇒ Promise.<ListAgentsResponse> - * [.deleteAgent(ref)](#Agents+deleteAgent) - - - -### new Agents() -Constructs a new Agents object. - -**Example** -```js -const Fonos = require('@fonos/sdk') -const agents = new Fonos.Agents() - -const request = { - name: "John Doe", - username: "john", - secret: "1234", - domains: ["sip.local"] -} -agents.createAgent(request) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` -### new Agents() +### new Agents(options) Constructs a new Agents object. -**Example** -```js -const Fonos = require('@fonos/sdk') -const agents = new Fonos.Agents() - -const request = { - name: "John Doe", - username: "john", - secret: "1234", - domains: ["sip.local"] -} -agents.createAgent(request) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### new Agents() -Constructs a new Agents object. +| Param | Type | Description | +| --- | --- | --- | +| options | ClientOptions | Options to indicate the objects endpoint | **Example** ```js -const Fonos = require('@fonos/sdk') -const agents = new Fonos.Agents() +const Fonoster = require("@fonoster/sdk") +const agents = new Fonoster.Agents() const request = { name: "John Doe", @@ -97,169 +46,41 @@ agents.createAgent(request) ``` -### agents.createAgent(request) ⇒ Promise.<Object> +### agents.createAgent(request) ⇒ Promise.<CreateAgentResponse> Creates a new Agent on the SIP Proxy subsystem. **Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The Agent from the database | Param | Type | Description | | --- | --- | --- | -| request | Object | Request for the provision of a new Agent | +| request | CreateAgentRequest | Request for the provision of a new Agent | | request.name | string | Friendly name for the SIP device | | request.username | string | Agent's credential username | | request.secret | string | Agent's credential secret | -| request.privacy | Array.<string> | If set to 'Private' Fonos removes identifiable information for the requests. Defaults to 'None' | +| request.privacy | string | If set to "Private" Fonoster removes identifiable information for the requests. Defaults to "None" | | request.domains | Array.<string> | List of domains this Agent has access to | **Example** ```js const request = { - name: 'John Doe', - username: 'john', - secret: '1234', - domains: ['sip.local'] -} - -agents.createAgent(request) -.then(result => { - console.log(result) // returns the Agent object -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.getAgent(ref) ⇒ Promise.<Object> -Retrives an Agent by reference. - -**Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The agent -**Throws**: - -- if ref is null or Agent does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Agent | - -**Example** -```js -agents.getAgent(ref) -.then(result => { - console.log(result) // returns the Agent object -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.updateAgent(request) ⇒ Promise.<Object> -Update an Agent at the SIP Proxy subsystem. - -**Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The Agent from the database - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | Request update of an Agent | -| request.ref | string | Reference to the Agent | -| request.name | string | Friendly name for the SIP device | -| request.secret | string | Agent's credential secret | - -**Example** -```js -const request = { - name: 'John Dee', - secret: '12345' -} - -agents.updateAgent(request) -.then(result => { - console.log(result) // returns the Agent from the DB -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.listAgents(request) ⇒ Promise.<ListAgentsResponse> -List registered Agents in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<ListAgentsResponse> - List of Agents - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | | -| request.pageSize | agent | Elements per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -} - -agents.listAgents(request) -.then(() => { - console.log(result) // returns a ListAgentsResponse object -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.deleteAgent(ref) -Deletes an Agent from the SIP Proxy subsystem. - -**Kind**: instance method of [Agents](#Agents) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Agent's reference | - -**Example** -```js -const ref = '507f1f77bcf86cd799439011' - -agents.deleteAgent(ref) -.then(() => { - console.log('done') // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.createAgent(request) ⇒ Promise.<Object> -Creates a new Agent on the SIP Proxy subsystem. - -**Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The Agent from the database - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | Request for the provision of a new Agent | -| request.name | string | Friendly name for the SIP device | -| request.username | string | Agent's credential username | -| request.secret | string | Agent's credential secret | -| request.privacy | Array.<string> | If set to 'Private' Fonos removes identifiable information for the requests. Defaults to 'None' | -| request.domains | Array.<string> | List of domains this Agent has access to | - -**Example** -```js -const request = { - name: 'John Doe', - username: 'john', - secret: '1234', - domains: ['sip.local'] + name: "John Doe", + username: "john", + secret: "1234", + domains: ["sip.local"] } agents.createAgent(request) .then(result => { - console.log(result) // returns the Agent object + console.log(result) // returns the CreateAgentResponse interface }).catch(e => console.error(e)) // an error occurred ``` -### agents.getAgent(ref) ⇒ Promise.<Object> +### agents.getAgent(ref) ⇒ Promise.<GetAgentResponse> Retrives an Agent by reference. **Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The agent +**Returns**: Promise.<GetAgentResponse> - The agent **Throws**: - if ref is null or Agent does not exist @@ -271,149 +92,23 @@ Retrives an Agent by reference. **Example** ```js -agents.getAgent(ref) -.then(result => { - console.log(result) // returns the Agent object -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.updateAgent(request) ⇒ Promise.<Object> -Update an Agent at the SIP Proxy subsystem. - -**Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The Agent from the database - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | Request update of an Agent | -| request.ref | string | Reference to the Agent | -| request.name | string | Friendly name for the SIP device | -| request.secret | string | Agent's credential secret | - -**Example** -```js -const request = { - name: 'John Dee', - secret: '12345' -} - -agents.updateAgent(request) -.then(result => { - console.log(result) // returns the Agent from the DB -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.listAgents(request) ⇒ Promise.<ListAgentsResponse> -List registered Agents in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<ListAgentsResponse> - List of Agents - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | | -| request.pageSize | agent | Elements per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -} - -agents.listAgents(request) -.then(() => { - console.log(result) // returns a ListAgentsResponse object -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.deleteAgent(ref) -Deletes an Agent from the SIP Proxy subsystem. - -**Kind**: instance method of [Agents](#Agents) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Agent's reference | - -**Example** -```js -const ref = '507f1f77bcf86cd799439011' - -agents.deleteAgent(ref) -.then(() => { - console.log('done') // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.createAgent(request) ⇒ Promise.<Object> -Creates a new Agent on the SIP Proxy subsystem. - -**Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The Agent from the database - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | Request for the provision of a new Agent | -| request.name | string | Friendly name for the SIP device | -| request.username | string | Agent's credential username | -| request.secret | string | Agent's credential secret | -| request.privacy | Array.<string> | If set to 'Private' Fonos removes identifiable information for the requests. Defaults to 'None' | -| request.domains | Array.<string> | List of domains this Agent has access to | - -**Example** -```js -const request = { - name: 'John Doe', - username: 'john', - secret: '1234', - domains: ['sip.local'] -} +const ref = "507f1f77bcf86cd799439011"; -agents.createAgent(request) -.then(result => { - console.log(result) // returns the Agent object -}).catch(e => console.error(e)) // an error occurred -``` - - -### agents.getAgent(ref) ⇒ Promise.<Object> -Retrives an Agent by reference. - -**Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The agent -**Throws**: - -- if ref is null or Agent does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Agent | - -**Example** -```js agents.getAgent(ref) .then(result => { - console.log(result) // returns the Agent object + console.log(result) // returns the GetAgentResponse interface }).catch(e => console.error(e)) // an error occurred ``` -### agents.updateAgent(request) ⇒ Promise.<Object> +### agents.updateAgent(request) ⇒ Promise.<UpdateAgentResponse> Update an Agent at the SIP Proxy subsystem. **Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<Object> - The Agent from the database | Param | Type | Description | | --- | --- | --- | -| request | Object | Request update of an Agent | +| request | UpdateAgentRequest | Request update of an Agent | | request.ref | string | Reference to the Agent | | request.name | string | Friendly name for the SIP device | | request.secret | string | Agent's credential secret | @@ -421,27 +116,27 @@ Update an Agent at the SIP Proxy subsystem. **Example** ```js const request = { - name: 'John Dee', - secret: '12345' + name: "John Dee", + secret: "12345" } agents.updateAgent(request) .then(result => { - console.log(result) // returns the Agent from the DB + console.log(result) // returns the UpdateAgentResponse interface }).catch(e => console.error(e)) // an error occurred ``` ### agents.listAgents(request) ⇒ Promise.<ListAgentsResponse> -List registered Agents in Fonos SIP Proxy subsystem. +List registered Agents in Fonoster SIP Proxy subsystem. **Kind**: instance method of [Agents](#Agents) -**Returns**: Promise.<ListAgentsResponse> - List of Agents +**Returns**: Promise.<ListAgentsResponse> - Paginated List of Agents | Param | Type | Description | | --- | --- | --- | -| request | Object | | -| request.pageSize | agent | Elements per page (defaults to 20) | +| request | ListAgentsRequest | Optional parameter with size and token for the request | +| request.pageSize | number | Elements per page (defaults to 20) | | request.pageToken | string | The next_page_token value returned from a previous List request, if any | **Example** @@ -453,7 +148,7 @@ const request = { agents.listAgents(request) .then(() => { - console.log(result) // returns a ListAgentsResponse object + console.log(result) // returns a ListAgentsResponse interface }).catch(e => console.error(e)) // an error occurred ``` @@ -469,10 +164,10 @@ Deletes an Agent from the SIP Proxy subsystem. **Example** ```js -const ref = '507f1f77bcf86cd799439011' +const ref = "507f1f77bcf86cd799439011" agents.deleteAgent(ref) .then(() => { - console.log('done') // returns an empty object + console.log("done") // returns a reference of the agent }).catch(e => console.error(e)) // an error occurred ``` diff --git a/docs/reference/AppManager.md b/docs/reference/AppManager.md deleted file mode 100644 index 786de0be8..000000000 --- a/docs/reference/AppManager.md +++ /dev/null @@ -1,513 +0,0 @@ - - -## AppManager ⇐ FonosService -Use Fonos AppManager, a capability of Fonos Systems Manager, -to create, manage, and deploy an applications. Fonos AppManager requires of a -running Fonos deployment. - -**Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService - -* [AppManager](#AppManager) ⇐ FonosService - * [new AppManager()](#new_AppManager_new) - * [new AppManager()](#new_AppManager_new) - * [new AppManager()](#new_AppManager_new) - * [new AppManager()](#new_AppManager_new) - * [.deployApp(path, ref)](#AppManager+deployApp) ⇒ [Promise.<App>](#App) - * [.getApp(ref)](#AppManager+getApp) ⇒ [Promise.<App>](#App) - * [.deleteApp(ref)](#AppManager+deleteApp) ⇒ [Promise.<App>](#App) - * [.listApps(request)](#AppManager+listApps) ⇒ Promise.<ListAppsResponse> - * [.deployApp(path, ref)](#AppManager+deployApp) ⇒ [Promise.<App>](#App) - * [.getApp(ref)](#AppManager+getApp) ⇒ [Promise.<App>](#App) - * [.deleteApp(ref)](#AppManager+deleteApp) ⇒ [Promise.<App>](#App) - * [.listApps(request)](#AppManager+listApps) ⇒ Promise.<ListAppsResponse> - * [.deployApp(path, ref)](#AppManager+deployApp) ⇒ [Promise.<App>](#App) - * [.getApp(ref)](#AppManager+getApp) ⇒ [Promise.<App>](#App) - * [.deleteApp(ref)](#AppManager+deleteApp) ⇒ [Promise.<App>](#App) - * [.listApps(request)](#AppManager+listApps) ⇒ Promise.<ListAppsResponse> - * [.deployApp(path, ref)](#AppManager+deployApp) ⇒ [Promise.<App>](#App) - * [.getApp(ref)](#AppManager+getApp) ⇒ [Promise.<App>](#App) - * [.deleteApp(ref)](#AppManager+deleteApp) ⇒ [Promise.<App>](#App) - * [.listApps(request)](#AppManager+listApps) ⇒ Promise.<ListAppsResponse> - - - -### new AppManager() -Constructs a new AppManager Object. - -**Example** -```js -const Fonos = require('@fonos/sdk') -const appManager = new Fonos.AppManager() - -appManager.deployApp('/path/to/app') -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### new AppManager() -Constructs a new AppManager Object. - -**Example** -```js -const Fonos = require('@fonos/sdk') -const appManager = new Fonos.AppManager() - -appManager.deployApp('/path/to/app') -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### new AppManager() -Constructs a new AppManager Object. - -**Example** -```js -const Fonos = require('@fonos/sdk') -const appManager = new Fonos.AppManager() - -appManager.deployApp('/path/to/app') -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### new AppManager() -Constructs a new AppManager Object. - -**Example** -```js -const Fonos = require('@fonos/sdk') -const appManager = new Fonos.AppManager() - -appManager.deployApp('/path/to/app') -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.deployApp(path, ref) ⇒ [Promise.<App>](#App) -Deploys an application to Fonos. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application just created -**Throws**: - -- if path to application does not exist or is not a directory -- the file package.json does not exist inside de application path -- the file package.json is missing the name or description - -**Todo** - -- [ ] if the file uploading fails the state of the application should -change to UNKNOWN. - - -| Param | Type | Description | -| --- | --- | --- | -| path | string | path to the application | -| ref | string | optional reference to the application | - -**Example** -```js -const path = '/path/to/project' - -appManager.deployApp(path) -.then(result => { - console.log(result) // returns the app object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.getApp(ref) ⇒ [Promise.<App>](#App) -Retrives an application by reference. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application -**Throws**: - -- if name is null or application does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | The reference to the application | - -**Example** -```js -appManager.getApp(name) -.then(result => { - console.log(result) // returns the app object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.deleteApp(ref) ⇒ [Promise.<App>](#App) -Deletes an application create on Fonos server. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application to remove -**Throws**: - -- if the application is not found - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | The reference to the application | - -**Example** -```js -appManager.deleteApp(ref) -.then(() => { - console.log('finished') // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.listApps(request) ⇒ Promise.<ListAppsResponse> -List the applications registered in Fonos. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: Promise.<ListAppsResponse> - List of applications - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -} - -appManager.listApps(request) -.then(result => { - console.log(result) // returns a ListAppsResponse -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.deployApp(path, ref) ⇒ [Promise.<App>](#App) -Deploys an application to Fonos. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application just created -**Throws**: - -- if path to application does not exist or is not a directory -- the file package.json does not exist inside de application path -- the file package.json is missing the name or description - -**Todo** - -- [ ] if the file uploading fails the state of the application should -change to UNKNOWN. - - -| Param | Type | Description | -| --- | --- | --- | -| path | string | path to the application | -| ref | string | optional reference to the application | - -**Example** -```js -const path = '/path/to/project' - -appManager.deployApp(path) -.then(result => { - console.log(result) // returns the app object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.getApp(ref) ⇒ [Promise.<App>](#App) -Retrives an application by reference. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application -**Throws**: - -- if name is null or application does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | The reference to the application | - -**Example** -```js -appManager.getApp(name) -.then(result => { - console.log(result) // returns the app object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.deleteApp(ref) ⇒ [Promise.<App>](#App) -Deletes an application create on Fonos server. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application to remove -**Throws**: - -- if the application is not found - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | The reference to the application | - -**Example** -```js -appManager.deleteApp(ref) -.then(() => { - console.log('finished') // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.listApps(request) ⇒ Promise.<ListAppsResponse> -List the applications registered in Fonos. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: Promise.<ListAppsResponse> - List of applications - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -} - -appManager.listApps(request) -.then(result => { - console.log(result) // returns a ListAppsResponse -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.deployApp(path, ref) ⇒ [Promise.<App>](#App) -Deploys an application to Fonos. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application just created -**Throws**: - -- if path to application does not exist or is not a directory -- the file package.json does not exist inside de application path -- the file package.json is missing the name or description - -**Todo** - -- [ ] if the file uploading fails the state of the application should -change to UNKNOWN. - - -| Param | Type | Description | -| --- | --- | --- | -| path | string | path to the application | -| ref | string | optional reference to the application | - -**Example** -```js -const path = '/path/to/project' - -appManager.deployApp(path) -.then(result => { - console.log(result) // returns the app object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.getApp(ref) ⇒ [Promise.<App>](#App) -Retrives an application by reference. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application -**Throws**: - -- if name is null or application does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | The reference to the application | - -**Example** -```js -appManager.getApp(name) -.then(result => { - console.log(result) // returns the app object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.deleteApp(ref) ⇒ [Promise.<App>](#App) -Deletes an application create on Fonos server. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application to remove -**Throws**: - -- if the application is not found - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | The reference to the application | - -**Example** -```js -appManager.deleteApp(ref) -.then(() => { - console.log('finished') // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.listApps(request) ⇒ Promise.<ListAppsResponse> -List the applications registered in Fonos. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: Promise.<ListAppsResponse> - List of applications - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -} - -appManager.listApps(request) -.then(result => { - console.log(result) // returns a ListAppsResponse -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.deployApp(path, ref) ⇒ [Promise.<App>](#App) -Deploys an application to Fonos. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application just created -**Throws**: - -- if path to application does not exist or is not a directory -- the file package.json does not exist inside de application path -- the file package.json is missing the name or description - -**Todo** - -- [ ] if the file uploading fails the state of the application should -change to UNKNOWN. - - -| Param | Type | Description | -| --- | --- | --- | -| path | string | path to the application | -| ref | string | optional reference to the application | - -**Example** -```js -const path = '/path/to/project' - -appManager.deployApp(path) -.then(result => { - console.log(result) // returns the app object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.getApp(ref) ⇒ [Promise.<App>](#App) -Retrives an application by reference. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application -**Throws**: - -- if name is null or application does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | The reference to the application | - -**Example** -```js -appManager.getApp(name) -.then(result => { - console.log(result) // returns the app object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.deleteApp(ref) ⇒ [Promise.<App>](#App) -Deletes an application create on Fonos server. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: [Promise.<App>](#App) - The application to remove -**Throws**: - -- if the application is not found - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | The reference to the application | - -**Example** -```js -appManager.deleteApp(ref) -.then(() => { - console.log('finished') // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### appManager.listApps(request) ⇒ Promise.<ListAppsResponse> -List the applications registered in Fonos. - -**Kind**: instance method of [AppManager](#AppManager) -**Returns**: Promise.<ListAppsResponse> - List of applications - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -} - -appManager.listApps(request) -.then(result => { - console.log(result) // returns a ListAppsResponse -}).catch(e => console.error(e)) // an error occurred -``` diff --git a/docs/reference/Auths.md b/docs/reference/Auths.md new file mode 100644 index 000000000..5cd11cba0 --- /dev/null +++ b/docs/reference/Auths.md @@ -0,0 +1,118 @@ + + +## Auths ⇐ APIClient +Use Fonoster Auth, a capability of Fonoster, +to validate and create short life tokens. + +**Kind**: global class +**Extends**: APIClient +**See**: module:core:APIClient + +* [Auths](#Auths) ⇐ APIClient + * [new Auths(options)](#new_Auths_new) + * [.createToken(request)](#Auths+createToken) ⇒ Promise.<CreateTokenResponse> + * [.createNoAccessToken(request)](#Auths+createNoAccessToken) ⇒ Promise.<CreateTokenResponse> + * [.validateToken(request)](#Auths+validateToken) ⇒ Promise.<boolean> + + + +### new Auths(options) +Constructs a new Auth object. + + +| Param | Type | Description | +| --- | --- | --- | +| options | ClientOptions | Options to indicate the objects endpoint | + +**Example** +```js +const request = { + accessKeyId: "603693c0afaa1a080000000e", + roleName: "ROLE" +}; + +auth.createToken(request) +.then(console.log) // returns an object with the token +.catch(console.error); // an error occurred +``` + + +### auths.createToken(request) ⇒ Promise.<CreateTokenResponse> +Creates a short-life token. The client must have role allowed to create +tokens. + +**Kind**: instance method of [Auths](#Auths) + +| Param | Type | Description | +| --- | --- | --- | +| request | CreateTokenRequest | Request to create a new token | +| request.accessKeyId | string | Path to the function | +| request.expiration | string | Longevity of the token | +| request.roleName | string | Role assigned to the token | + +**Example** +```js +const Fonoster = require("@fonoster/sdk"); +const auth = new Fonoster.Auth(); + +const request = { + accessKeyId: "603693c0afaa1a080000000e", + roleName: "SERVICE", + expirantion: '10m' +}; + +auth.createToken(request) + .then(console.log) // returns an object with the token + .catch(console.error); // an error occurred +``` + + +### auths.createNoAccessToken(request) ⇒ Promise.<CreateTokenResponse> +Creates a short-life token meant only to serve as a signature. This token will +only be useful to sign a request. + +**Kind**: instance method of [Auths](#Auths) + +| Param | Type | Description | +| --- | --- | --- | +| request | CreateTokenRequest | Request to create a new signature token | +| request.accessKeyId | string | Path to the function | + +**Example** +```js +const Fonoster = require("@fonoster/sdk"); +const auth = new Fonoster.Auth(); + +const request = { + accessKeyId: "603693c0afaa1a080000000e", +}; + +auth.createNoAccessToken(request) + .then(console.log) // returns an object with the token + .catch(console.error); // an error occurred +``` + + +### auths.validateToken(request) ⇒ Promise.<boolean> +Checks if a give token was issue by the system. + +**Kind**: instance method of [Auths](#Auths) + +| Param | Type | Description | +| --- | --- | --- | +| request | CreateTokValidateTokenRequestenRequest | Request to verify the validity of a token | +| request.token | string | Path to the function. | + +**Example** +```js +const Fonoster = require("@fonoster/sdk"); +const auth = new Fonoster.Auth(); + +const request = { + token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", +}; + +auth.validateToken(request) + .then(console.log) // returns `true` or `false` + .catch(console.error); // an error occurred +``` diff --git a/docs/reference/CallManager.md b/docs/reference/CallManager.md index 8e4df7012..7d44fa2d6 100644 --- a/docs/reference/CallManager.md +++ b/docs/reference/CallManager.md @@ -1,18 +1,16 @@ -## CallManager ⇐ FonosService -Use Fonos CallManager, a capability of Fonos Systems Manager, -to initiate and monitor automated calls. Fonos CallManager requires of a -running Fonos deployment. +## CallManager ⇐ APIClient +Use Fonoster CallManager, a capability of Fonoster CallManager, +to initiate and monitor automated calls. Fonoster CallManager requires of a +running Fonoster deployment. **Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService +**Extends**: APIClient +**See**: module:core:APIClient -* [CallManager](#CallManager) ⇐ FonosService +* [CallManager](#CallManager) ⇐ APIClient * [new CallManager()](#new_CallManager_new) - * [new CallManager()](#new_CallManager_new) - * [.call(request)](#CallManager+call) ⇒ Promise.<CallResponse> * [.call(request)](#CallManager+call) ⇒ Promise.<CallResponse> @@ -22,72 +20,24 @@ Constructs a new CallManager Object. **Example** ```js -const Fonos = require('@fonos/sdk') -const callManager = new Fonos.CallManager() - -callManager.call({ - from: '9102104343', - to: '17853178070' - app: 'default' -}) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### new CallManager() -Constructs a new CallManager Object. - -**Example** -```js -const Fonos = require('@fonos/sdk') -const callManager = new Fonos.CallManager() - -callManager.call({ - from: '9102104343', - to: '17853178070' - app: 'default' -}) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### callManager.call(request) ⇒ Promise.<CallResponse> -Calls method. - -**Kind**: instance method of [CallManager](#CallManager) -**Returns**: Promise.<CallResponse> - call results -**Throws**: - -- if the from number doesn't exist -- if could not connect to the underline services - - -| Param | Type | Description | -| --- | --- | --- | -| request | CallRequest | call options. | +const Fonoster = require("@fonoster/sdk") +const callManager = new Fonoster.CallManager() -**Example** -```js callManager.call({ - from: '9102104343', - to: '17853178070' - app: 'default' + from: "9102104343", + to: "17853178070", + webhook: "https://https://071e-47-132-137-75.ngrok.io/voiceapp", }) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred +.then(console.log) // successful response +.catch(console.error) // an error occurred ``` ### callManager.call(request) ⇒ Promise.<CallResponse> -Calls method. +Call method. **Kind**: instance method of [CallManager](#CallManager) -**Returns**: Promise.<CallResponse> - call results +**Returns**: Promise.<CallResponse> - - call results **Throws**: - if the from number doesn't exist @@ -96,16 +46,20 @@ Calls method. | Param | Type | Description | | --- | --- | --- | -| request | CallRequest | call options. | +| request | CallRequest | Call request options | +| request.from | string | Number you are calling from. You must have this Number configured in your account | +| request.to | string | The callee | +| request.webhook | string | Url of the application that will handle the call. If none is provided it will use the webook setup in the Number | +| request.ignoreE164Validation | string | If enabled it will accept any input in the from and to | **Example** ```js callManager.call({ - from: '9102104343', - to: '17853178070' - app: 'default' + from: "+19102104343", + to: "+17853178070", + webhook: "https://voiceapps.acme.com/myvoiceapp", + metadata?: {} }) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred +.then(console.log) // successful response +.catch(console.error); // an error occurred ``` diff --git a/docs/reference/Domains.md b/docs/reference/Domains.md index 44c7f2796..c2b8796a7 100644 --- a/docs/reference/Domains.md +++ b/docs/reference/Domains.md @@ -1,28 +1,16 @@ -## Domains ⇐ FonosService -Use Fonos Domains, a capability of Fonos SIP Proxy Subsystem, +## Domains ⇐ APIClient +Use Fonoster Domains, a capability of Fonoster SIP Proxy Subsystem, to create, update, get and delete Domains. The API requires of a running -Fonos deployment. +Fonoster deployment. **Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService +**Extends**: APIClient +**See**: module:core:APIClient -* [Domains](#Domains) ⇐ FonosService +* [Domains](#Domains) ⇐ APIClient * [new Domains(options)](#new_Domains_new) - * [new Domains(options)](#new_Domains_new) - * [new Domains(options)](#new_Domains_new) - * [.createDomain(request)](#Domains+createDomain) ⇒ Promise.<CreateDomainResponse> - * [.getDomain(ref)](#Domains+getDomain) ⇒ Promise.<GetDomainResponse> - * [.updateDomain(request)](#Domains+updateDomain) ⇒ Promise.<UpdateDomainResponse> - * [.listDomains(request)](#Domains+listDomains) ⇒ Promise.<ListDomainsResponse> - * [.deleteDomain(ref)](#Domains+deleteDomain) - * [.createDomain(request)](#Domains+createDomain) ⇒ Promise.<CreateDomainResponse> - * [.getDomain(ref)](#Domains+getDomain) ⇒ Promise.<GetDomainResponse> - * [.updateDomain(request)](#Domains+updateDomain) ⇒ Promise.<UpdateDomainResponse> - * [.listDomains(request)](#Domains+listDomains) ⇒ Promise.<ListDomainsResponse> - * [.deleteDomain(ref)](#Domains+deleteDomain) * [.createDomain(request)](#Domains+createDomain) ⇒ Promise.<CreateDomainResponse> * [.getDomain(ref)](#Domains+getDomain) ⇒ Promise.<GetDomainResponse> * [.updateDomain(request)](#Domains+updateDomain) ⇒ Promise.<UpdateDomainResponse> @@ -37,328 +25,18 @@ Constructs a new Domains object. | Param | Type | Description | | --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const domains = new Fonos.Domains(); - -domains.createDomain({name: "Local Domain", domainUri: "sip.local"...}) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)); // an error occurred -``` - - -### new Domains(options) -Constructs a new Domains object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | +| options | ClientOptions | Options to indicate the objects endpoint | **Example** ```js -const Fonos = require("@fonos/sdk"); -const domains = new Fonos.Domains(); +const Fonoster = require("@fonoster/sdk"); +const domains = new Fonoster.Domains(); domains.createDomain({name: "Local Domain", domainUri: "sip.local"...}) .then(result => { console.log(result) // successful response }).catch(e => console.error(e)); // an error occurred ``` - - -### new Domains(options) -Constructs a new Domains object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const domains = new Fonos.Domains(); - -domains.createDomain({name: "Local Domain", domainUri: "sip.local"...}) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.createDomain(request) ⇒ Promise.<CreateDomainResponse> -Creates a new Domain on the SIP Proxy subsystem. - -**Kind**: instance method of [Domains](#Domains) - -| Param | Type | Description | -| --- | --- | --- | -| request | CreateDomainRequest | Request for the provision of a new Domain | -| request.name | string | Friendly name for the SIP domain | -| request.domainUri | string | Domain URI. FQDN is recommended | -| request.egressNumberRef | string | A valid reference to a Number in Fonos | -| request.egressRule | string | Regular expression indicating when a call will be routed via request.egressNumberRef | -| request.accessDeny | string | Optional list of IPs or networks that cannot communicate with this Domain | -| request.accessAllow | string | Optional list of IPs or networks allow if request.accessDeny is defined | - -**Example** -```js -const request = { - name: "Local Domain", - domainUri: "sip.local", - egressRule: ".*", - egressNumberRef: "cb8V0CNTfH", - accessDeny: ["0.0.0.0/1"] // Deny all - accessAllow: ["192.168.1.0/255.255.255.0", "192.168.0.1/31"] -}; - -domains.createDomain(request) -.then(result => { - console.log(result) // returns the CreateDomainResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.getDomain(ref) ⇒ Promise.<GetDomainResponse> -Retrives a Domain by its reference. - -**Kind**: instance method of [Domains](#Domains) -**Returns**: Promise.<GetDomainResponse> - The domain -**Throws**: - -- if ref is null or Domain does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Domain | - -**Example** -```js -const ref = "Nx05y-ldZa"; - -domains.getDomain(ref) -.then(result => { - console.log(result) // returns the CreateGetResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.updateDomain(request) ⇒ Promise.<UpdateDomainResponse> -Update a Domain at the SIP Proxy subsystem. - -**Kind**: instance method of [Domains](#Domains) - -| Param | Type | Description | -| --- | --- | --- | -| request | UpdateDomainRequest | Request for the update of an existing Domain | -| request.ref | string | To update a Domain you must provide its reference | -| request.name | string | Friendly name for the SIP domain | -| request.egressNumberRef | string | A valid reference to a Number in Fonos | -| request.egressRule | string | Regular expression indicating when a call will be routed via request.egressNumberRef | -| request.accessDeny | string | Optional list of IPs or networks that cannot communicate with this Domain | -| request.accessAllow | string | Optiona list of IPs or networks allow if request.accessDeny is defined | - -**Example** -```js -const request = { - ref: "Nx05y-ldZa", - name: "Office Domain", - accessAllow: ["192.168.1.0/255.255.255.0", "192.168.0.1/31"] -}; - -domains.updateDomain(request) -.then(result => { - console.log(result) // returns the UpdateDomainResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.listDomains(request) ⇒ Promise.<ListDomainsResponse> -List the Domains registered in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Domains](#Domains) -**Returns**: Promise.<ListDomainsResponse> - Paginated list of Domains - -| Param | Type | Description | -| --- | --- | --- | -| request | ListDomainsRequest | Optional parameter with size and token for the request | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -}; - -domains.listDomains(request) -.then(() => { - console.log(result) // returns a ListDomainsResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.deleteDomain(ref) -Deletes a Domain from SIP Proxy subsystem. Notice, that in order to delete -a Domain, you must first delete all it's Agents. - -**Kind**: instance method of [Domains](#Domains) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to the Domain you wish to delete | - -**Example** -```js -const ref = "Nx05y-ldZa"; - -domains.deleteDomain(ref) -.then(() => { - console.log("done") // returns a reference of the domain -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.createDomain(request) ⇒ Promise.<CreateDomainResponse> -Creates a new Domain on the SIP Proxy subsystem. - -**Kind**: instance method of [Domains](#Domains) - -| Param | Type | Description | -| --- | --- | --- | -| request | CreateDomainRequest | Request for the provision of a new Domain | -| request.name | string | Friendly name for the SIP domain | -| request.domainUri | string | Domain URI. FQDN is recommended | -| request.egressNumberRef | string | A valid reference to a Number in Fonos | -| request.egressRule | string | Regular expression indicating when a call will be routed via request.egressNumberRef | -| request.accessDeny | string | Optional list of IPs or networks that cannot communicate with this Domain | -| request.accessAllow | string | Optional list of IPs or networks allow if request.accessDeny is defined | - -**Example** -```js -const request = { - name: "Local Domain", - domainUri: "sip.local", - egressRule: ".*", - egressNumberRef: "cb8V0CNTfH", - accessDeny: ["0.0.0.0/1"] // Deny all - accessAllow: ["192.168.1.0/255.255.255.0", "192.168.0.1/31"] -}; - -domains.createDomain(request) -.then(result => { - console.log(result) // returns the CreateDomainResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.getDomain(ref) ⇒ Promise.<GetDomainResponse> -Retrives a Domain by its reference. - -**Kind**: instance method of [Domains](#Domains) -**Returns**: Promise.<GetDomainResponse> - The domain -**Throws**: - -- if ref is null or Domain does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Domain | - -**Example** -```js -const ref = "Nx05y-ldZa"; - -domains.getDomain(ref) -.then(result => { - console.log(result) // returns the CreateGetResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.updateDomain(request) ⇒ Promise.<UpdateDomainResponse> -Update a Domain at the SIP Proxy subsystem. - -**Kind**: instance method of [Domains](#Domains) - -| Param | Type | Description | -| --- | --- | --- | -| request | UpdateDomainRequest | Request for the update of an existing Domain | -| request.ref | string | To update a Domain you must provide its reference | -| request.name | string | Friendly name for the SIP domain | -| request.egressNumberRef | string | A valid reference to a Number in Fonos | -| request.egressRule | string | Regular expression indicating when a call will be routed via request.egressNumberRef | -| request.accessDeny | string | Optional list of IPs or networks that cannot communicate with this Domain | -| request.accessAllow | string | Optiona list of IPs or networks allow if request.accessDeny is defined | - -**Example** -```js -const request = { - ref: "Nx05y-ldZa", - name: "Office Domain", - accessAllow: ["192.168.1.0/255.255.255.0", "192.168.0.1/31"] -}; - -domains.updateDomain(request) -.then(result => { - console.log(result) // returns the UpdateDomainResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.listDomains(request) ⇒ Promise.<ListDomainsResponse> -List the Domains registered in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Domains](#Domains) -**Returns**: Promise.<ListDomainsResponse> - Paginated list of Domains - -| Param | Type | Description | -| --- | --- | --- | -| request | ListDomainsRequest | Optional parameter with size and token for the request | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -}; - -domains.listDomains(request) -.then(() => { - console.log(result) // returns a ListDomainsResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### domains.deleteDomain(ref) -Deletes a Domain from SIP Proxy subsystem. Notice, that in order to delete -a Domain, you must first delete all it's Agents. - -**Kind**: instance method of [Domains](#Domains) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to the Domain you wish to delete | - -**Example** -```js -const ref = "Nx05y-ldZa"; - -domains.deleteDomain(ref) -.then(() => { - console.log("done") // returns a reference of the domain -}).catch(e => console.error(e)); // an error occurred -``` ### domains.createDomain(request) ⇒ Promise.<CreateDomainResponse> @@ -450,7 +128,7 @@ domains.updateDomain(request) ### domains.listDomains(request) ⇒ Promise.<ListDomainsResponse> -List the Domains registered in Fonos SIP Proxy subsystem. +List the Domains registered in Fonoster SIP Proxy subsystem. **Kind**: instance method of [Domains](#Domains) **Returns**: Promise.<ListDomainsResponse> - Paginated list of Domains diff --git a/docs/reference/Funcs.md b/docs/reference/Funcs.md index 05767da28..26b722982 100644 --- a/docs/reference/Funcs.md +++ b/docs/reference/Funcs.md @@ -1,23 +1,17 @@ -## Funcs ⇐ FonosService -Use Fonos Funcs, a capability of FaaS subsystem, -to deploy, update, get and delete functions. Fonos Funcs requires of a -running Fonos deployment and FaaS. +## Funcs ⇐ APIClient +Use Fonoster Funcs, a capability of FaaS subsystem, +to deploy, update, get and delete functions. Fonoster Funcs requires of a +running Fonoster deployment and FaaS. **Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService +**Extends**: APIClient +**See**: module:core:APIClient -* [Funcs](#Funcs) ⇐ FonosService +* [Funcs](#Funcs) ⇐ APIClient * [new Funcs(options)](#new_Funcs_new) - * [new Funcs(options)](#new_Funcs_new) - * [.deployFunc(request, emitter)](#Funcs+deployFunc) ⇒ Promise.<DeployStream> - * [.getFunc(request)](#Funcs+getFunc) ⇒ Promise.<GetFuncResponse> - * [.deleteFunc(request)](#Funcs+deleteFunc) ⇒ Promise.<GetFuncResponse> - * [.listFuncs(request)](#Funcs+listFuncs) ⇒ Promise.<ListFuncsResponse> - * [.getFuncLogs(request)](#Funcs+getFuncLogs) ⇒ Promise.<LogsStream> - * [.deployFunc(request, emitter)](#Funcs+deployFunc) ⇒ Promise.<DeployStream> + * [.deployFunc(request)](#Funcs+deployFunc) ⇒ Promise.<DeployStream> * [.getFunc(request)](#Funcs+getFunc) ⇒ Promise.<GetFuncResponse> * [.deleteFunc(request)](#Funcs+deleteFunc) ⇒ Promise.<GetFuncResponse> * [.listFuncs(request)](#Funcs+listFuncs) ⇒ Promise.<ListFuncsResponse> @@ -31,31 +25,7 @@ Constructs a new Funcs object. | Param | Type | Description | | --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const request = { - name: "function1", - path: "/path/to/function", -}; - -funcs.deployFunc(request) -.then(stream => { - stream.onMessage(msg => console.log(msg)) - stream.onFinish(() => console.log("end")) - stream.onError(e => console.error(e)) -}).catch(e => console.error(e)); // an error occurred -``` - - -### new Funcs(options) -Constructs a new Funcs object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | +| options | ClientOptions | Options to indicate the objects endpoint | **Example** ```js @@ -73,7 +43,7 @@ funcs.deployFunc(request) ``` -### funcs.deployFunc(request, emitter) ⇒ Promise.<DeployStream> +### funcs.deployFunc(request) ⇒ Promise.<DeployStream> Creates or updates a function in the FaaS subsystem. **Kind**: instance method of [Funcs](#Funcs) @@ -81,171 +51,18 @@ Creates or updates a function in the FaaS subsystem. | Param | Type | Description | | --- | --- | --- | | request | DeployFuncRequest | Request to create or update a function | -| request.name | string | Unique function name | -| request.schedule | string | Unique function name | | request.path | string | Path to the function. | -| request.limit.memory | string | Optional limit for function's memory utilization | -| request.limit.cpu | string | Optional limit for function's cpu utilization | -| request.requests.memory | string | Optional requested memory allocation for the function | -| request.requests.cpu | string | Optional requested cpu allocation for the function | -| emitter | function | Optional callback to capture deployment events | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const funcs = new Fonos.Funcs(); - -const request = { - name: "function1", - schedule: "* * * * *", // Intervals using standard cron syntax - path: "/path/to/function", - limits: { - cpu: 100m, - memory: 40Mi - }, - requests: { - cpu: 100m, - memory: 40Mi - } -}; - -funcs.deployFunc(request) -.then(stream => { - stream.onMessage(msg => console.log(msg)) - stream.onFinish(() => console.log("end")) - stream.onError(e => console.error(e)) -}).catch(e => console.error(e)); // an error occurred -``` - - -### funcs.getFunc(request) ⇒ Promise.<GetFuncResponse> -Gets a system function by name. - -**Kind**: instance method of [Funcs](#Funcs) - -| Param | Type | Description | -| --- | --- | --- | -| request | GetFuncRequest | Request to get a function | -| request.name | string | Unique function name | - -**Example** -```js -const request = { - name: "function1" -}; - -funcs.getFunc(request) -.then(result => { - console.log(result) // successful response with the function as the body65 -}).catch(e => console.error(e)); // an error occurred -``` - - -### funcs.deleteFunc(request) ⇒ Promise.<GetFuncResponse> -Removes a function by its name. - -**Kind**: instance method of [Funcs](#Funcs) -**Note**: This action will remove all function statistics. - -| Param | Type | Description | -| --- | --- | --- | -| request | DeleteFuncRequest | Request to delete a function | -| request.name | string | Unique function name | - -**Example** -```js -const request = { - name: "function1" -}; - -funcs.deleteFunc(request) -.then(result => { - console.log(result) // returns the name of the function -}).catch(e => console.error(e)); // an error occurred -``` - - -### funcs.listFuncs(request) ⇒ Promise.<ListFuncsResponse> -Returns a list of functions owned by the User. - -**Kind**: instance method of [Funcs](#Funcs) -**Returns**: Promise.<ListFuncsResponse> - List of Functions - -| Param | Type | Description | -| --- | --- | --- | -| request | ListFuncsRequest | | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -}; - -funcs.listFuncs(request) -.then(() => { - console.log(result) // returns a ListFuncsResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### funcs.getFuncLogs(request) ⇒ Promise.<LogsStream> -Creates or updates a function in the FaaS subsystem. - -**Kind**: instance method of [Funcs](#Funcs) - -| Param | Type | Description | -| --- | --- | --- | -| request | GetFuncLogsRequest | Request to obtain the logs for a function | -| request.name | string | Function name | -| request.since | string | Only return logs after a specific date (RFC3339) | -| request.tail | string | Sets the maximum number of log messages to return, <=0 means unlimited | -| request.follow | string | When true, the request will stream logs until the request timeout | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const funcs = new Fonos.Funcs(); - -const request = { - name: "function1", - tail: 10, - follow: true, - since: "2021-05-12T07:20:50.52Z" -}; - -funcs.getFuncLogs(request) -.then(stream => { - stream.onMessage(log => console.log(log)) - stream.onFinish(() => console.log("end")) - stream.onError(e => console.error(e)) -}).catch(e => console.error(e)); // an error occurred -``` - - -### funcs.deployFunc(request, emitter) ⇒ Promise.<DeployStream> -Creates or updates a function in the FaaS subsystem. - -**Kind**: instance method of [Funcs](#Funcs) - -| Param | Type | Description | -| --- | --- | --- | -| request | DeployFuncRequest | Request to create or update a function | | request.name | string | Unique function name | | request.schedule | string | Unique function name | -| request.path | string | Path to the function. | | request.limit.memory | string | Optional limit for function's memory utilization | | request.limit.cpu | string | Optional limit for function's cpu utilization | | request.requests.memory | string | Optional requested memory allocation for the function | | request.requests.cpu | string | Optional requested cpu allocation for the function | -| emitter | function | Optional callback to capture deployment events | **Example** ```js -const Fonos = require("@fonos/sdk"); -const funcs = new Fonos.Funcs(); +const Fonoster = require("@fonoster/sdk"); +const funcs = new Fonoster.Funcs(); const request = { name: "function1", @@ -358,8 +175,8 @@ Creates or updates a function in the FaaS subsystem. **Example** ```js -const Fonos = require("@fonos/sdk"); -const funcs = new Fonos.Funcs(); +const Fonoster = require("@fonoster/sdk"); +const funcs = new Fonoster.Funcs(); const request = { name: "function1", diff --git a/docs/reference/Numbers.md b/docs/reference/Numbers.md index 0c2d42742..9dc86edd5 100644 --- a/docs/reference/Numbers.md +++ b/docs/reference/Numbers.md @@ -1,126 +1,23 @@ -## Numbers ⇐ FonosService -Use Fonos Numbers, a capability of Fonos SIP Proxy subsystem, -to create, update, get and delete numbers. Fonos Numbers requires of a -running Fonos deployment. +## Numbers ⇐ APIClient +Use Fonoster Numbers, a capability of Fonoster SIP Proxy subsystem, +to create, update, get and delete numbers. Fonoster Numbers requires of a +running Fonoster deployment. **Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService +**Extends**: APIClient +**See**: module:core:APIClient -* [Numbers](#Numbers) ⇐ FonosService +* [Numbers](#Numbers) ⇐ APIClient * [new Numbers(options)](#new_Numbers_new) - * [new Numbers(options)](#new_Numbers_new) - * [new Numbers(options)](#new_Numbers_new) - * [new Numbers(options)](#new_Numbers_new) - * [.createNumber(request)](#Numbers+createNumber) ⇒ Promise.<CreateNumberResponse> - * [.getNumber(ref)](#Numbers+getNumber) ⇒ Promise.<GetNumberResponse> - * [.updateNumber(request)](#Numbers+updateNumber) ⇒ Promise.<UpdateNumberResponse> - * [.listNumbers(request)](#Numbers+listNumbers) ⇒ Promise.<ListNumbersResponse> - * [.deleteNumber(ref)](#Numbers+deleteNumber) - * [.getIngressApp(request)](#Numbers+getIngressApp) ⇒ Promise.<GetIngressAppResponse> - * [.getIngressAppSync(request)](#Numbers+getIngressAppSync) ⇒ Promise.<GetIngressAppResponse> - * [.createNumber(request)](#Numbers+createNumber) ⇒ Promise.<CreateNumberResponse> - * [.getNumber(ref)](#Numbers+getNumber) ⇒ Promise.<GetNumberResponse> - * [.updateNumber(request)](#Numbers+updateNumber) ⇒ Promise.<UpdateNumberResponse> - * [.listNumbers(request)](#Numbers+listNumbers) ⇒ Promise.<ListNumbersResponse> - * [.deleteNumber(ref)](#Numbers+deleteNumber) - * [.getIngressApp(request)](#Numbers+getIngressApp) ⇒ Promise.<GetIngressAppResponse> - * [.getIngressAppSync(request)](#Numbers+getIngressAppSync) ⇒ Promise.<GetIngressAppResponse> - * [.createNumber(request)](#Numbers+createNumber) ⇒ Promise.<CreateNumberResponse> - * [.getNumber(ref)](#Numbers+getNumber) ⇒ Promise.<GetNumberResponse> - * [.updateNumber(request)](#Numbers+updateNumber) ⇒ Promise.<UpdateNumberResponse> - * [.listNumbers(request)](#Numbers+listNumbers) ⇒ Promise.<ListNumbersResponse> - * [.deleteNumber(ref)](#Numbers+deleteNumber) - * [.getIngressApp(request)](#Numbers+getIngressApp) ⇒ Promise.<GetIngressAppResponse> - * [.getIngressAppSync(request)](#Numbers+getIngressAppSync) ⇒ Promise.<GetIngressAppResponse> * [.createNumber(request)](#Numbers+createNumber) ⇒ Promise.<CreateNumberResponse> * [.getNumber(ref)](#Numbers+getNumber) ⇒ Promise.<GetNumberResponse> * [.updateNumber(request)](#Numbers+updateNumber) ⇒ Promise.<UpdateNumberResponse> * [.listNumbers(request)](#Numbers+listNumbers) ⇒ Promise.<ListNumbersResponse> * [.deleteNumber(ref)](#Numbers+deleteNumber) - * [.getIngressApp(request)](#Numbers+getIngressApp) ⇒ Promise.<GetIngressAppResponse> - * [.getIngressAppSync(request)](#Numbers+getIngressAppSync) ⇒ Promise.<GetIngressAppResponse> - - - -### new Numbers(options) -Constructs a new Numbers object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const numbers = new Fonos.Numbers(); - -const request = { - providerRef: "516f1577bcf86cd797439012", - e164Number: "+17853177343", - ingressApp: "hello-monkeys" -}; - -numbers.createNumber(request) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)); // an error occurred -``` - - -### new Numbers(options) -Constructs a new Numbers object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const numbers = new Fonos.Numbers(); - -const request = { - providerRef: "516f1577bcf86cd797439012", - e164Number: "+17853177343", - ingressApp: "hello-monkeys" -}; - -numbers.createNumber(request) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)); // an error occurred -``` - + * [.getIngressInfo(request)](#Numbers+getIngressInfo) ⇒ Promise.<GetIngressAppResponse> -### new Numbers(options) -Constructs a new Numbers object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const numbers = new Fonos.Numbers(); - -const request = { - providerRef: "516f1577bcf86cd797439012", - e164Number: "+17853177343", - ingressApp: "hello-monkeys" -}; - -numbers.createNumber(request) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)); // an error occurred -``` ### new Numbers(options) @@ -129,17 +26,19 @@ Constructs a new Numbers object. | Param | Type | Description | | --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | +| options | ClientOptions | Options to indicate the objects endpoint | **Example** ```js -const Fonos = require("@fonos/sdk"); -const numbers = new Fonos.Numbers(); +const Fonoster = require("@fonoster/sdk"); +const numbers = new Fonoster.Numbers(); const request = { providerRef: "516f1577bcf86cd797439012", e164Number: "+17853177343", - ingressApp: "hello-monkeys" + ingressInfo: { + webhook: "https://webhooks.acme.com/hooks" + } }; numbers.createNumber(request) @@ -153,193 +52,15 @@ numbers.createNumber(request) Creates a new Number on the SIP Proxy subsystem. **Kind**: instance method of [Numbers](#Numbers) -**Note**: You can only provider an aorLink or an ingressApp but no both - -| Param | Type | Description | -| --- | --- | --- | -| request | CreateNumberRequest | Request for the provision of a new Number | -| request.providerRef | string | Idenfier to the Provider this Number belongs with | -| request.e164_number | string | A valid number @ Provider | -| request.aorLink | string | An AOR where ingress calls will be directed to | -| request.ingress_app | string | An Application where ingress calls will be directed to | - -**Example** -```js -const request = { - providerRef: "516f1577bcf86cd797439012", - e164Number: "+17853177343", - aorLink: "sip:1001@sip.local" -}; - -numbers.createNumber(request) -.then(result => { - console.log(result) // returns the CreateNumberResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.getNumber(ref) ⇒ Promise.<GetNumberResponse> -Retrives a Number by its reference. - -**Kind**: instance method of [Numbers](#Numbers) -**Returns**: Promise.<GetNumberResponse> - The GetNumberResponse -**Throws**: - -- if ref is null or Number does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Number | - -**Example** -```js -numbers.getNumber(ref) -.then(result => { - console.log(result) // returns the GetNumberResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.updateNumber(request) ⇒ Promise.<UpdateNumberResponse> -Update a Number at the SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Note**: You can only provider an aorLink or an ingressApp but no both - -| Param | Type | Description | -| --- | --- | --- | -| request | UpdateNumberRequest | Request for the update of an existing Number | -| request.aorLink | string | An AOR where ingress calls will be directed to | -| request.ingress_app | string | An Application where ingress calls will be directed to | - -**Example** -```js -const request = { - ref: "516f1577bcf86cd797439012", - aorLink: "sip:1001@sip.local" -}; - -numbers.updateNumber(request) -.then(result => { - console.log(result) // returns the Number from the DB -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.listNumbers(request) ⇒ Promise.<ListNumbersResponse> -List the Numbers registered in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Returns**: Promise.<ListNumbersResponse> - List of Numbers - -| Param | Type | Description | -| --- | --- | --- | -| request | ListNumbersRequest | | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -}; - -numbers.listNumbers(request) -.then(() => { - console.log(result) // returns a ListNumbersResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.deleteNumber(ref) -Deletes a Number from SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to the Number | - -**Example** -```js -const ref = "cb8V0CNTfH"; - -numbers.deleteNumber(ref) -.then(() => { - console.log("done") // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### numbers.getIngressApp(request) ⇒ Promise.<GetIngressAppResponse> -Get the Ingress App for a given e164 number. - -**Kind**: instance method of [Numbers](#Numbers) -**Throws**: - -- if the Number is not register in Fonos - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetIngressAppRequest | | -| request.e164Number | string | A number in E164 format for incomming calls | - -**Example** -```js -const request = { - e164Number: "+17853178071" -}; - -numbers.getIngressApp(request) -.then(result => { - console.log(result) // returns the Application -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.getIngressAppSync(request) ⇒ Promise.<GetIngressAppResponse> -Get the Ingress App for a given e164 number. - -**Kind**: instance method of [Numbers](#Numbers) -**Throws**: - -- if the Number is not register in Fonos - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetIngressAppRequest | | -| request.e164Number | string | A number in E164 format for incomming calls | - -**Example** -```js -const request = { - e164Number: "+17853178071" -}; - -numbers.getIngressApp(request) -.then(result => { - console.log(result) // returns the Application -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.createNumber(request) ⇒ Promise.<CreateNumberResponse> -Creates a new Number on the SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Note**: You can only provider an aorLink or an ingressApp but no both +**Note**: You can only provider an aorLink or an ingressInfo but no both | Param | Type | Description | | --- | --- | --- | | request | CreateNumberRequest | Request for the provision of a new Number | | request.providerRef | string | Idenfier to the Provider this Number belongs with | -| request.e164_number | string | A valid number @ Provider | +| request.e164Number | string | A valid number @ Provider | | request.aorLink | string | An AOR where ingress calls will be directed to | -| request.ingress_app | string | An Application where ingress calls will be directed to | +| request.ingressInfo | string | Webhook to connect call to | **Example** ```js @@ -389,7 +110,7 @@ Update a Number at the SIP Proxy subsystem. | --- | --- | --- | | request | UpdateNumberRequest | Request for the update of an existing Number | | request.aorLink | string | An AOR where ingress calls will be directed to | -| request.ingress_app | string | An Application where ingress calls will be directed to | +| request.ingressInfo | string | A webhook to direct the call for flow control | **Example** ```js @@ -406,7 +127,7 @@ numbers.updateNumber(request) ### numbers.listNumbers(request) ⇒ Promise.<ListNumbersResponse> -List the Numbers registered in Fonos SIP Proxy subsystem. +List the Numbers registered in Fonoster SIP Proxy subsystem. **Kind**: instance method of [Numbers](#Numbers) **Returns**: Promise.<ListNumbersResponse> - List of Numbers @@ -449,398 +170,15 @@ numbers.deleteNumber(ref) console.log("done") // returns an empty object }).catch(e => console.error(e)) // an error occurred ``` - - -### numbers.getIngressApp(request) ⇒ Promise.<GetIngressAppResponse> -Get the Ingress App for a given e164 number. - -**Kind**: instance method of [Numbers](#Numbers) -**Throws**: - -- if the Number is not register in Fonos - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetIngressAppRequest | | -| request.e164Number | string | A number in E164 format for incomming calls | - -**Example** -```js -const request = { - e164Number: "+17853178071" -}; - -numbers.getIngressApp(request) -.then(result => { - console.log(result) // returns the Application -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.getIngressAppSync(request) ⇒ Promise.<GetIngressAppResponse> -Get the Ingress App for a given e164 number. - -**Kind**: instance method of [Numbers](#Numbers) -**Throws**: - -- if the Number is not register in Fonos - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetIngressAppRequest | | -| request.e164Number | string | A number in E164 format for incomming calls | - -**Example** -```js -const request = { - e164Number: "+17853178071" -}; - -numbers.getIngressApp(request) -.then(result => { - console.log(result) // returns the Application -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.createNumber(request) ⇒ Promise.<CreateNumberResponse> -Creates a new Number on the SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Note**: You can only provider an aorLink or an ingressApp but no both - -| Param | Type | Description | -| --- | --- | --- | -| request | CreateNumberRequest | Request for the provision of a new Number | -| request.providerRef | string | Idenfier to the Provider this Number belongs with | -| request.e164_number | string | A valid number @ Provider | -| request.aorLink | string | An AOR where ingress calls will be directed to | -| request.ingress_app | string | An Application where ingress calls will be directed to | - -**Example** -```js -const request = { - providerRef: "516f1577bcf86cd797439012", - e164Number: "+17853177343", - aorLink: "sip:1001@sip.local" -}; - -numbers.createNumber(request) -.then(result => { - console.log(result) // returns the CreateNumberResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.getNumber(ref) ⇒ Promise.<GetNumberResponse> -Retrives a Number by its reference. - -**Kind**: instance method of [Numbers](#Numbers) -**Returns**: Promise.<GetNumberResponse> - The GetNumberResponse -**Throws**: - -- if ref is null or Number does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Number | - -**Example** -```js -numbers.getNumber(ref) -.then(result => { - console.log(result) // returns the GetNumberResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.updateNumber(request) ⇒ Promise.<UpdateNumberResponse> -Update a Number at the SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Note**: You can only provider an aorLink or an ingressApp but no both - -| Param | Type | Description | -| --- | --- | --- | -| request | UpdateNumberRequest | Request for the update of an existing Number | -| request.aorLink | string | An AOR where ingress calls will be directed to | -| request.ingress_app | string | An Application where ingress calls will be directed to | - -**Example** -```js -const request = { - ref: "516f1577bcf86cd797439012", - aorLink: "sip:1001@sip.local" -}; - -numbers.updateNumber(request) -.then(result => { - console.log(result) // returns the Number from the DB -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.listNumbers(request) ⇒ Promise.<ListNumbersResponse> -List the Numbers registered in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Returns**: Promise.<ListNumbersResponse> - List of Numbers - -| Param | Type | Description | -| --- | --- | --- | -| request | ListNumbersRequest | | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -}; - -numbers.listNumbers(request) -.then(() => { - console.log(result) // returns a ListNumbersResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.deleteNumber(ref) -Deletes a Number from SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to the Number | - -**Example** -```js -const ref = "cb8V0CNTfH"; - -numbers.deleteNumber(ref) -.then(() => { - console.log("done") // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### numbers.getIngressApp(request) ⇒ Promise.<GetIngressAppResponse> -Get the Ingress App for a given e164 number. - -**Kind**: instance method of [Numbers](#Numbers) -**Throws**: - -- if the Number is not register in Fonos - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetIngressAppRequest | | -| request.e164Number | string | A number in E164 format for incomming calls | - -**Example** -```js -const request = { - e164Number: "+17853178071" -}; - -numbers.getIngressApp(request) -.then(result => { - console.log(result) // returns the Application -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.getIngressAppSync(request) ⇒ Promise.<GetIngressAppResponse> -Get the Ingress App for a given e164 number. - -**Kind**: instance method of [Numbers](#Numbers) -**Throws**: - -- if the Number is not register in Fonos - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetIngressAppRequest | | -| request.e164Number | string | A number in E164 format for incomming calls | - -**Example** -```js -const request = { - e164Number: "+17853178071" -}; - -numbers.getIngressApp(request) -.then(result => { - console.log(result) // returns the Application -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.createNumber(request) ⇒ Promise.<CreateNumberResponse> -Creates a new Number on the SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Note**: You can only provider an aorLink or an ingressApp but no both - -| Param | Type | Description | -| --- | --- | --- | -| request | CreateNumberRequest | Request for the provision of a new Number | -| request.providerRef | string | Idenfier to the Provider this Number belongs with | -| request.e164_number | string | A valid number @ Provider | -| request.aorLink | string | An AOR where ingress calls will be directed to | -| request.ingress_app | string | An Application where ingress calls will be directed to | - -**Example** -```js -const request = { - providerRef: "516f1577bcf86cd797439012", - e164Number: "+17853177343", - aorLink: "sip:1001@sip.local" -}; - -numbers.createNumber(request) -.then(result => { - console.log(result) // returns the CreateNumberResponse interface -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.getNumber(ref) ⇒ Promise.<GetNumberResponse> -Retrives a Number by its reference. - -**Kind**: instance method of [Numbers](#Numbers) -**Returns**: Promise.<GetNumberResponse> - The GetNumberResponse -**Throws**: - -- if ref is null or Number does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Number | - -**Example** -```js -numbers.getNumber(ref) -.then(result => { - console.log(result) // returns the GetNumberResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.updateNumber(request) ⇒ Promise.<UpdateNumberResponse> -Update a Number at the SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Note**: You can only provider an aorLink or an ingressApp but no both - -| Param | Type | Description | -| --- | --- | --- | -| request | UpdateNumberRequest | Request for the update of an existing Number | -| request.aorLink | string | An AOR where ingress calls will be directed to | -| request.ingress_app | string | An Application where ingress calls will be directed to | - -**Example** -```js -const request = { - ref: "516f1577bcf86cd797439012", - aorLink: "sip:1001@sip.local" -}; - -numbers.updateNumber(request) -.then(result => { - console.log(result) // returns the Number from the DB -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.listNumbers(request) ⇒ Promise.<ListNumbersResponse> -List the Numbers registered in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) -**Returns**: Promise.<ListNumbersResponse> - List of Numbers - -| Param | Type | Description | -| --- | --- | --- | -| request | ListNumbersRequest | | -| request.pageSize | number | Number of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -}; - -numbers.listNumbers(request) -.then(() => { - console.log(result) // returns a ListNumbersResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### numbers.deleteNumber(ref) -Deletes a Number from SIP Proxy subsystem. - -**Kind**: instance method of [Numbers](#Numbers) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to the Number | - -**Example** -```js -const ref = "cb8V0CNTfH"; - -numbers.deleteNumber(ref) -.then(() => { - console.log("done") // returns an empty object -}).catch(e => console.error(e)) // an error occurred -``` - - -### numbers.getIngressApp(request) ⇒ Promise.<GetIngressAppResponse> -Get the Ingress App for a given e164 number. - -**Kind**: instance method of [Numbers](#Numbers) -**Throws**: - -- if the Number is not register in Fonos - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetIngressAppRequest | | -| request.e164Number | string | A number in E164 format for incomming calls | - -**Example** -```js -const request = { - e164Number: "+17853178071" -}; - -numbers.getIngressApp(request) -.then(result => { - console.log(result) // returns the Application -}).catch(e => console.error(e)); // an error occurred -``` - + -### numbers.getIngressAppSync(request) ⇒ Promise.<GetIngressAppResponse> +### numbers.getIngressInfo(request) ⇒ Promise.<GetIngressAppResponse> Get the Ingress App for a given e164 number. **Kind**: instance method of [Numbers](#Numbers) **Throws**: -- if the Number is not register in Fonos +- if the Number is not register in Fonoster | Param | Type | Description | diff --git a/docs/reference/Projects.md b/docs/reference/Projects.md new file mode 100644 index 000000000..c30f99a24 --- /dev/null +++ b/docs/reference/Projects.md @@ -0,0 +1,182 @@ + + +## Projects ⇐ APIClient +Use Fonoster Projects, a capability of Fonoster, +to create, update, get and delete Projects. Projects requires of a +running Fonoster deployment. + +**Kind**: global class +**Extends**: APIClient +**See**: module:core:APIClient + +* [Projects](#Projects) ⇐ APIClient + * [new Projects(options)](#new_Projects_new) + * [.listProjects(request)](#Projects+listProjects) ⇒ Promise.<ListProjectsResponse> + * [.createProject(request)](#Projects+createProject) ⇒ Promise.<CreateProjectResponse> + * [.getProject(ref)](#Projects+getProject) ⇒ Promise.<GetProjectResponse> + * [.updateProject(request)](#Projects+updateProject) ⇒ Promise.<UpdateProjectResponse> + * [.deleteProject(ref)](#Projects+deleteProject) + * [.renewAccessKeySecret(request)](#Projects+renewAccessKeySecret) + + + +### new Projects(options) +Constructs a new Projects object. + + +| Param | Type | Description | +| --- | --- | --- | +| options | ClientOptions | Options to indicate the objects endpoint | + +**Example** +```js +const Fonoster = require("@fonoster/sdk") +const Projects = new Fonoster.Projects() + +const request = { + name: "project002", + allowExperiments: false +} + +projects.createProject(request) +.then(result => { + console.log(result) // successful response +}).catch(e => console.error(e)) // an error occurred +``` + + +### projects.listProjects(request) ⇒ Promise.<ListProjectsResponse> +Returns a list of Projects + +**Kind**: instance method of [Projects](#Projects) + +| Param | Type | Description | +| --- | --- | --- | +| request | ListProjectsRequest | Reserved for future filters | + +**Example** +```js +projects.listProjects({}) +.then(result => { + console.log(result) // successful response +}).catch(e => console.error(e)) // an error occurred +``` + + +### projects.createProject(request) ⇒ Promise.<CreateProjectResponse> +Creates a new Project. + +**Kind**: instance method of [Projects](#Projects) + +| Param | Type | Description | +| --- | --- | --- | +| request | CreateProjectRequest | Request to create a new Project | +| request.name | string | Project's name | +| request.allowExperiments | string | Enables experimental APIs | + +**Example** +```js +const request = { + name: "project001", + allowExperiments: true +} + +projects.createProject(request) +.then(result => { + console.log(result) // successful response +}).catch(e => console.error(e)) // an error occurred +``` + + +### projects.getProject(ref) ⇒ Promise.<GetProjectResponse> +Get a Project by reference. + +**Kind**: instance method of [Projects](#Projects) +**Returns**: Promise.<GetProjectResponse> - The Project +**Throws**: + +- if ref is null or Project does not exist + + +| Param | Type | Description | +| --- | --- | --- | +| ref | string | Reference to Project | + +**Example** +```js +const ref = "507f1f77bcf86cd799439011"; + +projects.getProject(ref) +.then(result => { + console.log(result) // returns the Project payload +}).catch(e => console.error(e)) // an error occurred +``` + + +### projects.updateProject(request) ⇒ Promise.<UpdateProjectResponse> +Update a Project. + +**Kind**: instance method of [Projects](#Projects) + +| Param | Type | Description | +| --- | --- | --- | +| request | UpdateProjectRequest | Request update of an Project | +| request.ref | string | Required reference to the Project | +| request.name | string | Value to rename the application to | +| request.allowExperiments | string | Enables experimental APIs | + +**Example** +```js +const request = { + name: "project001", + ref: "507f1f77bcf86cd799439011" +} + +projects.updateProject(request) +.then(result => { + console.log(result) // returns the UpdateProjectResponse payload +}).catch(e => console.error(e)) // an error occurred +``` + + +### projects.deleteProject(ref) +Delete a Project. + +**Kind**: instance method of [Projects](#Projects) + +| Param | Type | Description | +| --- | --- | --- | +| ref | string | Project's reference | + +**Example** +```js +const ref = "507f1f77bcf86cd799439011" + +projects.deleteProject(ref) +.then(() => { + console.log("done") // returns a reference of the Project +}).catch(e => console.error(e)) // an error occurred +``` + + +### projects.renewAccessKeySecret(request) +Generate a new accessKeySecret. Be sure to update your applications with the new value. + +**Kind**: instance method of [Projects](#Projects) + +| Param | Type | Description | +| --- | --- | --- | +| request | LoginRequest | Request update of an Project | +| request.ref | string | Project's reference | + +**Example** +```js +const request = { + ref: "507f1f77bcf86cd799439011" +} + +projects.renewAccessKeySecret(request) +.then(result => { + console.log(result) // returns the new accessKeySecret +}).catch(e => console.error(e)) // an error occurred +``` diff --git a/docs/reference/Providers.md b/docs/reference/Providers.md index f552c87e8..79af4211a 100644 --- a/docs/reference/Providers.md +++ b/docs/reference/Providers.md @@ -1,28 +1,16 @@ -## Providers ⇐ FonosService -Use Fonos Providers, a capability of Fonos SIP Proxy subsystem, -to create, update, get and delete providers. Fonos Providers requires of a -running Fonos deployment. +## Providers ⇐ APIClient +Use Fonoster Providers, a capability of Fonoster SIP Proxy subsystem, +to create, update, get and delete providers. Fonoster Providers requires of a +running Fonosterdeployment. **Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService +**Extends**: APIClient +**See**: module:core:APIClient -* [Providers](#Providers) ⇐ FonosService +* [Providers](#Providers) ⇐ APIClient * [new Providers(options)](#new_Providers_new) - * [new Providers(options)](#new_Providers_new) - * [new Providers(options)](#new_Providers_new) - * [.createProvider(request)](#Providers+createProvider) ⇒ Promise.<Object> - * [.getProvider(ref)](#Providers+getProvider) ⇒ Promise.<Object> - * [.updateProvider(request)](#Providers+updateProvider) ⇒ Promise.<Object> - * [.listProviders(request)](#Providers+listProviders) ⇒ Promise.<ListProvidersResponse> - * [.deleteProvider(ref)](#Providers+deleteProvider) - * [.createProvider(request)](#Providers+createProvider) ⇒ Promise.<Object> - * [.getProvider(ref)](#Providers+getProvider) ⇒ Promise.<Object> - * [.updateProvider(request)](#Providers+updateProvider) ⇒ Promise.<Object> - * [.listProviders(request)](#Providers+listProviders) ⇒ Promise.<ListProvidersResponse> - * [.deleteProvider(ref)](#Providers+deleteProvider) * [.createProvider(request)](#Providers+createProvider) ⇒ Promise.<Object> * [.getProvider(ref)](#Providers+getProvider) ⇒ Promise.<Object> * [.updateProvider(request)](#Providers+updateProvider) ⇒ Promise.<Object> @@ -37,66 +25,12 @@ Constructs a new Providers object. | Param | Type | Description | | --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const providers = new Fonos.Providers(); - -const request = { - name: "SIP Provider", - username: "trunk001", - secret: "secretkey", - host: "sip.provider.net" -}; - -providers.createProvider(request) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)); // an error occurred -``` - - -### new Providers(options) -Constructs a new Providers object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk"); -const providers = new Fonos.Providers(); - -const request = { - name: "SIP Provider", - username: "trunk001", - secret: "secretkey", - host: "sip.provider.net" -}; - -providers.createProvider(request) -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)); // an error occurred -``` - - -### new Providers(options) -Constructs a new Providers object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | +| options | ClientOptions | Options to indicate the objects endpoint | **Example** ```js -const Fonos = require("@fonos/sdk"); -const providers = new Fonos.Providers(); +const Fonoster = require("@fonoster/sdk"); +const providers = new Fonoster.Providers(); const request = { name: "SIP Provider", @@ -124,270 +58,8 @@ Creates a new Provider on the SIP Proxy subsystem. | request.username | string | Username for the trunk. No required for static IP authentication | | request.secret | string | Password for the trunk. No required for static IP authentication | | request.host | string | Hostname or IP of the Provider | -| request.transport | string | The transport for the Provider. Fonos will use TCP if none is provided | -| request.expires | string | Expiration time for the registration. Fonos will use 3600 if non is provided | - -**Example** -```js -const request = { - name: "Provider Name", - username: "trunk001", - secret: "secretkey", - host: "sip.provider.net" -}; - -providers.createProvider(request) -.then(result => { - console.log(result) // returns the Provider object -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.getProvider(ref) ⇒ Promise.<Object> -Retrives a Provider by its reference. - -**Kind**: instance method of [Providers](#Providers) -**Returns**: Promise.<Object> - The provider -**Throws**: - -- if ref is null or Provider does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Provider | - -**Example** -```js -providers.getProvider(ref) -.then(result => { - console.log(result) // returns the Provider object -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.updateProvider(request) ⇒ Promise.<Object> -Update a Provider at the SIP Proxy subsystem. - -**Kind**: instance method of [Providers](#Providers) - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | Request to update a Provider | -| request.ref | string | Providers reference | -| request.name | string | Friendly name to the Provider | -| request.username | string | Username for the trunk. No required for static IP authentication | -| request.secret | string | Password for the trunk. No required for static IP authentication | -| request.host | string | Hostname or IP of the Provider | -| request.transport | string | The transport for the Provider. Fonos will use TCP if none is provided | -| request.expires | string | Expiration time for the registration. Fonos will use 3600 if non is provided | - -**Example** -```js -const request = { - ref: "hYTHYCYv_U", - host: "sip.provider.net" -}; - -providers.updateProvider(request) -.then(result => { - console.log(result) // returns the Provider from the DB -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.listProviders(request) ⇒ Promise.<ListProvidersResponse> -List the Providers registered in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Providers](#Providers) -**Returns**: Promise.<ListProvidersResponse> - List of Providers - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | | -| request.pageSize | provider | Provider of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -}; - -providers.listProviders(request) -.then(() => { - console.log(result) // returns a ListProvidersResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.deleteProvider(ref) -Deletes a Provider from SIP Proxy subsystem. Notice, that in order to delete -a Provider, you must first delete all it"s Agents. - -**Kind**: instance method of [Providers](#Providers) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to the Provider | - -**Example** -```js -const ref = "hYTHYCYv_U"; - -providers.deleteProvider(ref) -.then(() => { - console.log("done") // returns an empty object -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.createProvider(request) ⇒ Promise.<Object> -Creates a new Provider on the SIP Proxy subsystem. - -**Kind**: instance method of [Providers](#Providers) - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | Request for the provision of a new Provider | -| request.name | string | Friendly name to the Provider | -| request.username | string | Username for the trunk. No required for static IP authentication | -| request.secret | string | Password for the trunk. No required for static IP authentication | -| request.host | string | Hostname or IP of the Provider | -| request.transport | string | The transport for the Provider. Fonos will use TCP if none is provided | -| request.expires | string | Expiration time for the registration. Fonos will use 3600 if non is provided | - -**Example** -```js -const request = { - name: "Provider Name", - username: "trunk001", - secret: "secretkey", - host: "sip.provider.net" -}; - -providers.createProvider(request) -.then(result => { - console.log(result) // returns the Provider object -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.getProvider(ref) ⇒ Promise.<Object> -Retrives a Provider by its reference. - -**Kind**: instance method of [Providers](#Providers) -**Returns**: Promise.<Object> - The provider -**Throws**: - -- if ref is null or Provider does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to Provider | - -**Example** -```js -providers.getProvider(ref) -.then(result => { - console.log(result) // returns the Provider object -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.updateProvider(request) ⇒ Promise.<Object> -Update a Provider at the SIP Proxy subsystem. - -**Kind**: instance method of [Providers](#Providers) - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | Request to update a Provider | -| request.ref | string | Providers reference | -| request.name | string | Friendly name to the Provider | -| request.username | string | Username for the trunk. No required for static IP authentication | -| request.secret | string | Password for the trunk. No required for static IP authentication | -| request.host | string | Hostname or IP of the Provider | -| request.transport | string | The transport for the Provider. Fonos will use TCP if none is provided | -| request.expires | string | Expiration time for the registration. Fonos will use 3600 if non is provided | - -**Example** -```js -const request = { - ref: "hYTHYCYv_U", - host: "sip.provider.net" -}; - -providers.updateProvider(request) -.then(result => { - console.log(result) // returns the Provider from the DB -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.listProviders(request) ⇒ Promise.<ListProvidersResponse> -List the Providers registered in Fonos SIP Proxy subsystem. - -**Kind**: instance method of [Providers](#Providers) -**Returns**: Promise.<ListProvidersResponse> - List of Providers - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | | -| request.pageSize | provider | Provider of element per page (defaults to 20) | -| request.pageToken | string | The next_page_token value returned from a previous List request, if any | - -**Example** -```js -const request = { - pageSize: 20, - pageToken: 2 -}; - -providers.listProviders(request) -.then(() => { - console.log(result) // returns a ListProvidersResponse object -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.deleteProvider(ref) -Deletes a Provider from SIP Proxy subsystem. Notice, that in order to delete -a Provider, you must first delete all it"s Agents. - -**Kind**: instance method of [Providers](#Providers) - -| Param | Type | Description | -| --- | --- | --- | -| ref | string | Reference to the Provider | - -**Example** -```js -const ref = "hYTHYCYv_U"; - -providers.deleteProvider(ref) -.then(() => { - console.log("done") // returns an empty object -}).catch(e => console.error(e)); // an error occurred -``` - - -### providers.createProvider(request) ⇒ Promise.<Object> -Creates a new Provider on the SIP Proxy subsystem. - -**Kind**: instance method of [Providers](#Providers) - -| Param | Type | Description | -| --- | --- | --- | -| request | Object | Request for the provision of a new Provider | -| request.name | string | Friendly name to the Provider | -| request.username | string | Username for the trunk. No required for static IP authentication | -| request.secret | string | Password for the trunk. No required for static IP authentication | -| request.host | string | Hostname or IP of the Provider | -| request.transport | string | The transport for the Provider. Fonos will use TCP if none is provided | -| request.expires | string | Expiration time for the registration. Fonos will use 3600 if non is provided | +| request.transport | string | The transport for the Provider. Fonoster will use TCP if none is provided | +| request.expires | string | Expiration time for the registration. Fonoster will use 3600 if non is provided | **Example** ```js @@ -441,8 +113,8 @@ Update a Provider at the SIP Proxy subsystem. | request.username | string | Username for the trunk. No required for static IP authentication | | request.secret | string | Password for the trunk. No required for static IP authentication | | request.host | string | Hostname or IP of the Provider | -| request.transport | string | The transport for the Provider. Fonos will use TCP if none is provided | -| request.expires | string | Expiration time for the registration. Fonos will use 3600 if non is provided | +| request.transport | string | The transport for the Provider. Fonoster will use TCP if none is provided | +| request.expires | string | Expiration time for the registration. Fonoster will use 3600 if non is provided | **Example** ```js @@ -459,7 +131,7 @@ providers.updateProvider(request) ### providers.listProviders(request) ⇒ Promise.<ListProvidersResponse> -List the Providers registered in Fonos SIP Proxy subsystem. +List the Providers registered in Fonoster SIP Proxy subsystem. **Kind**: instance method of [Providers](#Providers) **Returns**: Promise.<ListProvidersResponse> - List of Providers diff --git a/docs/reference/Secrets.md b/docs/reference/Secrets.md new file mode 100644 index 000000000..f37609a4d --- /dev/null +++ b/docs/reference/Secrets.md @@ -0,0 +1,137 @@ + + +## Secrets ⇐ APIClient +Use Fonoster Secrets, a capability of Fonoster Secrets Service, +to create and manage your secrets.FonosterSecrets requires of a +running Fonoster deployment. + +**Kind**: global class +**Extends**: APIClient +**See**: module:core:APIClient + +* [Secrets](#Secrets) ⇐ APIClient + * [new Secrets(options)](#new_Secrets_new) + * [.createSecret(request)](#Secrets+createSecret) ⇒ Promise.<CreateSecretResponse> + * [.getSecret(request)](#Secrets+getSecret) ⇒ Promise.<CreateSecretResponse> + * [.listSecret(request)](#Secrets+listSecret) ⇒ Promise.<ListSecretResponse> + * [.deleteSecret(request)](#Secrets+deleteSecret) ⇒ Promise.<void> + + + +### new Secrets(options) +Constructs a Secret Object. + + +| Param | Type | Description | +| --- | --- | --- | +| options | ClientOptions | Options to indicate the objects endpoint | + +**Example** +```js +const Fonoster = require("@fonoster/sdk") +const secrets = new Fonoster.Secrets() + +const request = { + secretName: "Jenkins", + secret: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" +}; + +secrets.createSecret(request) +.then(result => { + console.log(result) // returns the CreateDomainResponse interface +}).catch(e => console.error(e)); // an error occurred +``` + + +### secrets.createSecret(request) ⇒ Promise.<CreateSecretResponse> +Creates a new Secret. + +**Kind**: instance method of [Secrets](#Secrets) + +| Param | Type | Description | +| --- | --- | --- | +| request | CreateSecretRequest | Request for the provision of a new Secret | +| request.name | string | Friendly name for the Secret | +| request.secret | string | secret to be save | + +**Example** +```js +const request = { + secretName: "Jenkins", + secret: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" +}; + +secrets.createSecret(request) +.then(result => { + console.log(result) // returns the CreateDomainResponse interface +}).catch(e => console.error(e)); // an error occurred +``` + + +### secrets.getSecret(request) ⇒ Promise.<CreateSecretResponse> +Get a Secret. + +**Kind**: instance method of [Secrets](#Secrets) + +| Param | Type | Description | +| --- | --- | --- | +| request | CreateSecretRequest | Request for the provision of a new Secret | +| request.name | string | Friendly name for the Secret | +| request.secret | string | secret to be save | + +**Example** +```js +const request = { + secretName: "Jenkins", + secret: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" +}; + +secrets.createSecret(request) +.then(result => { + console.log(result) // returns the CreateDomainResponse interface +}).catch(e => console.error(e)); // an error occurred +``` + + +### secrets.listSecret(request) ⇒ Promise.<ListSecretResponse> +List all user secrets. + +**Kind**: instance method of [Secrets](#Secrets) + +| Param | Type | Description | +| --- | --- | --- | +| request | ListSecretRequest | Request for the provision of a new Secret | +| request.name | string | Friendly name for the Secret | +| request.secret | string | secret to be save | + +**Example** +```js +const request = { + pageSize: 1, + pageToken: 1 +}; + +secrets.listSecret(request) +.then(result => { + console.log(result) // returns the CreateDomainResponse interface +}).catch(e => console.error(e)); // an error occurred +``` + + +### secrets.deleteSecret(request) ⇒ Promise.<void> +Retrives a Secret using its reference. + +**Kind**: instance method of [Secrets](#Secrets) +**Returns**: Promise.<void> - The domain + +| Param | Type | Description | +| --- | --- | --- | +| request | string | Reference to Secret | + +**Example** +```js +secrets.deleteSecret("jenkins") +.then(() => { + console.log("successful") // returns the CreateGetResponse interface +}).catch(e => console.error(e)); // an error occurred +``` diff --git a/docs/reference/Storage.md b/docs/reference/Storage.md index 929808acc..d0277ab8c 100644 --- a/docs/reference/Storage.md +++ b/docs/reference/Storage.md @@ -1,120 +1,18 @@ -## Storage ⇐ FonosService -Use Fonos Storage, a capability of Fonos Object Storage subsystem, +## Storage ⇐ APIClient +Use Fonoster Storage, a capability of Fonoster Object Storage subsystem, to upload, download, and delete objects. **Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService +**Extends**: APIClient +**See**: module:core:APIClient -* [Storage](#Storage) ⇐ FonosService +* [Storage](#Storage) ⇐ APIClient * [new Storage(options)](#new_Storage_new) - * [new Storage(options)](#new_Storage_new) - * [new Storage(options)](#new_Storage_new) - * [new Storage(options)](#new_Storage_new) - * [new Storage(options)](#new_Storage_new) - * [.uploadObject(request)](#Storage+uploadObject) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURL(request)](#Storage+getObjectURL) ⇒ Promise.<getObjectURLResponse> - * [.uploadObjectSync(request)](#Storage+uploadObjectSync) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURLSync(request)](#Storage+getObjectURLSync) ⇒ Promise.<getObjectURLResponse> - * [.uploadObject(request)](#Storage+uploadObject) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURL(request)](#Storage+getObjectURL) ⇒ Promise.<getObjectURLResponse> - * [.uploadObjectSync(request)](#Storage+uploadObjectSync) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURLSync(request)](#Storage+getObjectURLSync) ⇒ Promise.<getObjectURLResponse> * [.uploadObject(request)](#Storage+uploadObject) ⇒ Promise.<UploadObjectResponse> * [.getObjectURL(request)](#Storage+getObjectURL) ⇒ Promise.<getObjectURLResponse> - * [.uploadObjectSync(request)](#Storage+uploadObjectSync) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURLSync(request)](#Storage+getObjectURLSync) ⇒ Promise.<getObjectURLResponse> - * [.uploadObject(request)](#Storage+uploadObject) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURL(request)](#Storage+getObjectURL) ⇒ Promise.<getObjectURLResponse> - * [.uploadObjectSync(request)](#Storage+uploadObjectSync) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURLSync(request)](#Storage+getObjectURLSync) ⇒ Promise.<getObjectURLResponse> - * [.uploadObject(request)](#Storage+uploadObject) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURL(request)](#Storage+getObjectURL) ⇒ Promise.<getObjectURLResponse> - * [.uploadObjectSync(request)](#Storage+uploadObjectSync) ⇒ Promise.<UploadObjectResponse> - * [.getObjectURLSync(request)](#Storage+getObjectURLSync) ⇒ Promise.<getObjectURLResponse> - - - -### new Storage(options) -Constructs a new Storage object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk") -const storage = new Fonos.Storage() - -storage.uploadObject() -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### new Storage(options) -Constructs a new Storage object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk") -const storage = new Fonos.Storage() - -storage.uploadObject() -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### new Storage(options) -Constructs a new Storage object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | - -**Example** -```js -const Fonos = require("@fonos/sdk") -const storage = new Fonos.Storage() - -storage.uploadObject() -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` - - -### new Storage(options) -Constructs a new Storage object. - - -| Param | Type | Description | -| --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | -**Example** -```js -const Fonos = require("@fonos/sdk") -const storage = new Fonos.Storage() - -storage.uploadObject() -.then(result => { - console.log(result) // successful response -}).catch(e => console.error(e)) // an error occurred -``` ### new Storage(options) @@ -123,12 +21,12 @@ Constructs a new Storage object. | Param | Type | Description | | --- | --- | --- | -| options | ServiceOptions | Options to indicate the objects endpoint | +| options | ClientOptions | Options to indicate the objects endpoint | **Example** ```js -const Fonos = require("@fonos/sdk") -const storage = new Fonos.Storage() +const Fonoster = require("@fonoster/sdk") +const storage = new Fonoster.Storage() storage.uploadObject() .then(result => { @@ -138,133 +36,7 @@ storage.uploadObject() ### storage.uploadObject(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURL(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObjectSync(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURLSync(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObject(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem. +Upload an object toFonosterObject Storage subsystem. **Kind**: instance method of [Storage](#Storage) **Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object @@ -306,447 +78,6 @@ Get Object URL. - if directory or object doesn't exist -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObjectSync(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURLSync(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObject(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURL(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObjectSync(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURLSync(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObject(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURL(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObjectSync(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURLSync(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObject(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURL(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | GetObjectURLRequest | Object with information about the location and and name of the requested object | -| request.filename | string | The name of the object save your file. | -| request.accessKeyId | string | Optional access key id | - -**Example** -```js -const request = { - filename: "object-name", - bucket: "bucket-name" -} - -storage.getObjectURL(request) -.then(result => { - console.log(result) -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.uploadObjectSync(request) ⇒ Promise.<UploadObjectResponse> -Upload an object to Fonos Object Storage subsystem with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<UploadObjectResponse> - localy accessible URL to the object -**Throws**: - -- if the path does not exist or if is a directory -- if the directory does not exist - - -| Param | Type | Description | -| --- | --- | --- | -| request | UploadObjectRequest | Object with information about the origin and destination of an object | -| request.bucket | string | Bucket at the Storage system | -| request.dir | string | Directory on the Storage system where your objec will be uploaded | -| request.filename | string | Path to the object to be uploaded | - -**Example** -```js -const request = { - filename: "/path/to/file", - bucket: "apps", - directory: "/" -} - -storage.uploadObject(request) -.then(() => { - console.log(result) // returns and empty Object -}).catch(e => console.error(e)) // an error occurred -``` - - -### storage.getObjectURLSync(request) ⇒ Promise.<getObjectURLResponse> -Get Object URL with synchronous method. - -**Kind**: instance method of [Storage](#Storage) -**Returns**: Promise.<getObjectURLResponse> - localy accessible URL to the object -**Throws**: - -- if directory or object doesn't exist - - | Param | Type | Description | | --- | --- | --- | | request | GetObjectURLRequest | Object with information about the location and and name of the requested object | diff --git a/docs/reference/UserManager.md b/docs/reference/UserManager.md deleted file mode 100644 index 40ac1f602..000000000 --- a/docs/reference/UserManager.md +++ /dev/null @@ -1,39 +0,0 @@ - - -## UserManager ⇐ FonosService -Use Fonos UserManager, a capability of Fonos Systems Manager, -to create and manage users and roles. Fonos UserManager requires of a -running Fonos deployment. - -**Kind**: global class -**Extends**: FonosService -**See**: module:core:FonosService - -* [UserManager](#UserManager) ⇐ FonosService - * [new UserManager()](#new_UserManager_new) - * [new UserManager()](#new_UserManager_new) - - - -### new UserManager() -Constructs a new AppManager Object. - -**Example** -```js -const Fonos = require('@fonos/sdk') -const users = new Fonos.UserManager() - -TODO: Adde example -``` - - -### new UserManager() -Constructs a new AppManager Object. - -**Example** -```js -const Fonos = require('@fonos/sdk') -const users = new Fonos.UserManager() - -TODO: Adde example -``` diff --git a/docs/reference/Users.md b/docs/reference/Users.md new file mode 100644 index 000000000..163d5c15d --- /dev/null +++ b/docs/reference/Users.md @@ -0,0 +1,193 @@ + + +## Users ⇐ APIClient +Use Fonoster Users, a capability of Fonoster, +to create, update, get and delete Users. Users requires of a +running Fonoster deployment. + +**Kind**: global class +**Extends**: APIClient +**See**: module:core:APIClient + +* [Users](#Users) ⇐ APIClient + * [new Users(options)](#new_Users_new) + * [.listUsers(request)](#Users+listUsers) ⇒ Promise.<ListUsersResponse> + * [.createUser(request)](#Users+createUser) ⇒ Promise.<CreateUserResponse> + * [.getUser(ref)](#Users+getUser) ⇒ Promise.<GetUserResponse> + * [.updateUser(request)](#Users+updateUser) ⇒ Promise.<UpdateUserResponse> + * [.deleteUser(ref)](#Users+deleteUser) + * [.createUserCredentials(request)](#Users+createUserCredentials) + + + +### new Users(options) +Constructs a new Users object. + + +| Param | Type | Description | +| --- | --- | --- | +| options | ClientOptions | Options to indicate the objects endpoint | + +**Example** +```js +const Fonoster = require("@fonoster/sdk") +const users = new Fonoster.Users() + +const request = { + email: "john.doe@email.com", + name: "John Doe", + secret: "s3cur3pass", + avatar: "https://avatar.com/avt?userId=2124252" +} + +users.createUser(request) +.then(result => { + console.log(result) // successful response +}).catch(e => console.error(e)) // an error occurred +``` + + +### users.listUsers(request) ⇒ Promise.<ListUsersResponse> +Return a list of Users. + +**Kind**: instance method of [Users](#Users) + +| Param | Type | Description | +| --- | --- | --- | +| request | ListUsersRequest | Request filters | +| request.email | string | Optional email filter | + +**Example** +```js +projects.listUsers({ email: "john.doe@email.com" }) +.then(result => { + console.log(result) // successful response +}).catch(e => console.error(e)) // an error occurred +``` + + +### users.createUser(request) ⇒ Promise.<CreateUserResponse> +Create a new Fonoster User. + +**Kind**: instance method of [Users](#Users) + +| Param | Type | Description | +| --- | --- | --- | +| request | CreateUserRequest | Request for the provision of a new User | +| request.email | string | User's email | +| request.name | string | User's full name | +| request.secret | string | Login password | +| request.avatar | string | Optional URL to User's avatar | + +**Example** +```js +const request = { + email: "john.doe@email.com", + name: "John Doe", + secret: "s3cur3pass", + avatar: "https://avatar.com/avt?userId=2124252" +} + +users.createUser(request) +.then(result => { + console.log(result) // successful response +}).catch(e => console.error(e)) // an error occurred +``` + + +### users.getUser(ref) ⇒ Promise.<GetUserResponse> +Retrives an User by reference. + +**Kind**: instance method of [Users](#Users) +**Returns**: Promise.<GetUserResponse> - The User +**Throws**: + +- if ref is null or User does not exist + + +| Param | Type | Description | +| --- | --- | --- | +| ref | string | Reference to User | + +**Example** +```js +const ref = "507f1f77bcf86cd799439011"; + +users.getUser(ref) +.then(result => { + console.log(result) // returns the User payload +}).catch(e => console.error(e)) // an error occurred +``` + + +### users.updateUser(request) ⇒ Promise.<UpdateUserResponse> +Update a Fonoster User. + +**Kind**: instance method of [Users](#Users) + +| Param | Type | Description | +| --- | --- | --- | +| request | UpdateUserRequest | Request update of an User | +| request.ref | string | Required reference to the User | +| request.name | string | Optionally update the name | +| request.avatar | string | Optionally update the avatar | +| request.secret | string | Optionally update User's password | + +**Example** +```js +const request = { + name: "John Dee", + secret: "s3cur3pass" +} + +users.updateUser(request) +.then(result => { + console.log(result) // returns the UpdateUserResponse payload +}).catch(e => console.error(e)) // an error occurred +``` + + +### users.deleteUser(ref) +Delete an Fonoster User. + +**Kind**: instance method of [Users](#Users) + +| Param | Type | Description | +| --- | --- | --- | +| ref | string | User's reference | + +**Example** +```js +const ref = "507f1f77bcf86cd799439011" + +users.deleteUser(ref) +.then(() => { + console.log("done") // returns a reference of the User +}).catch(e => console.error(e)) // an error occurred +``` + + +### users.createUserCredentials(request) +Login using email and a password. + +**Kind**: instance method of [Users](#Users) + +| Param | Type | Description | +| --- | --- | --- | +| request | createUserCredentials | Request update of an User | +| request.email | string | Login username | +| request.secret | string | Login password | + +**Example** +```js +const request = { + email: "john.doe@email.com", + secret: "s3cur3pass", + expiration: "30d" +} + +users.createUserCredentials(request) +.then(result => { + console.log(result) // returns an accessKeyId and accessKeySecret +}).catch(e => console.error(e)) // an error occurred +``` diff --git a/docs/reference/VoiceResponse.md b/docs/reference/VoiceResponse.md new file mode 100644 index 000000000..4da72603f --- /dev/null +++ b/docs/reference/VoiceResponse.md @@ -0,0 +1,366 @@ + + +## VoiceResponse ⇐ Verb +Use the VoiceResponse object, to construct advance Interactive +Voice Response (IVR) applications. + +**Kind**: global class +**Extends**: Verb +**See**: module:core:APIClient + +* [VoiceResponse](#VoiceResponse) ⇐ Verb + * [new VoiceResponse(request)](#new_VoiceResponse_new) + * [.use(plugin)](#VoiceResponse+use) + * [.play(media, options)](#VoiceResponse+play) + * [.say(text, options)](#VoiceResponse+say) + * [.gather(options)](#VoiceResponse+gather) + * [.sgather(options)](#VoiceResponse+sgather) ⇒ SGatherStream + * [.dtmf(options)](#VoiceResponse+dtmf) + * [.dial(destination, options)](#VoiceResponse+dial) ⇒ StatusStream + * [.playback(playbackId)](#VoiceResponse+playback) + * [.on(handler)](#VoiceResponse+on) + * [.mute(options)](#VoiceResponse+mute) + * [.unmute(options)](#VoiceResponse+unmute) + * [.answer()](#VoiceResponse+answer) + * [.hangup()](#VoiceResponse+hangup) + * [.record(options)](#VoiceResponse+record) ⇒ Promise.<RecordResult> + + + +### new VoiceResponse(request) +Constructs a new VoiceResponse object. + + +| Param | Type | Description | +| --- | --- | --- | +| request | VoiceRequest | Options to indicate the objects endpoint | + +**Example** +```js +import { VoiceServer } from "@fonoster/voice"; + +async function handler (request, response) { + await response.answer(); + await response.play("sound:hello-world"); +} + +const voiceServer = new VoiceServer({base: '/voiceapp'}) +voiceServer.listen(handler, { port: 3000 }) +``` + + +### voiceResponse.use(plugin) +Adds a tts or asr plugin. Only one type of plugin can be attached. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**See** + +- GoogleTTS +- GoogleASR + + +| Param | +| --- | +| plugin | + + + +### voiceResponse.play(media, options) +Play an audio in the channel. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**See**: Playback + +| Param | Type | Description | +| --- | --- | --- | +| media | string | Sound name or uri with audio file | +| options | PlayOptions | Optional parameters to alter the command's normal behavior | +| options.offset | string | Milliseconds to skip before playing. Only applies to the first URI if multiple media URIs are specified | +| options.skip | string | Milliseconds to skip for forward/reverse operations | +| options.playbackId | string | Playback identifier to use in Playback operations | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + await response.play("https://soundsserver:9000/sounds/hello-world.wav"); +} +``` + + +### voiceResponse.say(text, options) +Converts a text into a sound and sends sound to media server. To use this verb, you must +first setup a TTS plugin such as MaryTTS, GoogleTTS, or AWS PollyTTS + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**See** + +- Play +- Voice.use + + +| Param | Type | Description | +| --- | --- | --- | +| text | string | Converts a text into a sound and sends sound to media server | +| options | SayOptions | Optional parameters to alter the command's normal behavior | +| options.offset | string | Milliseconds to skip before playing | +| options.skip | string | Milliseconds to skip for forward/reverse operations | +| options.playbackId | string | Playback identifier to use in Playback operations | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + response.use(new GoogleTTS()) + await response.say("Hello world"); // Plays the sound using GoogleTTS's default values +} +``` + + +### voiceResponse.gather(options) +Waits for data entry from the user's keypad or from a speech provider. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**Note**: When including `speech` the default timeout is 10000 (10s). +**See**: SpeechProvider + +| Param | Type | Description | +| --- | --- | --- | +| options | GatherOptions | Options to select the maximum number of digits, final character, and timeout | +| options.numDigits | number | Milliseconds to skip before playing. Only applies to the first URI if multiple media URIs are specified | +| options.timeout | number | Milliseconds to wait before timeout. Defaults to 4000. Use zero for no timeout. | +| options.finishOnKey | string | Optional last character to wait for. Defaults to '#'. It will not be included in the returned digits | +| options.source | string | Where to listen as input source. This option accepts `dtmf` and `speech`. A speech provider must be configure when including the `speech` source. You might include both with `dtmf,speech`. Defaults to `dtmf` | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + const digits = await response.gather({numDigits: 3}); + console.log("digits: " + digits); +} +``` + + +### voiceResponse.sgather(options) ⇒ SGatherStream +Waits for data entry from the user's keypad or from a stream speech provider. This command is different from `gather` +in that it returns a stream of results instead of a single result. You can think of it as active listening. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**Returns**: SGatherStream - The SGatherStream fires events via the `on` method for `transcription`, `dtmf`, and `error`. And the stream can be close +with the `close` function. +**See**: StreamSpeechProvider + +| Param | Type | Description | +| --- | --- | --- | +| options | SGatherOptions | Options object for the SGather verb | +| options.source | string | Where to listen as input source. This option accepts `dtmf` and `speech`. A speech provider must be configure when including the `speech` source. You might inclue both with `dtmf,speech`. Defaults to `speech,dtmf` | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + const stream = await response.sgather({source: "dtmf,speech"}); + + stream.on("transcript", (text, isFinal) => { + console.log("transcript: %s", text); + }) + + stream.on("dtmf", digit => { + console.log("digit: " + digit); + if (digit === "#") stream.close(); + }) +} +``` + + +### voiceResponse.dtmf(options) +Sends dtmf tones to the current session. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) + +| Param | Type | Description | +| --- | --- | --- | +| options | DtmfOptions | Options object for the Dtmf verb | +| options.dtmf | string | A string of the dtmf tones | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + await response.play("sound:hello-world"); + await response.dtmf({dtmf: "1234"}); +} +``` + + +### voiceResponse.dial(destination, options) ⇒ StatusStream +Forwards the call to an Agent or the PSTN. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**Returns**: StatusStream - The StatusStream fires events via the `on` method for `progress`, `answer`, `noanswer`, and `busy`. And the stream can be close +with the `close` function. + +| Param | Type | Description | +| --- | --- | --- | +| destination | string | Number or Agent to forward the call to | +| options | DialOptions | Options object for the Dial verb | +| options.timeout | timeout | Dial timeout | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + await response.say("dialing number"); + const stream = await response.dial("17853178070"); + stream.on("progress", console.log) + stream.on("answer", console.log) + stream.on("busy", console.log) +} +``` + + +### voiceResponse.playback(playbackId) +Returns a PlaybackControl control object. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**See**: Play + +| Param | Type | Description | +| --- | --- | --- | +| playbackId | string | Playback identifier to use in Playback operations | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + response.onDtmfReceived(async(digit) => { + const control = response.playback("1234") + digit === "3" + ? await control.restart() + : await control.forward() + }) + + await response.play("https://soundsserver:9000/sounds/hello-world.wav", { + playbackId: "1234" + }); +} +``` + + +### voiceResponse.on(handler) +Listens event publication. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) + +| Param | Type | Description | +| --- | --- | --- | +| handler | function | Event handler | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + response.on("DtmfReceived", async(digit) => { + const control = response.playback("1234") + digit === "3" + ? await control.restart() + : await control.forward() + }) + + await response.play("https://soundsserver:9000/sounds/hello-world.wav", { + playbackId: "1234" + }); +} +``` + + +### voiceResponse.mute(options) +Mutes a channel. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**See**: unmute + +| Param | Type | Description | +| --- | --- | --- | +| options | MuteOptions | Indicate which direction of he communication to mute | +| options.direction | string | Possible values are 'in', 'out', and 'both' | + +**Example** +```js +async function handler (request, response) { + await response.answer(); + await response.mute(); // Will mute both directions +} +``` + + +### voiceResponse.unmute(options) +Unmutes a channel. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**See**: mute + +| Param | Type | Description | +| --- | --- | --- | +| options | MuteOptions | Indicate which direction of he communication to unmute | +| options.direction | string | Possible values are 'in', 'out', and 'both' | + +**Example** +```js +async function handler (request, response) { + ... + await response.unmute({direction: "out"}); // Will unmute only the "out" direction +} +``` + + +### voiceResponse.answer() +Answer the communication channel. Before running any other verb you +must run the answer command. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**Example** +```js +async function handler (request, response) { + await response.answer(); + ... +} +``` + + +### voiceResponse.hangup() +Terminates the communication channel. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**Example** +```js +async function handler (request, response) { + ... + await response.hangup(); +} +``` + + +### voiceResponse.record(options) ⇒ Promise.<RecordResult> +Records the current channel and uploads the file to the storage subsystem. + +**Kind**: instance method of [VoiceResponse](#VoiceResponse) +**Returns**: Promise.<RecordResult> - Returns useful information such as the duration of the recording, etc. + +| Param | Type | Description | +| --- | --- | --- | +| options | RecordOptions | optional parameters to alter the command's normal behavior | +| options.maxDuration | number | Maximum duration of the recording, in seconds. Use `0` for no limit | +| options.maxSilence | number | Maximum duration of silence, in seconds. Use `0` for no limit | +| options.beep | boolean | Play beep when recording begins | +| options.finishOnKey | string | DTMF input to terminate recording | + +**Example** +```js +async function handler (request, response) { + await response.answer();; + const result = await response.record({finishOnKey: "#"}); + console.log("recording result: " + JSON.stringify(result)) // recording result: { duration: 30 ...} +} +``` diff --git a/docs/theme/assets/images/favicon.png b/docs/theme/assets/images/favicon.png deleted file mode 100644 index 23ccc2bac..000000000 Binary files a/docs/theme/assets/images/favicon.png and /dev/null differ diff --git a/docs/theme/assets/images/icons/bitbucket.svg b/docs/theme/assets/images/icons/bitbucket.svg deleted file mode 100644 index a25435af3..000000000 --- a/docs/theme/assets/images/icons/bitbucket.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/docs/theme/assets/images/icons/github.svg b/docs/theme/assets/images/icons/github.svg deleted file mode 100644 index c009420a7..000000000 --- a/docs/theme/assets/images/icons/github.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/docs/theme/assets/images/icons/gitlab.svg b/docs/theme/assets/images/icons/gitlab.svg deleted file mode 100644 index 9e3d6f05b..000000000 --- a/docs/theme/assets/images/icons/gitlab.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/theme/assets/stylesheets/_config.scss b/docs/theme/assets/stylesheets/_config.scss deleted file mode 100644 index 8a612f7e0..000000000 --- a/docs/theme/assets/stylesheets/_config.scss +++ /dev/null @@ -1,93 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Variables: typography -// ---------------------------------------------------------------------------- - -// Modular typographic scale -$ms-base: 1.6rem; -$ms-ratio: $major-third; - -// ---------------------------------------------------------------------------- -// Variables: breakpoints -// ---------------------------------------------------------------------------- - -// stylelint-disable unit-whitelist - -// Device-specific breakpoints -$break-devices: ( - mobile: ( - portrait: px2em(220px) px2em(479px), - landscape: px2em(480px) px2em(719px) - ), - tablet: ( - portrait: px2em(720px) px2em(959px), - landscape: px2em(960px) px2em(1219px) - ), - screen: ( - small: px2em(1220px) px2em(1599px), - medium: px2em(1600px) px2em(1999px), - large: px2em(2000px) - ) -); - -// stylelint-enable unit-whitelist - -// ---------------------------------------------------------------------------- -// Variables: base colors -// ---------------------------------------------------------------------------- - -// Primary and accent colors -$md-color-primary: $clr-indigo-500 !default; -$md-color-accent: $clr-indigo-a200 !default; - -// Shades of black -$md-color-black: hsla(0, 0%, 0%, 0.87) !default; -$md-color-black--light: hsla(0, 0%, 0%, 0.54) !default; -$md-color-black--lighter: hsla(0, 0%, 0%, 0.26) !default; -$md-color-black--lightest: hsla(0, 0%, 0%, 0.07) !default; -$md-color-black--transparent: hsla(0, 0%, 0%, 0) !default; - -// Shades of white -$md-color-white: hsla(0, 0%, 100%, 1) !default; -$md-color-white--light: hsla(0, 0%, 100%, 0.7) !default; -$md-color-white--lighter: hsla(0, 0%, 100%, 0.3) !default; -$md-color-white--lightest: hsla(0, 0%, 100%, 0.12) !default; -$md-color-white--transparent: hsla(0, 0%, 100%, 0) !default; - -// ---------------------------------------------------------------------------- -// Variables: sizing and spacing -// ---------------------------------------------------------------------------- - -// Icons -$md-icon-size: $ms-base * 1.5; -$md-icon-padding: $ms-base * 0.5; -$md-icon-margin: $ms-base * 0.25; - -// Code blocks -$md-code-background: hsla(0, 0%, 92.5%, 0.5); -$md-code-color: #37474F; - -// Keystrokes -$md-keyboard-background: #FCFCFC; -$md-keyboard-color: #555555; diff --git a/docs/theme/assets/stylesheets/_shame.scss b/docs/theme/assets/stylesheets/_shame.scss deleted file mode 100644 index 31326ac51..000000000 --- a/docs/theme/assets/stylesheets/_shame.scss +++ /dev/null @@ -1,25 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Nothing to see here, move along -// ---------------------------------------------------------------------------- diff --git a/docs/theme/assets/stylesheets/application-palette.scss b/docs/theme/assets/stylesheets/application-palette.scss deleted file mode 100644 index 48af85de4..000000000 --- a/docs/theme/assets/stylesheets/application-palette.scss +++ /dev/null @@ -1,323 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Dependencies -// ---------------------------------------------------------------------------- - -@import "modularscale"; -@import "material-color"; -@import "material-shadows"; - -// ---------------------------------------------------------------------------- -// Local imports -// ---------------------------------------------------------------------------- - -@import "helpers/break"; -@import "helpers/px2em"; - -@import "config"; - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Color tile for presentation in theme documentation -button[data-md-color-primary], -button[data-md-color-accent] { - width: 13rem; - margin-bottom: 0.4rem; - padding: 2.4rem 0.8rem 0.4rem; - transition: - background-color 0.25s, - opacity 0.25s; - border-radius: 0.2rem; - color: $md-color-white; - font-size: ms(-1); - text-align: left; - cursor: pointer; - - // Hovered color tile - &:hover { - opacity: 0.75; - } -} - -// Build primary colors -@each $name, $color in ( - "red": $clr-red-400, - "pink": $clr-pink-500, - "purple": $clr-purple-400, - "deep-purple": $clr-deep-purple-400, - "indigo": $clr-indigo-500, - "blue": $clr-blue-500, - "light-blue": $clr-light-blue-500, - "cyan": $clr-cyan-500, - "teal": $clr-teal-500, - "green": $clr-green-500, - "light-green": $clr-light-green-600, - "lime": $clr-lime-600, - "yellow": $clr-yellow-800, - "amber": $clr-amber-700, - "orange": $clr-orange-600, - "deep-orange": $clr-deep-orange-400, - "brown": $clr-brown-500, - "grey": $clr-grey-600, - "blue-grey": $clr-blue-grey-600 -) { - - // Color tile for presentation in theme documentation - button[data-md-color-primary="#{$name}"] { - background-color: $color; - } - - // Color palette - [data-md-color-primary="#{$name}"] { - - // Links in typesetted content - .md-typeset a { - color: $color; - } - - // Application header (stays always on top) - .md-header { - background-color: $color; - } - - // Hero teaser - .md-hero { - background-color: $color; - } - - // Current or active link - .md-nav__link:active, - .md-nav__link--active { - color: $color; - } - - // Reset active color for nested list titles - .md-nav__item--nested > .md-nav__link { - color: inherit; - } - - // [tablet portrait -]: Layered navigation - @include break-to-device(tablet portrait) { - - // Repository containing source - .md-nav__source { - background-color: mix($color, $md-color-black, 75%); - } - } - - // [tablet -]: Layered navigation - @include break-to-device(tablet) { - - // Site title in main navigation - html & .md-nav--primary .md-nav__title--site { - background-color: $color; - } - } - - // [screen +]: Set background color for tabs - @include break-from-device(screen) { - - // Tabs with outline - .md-tabs { - background-color: $color; - } - } - } -} - -// Color tile for presentation in theme documentation -button[data-md-color-primary="white"] { - background-color: $md-color-white; - color: $md-color-black; - box-shadow: 0 0 0.1rem $md-color-black--light inset; -} - -// Overrides for white color -[data-md-color-primary="white"] { - - // Application header (stays always on top) - .md-header { - background-color: $md-color-white; - color: $md-color-black; - } - - // Hero teaser - .md-hero { - background-color: $md-color-white; - color: $md-color-black; - - // Add a border if there are no tabs - &--expand { - border-bottom: 0.1rem solid $md-color-black--lightest; - } - } - - // [tablet portrait -]: Layered navigation - @include break-to-device(tablet portrait) { - - // Repository containing source - .md-nav__source { - background-color: $md-color-black--lightest; - color: $md-color-black; - } - } - - // [tablet portrait +]: Change color of search input - @include break-from-device(tablet landscape) { - - // Search input - .md-search__input { - background-color: $md-color-black--lightest; - - // Search input placeholder - &::placeholder { - color: $md-color-black--light; - } - } - } - - // [tablet -]: Layered navigation - @include break-to-device(tablet) { - - // Site title in main navigation - html & .md-nav--primary .md-nav__title--site { - background-color: $md-color-white; - color: $md-color-black; - } - - // Hero teaser - .md-hero { - border-bottom: 0.1rem solid $md-color-black--lightest; - } - } - - // [screen +]: Set background color for tabs - @include break-from-device(screen) { - - // Tabs with outline - .md-tabs { - border-bottom: 0.1rem solid $md-color-black--lightest; - background-color: $md-color-white; - color: $md-color-black; - } - } -} - -// Build accent colors -@each $name, $color in ( - "red": $clr-red-a400, - "pink": $clr-pink-a400, - "purple": $clr-purple-a200, - "deep-purple": $clr-deep-purple-a200, - "indigo": $clr-indigo-a200, - "blue": $clr-blue-a200, - "light-blue": $clr-light-blue-a700, - "cyan": $clr-cyan-a700, - "teal": $clr-teal-a700, - "green": $clr-green-a700, - "light-green": $clr-light-green-a700, - "lime": $clr-lime-a700, - "yellow": $clr-yellow-a700, - "amber": $clr-amber-a700, - "orange": $clr-orange-a400, - "deep-orange": $clr-deep-orange-a200 -) { - - // Color tile for presentation in theme documentation - button[data-md-color-accent="#{$name}"] { - background-color: $color; - } - - // Color palette - [data-md-color-accent="#{$name}"] { - - // Typesetted content - .md-typeset { - - // Hovered and active links - a:hover, - a:active { - color: $color; - } - - // Hovered scrollbar thumb - pre code::-webkit-scrollbar-thumb:hover, - .codehilite pre::-webkit-scrollbar-thumb:hover { - background-color: $color; - } - - // Copy to clipboard active icon - .md-clipboard:hover::before, - .md-clipboard:active::before { - color: $color; - } - - // Active or targeted back reference - .footnote li:hover .footnote-backref:hover, - .footnote li:target .footnote-backref { - color: $color; - } - - // Active, targeted or focused permalink - [id]:hover .headerlink:hover, - [id]:target .headerlink, - [id] .headerlink:focus { - color: $color; - } - } - - // Focused or hovered link - .md-nav__link:focus, - .md-nav__link:hover { - color: $color; - } - - // Search container scrollbar thumb - .md-search__scrollwrap::-webkit-scrollbar-thumb:hover { - background-color: $color; - } - - // Search result link - .md-search-result__link { - - // Active or hovered link - &[data-md-state="active"], - &:hover { - background-color: transparentize($color, 0.9); - } - } - - // Wrapper for scrolling on overflow - .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover { - background-color: $color; - } - - // Source file icon - .md-source-file:hover::before { - background-color: $color; - } - } -} diff --git a/docs/theme/assets/stylesheets/application.scss b/docs/theme/assets/stylesheets/application.scss deleted file mode 100644 index e135d9381..000000000 --- a/docs/theme/assets/stylesheets/application.scss +++ /dev/null @@ -1,69 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Dependencies -// ---------------------------------------------------------------------------- - -@import "modularscale"; -@import "material-color"; -@import "material-shadows"; - -// ---------------------------------------------------------------------------- -// Local imports -// ---------------------------------------------------------------------------- - -@import "helpers/break"; -@import "helpers/px2em"; - -@import "config"; - -@import "base/reset"; -@import "base/icons"; -@import "base/typeset"; - -@import "layout/base"; -@import "layout/clipboard"; -@import "layout/content"; -@import "layout/header"; -@import "layout/hero"; -@import "layout/footer"; -@import "layout/nav"; -@import "layout/search"; -@import "layout/sidebar"; -@import "layout/source"; -@import "layout/tabs"; - -@import "extensions/admonition"; -@import "extensions/codehilite"; -@import "extensions/footnotes"; -@import "extensions/permalinks"; - -@import "extensions/pymdown/arithmatex"; -@import "extensions/pymdown/critic"; -@import "extensions/pymdown/details"; -@import "extensions/pymdown/emoji"; -@import "extensions/pymdown/inlinehilite"; -@import "extensions/pymdown/superfences"; -@import "extensions/pymdown/tasklist"; - -@import "shame"; diff --git a/docs/theme/assets/stylesheets/base/.stylelintrc b/docs/theme/assets/stylesheets/base/.stylelintrc deleted file mode 100644 index 422ff2c6f..000000000 --- a/docs/theme/assets/stylesheets/base/.stylelintrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../../../.stylelintrc", - "rules": { - "font-weight-notation": null, - "property-no-vendor-prefix": null - } -} diff --git a/docs/theme/assets/stylesheets/base/_icons.scss b/docs/theme/assets/stylesheets/base/_icons.scss deleted file mode 100644 index aaf4e9e1d..000000000 --- a/docs/theme/assets/stylesheets/base/_icons.scss +++ /dev/null @@ -1,81 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// stylelint-disable font-family-no-missing-generic-family-keyword - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Icon placeholders -%md-icon { - font-family: "Material Icons"; - font-style: normal; - font-variant: normal; - font-weight: normal; - line-height: 1; - text-transform: none; - white-space: nowrap; - speak: none; - word-wrap: normal; - direction: ltr; - - // Icon rendered as button - &__button { - display: inline-block; - margin: $md-icon-margin; - padding: $md-icon-padding; - font-size: $md-icon-size; - cursor: pointer; - } -} - -// Representational classes -.md-icon { - @extend %md-icon; - - // Build representational classes - @each $ligature, $name in ( - "\E5C4": "arrow-back", // arrow_back - "\E5C8": "arrow-forward", // arrow_forward - "\E5D2": "menu", // menu - "\E8B6": "search" // search - ) { - &--#{$name}::before { - content: $ligature; - } - } - - // Adjust for RTL languages - [dir="rtl"] & { - - // Flip ligatures for arrows - @each $ligature, $name in ( - "\E5C8": "arrow-back", // arrow_forward - "\E5C4": "arrow-forward" // arrow_back - ) { - &--#{$name}::before { - content: $ligature; - } - } - } -} diff --git a/docs/theme/assets/stylesheets/base/_reset.scss b/docs/theme/assets/stylesheets/base/_reset.scss deleted file mode 100644 index 73bbd6bf2..000000000 --- a/docs/theme/assets/stylesheets/base/_reset.scss +++ /dev/null @@ -1,132 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// stylelint-disable no-duplicate-selectors - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Enforce correct box model -html { - box-sizing: border-box; -} - -// All elements shall inherit the document default -*, -*::before, -*::after { - box-sizing: inherit; -} - -// Prevent adjustments of font size after orientation changes in IE and iOS -html { - text-size-adjust: none; -} - -// Remove margin in all browsers -body { - margin: 0; -} - -// Reset horizontal rules in FF -hr { - overflow: visible; - box-sizing: content-box; -} - -// Remove gaps in underlined links in iOS >= 8 and Safari >= 8 -a { - -webkit-text-decoration-skip: objects; -} - -// Reset tap outlines on iOS and Android -a, -button, -label, -input { - -webkit-tap-highlight-color: transparent; -} - -// Reset link styles -a { - color: inherit; - text-decoration: none; -} - -// Normalize font-size in all browsers -small { - font-size: 80%; -} - -// Prevent subscript and superscript from affecting line-height -sub, -sup { - position: relative; - font-size: 80%; - line-height: 0; - vertical-align: baseline; -} - -// Correct subscript offset -sub { - bottom: -0.25em; -} - -// Correct superscript offset -sup { - top: -0.5em; -} - -// Remove borders on images -img { - border-style: none; -} - -// Reset table styles -table { - border-collapse: separate; - border-spacing: 0; -} - -// Reset table cell styles -td, -th { - font-weight: normal; - vertical-align: top; -} - -// Reset (native) button styles -button { - margin: 0; - padding: 0; - border: 0; - outline-style: none; - background: transparent; - font-size: inherit; -} - -// Reset (native) input styles -input { - border: 0; - outline: 0; -} diff --git a/docs/theme/assets/stylesheets/base/_typeset.scss b/docs/theme/assets/stylesheets/base/_typeset.scss deleted file mode 100644 index 2e89c8a55..000000000 --- a/docs/theme/assets/stylesheets/base/_typeset.scss +++ /dev/null @@ -1,492 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules: font definitions -// ---------------------------------------------------------------------------- - -// Enable font-smoothing in Webkit and FF -body { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -// Default fonts -body, -input { - color: $md-color-black; - font-feature-settings: "kern", "liga"; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -// Proportionally spaced fonts -pre, -code, -kbd { - color: $md-color-black; - font-feature-settings: "kern"; - font-family: "Courier New", Courier, monospace; -} - -// ---------------------------------------------------------------------------- -// Rules: typesetted content -// ---------------------------------------------------------------------------- - -// Content that is typeset - if possible, all margins, paddings and font sizes -// should be set in ems, so nested blocks (e.g. Admonition) render correctly, -// except headlines that should only appear on the top level and need to have -// consistent spacing due to layout constraints. -.md-typeset { - font-size: ms(0); - line-height: 1.6; - - // Colors should be kept when printing - -webkit-print-color-adjust: exact; - - // Default spacing - p, - ul, - ol, - blockquote { - margin: 1em 0; - } - - // 1st level headline - h1 { - margin: 0 0 4rem; - color: $md-color-black--light; - font-size: ms(3); - font-weight: 300; - letter-spacing: -0.01em; - line-height: 1.3; - } - - // 2nd level headline - h2 { - margin: 4rem 0 1.6rem; - font-size: ms(2); - font-weight: 300; - letter-spacing: -0.01em; - line-height: 1.4; - } - - // 3rd level headline - h3 { - margin: 3.2rem 0 1.6rem; - font-size: ms(1); - font-weight: 400; - letter-spacing: -0.01em; - line-height: 1.5; - } - - // 3rd level headline following an 2nd level headline - h2 + h3 { - margin-top: 1.6rem; - } - - // 4th level headline - h4 { - margin: 1.6rem 0; - font-size: ms(0); - font-weight: 700; - letter-spacing: -0.01em; - } - - // 5th and 6th level headline - h5, - h6 { - margin: 1.6rem 0; - color: $md-color-black--light; - font-size: ms(-1); - font-weight: 700; - letter-spacing: -0.01em; - } - - // Overrides for 5th level headline - h5 { - text-transform: uppercase; - } - - // Horizontal separators - hr { - margin: 1.5em 0; - border-bottom: 0.1rem dotted $md-color-black--lighter; - } - - // Links - a { - color: $md-color-primary; - word-break: break-word; - - // Also enable color transition on pseudo elements - &, - &::before { - transition: color 0.125s; - } - - // Hovered and active links - &:hover, - &:active { - color: $md-color-accent; - } - - // Add URLs for print - @media print { - - // Show link URL - &::after { - color: $md-color-black--light; - content: " [" attr(href) "]"; - } - } - } - - // Code blocks - code, - pre { - background-color: $md-code-background; - color: $md-code-color; - font-size: 85%; - direction: ltr; - - // Wrap text and hide scollbars - @media print { - white-space: pre-wrap; - } - } - - // Inline code blocks, correct relative ems for smaller font size - code { - $correct: 1 / 0.85; - - margin: 0 0.25em * $correct; - padding: 0.0625em * $correct 0; - border-radius: 0.2rem; - box-shadow: - +0.25em * $correct 0 0 $md-code-background, - -0.25em * $correct 0 0 $md-code-background; - word-break: break-word; - box-decoration-break: clone; - - // Remove box-shadows for print - @media print { - box-shadow: none; - box-decoration-break: initial; - } - } - - // Disable containing block inside headlines - h1 code, - h2 code, - h3 code, - h4 code, - h5 code, - h6 code { - margin: 0; - background-color: transparent; - box-shadow: none; - } - - // Reset code if it's inside a link - a > code { - margin: inherit; - padding: inherit; - border-radius: none; - background-color: inherit; - color: inherit; - box-shadow: none; - } - - // Unformatted code blocks - pre { - position: relative; - margin: 1em 0; - border-radius: 0.2rem; - line-height: 1.4; - -webkit-overflow-scrolling: touch; - - // [mobile -]: Stretch to whole width - @include break-to-device(mobile) { - margin: 1em -1.6rem; - border-radius: 0; - } - - // Actual container with code, overflowing - > code { - display: block; - margin: 0; - padding: 1.05rem 1.2rem; - background-color: transparent; - font-size: inherit; - box-shadow: none; - box-decoration-break: none; - overflow: auto; - - // [mobile -]: Increase padding to match text - @include break-to-device(mobile) { - padding: 1.05rem 1.6rem; - } - - // Override native scrollbar styles - &::-webkit-scrollbar { - width: 0.4rem; - height: 0.4rem; - } - - // Style scrollbar thumb - &::-webkit-scrollbar-thumb { - background-color: $md-color-black--lighter; - - // Hovered scrollbar thumb - &:hover { - background-color: $md-color-accent; - } - } - } - } - - // Keystrokes - kbd { - $correct: 1 / 0.85; - - padding: 0 0.25em * $correct; - border: 0.1rem solid darken($md-keyboard-background, 20%); - border-radius: 0.3rem; - border-bottom-color: darken($md-keyboard-background, 25%); - background-color: $md-keyboard-background; - color: $md-keyboard-color; - font-size: 85%; - box-shadow: 0 0.1rem 0 darken($md-keyboard-background, 30%); - word-break: break-word; - } - - // Text highlighting marker - mark { - margin: 0 0.25em; - padding: 0.0625em 0; - border-radius: 0.2rem; - background-color: transparentize($clr-yellow-500, 0.5); - box-shadow: - +0.25em 0 0 transparentize($clr-yellow-500, 0.5), - -0.25em 0 0 transparentize($clr-yellow-500, 0.5); - word-break: break-word; - box-decoration-break: clone; - } - - // Abbreviations - abbr { - border-bottom: 0.1rem dotted $md-color-black--light; - text-decoration: none; - cursor: help; - } - - // Small text - small { - opacity: 0.75; - } - - // Superscript and subscript - sup, - sub { - margin-left: 0.0625em * 1 / 0.8; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 0.0625em * 1 / 0.8; - margin-left: initial; - } - } - - // Blockquotes, possibly nested - blockquote { - padding-left: 1.2rem; - border-left: 0.4rem solid $md-color-black--lighter; - color: $md-color-black--light; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 1.2rem; - padding-left: initial; - border-right: 0.4rem solid $md-color-black--lighter; - border-left: initial; - } - } - - // Unordered lists - ul { - list-style-type: disc; - } - - // Unordered and ordered lists - ul, - ol { - margin-left: 0.625em; - padding: 0; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 0.625em; - margin-left: initial; - } - - // Nested ordered lists - ol { - list-style-type: lower-alpha; - - // Triply nested ordered list - ol { - list-style-type: lower-roman; - } - } - - // List elements - li { - margin-bottom: 0.5em; - margin-left: 1.25em; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 1.25em; - margin-left: initial; - } - - // Decrease vertical spacing - p, - blockquote { - margin: 0.5em 0; - } - - // Remove margin on last element - &:last-child { - margin-bottom: 0; - } - - // Nested lists - ul, - ol { - margin: 0.5em 0 0.5em 0.625em; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 0.625em; - margin-left: initial; - } - } - } - } - - // Definition lists - dd { - margin: 1em 0 1em 1.875em; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 1.875em; - margin-left: initial; - } - } - - // Limit width to container - iframe, - img, - svg { - max-width: 100%; - } - - // Data tables - table:not([class]) { - @include z-depth(2); - - display: inline-block; - max-width: 100%; - border-radius: 0.2rem; - font-size: ms(-1); - overflow: auto; - -webkit-overflow-scrolling: touch; - - // Due to margin collapse because of the necessary inline-block hack, we - // cannot increase the bottom margin on the table, so we just increase the - // top margin on the following element - & + * { - margin-top: 1.5em; - } - - // Table headings and cells - th:not([align]), - td:not([align]) { - text-align: left; - - // Adjust for RTL languages - [dir="rtl"] & { - text-align: right; - } - } - - // Table headings - th { - min-width: 10rem; - padding: 1.2rem 1.6rem; - background-color: $md-color-black--light; - color: $md-color-white; - vertical-align: top; - } - - // Table cells - td { - padding: 1.2rem 1.6rem; - border-top: 0.1rem solid $md-color-black--lightest; - vertical-align: top; - } - - // Remove top border on first row - tr:first-child td { - border-top: 0; - } - - // Do not wrap links in tables - a { - word-break: normal; - } - } - - // Wrapper for scrolling on overflow - &__scrollwrap { - margin: 1em -1.6rem; - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } - - // Data table wrapper, in case JavaScript is available - .md-typeset__table { - display: inline-block; - margin-bottom: 0.5em; - padding: 0 1.6rem; - - // Data tables - table { - display: table; - width: 100%; - margin: 0; - overflow: hidden; - } - } -} diff --git a/docs/theme/assets/stylesheets/extensions/_admonition.scss b/docs/theme/assets/stylesheets/extensions/_admonition.scss deleted file mode 100644 index 7dfeeccdf..000000000 --- a/docs/theme/assets/stylesheets/extensions/_admonition.scss +++ /dev/null @@ -1,144 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // Admonition extension - .admonition { - @include z-depth(2); - - position: relative; - margin: 1.5625em 0; - padding: 0 1.2rem; - border-left: 0.4rem solid $clr-blue-a200; - border-radius: 0.2rem; - font-size: ms(-1); - overflow: auto; - - // Adjust for RTL languages - [dir="rtl"] & { - border-right: 0.4rem solid $clr-blue-a200; - border-left: none; - } - - // Adjust spacing on last element - html & > :last-child { - margin-bottom: 1.2rem; - } - - // Adjust margin for nested admonition blocks - .admonition { - margin: 1em 0; - } - - // Title - > .admonition-title { - margin: 0 -1.2rem; - padding: 0.8rem 1.2rem 0.8rem 4rem; - border-bottom: 0.1rem solid transparentize($clr-blue-a200, 0.9); - background-color: transparentize($clr-blue-a200, 0.9); - font-weight: 700; - - // Adjust for RTL languages - [dir="rtl"] & { - padding: 0.8rem 4rem 0.8rem 1.2rem; - } - - // Reset spacing, if title is the only element - &:last-child { - margin-bottom: 0; - } - - // Icon - &::before { - @extend %md-icon; - - position: absolute; - left: 1.2rem; - color: $clr-blue-a200; - font-size: 2rem; - content: "\E3C9"; // edit - - // Adjust for RTL languages - [dir="rtl"] & { - right: 1.2rem; - left: initial; - } - } - } - - // Build representational classes - @each $names, $appearance in ( - abstract summary tldr: $clr-light-blue-a400 "\E8D2", // subject - info todo: $clr-cyan-a700 "\E88E", // info - tip hint important : $clr-teal-a700 "\E80E", // whatshot - success check done: $clr-green-a700 "\E876", // done - question help faq: $clr-light-green-a700 "\E887", // help - warning caution attention: $clr-orange-a400 "\E002", // warning - failure fail missing: $clr-red-a200 "\E14C", // clear - danger error: $clr-red-a400 "\E3E7", // flash_on - bug: $clr-pink-a400 "\E868", // bug_report - example: $clr-deep-purple-a400 "\E242", // format_list_numbered - quote cite: $clr-grey "\E244" // format_quote - ) { - $tint: nth($appearance, 1); - $icon: nth($appearance, 2); - - // Define base class - &%#{nth($names, 1)}, - &.#{nth($names, 1)} { - border-left-color: $tint; - - // Adjust for RTL languages - [dir="rtl"] & { - border-right-color: $tint; - } - - // Title - > .admonition-title { - border-bottom-color: 0.1rem solid transparentize($tint, 0.9); - background-color: transparentize($tint, 0.9); - - // Icon - &::before { - color: $tint; - content: $icon; - } - } - } - - // Define synonyms for base class - @if length($names) > 1 { - @for $n from 2 through length($names) { - &.#{nth($names, $n)} { - @extend .admonition%#{nth($names, 1)}; - } - } - } - } - } -} diff --git a/docs/theme/assets/stylesheets/extensions/_codehilite.scss b/docs/theme/assets/stylesheets/extensions/_codehilite.scss deleted file mode 100644 index b2778ff16..000000000 --- a/docs/theme/assets/stylesheets/extensions/_codehilite.scss +++ /dev/null @@ -1,373 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Variables -// ---------------------------------------------------------------------------- - -// Operators -$codehilite-operator: inherit; -$codehilite-operator-word: inherit; - -// Generics -$codehilite-generic-emph: #000000; -$codehilite-generic-error: #AA0000; -$codehilite-generic-heading: #999999; -$codehilite-generic-output: #888888; -$codehilite-generic-prompt: #555555; -$codehilite-generic-strong: inherit; -$codehilite-generic-subheading: #AAAAAA; -$codehilite-generic-traceback: #AA0000; - -// Diffs -$codehilite-diff-deleted: #FFDDDD; -$codehilite-diff-inserted: #DDFFDD; - -// Keywords -$codehilite-keyword: #3B78E7; -$codehilite-keyword-constant: #A71D5D; -$codehilite-keyword-declaration: #3B78E7; -$codehilite-keyword-namespace: #3B78E7; -$codehilite-keyword-pseudo: #A71D5D; -$codehilite-keyword-reserved: #3E61A2; -$codehilite-keyword-type: #3E61A2; - -// Comments -$codehilite-comment: #999999; -$codehilite-comment-multiline: #999999; -$codehilite-comment-preproc: #666666; -$codehilite-comment-single: #999999; -$codehilite-comment-shebang: #999999; -$codehilite-comment-special: #999999; - -// Names -$codehilite-name-attribute: #C2185B; -$codehilite-name-builtin: #C2185B; -$codehilite-name-builtin-pseudo: #3E61A2; -$codehilite-name-class: #C2185B; -$codehilite-name-constant: #3E61A2; -$codehilite-name-decorator: #666666; -$codehilite-name-entity: #666666; -$codehilite-name-exception: #C2185B; -$codehilite-name-function: #C2185B; -$codehilite-name-label: #3B5179; -$codehilite-name-namespace: #EC407A; -$codehilite-name-tag: #3B78E7; -$codehilite-name-variable: #3E61A2; -$codehilite-name-variable-class: #3E61A2; -$codehilite-name-variable-instance: #3E61A2; -$codehilite-name-variable-global: #3E61A2; -$codehilite-name-extension: #EC407A; - -// Numbers -$codehilite-literal-number: #E74C3C; -$codehilite-literal-number-float: #E74C3C; -$codehilite-literal-number-hex: #E74C3C; -$codehilite-literal-number-integer: #E74C3C; -$codehilite-literal-number-integer-long: #E74C3C; -$codehilite-literal-number-oct: #E74C3C; - -// Strings -$codehilite-literal-string: #0D904F; -$codehilite-literal-string-backticks: #0D904F; -$codehilite-literal-string-char: #0D904F; -$codehilite-literal-string-doc: #999999; -$codehilite-literal-string-double: #0D904F; -$codehilite-literal-string-escape: #183691; -$codehilite-literal-string-heredoc: #183691; -$codehilite-literal-string-interpol: #183691; -$codehilite-literal-string-other: #183691; -$codehilite-literal-string-regex: #009926; -$codehilite-literal-string-single: #0D904F; -$codehilite-literal-string-symbol: #0D904F; - -// Miscellaneous -$codehilite-error: #A61717; -$codehilite-whitespace: transparent; - -// ---------------------------------------------------------------------------- -// Rules: syntax highlighting -// ---------------------------------------------------------------------------- - -// Codehilite extension -.codehilite { - - // Operators - .o { color: $codehilite-operator; } - .ow { color: $codehilite-operator-word; } - - // Generics - .ge { color: $codehilite-generic-emph; } - .gr { color: $codehilite-generic-error; } - .gh { color: $codehilite-generic-heading; } - .go { color: $codehilite-generic-output; } - .gp { color: $codehilite-generic-prompt; } - .gs { color: $codehilite-generic-strong; } - .gu { color: $codehilite-generic-subheading; } - .gt { color: $codehilite-generic-traceback; } - - // Diffs - .gd { background-color: $codehilite-diff-deleted; } - .gi { background-color: $codehilite-diff-inserted; } - - // Keywords - .k { color: $codehilite-keyword; } - .kc { color: $codehilite-keyword-constant; } - .kd { color: $codehilite-keyword-declaration; } - .kn { color: $codehilite-keyword-namespace; } - .kp { color: $codehilite-keyword-pseudo; } - .kr { color: $codehilite-keyword-reserved; } - .kt { color: $codehilite-keyword-type; } - - // Comments - .c { color: $codehilite-comment; } - .cm { color: $codehilite-comment-multiline; } - .cp { color: $codehilite-comment-preproc; } - .c1 { color: $codehilite-comment-single; } - .ch { color: $codehilite-comment-shebang; } - .cs { color: $codehilite-comment-special; } - - // Names - .na { color: $codehilite-name-attribute; } - .nb { color: $codehilite-name-builtin; } - .bp { color: $codehilite-name-builtin-pseudo; } - .nc { color: $codehilite-name-class; } - .no { color: $codehilite-name-constant; } - .nd { color: $codehilite-name-entity; } - .ni { color: $codehilite-name-entity; } - .ne { color: $codehilite-name-exception; } - .nf { color: $codehilite-name-function; } - .nl { color: $codehilite-name-label; } - .nn { color: $codehilite-name-namespace; } - .nt { color: $codehilite-name-tag; } - .nv { color: $codehilite-name-variable; } - .vc { color: $codehilite-name-variable-class; } - .vg { color: $codehilite-name-variable-global; } - .vi { color: $codehilite-name-variable-instance; } - .nx { color: $codehilite-name-extension; } - - // Numbers - .m { color: $codehilite-literal-number; } - .mf { color: $codehilite-literal-number-float; } - .mh { color: $codehilite-literal-number-hex; } - .mi { color: $codehilite-literal-number-integer; } - .il { color: $codehilite-literal-number-integer-long; } - .mo { color: $codehilite-literal-number-oct; } - - // Strings - .s { color: $codehilite-literal-string; } - .sb { color: $codehilite-literal-string-backticks; } - .sc { color: $codehilite-literal-string-char; } - .sd { color: $codehilite-literal-string-doc; } - .s2 { color: $codehilite-literal-string-double; } - .se { color: $codehilite-literal-string-escape; } - .sh { color: $codehilite-literal-string-heredoc; } - .si { color: $codehilite-literal-string-interpol; } - .sx { color: $codehilite-literal-string-other; } - .sr { color: $codehilite-literal-string-regex; } - .s1 { color: $codehilite-literal-string-single; } - .ss { color: $codehilite-literal-string-symbol; } - - // Miscellaneous - .err { color: $codehilite-error; } - .w { color: $codehilite-whitespace; } - - // Highlighted lines - .hll { - display: block; - margin: 0 -1.2rem; - padding: 0 1.2rem; - background-color: transparentize($clr-yellow-500, 0.5); - - // [mobile -]: Stretch to whole width - @include break-to-device(mobile) { - margin: 0 -1.6rem; - padding: 0 1.6rem; - } - } -} - -// ---------------------------------------------------------------------------- -// Rules: layout -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // If code blocks are wrapped with codehilite, the styles must be adjusted - // so the marker stretches to the whole width and the padding is respected - .codehilite { - position: relative; - margin: 1em 0; - padding: 0; - border-radius: 0.2rem; - background-color: $md-code-background; - color: $md-code-color; - line-height: 1.4; - -webkit-overflow-scrolling: touch; - - // Actual container with code, overflowing - pre, - code { - display: block; - margin: 0; - padding: 1.05rem 1.2rem; - background-color: transparent; - overflow: auto; - vertical-align: top; - - // Override native scrollbar styles - &::-webkit-scrollbar { - width: 0.4rem; - height: 0.4rem; - } - - // Style scrollbar thumb - &::-webkit-scrollbar-thumb { - background-color: $md-color-black--lighter; - - // Hovered scrollbar thumb - &:hover { - background-color: $md-color-accent; - } - } - } - } - - // If not using Pygments, code will be under pre > code - pre.codehilite { - overflow: visible; - - // Actual container with code, overflowing - code { - display: block; - padding: 1.05rem 1.2rem; - overflow: auto; - } - } - - // Block with line numbers - .codehilitetable { - display: block; - margin: 1em 0; - border-radius: 0.2em; - font-size: ms(0); - overflow: hidden; - - // Set table elements to block layout, because otherwise the whole flexbox - // hacking won't work correctly - tbody, - td { - display: block; - padding: 0; - } - - // We need to use flexbox layout, because otherwise it's not possible to - // make the code container scroll while keeping the line numbers static - tr { - display: flex; - } - - // The pre tags are nested inside a table, so we need to remove the - // margin because it collapses below all the overflows - .codehilite, - .linenodiv { - margin: 0; - border-radius: 0; - } - - // Add spacing to line number container - .linenodiv { - padding: 1.05rem 1.2rem; - } - - // Disable user selection, so code can be easily copied without - // accidentally also copying the line numbers - .linenos { - background-color: $md-color-black--lightest; - color: $md-color-black--lighter; - user-select: none; - - // Reset spacings - pre { - margin: 0; - padding: 0; - background-color: transparent; - color: inherit; - text-align: right; - } - } - - // The table cell containing the code container wrapper and code should - // stretch horizontally to the remaining space - .code { - flex: 1; - overflow: hidden; - } - } - - // Full-width container - > .codehilite { - - // [mobile -]: Stretch to whole width - @include break-to-device(mobile) { - margin: 1em -1.6rem; - border-radius: 0; - - // Actual container with code, overflowing - pre, - code { - padding: 1.05rem 1.6rem; - } - } - } - - // Full-width container on top-level - > .codehilitetable { - box-shadow: none; - - // [mobile -]: Stretch to whole width - @include break-to-device(mobile) { - margin: 1em -1.6rem; - border-radius: 0; - - // Increase spacing - .codehilite > pre, - .codehilite > code, - .linenodiv { - padding: 1rem 1.6rem; - } - } - } - - // When pymdownx.superfences is enabled but codehilite is disabled, - // pymdownx.highlight will be used. When this happens, the outer - // container and tables get this class names by default. - .highlight { - @extend .codehilite; - } - - // Same as above, but for code blocks with line numbers enabled - .highlighttable { - @extend .codehilitetable; - } -} diff --git a/docs/theme/assets/stylesheets/extensions/_footnotes.scss b/docs/theme/assets/stylesheets/extensions/_footnotes.scss deleted file mode 100644 index 6b6518dfb..000000000 --- a/docs/theme/assets/stylesheets/extensions/_footnotes.scss +++ /dev/null @@ -1,149 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // All footnote references - [id^="fnref:"] { - display: inline-block; - - // Targeted anchor - &:target { - margin-top: -(4.8rem + 1.2rem + 1.6rem); - padding-top: (4.8rem + 1.2rem + 1.6rem); - pointer-events: none; - } - } - - // All footnote back references - [id^="fn:"] { - - // Add spacing to anchor for offset - &::before { - display: none; - height: 0; - content: ""; - } - - // Targeted anchor - &:target::before { - display: block; - margin-top: -(4.8rem + 1.2rem + 1rem); - padding-top: (4.8rem + 1.2rem + 1rem); - pointer-events: none; - } - } - - // Footnotes extension - .footnote { - color: $md-color-black--light; - font-size: ms(-1); - - // Remove additional spacing on footnotes - ol { - margin-left: 0; - } - - // Footnote - li { - transition: color 0.25s; - - // Darken color for targeted footnote - &:target { - color: $md-color-black; - } - - // Remove spacing on first element - :first-child { - margin-top: 0; - } - - // Make back references visible on hover - &:hover .footnote-backref, - &:target .footnote-backref { - transform: translateX(0); - opacity: 1; - } - - // Active or targeted back reference - &:hover .footnote-backref:hover, - &:target .footnote-backref { - color: $md-color-accent; - } - } - } - - // Footnote reference - .footnote-ref { - display: inline-block; - pointer-events: initial; - - // Render a thin line before footnote - &::before { - display: inline; - margin: 0 0.2em; - border-left: 0.1rem solid $md-color-black--lighter; - font-size: 1.25em; - content: ""; - vertical-align: -0.5rem; - } - } - - // Footnote back reference - .footnote-backref { - @extend %md-icon; - - display: inline-block; - transform: translateX(0.5rem); - transition: - transform 0.25s 0.125s, - color 0.25s, - opacity 0.125s 0.125s; - color: $md-color-black--lighter; - // Hack: remove Unicode arrow for icon - font-size: 0; - opacity: 0; - vertical-align: text-bottom; - - // Adjust for RTL languages - [dir="rtl"] & { - transform: translateX(-0.5rem); - } - - // Back reference icon - &::before { - display: inline-block; - font-size: 1.6rem; - content: "\E31B"; // keyboard_return - - // Adjust for RTL languages - [dir="rtl"] & { - transform: scaleX(-1) - } - } - } -} diff --git a/docs/theme/assets/stylesheets/extensions/_permalinks.scss b/docs/theme/assets/stylesheets/extensions/_permalinks.scss deleted file mode 100644 index ef0b89ae7..000000000 --- a/docs/theme/assets/stylesheets/extensions/_permalinks.scss +++ /dev/null @@ -1,99 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // Permalinks extension - .headerlink { - display: inline-block; - margin-left: 1rem; - transform: translate(0, 0.5rem); - transition: - transform 0.25s 0.25s, - color 0.25s, - opacity 0.125s 0.25s; - opacity: 0; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 1rem; - margin-left: initial; - } - - // Higher specificity for color due to palettes integration - html body & { - color: $md-color-black--lighter; - } - - // Hide for print - @media print { - display: none; - } - } - - // Correct anchor offset for link blurring - @each $level, $delta in ( - h1: 0.9rem, - h2: 0.8rem, - h3: 0.9rem, - h4: 0.9rem, - h5: 1.1rem, - h6: 1.1rem - ) { - #{$level}[id] { - - // Un-targeted anchor - &::before { - display: block; - margin-top: -$delta; - padding-top: $delta; - content: ""; - } - - // Targeted anchor (48px from header, 12px from sidebar offset) - &:target::before { - margin-top: -(4.8rem + 1.2rem + $delta); - padding-top: (4.8rem + 1.2rem + $delta); - } - - // Make permalink visible on hover - &:hover .headerlink, - &:target .headerlink, - & .headerlink:focus { - transform: translate(0, 0); - opacity: 1; - } - - // Active or targeted permalink - &:hover .headerlink:hover, - &:target .headerlink, - & .headerlink:focus { - color: $md-color-accent; - } - } - } -} diff --git a/docs/theme/assets/stylesheets/extensions/pymdown/_arithmatex.scss b/docs/theme/assets/stylesheets/extensions/pymdown/_arithmatex.scss deleted file mode 100644 index 2ad22cbe7..000000000 --- a/docs/theme/assets/stylesheets/extensions/pymdown/_arithmatex.scss +++ /dev/null @@ -1,54 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// stylelint-disable selector-class-pattern - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // MathJax integration - add padding to omit vertical scrollbar - .MJXc-display { - margin: 0.75em 0; - padding: 0.75em 0; - overflow: auto; - -webkit-overflow-scrolling: touch; - } - - // Stretch top-level containers - > p > .MJXc-display { - - // [mobile -]: Stretch to whole width - @include break-to-device(mobile) { - margin: 0.75em -1.6rem; - padding: 0.25em 1.6rem; - } - } - - // Remove outline on tab index - .MathJax_CHTML { - outline: 0; - } -} diff --git a/docs/theme/assets/stylesheets/extensions/pymdown/_critic.scss b/docs/theme/assets/stylesheets/extensions/pymdown/_critic.scss deleted file mode 100644 index 4aba7ebf2..000000000 --- a/docs/theme/assets/stylesheets/extensions/pymdown/_critic.scss +++ /dev/null @@ -1,93 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // Deletions, additions and comments - del.critic, - ins.critic, - .critic.comment { - margin: 0 0.25em; - padding: 0.0625em 0; - border-radius: 0.2rem; - box-decoration-break: clone; - } - - // Deletion - del.critic { - background-color: $codehilite-diff-deleted; // TODO: dependent on order of inclusion - box-shadow: - +0.25em 0 0 $codehilite-diff-deleted, - -0.25em 0 0 $codehilite-diff-deleted; - } - - // Addition - ins.critic { - background-color: $codehilite-diff-inserted; // TODO: dependent on order of inclusion - box-shadow: - +0.25em 0 0 $codehilite-diff-inserted, - -0.25em 0 0 $codehilite-diff-inserted; - } - - // Comment - .critic.comment { - background-color: $md-code-background; // TODO: rename, centralize somehow - color: $md-code-color; - box-shadow: - +0.25em 0 0 $md-code-background, - -0.25em 0 0 $md-code-background; - - // Icon - &::before { - @extend %md-icon; - - padding-right: 0.125em; - color: $md-color-black--lighter; - content: "\E0B7"; // chat - vertical-align: -0.125em; - } - } - - // Block - .critic.block { - display: block; - margin: 1em 0; - padding-right: 1.6rem; - padding-left: 1.6rem; - box-shadow: none; - - // Decrease spacing on first element - :first-child { - margin-top: 0.5em; - } - - // Decrease spacing on last element - :last-child { - margin-bottom: 0.5em; - } - } -} diff --git a/docs/theme/assets/stylesheets/extensions/pymdown/_details.scss b/docs/theme/assets/stylesheets/extensions/pymdown/_details.scss deleted file mode 100644 index ee8d29909..000000000 --- a/docs/theme/assets/stylesheets/extensions/pymdown/_details.scss +++ /dev/null @@ -1,109 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // Details extension - details { - @extend .admonition; - - display: block; - padding-top: 0; - - // Rotate title icon - &[open] > summary::after { - transform: rotate(180deg); - } - - // Remove bottom spacing - &:not([open]) { - padding-bottom: 0; - - // Remove bottom border if block is closed - > summary { - border-bottom: none; - } - } - - // Increase spacing to the right - scoped here for higher specificity - summary { - padding-right: 4rem; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-left: 4rem; - } - } - - // Manually hide and show, if browser doesn't support details - .no-details &:not([open]) { - - // Hide all nested tags ... - > * { - display: none; - } - - // ... but show title - summary { - display: block; - } - } - } - - // Title - summary { - @extend .admonition-title; - - // Hack: set to block, so Firefox doesn't render marker - display: block; - outline: none; - cursor: pointer; - - // Remove default details marker - &::-webkit-details-marker { - display: none; - } - - // Icon - &::after { - @extend %md-icon; - - position: absolute; - top: 0.8rem; - right: 1.2rem; - color: $md-color-black--lighter; - font-size: 2rem; - content: "\E313"; // keyboard_arrow_down - - // Adjust for RTL languages - [dir="rtl"] & { - right: initial; - left: 1.2rem; - } - } - } -} diff --git a/docs/theme/assets/stylesheets/extensions/pymdown/_emoji.scss b/docs/theme/assets/stylesheets/extensions/pymdown/_emoji.scss deleted file mode 100644 index f2cd14ab7..000000000 --- a/docs/theme/assets/stylesheets/extensions/pymdown/_emoji.scss +++ /dev/null @@ -1,35 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // Correct alignment of emojis - .emojione { - width: 2rem; - vertical-align: text-top; - } -} diff --git a/docs/theme/assets/stylesheets/extensions/pymdown/_inlinehilite.scss b/docs/theme/assets/stylesheets/extensions/pymdown/_inlinehilite.scss deleted file mode 100644 index 3f2d236ec..000000000 --- a/docs/theme/assets/stylesheets/extensions/pymdown/_inlinehilite.scss +++ /dev/null @@ -1,37 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // Qualified class selector to distinguish inline code from code blocks - code.codehilite { - $correct: 1 / 0.85; - - margin: 0 0.25em * $correct; - padding: 0.0625em * $correct 0; - } -} diff --git a/docs/theme/assets/stylesheets/extensions/pymdown/_superfences.scss b/docs/theme/assets/stylesheets/extensions/pymdown/_superfences.scss deleted file mode 100644 index c3dde1aff..000000000 --- a/docs/theme/assets/stylesheets/extensions/pymdown/_superfences.scss +++ /dev/null @@ -1,100 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // Tabbed code block content - .superfences-content { - display: none; - order: 99; - width: 100%; - background-color: $md-color-white; - - // Actual content - > * { - margin: 0; - border-radius: 0 - } - } - - // Tabbed code block container - .superfences-tabs { - display: flex; - position: relative; - flex-wrap: wrap; - margin: 1em 0; - border: 0.1rem solid $md-color-black--lightest; - border-radius: 0.2em; - - // Hide radio buttons - > input { - display: none; - - // Active tab label - &:checked + label { - font-weight: 700; - - // Show code tab content - & + .superfences-content { - display: block; - } - } - } - - // Tab label - > label { - width: auto; - padding: 1.2rem 1.2rem; - transition: color 0.125s; - font-size: ms(-1); - cursor: pointer; - - // Hovered tab label - html &:hover { - color: $md-color-accent; - } - } - } - - // Full-width container on top-level - > .superfences-tabs { - - // [mobile -]: Stretch to whole width - @include break-to-device(mobile) { - margin: 1em -1.6rem; - border: 0; - border-top: 0.1rem solid $md-color-black--lightest; - border-radius: 0; - - // Actual container with code, overflowing - pre, - code { - padding: 1.05rem 1.6rem; - } - } - } -} diff --git a/docs/theme/assets/stylesheets/extensions/pymdown/_tasklist.scss b/docs/theme/assets/stylesheets/extensions/pymdown/_tasklist.scss deleted file mode 100644 index be6ae8f44..000000000 --- a/docs/theme/assets/stylesheets/extensions/pymdown/_tasklist.scss +++ /dev/null @@ -1,83 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Scoped in typesetted content to match specificity of regular content -.md-typeset { - - // Remove list icon on task items - .task-list-item { - position: relative; - list-style-type: none; - - // Make checkbox items align with normal list items, but position - // everything in ems for correct layout at smaller font sizes - [type="checkbox"] { - position: absolute; - top: 0.45em; - left: -2em; - - // Adjust for RTL languages - [dir="rtl"] & { - right: -2em; - left: initial; - } - } - } - - // Wrapper for list controls, in case custom checkboxes are enabled - .task-list-control { - - // Checkbox icon in unchecked state - .task-list-indicator::before { - @extend %md-icon; - - position: absolute; - top: 0.15em; - left: -1.25em; - color: $md-color-black--lighter; - font-size: 1.25em; - content: "\E835"; // check_box_outline_blank - vertical-align: -0.25em; - - // Adjust for RTL languages - [dir="rtl"] & { - right: -1.25em; - left: initial; - } - } - - // Checkbox icon in checked state - [type="checkbox"]:checked + .task-list-indicator::before { - content: "\E834"; // check_box - } - - // Hide original checkbox behind icon - [type="checkbox"] { - opacity: 0; - z-index: -1; - } - } -} diff --git a/docs/theme/assets/stylesheets/helpers/_break.scss b/docs/theme/assets/stylesheets/helpers/_break.scss deleted file mode 100644 index eee7aa32b..000000000 --- a/docs/theme/assets/stylesheets/helpers/_break.scss +++ /dev/null @@ -1,250 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Variables -// ---------------------------------------------------------------------------- - -/// -/// Device-specific breakpoints -/// -/// @example -/// $break-devices: ( -/// mobile: ( -/// portrait: 220px 479px, -/// landscape: 480px 719px -/// ), -/// tablet: ( -/// portrait: 720px 959px, -/// landscape: 960px 1219px -/// ), -/// screen: ( -/// small: 1220px 1599px, -/// medium: 1600px 1999px, -/// large: 2000px -/// ) -/// ); -/// -/// @group helpers -/// @access private -/// @type Map -/// -$break-devices: () !default; - -// ---------------------------------------------------------------------------- -// Helpers -// ---------------------------------------------------------------------------- - -/// -/// Choose minimum and maximum device widths -/// -/// @group helpers -/// @access private -/// @param {Map} $devices Map of devices -/// @return {List} Minimum and maximum width -/// -@function break-select-min-max($devices) { - $min: 1000000; - $max: 0; - @each $key, $value in $devices { - @while type-of($value) == map { - $value: break-select-min-max($value); - } - @if type-of($value) == list { - @each $number in $value { - @if type-of($number) == number { - $min: min($number, $min); - @if $max != null { - $max: max($number, $max); - } - } @else { - @error "Invalid number: #{$number}"; - } - } - } @elseif type-of($value) == number { - $min: min($value, $min); - $max: null; - } @else { - @error "Invalid value: #{$value}"; - } - } - @return $min, $max; -} - -/// -/// Select minimum and maximum widths for a device breakpoint -/// -/// @group helpers -/// @access private -/// @param {String} $device Device -/// @return {List} Minimum and maximum width -/// -@function break-select-device($device) { - $current: $break-devices; - @for $n from 1 through length($device) { - @if type-of($current) == map { - $current: map-get($current, nth($device, $n)); - } @else { - @error "Invalid device map: #{$devices}"; - } - } - @if type-of($current) == list or type-of($current) == number { - $current: (default: $current); - } - @return break-select-min-max($current); -} - -// ---------------------------------------------------------------------------- -// Mixins -// ---------------------------------------------------------------------------- - -/// -/// A minimum-maximum media query breakpoint -/// -/// @group helpers -/// @access public -/// @param {Number|List} $breakpoint Number or number pair -/// -@mixin break-at($breakpoint) { - @if type-of($breakpoint) == number { - @media only screen and (min-width: $breakpoint) { - @content; - } - } @elseif type-of($breakpoint) == list { - $min: nth($breakpoint, 1); - $max: nth($breakpoint, 2); - @if type-of($min) == number and type-of($max) == number { - @media only screen and (min-width: $min) and (max-width: $max) { - @content; - } - } @else { - @error "Invalid breakpoint: #{$breakpoint}"; - } - } @else { - @error "Invalid breakpoint: #{$breakpoint}"; - } -} - -/// -/// An orientation media query breakpoint -/// -/// @group helpers -/// @access public -/// @param {String} $breakpoint Orientation -/// -@mixin break-at-orientation($breakpoint) { - @if type-of($breakpoint) == string { - @media only screen and (orientation: $breakpoint) { - @content; - } - } @else { - @error "Invalid breakpoint: #{$breakpoint}"; - } -} - -/// -/// A maximum-aspect-ratio media query breakpoint -/// -/// @group helpers -/// @access public -/// @param {Number} $breakpoint Ratio -/// -@mixin break-at-ratio($breakpoint) { - @if type-of($breakpoint) == number { - @media only screen and (max-aspect-ratio: $breakpoint) { - @content; - } - } @else { - @error "Invalid breakpoint: #{$breakpoint}"; - } -} - -/// -/// A minimum-maximum media query device breakpoint -/// -/// @group helpers -/// @access public -/// @param {String|List} $breakpoint Device -/// -@mixin break-at-device($device) { - @if type-of($device) == string { - $device: $device,; - } - @if type-of($device) == list { - $breakpoint: break-select-device($device); - @if nth($breakpoint, 2) != null { - $min: nth($breakpoint, 1); - $max: nth($breakpoint, 2); - @media only screen and (min-width: $min) and (max-width: $max) { - @content; - } - } @else { - @error "Invalid device: #{$device}"; - } - } @else { - @error "Invalid device: #{$device}"; - } -} - -/// -/// A minimum media query device breakpoint -/// -/// @group helpers -/// @access public -/// @param {String|List} $breakpoint Device -/// -@mixin break-from-device($device) { - @if type-of($device) == string { - $device: $device,; - } - @if type-of($device) == list { - $breakpoint: break-select-device($device); - $min: nth($breakpoint, 1); - @media only screen and (min-width: $min) { - @content; - } - } @else { - @error "Invalid device: #{$device}"; - } -} - -/// -/// A maximum media query device breakpoint -/// -/// @group helpers -/// @access public -/// @param {String|List} $breakpoint Device -/// -@mixin break-to-device($device) { - @if type-of($device) == string { - $device: $device,; - } - @if type-of($device) == list { - $breakpoint: break-select-device($device); - $max: nth($breakpoint, 2); - @media only screen and (max-width: $max) { - @content; - } - } @else { - @error "Invalid device: #{$device}"; - } -} diff --git a/docs/theme/assets/stylesheets/helpers/_px2em.scss b/docs/theme/assets/stylesheets/helpers/_px2em.scss deleted file mode 100644 index 2ca50e111..000000000 --- a/docs/theme/assets/stylesheets/helpers/_px2em.scss +++ /dev/null @@ -1,46 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Helpers -// ---------------------------------------------------------------------------- - -/// -/// Convert font size in px to em. -/// -/// @group helpers -/// @access public -/// @param {Number} $size Font size in px -/// @param {Number} $base Base font size -/// @return {Number} Font size in em -/// -@function px2em($size, $base: 16px) { - @if unit($size) == px { - @if unit($base) == px { - @return ($size / $base) * 1em; - } @else { - @error "Invalid base: #{$base} - unit must be 'px'"; - } - } @else { - @error "Invalid size: #{$size} - unit must be 'px'"; - } -} diff --git a/docs/theme/assets/stylesheets/layout/_base.scss b/docs/theme/assets/stylesheets/layout/_base.scss deleted file mode 100644 index 38510f0cf..000000000 --- a/docs/theme/assets/stylesheets/layout/_base.scss +++ /dev/null @@ -1,245 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Variables -// ---------------------------------------------------------------------------- - -// Active (toggled) drawer -$md-toggle__drawer--checked: - "[data-md-toggle=\"drawer\"]:checked ~"; - -// ---------------------------------------------------------------------------- -// Rules: base grid and containers -// ---------------------------------------------------------------------------- - -// Stretch container to viewport and set base font-size to 10px for simple -// calculations base on relative ems (rems) -html { - height: 100%; - font-size: 62.5%; - // Hack: some browsers on some operating systems don't account for scroll - // bars when firing media queries, so we need to do this for safety. This - // currently impacts the table of contents component between 1220 and 1234px - // and is to current knowledge not fixable. - overflow-x: hidden; - - // [screen medium +]: Set base font-size to 11px - @include break-from-device(screen medium) { - font-size: 68.75%; - } - - // [screen large +]: Set base font-size to 12px - @include break-from-device(screen large) { - font-size: 75%; - } -} - -// Stretch body to container and leave room for footer -body { - position: relative; - height: 100%; - - // [tablet portrait -]: Lock body to disable scroll bubbling - @include break-to-device(tablet portrait) { - - // Lock body to viewport height (e.g. in search mode) - &[data-md-state="lock"] { - overflow: hidden; - - // Hide container on iOS, or the body will not be locked correctly - .ios & .md-container { - display: none; - } - } - } -} - -// Horizontal separators -hr { - display: block; - height: 0.1rem; - padding: 0; - border: 0; -} - -// Inline SVG container -.md-svg { - display: none; -} - -// Template-wide grid -.md-grid { - max-width: 122rem; - margin-right: auto; - margin-left: auto; -} - -// Prevent collapse of margin when setting margin on child element -.md-container, -.md-main { - overflow: auto; -} - -// Content wrapper - use display: table to make variable-height sticky footers -// work and fixed table-layout for IE, see http://bit.ly/2hZohXL -.md-container { - display: table; - width: 100%; - height: 100%; - padding-top: 4.8rem; - table-layout: fixed; -} - -// The main content should stretch to maximum height in the table -.md-main { - display: table-row; - height: 100%; - - // Increase top spacing of content area to give typography more room - &__inner { - height: 100%; - padding-top: 2.4rem + 0.6rem; - // Hack: induce margin-collapse, because otherwise the sidebar height is - // not calculated correctly and the overflow property on this element must - // be left in initial state for targetted link offsets to work properly - padding-bottom: 0.1rem; - } -} - -// ---------------------------------------------------------------------------- -// Rules: navigational elements -// ---------------------------------------------------------------------------- - -// Toggle checkbox -.md-toggle { - display: none; -} - -// Overlay below expanded drawer -.md-overlay { - position: fixed; - top: 0; - width: 0; - height: 0; - transition: - width 0s 0.25s, - height 0s 0.25s, - opacity 0.25s; - background-color: $md-color-black--light; - opacity: 0; - z-index: 3; - - // [tablet -]: Trigger overlay - @include break-to-device(tablet) { - - // Expanded drawer - #{$md-toggle__drawer--checked} & { - width: 100%; - height: 100%; - transition: - width 0s, - height 0s, - opacity 0.25s; - opacity: 1; - } - } -} - -// ---------------------------------------------------------------------------- -// Rules: flexible elements, implemented with table layout -// ---------------------------------------------------------------------------- - -// Flexible layout container -.md-flex { - display: table; - - // Flexible layout container cell/element - &__cell { - display: table-cell; - position: relative; - vertical-align: top; - - // Shrink to minimum width - &--shrink { - width: 0%; - } - - // Stretch to maximum width - &--stretch { - display: table; - width: 100%; - table-layout: fixed; - } - } - - // Apply ellipsis in case of overflowing text - &__ellipsis { - display: table-cell; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - } -} - -// ---------------------------------------------------------------------------- -// Rules: skip link -// ---------------------------------------------------------------------------- - -// Skip link -.md-skip { - position: fixed; - width: 0.1rem; - height: 0.1rem; - margin: 1rem; - padding: 0.6rem 1rem; - clip: rect(0.1rem); - transform: translateY(0.8rem); - border-radius: 0.2rem; - background-color: $md-color-black; - color: $md-color-white; - font-size: ms(-1); - opacity: 0; - overflow: hidden; - - // Show skip link on focus - &:focus { - width: auto; - height: auto; - clip: auto; - transform: translateX(0); - transition: - transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), - opacity 0.175s 0.075s; - opacity: 1; - z-index: 10; - } -} - -// ---------------------------------------------------------------------------- -// Rules: print styles -// ---------------------------------------------------------------------------- - -// Add margins to page -@page { - margin: 25mm; -} diff --git a/docs/theme/assets/stylesheets/layout/_clipboard.scss b/docs/theme/assets/stylesheets/layout/_clipboard.scss deleted file mode 100644 index c2d84f38f..000000000 --- a/docs/theme/assets/stylesheets/layout/_clipboard.scss +++ /dev/null @@ -1,117 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Copy to clipboard -.md-clipboard { - position: absolute; - top: 0.6rem; - right: 0.6rem; - width: 2.8rem; - height: 2.8rem; - border-radius: 0.2rem; - font-size: 1.6rem; - cursor: pointer; - z-index: 1; - // Hack: put everything on the GPU to omit flickering - backface-visibility: hidden; - - // Hide for print - @media print { - display: none; - } - - // Icon - &::before { - @extend %md-icon; - - transition: - color 0.25s, - opacity 0.25s; - color: $md-color-black--lightest; - content: "\E14D"; // content_copy - - // Show on container hover - pre:hover &, - .codehilite:hover & { - color: $md-color-black--light; - } - } - - // Focused or hovered icon - &:focus::before, - &:hover::before { - color: $md-color-accent; - } - - // Message - &__message { - display: block; - position: absolute; - top: 0; - right: 3.4rem; - padding: 0.6rem 1rem; - transform: translateX(0.8rem); - transition: - transform 0.25s cubic-bezier(0.9, 0.1, 0.9, 0), - opacity 0.175s; - border-radius: 0.2rem; - background-color: $md-color-black--light; - color: $md-color-white; - font-size: ms(-1); - white-space: nowrap; - opacity: 0; - pointer-events: none; - - // Active message - &--active { - transform: translateX(0); - transition: - transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), - opacity 0.175s 0.075s; - opacity: 1; - pointer-events: initial; - } - - // Inject content from ARIA label - &::before { - content: attr(aria-label); - } - - // Paint a nice speech bubble - &::after { - display: block; - position: absolute; - top: 50%; - right: -0.4rem; - width: 0; - margin-top: -0.4rem; - border-width: 0.4rem 0 0.4rem 0.4rem; - border-style: solid; - border-color: transparent $md-color-black--light; - content: ""; - } - } -} diff --git a/docs/theme/assets/stylesheets/layout/_content.scss b/docs/theme/assets/stylesheets/layout/_content.scss deleted file mode 100644 index 61e9fb8e8..000000000 --- a/docs/theme/assets/stylesheets/layout/_content.scss +++ /dev/null @@ -1,95 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Content container -.md-content { - - // [tablet landscape +]: Add space for table of contents - @include break-from-device(tablet landscape) { - margin-right: 24.2rem; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: initial; - margin-left: 24.2rem; - } - } - - // [screen +]: Add space for table of contents - @include break-from-device(screen) { - margin-left: 24.2rem; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 24.2rem; - } - } - - // Define spacing - &__inner { - margin: 0 1.6rem 2.4rem; - padding-top: 1.2rem; - - // [screen +]: Increase horizontal spacing - @include break-from-device(screen) { - margin-right: 2.4rem; - margin-left: 2.4rem; - } - - // Hack: add pseudo element for spacing, as the overflow of the content - // container may not be hidden due to an imminent offset error on targets - &::before { - display: block; - height: 0.8rem; - content: ""; - } - - // Hack: remove bottom spacing of last element, due to margin collapse - > :last-child { - margin-bottom: 0; - } - } - - // Icons - &__icon { - @extend %md-icon__button; - - position: relative; - margin: 0.8rem 0; - padding: 0; - float: right; - - // Override default link color for icons - .md-typeset & { - color: $md-color-black--lighter; - } - - // Hide for print - @media print { - display: none; - } - } -} diff --git a/docs/theme/assets/stylesheets/layout/_footer.scss b/docs/theme/assets/stylesheets/layout/_footer.scss deleted file mode 100644 index 2446d81f2..000000000 --- a/docs/theme/assets/stylesheets/layout/_footer.scss +++ /dev/null @@ -1,199 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Application footer -.md-footer { - - // Hide for print - @media print { - display: none; - } -} - -// Navigation within footer -.md-footer-nav { - background-color: $md-color-black; - color: $md-color-white; - - // Set spacing - &__inner { - padding: 0.4rem; - overflow: auto; - } - - // Links to previous and next page - &__link { - padding-top: 2.8rem; - padding-bottom: 0.8rem; - transition: opacity 0.25s; - - // [tablet +]: Set proportional width - @include break-from-device(tablet) { - width: 50%; - } - - // Hovered link - &:hover { - opacity: 0.7; - } - - // Link to previous page - &--prev { - width: 25%; - float: left; - - // Adjust for RTL languages - [dir="rtl"] & { - float: right; - } - - // Title - .md-footer-nav__title { - - // [mobile -]: Hide title for previous page - @include break-to-device(mobile) { - display: none; - } - } - } - - // Link to next page - &--next { - width: 75%; - float: right; - text-align: right; - - // Adjust for RTL languages - [dir="rtl"] & { - float: left; - text-align: left; - } - } - } - - // Icon buttons - &__button { - @extend %md-icon__button; - - transition: background 0.25s; - } - - // Link title - set line height to match icon for correct alignment - &__title { - position: relative; - padding: 0 2rem; - font-size: 1.8rem; - line-height: 4.8rem; - } - - // Link direction - &__direction { - position: absolute; - right: 0; - left: 0; - margin-top: -2rem; - padding: 0 2rem; - color: $md-color-white--light; - font-size: 1.5rem; - } -} - -// Non-navigational information -.md-footer-meta { - background-color: opacify($md-color-black, 0.025); - - // Set spacing - &__inner { - padding: 0.4rem; - overflow: auto; - } - - // Use a decent color for non-hovered links and ensure specificity - html &.md-typeset a { - color: $md-color-white--light; - - // Focused or hovered link - &:focus, - &:hover { - color: $md-color-white; - } - } -} - -// Copyright and theme information -.md-footer-copyright { - margin: 0 1.2rem; - padding: 0.8rem 0; - color: $md-color-white--lighter; - font-size: ms(-1); - - // [tablet portrait +]: Show next to social media links - @include break-from-device(tablet portrait) { - max-width: 75%; - float: left; - - // Adjust for RTL languages - [dir="rtl"] & { - float: right; - } - } - - // Highlight copyright information - &__highlight { - color: $md-color-white--light; - } -} - -// Social media links -.md-footer-social { - margin: 0 0.8rem; - padding: 0.4rem 0 1.2rem; - - // [tablet portrait +]: Show next to copyright information - @include break-from-device(tablet portrait) { - padding: 1.2rem 0; - float: right; - - // Adjust for RTL languages - [dir="rtl"] & { - float: left; - } - } - - // Link with icon - &__link { - display: inline-block; - width: 3.2rem; - height: 3.2rem; - font-size: 1.6rem; - text-align: center; - - // Adjust line-height to match height for correct alignment - &::before { - line-height: 1.9; - } - } -} diff --git a/docs/theme/assets/stylesheets/layout/_header.scss b/docs/theme/assets/stylesheets/layout/_header.scss deleted file mode 100644 index 79333359e..000000000 --- a/docs/theme/assets/stylesheets/layout/_header.scss +++ /dev/null @@ -1,216 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Application header (stays always on top) -.md-header { - position: fixed; - top: 0; - right: 0; - left: 0; - height: 4.8rem; - transition: - background-color 0.25s, - color 0.25s; - background-color: $md-color-primary; - color: $md-color-white; - box-shadow: none; - z-index: 2; - // Hack: putting the header on the GPU avoids unnecessary repaints - backface-visibility: hidden; - - // Always show shadow, in case JavaScript is not available - .no-js & { - transition: none; - box-shadow: none; - } - - // Show and animate shadow - &[data-md-state="shadow"] { - transition: - background-color 0.25s, - color 0.25s, - box-shadow 0.25s; - box-shadow: - 0 0 0.4rem rgba(0, 0, 0, 0.1), - 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2); - } - - // Hide for print - @media print { - display: none; - } -} - -// Navigation within header -.md-header-nav { - padding: 0 0.4rem; - - // Icon buttons - &__button { - @extend %md-icon__button; - - position: relative; - transition: opacity 0.25s; - z-index: 1; - - // Hovered icon - &:hover { - opacity: 0.7; - } - - // Set correct display on image or icon - &.md-logo * { - display: block; - } - - // Hide search icon, if JavaScript is not available. - .no-js &.md-icon--search { - display: none; - } - - // [tablet landscape +]: Hide the search icon - @include break-from-device(tablet landscape) { - - // Search icon - &.md-icon--search { - display: none; - } - } - - // [tablet -]: Hide the home icon or logo - @include break-to-device(tablet) { - - // Home icon or logo - &.md-icon--home, - &.md-logo { - display: none; - } - } - - // [screen +]: Hide the menu icon - @include break-from-device(screen) { - - // Menu icon - &.md-icon--menu { - display: none; - } - } - } - - // Header topics - &__topic { - display: block; - position: absolute; - transition: - transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), - opacity 0.15s; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - - // Page title - & + & { - transform: translateX(2.5rem); - transition: - transform 0.4s cubic-bezier(1, 0.7, 0.1, 0.1), - opacity 0.15s; - opacity: 0; - z-index: -1; - pointer-events: none; - - // Adjust for RTL languages - [dir="rtl"] & { - transform: translateX(-2.5rem); - } - } - - // Induce ellipsis, if no JavaScript is available - .no-js & { - position: initial; - } - - // Hide page title as it is invisible anyway and will overflow the header - .no-js & + & { - display: none; - } - } - - // Header title - set line height to match icon for correct alignment - &__title { - padding: 0 2rem; - font-size: 1.8rem; - line-height: 4.8rem; - - // Show page title - &[data-md-state="active"] .md-header-nav__topic { - transform: translateX(-2.5rem); - transition: - transform 0.4s cubic-bezier(1, 0.7, 0.1, 0.1), - opacity 0.15s; - opacity: 0; - z-index: -1; - pointer-events: none; - - // Adjust for RTL languages - [dir="rtl"] & { - transform: translateX(2.5rem); - } - - // Page title - & + .md-header-nav__topic { - transform: translateX(0); - transition: - transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), - opacity 0.15s; - opacity: 1; - z-index: 0; - pointer-events: initial; - } - } - } - - // Repository containing source - &__source { - display: none; - - // [tablet landscape +]: Show the reposistory from tablet - @include break-from-device(tablet landscape) { - display: block; - width: 23rem; - max-width: 23rem; - margin-left: 2.8rem; - padding-right: 1.2rem; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 2.8rem; - margin-left: initial; - padding-right: initial; - padding-left: 1.2rem; - } - } - } -} diff --git a/docs/theme/assets/stylesheets/layout/_hero.scss b/docs/theme/assets/stylesheets/layout/_hero.scss deleted file mode 100644 index d8d588b55..000000000 --- a/docs/theme/assets/stylesheets/layout/_hero.scss +++ /dev/null @@ -1,65 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Hero teaser -.md-hero { - transition: background 0.25s; - background-color: $md-color-primary; - color: $md-color-white; - font-size: ms(1); - overflow: hidden; - - // Inner wrapper - &__inner { - margin-top: 2rem; - padding: 1.6rem 1.6rem 0.8rem; - transition: - transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), - opacity 0.25s; - transition-delay: 0.1s; - - // [tablet -]: Compensate for missing tabs - @include break-to-device(tablet) { - margin-top: 4.8rem; - margin-bottom: 2.4rem; - } - - // Fade-out tabs background upon scrolling - [data-md-state="hidden"] & { - pointer-events: none; - transform: translateY(1.25rem); - transition: - transform 0s 0.4s, - opacity 0.1s 0s; - opacity: 0; - } - - // Adjust bottom spacing if there are no tabs - .md-hero--expand & { - margin-bottom: 2.4rem; - } - } -} diff --git a/docs/theme/assets/stylesheets/layout/_nav.scss b/docs/theme/assets/stylesheets/layout/_nav.scss deleted file mode 100644 index 969a45622..000000000 --- a/docs/theme/assets/stylesheets/layout/_nav.scss +++ /dev/null @@ -1,525 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Navigation container -.md-nav { - font-size: 1.4rem; - line-height: 1.3; - - // List title - &__title { - display: block; - padding: 0 1.2rem; - font-weight: 700; - text-overflow: ellipsis; - overflow: hidden; - - // Icon, hidden by default - &::before { - @extend %md-icon, %md-icon__button; - - display: none; - content: "\E5C4"; // arrow_back - - // Adjust for RTL languages - [dir="rtl"] & { - content: "\E5C8"; // arrow_forward - } - } - - // Hide button by default - .md-nav__button { - display: none; - } - } - - // List of items - &__list { - margin: 0; - padding: 0; - list-style: none; - } - - // List item - &__item { - padding: 0 1.2rem; - - // Add bottom spacing to last item - &:last-child { - padding-bottom: 1.2rem; - } - - // 2nd+ level items - & & { - padding-right: 0; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 1.2rem; - padding-left: 0; - } - - // Remove bottom spacing for nested items - &:last-child { - padding-bottom: 0; - } - } - } - - // Button with logo - &__button { - @extend %md-icon, %md-icon__button; - - // Stretch image - img { - width: 100%; - height: auto; - } - } - - // Link inside item - &__link { - display: block; - margin-top: 0.625em; - transition: color 0.125s; - text-overflow: ellipsis; - cursor: pointer; - overflow: hidden; - - // Icon - &::after { - @extend %md-icon; - - // Item contains a nested list - .md-nav__item--nested > & { - content: "\E313"; // keyboard_arrow_down - } - } - - // Hide link to table of contents by default - this will only match the - // table of contents inside the drawer below and including tablet portrait - html &[for="__toc"] { - display: none; - - // Hide table of contents by default - & ~ .md-nav { - display: none; - } - - // Hide icon for current item - + .md-nav__link::after { - display: none; - } - } - - // Blurred link - &[data-md-state="blur"] { - color: $md-color-black--light; - } - - // Active link - &:active, - &--active { - color: $md-color-primary; - } - - // Reset active color for nested list titles - .md-nav__item--nested > & { - color: inherit; - } - - // Focused or hovered link - &:focus, - &:hover { - color: $md-color-accent; - } - } - - // Repository containing source - &__source { - display: none; - } - - // [tablet -]: Layered navigation - @include break-to-device(tablet) { - background-color: $md-color-white; - - // Stretch primary navigation to drawer - &--primary, - &--primary .md-nav { - display: flex; - position: absolute; - top: 0; - right: 0; - left: 0; - flex-direction: column; - height: 100%; - z-index: 1; - } - - // Adjust styles for primary navigation - &--primary { - - // List title and item - .md-nav__title, - .md-nav__item { - font-size: 1.6rem; - line-height: 1.5; - } - - // List title - higher specificity is necessary to ensure that the title - // inside the drawer is always styled accordingly - html & .md-nav__title { - position: relative; - height: 11.2rem; - padding: 6rem 1.6rem 0.4rem; - background-color: $md-color-black--lightest; - color: $md-color-black--light; - font-weight: 400; - line-height: 4.8rem; - white-space: nowrap; - cursor: pointer; - - // Icon - &::before { - display: block; - position: absolute; - top: 0.4rem; - left: 0.4rem; - width: 4rem; - height: 4rem; - color: $md-color-black--light; - } - - // Main lists - ~ .md-nav__list { - background-color: $md-color-white; - box-shadow: 0 0.1rem 0 $md-color-black--lightest inset; - - // Remove border for first list item - & > .md-nav__item:first-child { - border-top: 0; - } - } - - // Site title in main navigation - &--site { - position: relative; - background-color: $md-color-primary; - color: $md-color-white; - - // Site logo - .md-nav__button { - display: block; - position: absolute; - top: 0.4rem; - left: 0.4rem; - width: 6.4rem; - height: 6.4rem; - font-size: 4.8rem; - } - - // Hide back arrow icon - &::before { - display: none; - } - } - } - - // Adjust for RTL languages - html [dir="rtl"] & .md-nav__title { - - // Icon - &::before { - right: 0.4rem; - left: initial; - } - - // Site title in main navigation - &--site .md-nav__button { - right: 0.4rem; - left: initial; - } - } - - // List of items - .md-nav__list { - flex: 1; - overflow-y: auto; - } - - // List item - .md-nav__item { - padding: 0; - border-top: 0.1rem solid $md-color-black--lightest; - - // Adjust for RTL languages - [dir="rtl"] & { - padding: 0; - } - - // Increase spacing to account for icon - &--nested > .md-nav__link { - padding-right: 4.8rem; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 1.6rem; - padding-left: 4.8rem; - } - - // Replace icon with right arrow - &::after { - content: "\E315"; // keyboard_arrow_right - - // Adjust for RTL languages - [dir="rtl"] & { - content: "\E314"; // keyboard_arrow_left - } - } - } - } - - // Link inside item - .md-nav__link { - position: relative; - margin-top: 0; - padding: 1.2rem 1.6rem; - - // Rotate icon - &::after { - position: absolute; - top: 50%; - right: 1.2rem; - margin-top: -1.2rem; - color: inherit; - font-size: 2.4rem; - - // Adjust for RTL languages - [dir="rtl"] & { - right: initial; - left: 1.2rem; - } - } - } - - // Table of contents inside navigation - .md-nav--secondary { - - // Set links to static to avoid unnecessary layering - .md-nav__link { - position: static; - } - - // Set nested navigation for table of contents to static - .md-nav { - position: static; - background-color: transparent; - - // 3rd level link - .md-nav__link { - padding-left: 2.8rem; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 2.8rem; - padding-left: initial; - } - } - - // 4th level link - .md-nav .md-nav__link { - padding-left: 4rem; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 4rem; - padding-left: initial; - } - } - - // 5th level link - .md-nav .md-nav .md-nav__link { - padding-left: 5.2rem; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 5.2rem; - padding-left: initial; - } - } - - // 6th level link - .md-nav .md-nav .md-nav .md-nav__link { - padding-left: 6.4rem; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 6.4rem; - padding-left: initial; - } - } - } - } - } - - // Hide nested navigation by default - .md-nav__toggle ~ & { - display: flex; - transform: translateX(100%); - transition: - transform 0.25s cubic-bezier(0.8, 0, 0.6, 1), - opacity 0.125s 0.05s; - opacity: 0; - - // Adjust for RTL languages - [dir="rtl"] & { - transform: translateX(-100%); - } - - // Just hide navigation, if browser doesn't supports 3D transforms - .no-csstransforms3d & { - display: none; - } - } - - // Expand nested navigation, if toggle is checked - .md-nav__toggle:checked ~ & { - transform: translateX(0); - transition: - transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), - opacity 0.125s 0.125s; - opacity: 1; - - // Just show navigation, if browser doesn't supports 3D transforms - .no-csstransforms3d & { - display: flex; - } - } - } - - // [tablet portrait -]: Show table of contents in drawer - @include break-to-device(tablet portrait) { - - // Show link to table of contents - higher specificity is necessary to - // display the table of contents inside the drawer - html &__link[for="__toc"] { - display: block; - padding-right: 4.8rem; - - // Unrotate icon for table of contents - &::after { - color: inherit; - content: "\E8DE"; // toc - } - - // Hide link to current item - + .md-nav__link { - display: none; - } - - // Show table of contents - & ~ .md-nav { - display: flex; - } - } - - // Adjust for RTL languages - html [dir="rtl"] &__link { - padding-right: 1.6rem; - padding-left: 4.8rem; - } - - // Repository containing source - &__source { - display: block; - padding: 0 0.4rem; - background-color: mix($md-color-primary, $md-color-black, 75%); - color: $md-color-white; - } - } - - // [screen +]: Tree-like navigation - @include break-from-device(screen) { - - // Animation is only possible if JavaScript is available, as the max-height - // property must be calculated before transitioning - &[data-md-state="animate"] { - transition: max-height 0.25s cubic-bezier(0.86, 0, 0.07, 1); - } - - // Hide nested navigation by default - .md-nav__toggle ~ & { - max-height: 0; - overflow: hidden; - - // Just hide links for accessibility if JavaScript is not available - .no-js & { - display: none; - } - } - - // Expand nested navigation, if toggle is checked - .md-nav__toggle:checked ~ &, - &[data-md-state="expand"] { - max-height: 100%; - - // Just show for accessibility links if JavaScript is not available - .no-js & { - display: block; - } - } - - // Hide titles for nested navigation - &__item--nested > .md-nav > &__title { - display: none; - } - - // Link inside item - ideally the link display method would be set to - // inline on screen, but this doesn't work with text ellipsis - &__link { - - // Item contains a nested list - .md-nav__item--nested > &::after { - display: inline-block; - transform-origin: 0.45em 0.45em; - transform-style: preserve-3d; - vertical-align: -0.125em; - - // Only animate icon when JavaScript is available, as the height can - // not be animated anyway, and better no fun than half the fun - .js & { - transition: transform 0.4s; - } - } - - // Rotate icon for expanded lists - .md-nav__item--nested .md-nav__toggle:checked ~ &::after { - transform: rotateX(180deg); - } - } - } -} diff --git a/docs/theme/assets/stylesheets/layout/_search.scss b/docs/theme/assets/stylesheets/layout/_search.scss deleted file mode 100644 index f8ed05b79..000000000 --- a/docs/theme/assets/stylesheets/layout/_search.scss +++ /dev/null @@ -1,622 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Variables -// ---------------------------------------------------------------------------- - -// Active (toggled) search -$md-toggle__search--checked: - "[data-md-toggle=\"search\"]:checked ~ .md-header"; - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Search container -.md-search { - - // Hide search, if JavaScript is not available. - .no-js & { - display: none; - } - - // [tablet landscape +]: Header-embedded search - @include break-from-device(tablet landscape) { - padding: 0.4rem; - } - - // Search modal overlay - &__overlay { - opacity: 0; - z-index: 1; - - // [tablet portrait -]: Full-screen search bar - @include break-to-device(tablet portrait) { - position: absolute; - top: 0.4rem; - left: 0.4rem; - width: 3.6rem; - height: 3.6rem; - transform-origin: center; - transition: - transform 0.3s 0.1s, - opacity 0.2s 0.2s; - border-radius: 2rem; - background-color: $md-color-white; - overflow: hidden; - pointer-events: none; - - // Adjust for RTL languages - [dir="rtl"] & { - right: 0.4rem; - left: initial; - } - - // Expanded overlay - #{$md-toggle__search--checked} & { - transition: - transform 0.4s, - opacity 0.1s; - opacity: 1; - } - } - - // Set scale factors - #{$md-toggle__search--checked} & { - - // [mobile portrait -]: Scale up 45 times - @include break-to-device(mobile portrait) { - transform: scale(45); - } - - // [mobile landscape]: Scale up 60 times - @include break-at-device(mobile landscape) { - transform: scale(60); - } - - // [tablet portrait]: Scale up 75 times - @include break-at-device(tablet portrait) { - transform: scale(75); - } - } - - // [tablet landscape +]: Overlay for better focus on search - @include break-from-device(tablet landscape) { - position: fixed; - top: 0; - left: 0; - width: 0; - height: 0; - transition: - width 0s 0.25s, - height 0s 0.25s, - opacity 0.25s; - background-color: $md-color-black--light; - cursor: pointer; - - // Adjust for RTL languages - [dir="rtl"] & { - right: 0; - left: initial; - } - - // Expanded overlay - #{$md-toggle__search--checked} & { - width: 100%; - height: 100%; - transition: - width 0s, - height 0s, - opacity 0.25s; - opacity: 1; - } - } - } - - // Search modal wrapper - &__inner { - - // [tablet portrait -]: Put search modal off-canvas by default - @include break-to-device(tablet portrait) { - position: fixed; - top: 0; - left: 100%; - width: 100%; - height: 100%; - transform: translateX(5%); - transition: - right 0s 0.3s, - left 0s 0.3s, - transform 0.15s 0.15s cubic-bezier(0.4, 0, 0.2, 1), - opacity 0.15s 0.15s; - opacity: 0; - z-index: 2; - - // Active search modal - #{$md-toggle__search--checked} & { - left: 0; - transform: translateX(0); - transition: - right 0s 0s, - left 0s 0s, - transform 0.15s 0.15s cubic-bezier(0.1, 0.7, 0.1, 1), - opacity 0.15s 0.15s; - opacity: 1; - - // Adjust for RTL languages - [dir="rtl"] & { - right: 0; - left: initial; - } - } - - // Adjust for RTL languages - html [dir="rtl"] & { - right: 100%; - left: initial; - transform: translateX(-5%); - } - } - - // [tablet landscape +]: Header-embedded search - @include break-from-device(tablet landscape) { - position: relative; - width: 23rem; - padding: 0.2rem 0; - float: right; - transition: width 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); - - // Adjust for RTL languages - [dir="rtl"] & { - float: left; - } - } - - // Set maximum width - #{$md-toggle__search--checked} & { - - // [tablet landscape]: Do not overlay title - @include break-at-device(tablet landscape) { - width: 46.8rem; - } - - // [screen +]: Match content width - @include break-from-device(screen) { - width: 68.8rem; - } - } - } - - // Search form - &__form { - position: relative; - - // [tablet landscape +]: Header-embedded search - @include break-from-device(tablet landscape) { - border-radius: 0.2rem; - } - } - - // Search input - &__input { - position: relative; - padding: 0 4.4rem 0 7.2rem; - text-overflow: ellipsis; - z-index: 2; - - // Adjust for RTL languages - [dir="rtl"] & { - padding: 0 7.2rem 0 4.4rem; - } - - // Transition on placeholder - &::placeholder { - transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); - } - - // Placeholder and icon color in active state - ~ .md-search__icon, - &::placeholder { - color: $md-color-black--light; - } - - // Remove the "x" rendered by Internet Explorer - &::-ms-clear { - display: none; - } - - // [tablet portrait -]: Full-screen search bar - @include break-to-device(tablet portrait) { - width: 100%; - height: 4.8rem; - font-size: 1.8rem; - } - - // [tablet landscape +]: Header-embedded search - @include break-from-device(tablet landscape) { - width: 100%; - height: 3.6rem; - padding-left: 4.4rem; - transition: - background-color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1), - color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); - border-radius: 0.2rem; - background-color: $md-color-black--lighter; - color: inherit; - font-size: ms(0); - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 4.4rem; - } - - // Icon color - + .md-search__icon { - color: inherit; - } - - // Placeholder color - &::placeholder { - color: $md-color-white--light; - } - - // Hovered search field - &:hover { - background-color: $md-color-white--lightest; - } - - // Set light background on active search field - #{$md-toggle__search--checked} & { - border-radius: 0.2rem 0.2rem 0 0; - background-color: $md-color-white; - color: $md-color-black; - text-overflow: none; - - // Placeholder and icon color in active state - + .md-search__icon, - &::placeholder { - color: $md-color-black--light; - } - } - } - } - - // Icons - &__icon { - position: absolute; - transition: - color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1), - opacity 0.25s; - font-size: $md-icon-size; - cursor: pointer; - z-index: 2; - - // Hovered icon - &:hover { - opacity: 0.7; - } - - // Search icon - &[for="__search"] { - top: 0.6rem; - left: 1rem; - - // Adjust for RTL languages - [dir="rtl"] & { - right: 1rem; - left: initial; - } - - // Set search icon on pseudo class, so it can be overridden for mobile - // and tablet when the search is rendered in an overlay - &::before { - content: "\E8B6"; // search - } - - // [tablet portrait -]: Full-screen search bar - @include break-to-device(tablet portrait) { - top: 1.2rem; - left: 1.6rem; - - // Show back arrow instead of search icon - &[for="__search"]::before { - content: "\E5C4"; // arrow_back - - // Adjust for RTL languages - [dir="rtl"] & { - content: "\E5C8"; // arrow_forward - } - } - } - } - - // Reset button - &[type="reset"] { - top: 0.6rem; - right: 1rem; - transform: scale(0.125); - transition: - transform 0.15s cubic-bezier(0.1, 0.7, 0.1, 1), - opacity 0.15s; - opacity: 0; - - // Adjust for RTL languages - [dir="rtl"] & { - right: initial; - left: 1rem; - } - - // [tablet portrait -]: Full-screen search bar - @include break-to-device(tablet portrait) { - top: 1.2rem; - right: 1.6rem; - } - - // Show reset button if search is active and input non-empty - #{$md-toggle__search--checked} .md-search__input:valid ~ & { - transform: scale(1); - opacity: 1; - - // Hovered icon - &:hover { - opacity: 0.7; - } - } - } - } - - // Search output container - &__output { - position: absolute; - width: 100%; - border-radius: 0 0 0.2rem 0.2rem; - overflow: hidden; - z-index: 1; - - // [tablet portrait -]: Full-screen search bar - @include break-to-device(tablet portrait) { - top: 4.8rem; - bottom: 0; - } - - // [tablet landscape +]: Header-embedded search - @include break-from-device(tablet landscape) { - top: 3.8rem; - transition: opacity 0.4s; - opacity: 0; - - // Show search output in active state - #{$md-toggle__search--checked} & { - @include z-depth(6); - - opacity: 1; - } - } - } - - // Wrapper for scrolling on overflow - &__scrollwrap { - height: 100%; - background-color: $md-color-white; - box-shadow: 0 0.1rem 0 $md-color-black--lightest inset; - overflow-y: auto; - -webkit-overflow-scrolling: touch; - - // [tablet landscape]: Set absolute width to omit unnecessary reflow - @include break-at-device(tablet landscape) { - width: 46.8rem; - } - - // [screen +]: Set absolute width to omit unnecessary reflow - @include break-from-device(screen) { - width: 68.8rem; - } - - // [tablet landscape +]: Limit height to viewport - @include break-from-device(tablet landscape) { - max-height: 0; - - // Expand in active state - #{$md-toggle__search--checked} & { - max-height: 75vh; - } - - // Override native scrollbar styles - &::-webkit-scrollbar { - width: 0.4rem; - height: 0.4rem; - } - - // Style scrollbar thumb - &::-webkit-scrollbar-thumb { - background-color: $md-color-black--lighter; - - // Hovered scrollbar thumb - &:hover { - background-color: $md-color-accent; - } - } - } - } -} - -// Search result -.md-search-result { - color: $md-color-black; - word-break: break-word; - - // Search metadata - &__meta { - padding: 0 1.6rem; - background-color: $md-color-black--lightest; - color: $md-color-black--light; - font-size: ms(-1); - line-height: 3.6rem; - - // [tablet landscape +]: Increase left indent - @include break-from-device(tablet landscape) { - padding-left: 4.4rem; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 4.4rem; - padding-left: initial; - } - } - } - - // List of items - &__list { - margin: 0; - padding: 0; - border-top: 0.1rem solid $md-color-black--lightest; - list-style: none; - } - - // List item - &__item { - box-shadow: 0 -0.1rem 0 $md-color-black--lightest; - } - - // Link inside item - &__link { - display: block; - transition: background 0.25s; - outline: 0; - overflow: hidden; - - // Active or hovered link - &[data-md-state="active"], - &:hover { - background-color: transparentize($md-color-accent, 0.9); - - // Slightly transparent icon - .md-search-result__article::before { - opacity: 0.7; - } - } - - // Add a little spacing on the teaser of the last link - &:last-child .md-search-result__teaser { - margin-bottom: 1.2rem; - } - } - - // Article - document or section - &__article { - position: relative; - padding: 0 1.6rem; - overflow: auto; - - // [tablet landscape +]: Increase left indent - @include break-from-device(tablet landscape) { - padding-left: 4.4rem; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: 4.4rem; - padding-left: 1.6rem; - } - } - - // Document - &--document { - - // Icon - &::before { - @extend %md-icon, %md-icon__button; - - position: absolute; - left: 0; - margin: 0.2rem; - transition: opacity 0.25s; - color: $md-color-black--light; - content: "\E880"; // find_in_page - - // Adjust for RTL languages - [dir="rtl"] & { - right: 0; - left: initial; - } - - // [tablet portrait -]: Hide page icon - @include break-to-device(tablet portrait) { - display: none; - } - } - - // Title - .md-search-result__title { - margin: 1.1rem 0; - font-size: ms(0); - font-weight: 400; - line-height: 1.4; - } - } - } - - // Title - &__title { - margin: 0.5em 0; - font-size: ms(-1); - font-weight: 700; - line-height: 1.4; - } - - // stylelint-disable value-no-vendor-prefix, property-no-vendor-prefix - - // Teaser - &__teaser { - display: -webkit-box; - max-height: 3.3rem; - margin: 0.5em 0; - color: $md-color-black--light; - font-size: ms(-1); - line-height: 1.4; - text-overflow: ellipsis; - overflow: hidden; - -webkit-box-orient: vertical; - -webkit-line-clamp: 2; - - // [mobile -]: Increase number of lines - @include break-to-device(mobile) { - max-height: 5rem; - -webkit-line-clamp: 3; - } - - // [tablet landscape]: Increase number of lines - @include break-at-device(tablet landscape) { - max-height: 5rem; - -webkit-line-clamp: 3; - } - } - - // stylelint-enable value-no-vendor-prefix, property-no-vendor-prefix - - // Search term highlighting - em { - font-style: normal; - font-weight: 700; - text-decoration: underline; - } -} diff --git a/docs/theme/assets/stylesheets/layout/_sidebar.scss b/docs/theme/assets/stylesheets/layout/_sidebar.scss deleted file mode 100644 index 262323e63..000000000 --- a/docs/theme/assets/stylesheets/layout/_sidebar.scss +++ /dev/null @@ -1,174 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Variables -// ---------------------------------------------------------------------------- - -// Active (toggled) drawer -$md-toggle__drawer--checked: - "[data-md-toggle=\"drawer\"]:checked ~ .md-container"; - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Sidebar container -.md-sidebar { - position: absolute; - width: 24.2rem; - padding: 2.4rem 0; - overflow: hidden; - - // Hide for print - @media print { - display: none; - } - - // Lock sidebar to container height (account for fixed header) - &[data-md-state="lock"] { - position: fixed; - top: 4.8rem; - } - - // [tablet -]: Convert navigation to drawer - @include break-to-device(tablet) { - - // Render primary sidebar as a slideout container - &--primary { - position: fixed; - top: 0; - left: -24.2rem; - width: 24.2rem; - height: 100%; - transform: translateX(0); - transition: - transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), - box-shadow 0.25s; - background-color: $md-color-white; - z-index: 3; - - // Adjust for RTL languages - [dir="rtl"] & { - right: -24.2rem; - left: initial; - } - - // Just hide drawer, if browser doesn't support 3D transforms - .no-csstransforms3d & { - display: none; - } - - // Expanded drawer - #{$md-toggle__drawer--checked} & { - @include z-depth(8); - - transform: translateX(24.2rem); - - // Adjust for RTL languages - [dir="rtl"] & { - transform: translateX(-24.2rem); - } - - // Just show drawer, if browser doesn't support 3D transforms - .no-csstransforms3d & { - display: block; - } - } - - // Hide overflow for nested navigation - .md-sidebar__scrollwrap { - overflow: hidden; - } - } - } - - // Secondary sidebar with table of contents - &--secondary { - display: none; - - // [tablet landscape +]: Show table of contents next to body copy - @include break-from-device(tablet landscape) { - display: block; - margin-left: 100%; - transform: translate(-100%, 0); - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 100%; - margin-left: initial; - transform: translate(100%, 0); - } - } - - // [screen +]: Limit to grid - @include break-from-device(screen) { - margin-left: 122rem; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 122rem; - margin-left: initial; - } - } - } - - // Wrapper for scrolling on overflow - &__scrollwrap { - max-height: 100%; - margin: 0 0.4rem; - overflow-y: auto; - // Hack: putting the scroll wrapper on the GPU massively reduces jitter - // when locking the sidebars into place - backface-visibility: hidden; - - // [tablet -]: Adjust margins - @include break-to-device(tablet) { - - // Stretch scrollwrap for primary sidebar - .md-sidebar--primary & { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - margin: 0; - } - } - - // Override native scrollbar styles - &::-webkit-scrollbar { - width: 0.4rem; - height: 0.4rem; - } - - // Style scrollbar thumb - &::-webkit-scrollbar-thumb { - background-color: $md-color-black--lighter; - - // Hovered scrollbar thumb - &:hover { - background-color: $md-color-accent; - } - } - } -} diff --git a/docs/theme/assets/stylesheets/layout/_source.scss b/docs/theme/assets/stylesheets/layout/_source.scss deleted file mode 100644 index 91ef7ca82..000000000 --- a/docs/theme/assets/stylesheets/layout/_source.scss +++ /dev/null @@ -1,234 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Keyframes -// ---------------------------------------------------------------------------- - -// Show source facts -@keyframes md-source__facts--done { - 0% { - height: 0; - } - - 100% { - height: 1.3rem; - } -} - -// Show source fact -@keyframes md-source__fact--done { - 0% { - transform: translateY(100%); - opacity: 0; - } - - 50% { - opacity: 0; - } - - 100% { - transform: translateY(0%); - opacity: 1; - } -} - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Source container -.md-source { - display: block; - padding-right: 1.2rem; - transition: opacity 0.25s; - font-size: 1.3rem; - line-height: 1.2; - white-space: nowrap; - - // Adjust for RTL languages - [dir="rtl"] & { - padding-right: initial; - padding-left: 1.2rem; - } - - // Hovered source container - &:hover { - opacity: 0.7; - } - - // Necessary for vertical alignment - &::after { - display: inline-block; - height: 4.8rem; - content: ""; - vertical-align: middle; - } - - // Repository platform icon - &__icon { - display: inline-block; - width: 4.8rem; - height: 4.8rem; - content: ""; - vertical-align: middle; - - // Align SVG, do not scale, as this will incur strange formatting bugs - // in Internet Explorer and Edge - svg { - width: 2.4rem; - height: 2.4rem; - margin-top: 1.2rem; - margin-left: 1.2rem; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: 1.2rem; - margin-left: initial; - } - } - - // Correct alignment, if icon is present - + .md-source__repository { - margin-left: -4.4rem; - padding-left: 4rem; - - // Adjust for RTL languages - [dir="rtl"] & { - margin-right: -4.4rem; - margin-left: initial; - padding-right: 4rem; - padding-left: initial; - } - } - } - - // Repository name - &__repository { - display: inline-block; - max-width: 100%; - margin-left: 1.2rem; - font-weight: 700; - text-overflow: ellipsis; - overflow: hidden; - vertical-align: middle; - } - - // Source facts (statistics etc.) - &__facts { - margin: 0; - padding: 0; - font-size: 1.1rem; - font-weight: 700; - list-style-type: none; - opacity: 0.75; - overflow: hidden; - - // Show after the data was loaded - [data-md-state="done"] & { - animation: md-source__facts--done 0.25s ease-in; - } - } - - // Fact - &__fact { - float: left; - - // Adjust for RTL languages - [dir="rtl"] & { - float: right; - } - - // Show after the data was loaded - [data-md-state="done"] & { - animation: md-source__fact--done 0.4s ease-out; - } - - // Middle dot before fact - &::before { - margin: 0 0.2rem; - content: "\00B7"; - } - - // Remove middle dot on first fact - &:first-child::before { - display: none; - } - } -} - -// Source file -.md-source-file { - display: inline-block; - margin: 1em 0.5em 1em 0; - padding-right: 0.5rem; - border-radius: 0.2rem; - background-color: $md-color-black--lightest; - font-size: ms(-1); - list-style-type: none; - cursor: pointer; - overflow: hidden; - - // Icon - &::before { - @extend %md-icon; - - display: inline-block; - margin-right: 0.5rem; - padding: 0.5rem; - background-color: $md-color-black--lighter; - color: $md-color-white; - font-size: ms(0); - content: "\E86F"; // code - vertical-align: middle; - } - - // Some properties need to be set with higher specificity due to the default - // styling of text links inside typesetted content - html & { - transition: - background 0.4s, - color 0.4s, - box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1); - - // Icon - &::before { - transition: inherit; - } - } - - // Color needs even higher specifity because custom color palettes are set - // using the body and override text links inside typesetted content - html body .md-typeset & { - color: $md-color-black--light; - } - - // Hovered source file - &:hover { - @include z-depth-focus; - - // Icon - &::before { - background-color: $md-color-accent; - } - } -} diff --git a/docs/theme/assets/stylesheets/layout/_tabs.scss b/docs/theme/assets/stylesheets/layout/_tabs.scss deleted file mode 100644 index 63aab9fe8..000000000 --- a/docs/theme/assets/stylesheets/layout/_tabs.scss +++ /dev/null @@ -1,178 +0,0 @@ -//// -/// Copyright (c) 2016-2018 Martin Donath -/// -/// Permission is hereby granted, free of charge, to any person obtaining a -/// copy of this software and associated documentation files (the "Software"), -/// to deal in the Software without restriction, including without limitation -/// the rights to use, copy, modify, merge, publish, distribute, sublicense, -/// and/or sell copies of the Software, and to permit persons to whom the -/// Software is furnished to do so, subject to the following conditions: -/// -/// The above copyright notice and this permission notice shall be included in -/// all copies or substantial portions of the Software. -/// -/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -/// DEALINGS -//// - -// ---------------------------------------------------------------------------- -// Rules -// ---------------------------------------------------------------------------- - -// Tabs with outline -.md-tabs { - width: 100%; - transition: background 0.25s; - background-color: $md-color-primary; - color: $md-color-white; - overflow: auto; - - // [tablet -]: Hide tabs for tablet and below, as they don't make any sense - @include break-to-device(tablet) { - display: none; - } - - // Hide for print - @media print { - display: none; - } - - // List of items - &__list { - margin: 0; - margin-left: 0.4rem; - padding: 0; - list-style: none; - white-space: nowrap; - } - - // List item - &__item { - display: inline-block; - height: 4.8rem; - padding-right: 1.2rem; - padding-left: 1.2rem; - } - - // Link inside item - could be defined as block elements and aligned via - // line height, but this would imply more repaints when scrolling - &__link { - display: block; - margin-top: 1.6rem; - transition: - transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), - opacity 0.25s; - font-size: 1.4rem; - opacity: 0.7; - - // Active or hovered link - &--active, - &:hover { - color: inherit; - opacity: 1; - } - - // Delay transitions by a small amount - @for $i from 2 through 16 { - .md-tabs__item:nth-child(#{$i}) & { - transition-delay: 0.02s * ($i - 1); - } - } - } - - // Fade-out tabs background upon scrolling - &[data-md-state="hidden"] { - pointer-events: none; - - // Hide tabs upon scrolling - disable transition to minimizes repaints whilte - // scrolling down, while scrolling up seems to be okay - .md-tabs__link { - transform: translateY(50%); - transition: - color 0.25s, - transform 0s 0.4s, - opacity 0.1s; - opacity: 0; - } - } - - // [screen +]: Adjust main navigation styles - @include break-from-device(screen) { - - // Hide 1st level nested items, as they are listed in the tabs by setting - // font-size to zero, as we need to preserve bottom padding - ~ .md-main .md-nav--primary > .md-nav__list > .md-nav__item--nested { - font-size: 0; - visibility: hidden; - } - - // We're on the 2nd+ level - &--active ~ .md-main { - - // Adjust 1st level styles - .md-nav--primary { - - // Show title and remove spacing - .md-nav__title { - display: block; - padding: 0; - } - - // Hide site title - .md-nav__title--site { - display: none; - } - - // Show 1st level navigation always expanded - .no-js & .md-nav { - display: block; - } - - // Hide 1st level normal items - & > .md-nav__list > .md-nav__item { - font-size: 0; - visibility: hidden; - - // Reset font-size for nested items and induce margin collapse - &--nested { - display: none; - font-size: 1.4rem; - overflow: auto; - visibility: visible; - - // Hide nested links - > .md-nav__link { - display: none; - } - } - - // Show 1st level active nested items - &--active { - display: block; - } - } - } - - // Always expand nested navigation on 2nd level - .md-nav[data-md-level="1"] { - max-height: initial; - overflow: visible; - - // Remove left spacing on 2nd level items - > .md-nav__list > .md-nav__item { - padding-left: 0; - } - - // Hide titles from 2nd level on - .md-nav .md-nav__title { - display: none; - } - } - } - } -} diff --git a/docs/theme/partials/footer.html b/docs/theme/partials/footer.html deleted file mode 100644 index ef4bb1f60..000000000 --- a/docs/theme/partials/footer.html +++ /dev/null @@ -1,82 +0,0 @@ -{% import "partials/language.html" as lang with context %} - - - diff --git a/docs/theme/partials/header.html b/docs/theme/partials/header.html deleted file mode 100644 index 193d685f3..000000000 --- a/docs/theme/partials/header.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - - - -
- - - -
diff --git a/env_example b/env_example index 003b162bb..1687c9458 100644 --- a/env_example +++ b/env_example @@ -10,9 +10,9 @@ VAULT_ADDR=http://localhost:8200 VAULT_TOKEN=changeit -SECRETS_POLICY=fonos-policy +SECRETS_POLICY=fonoster-policy AUTH_RBAC=/path/to/rbac.json -EVENTS_BROKERS=amqp://fonos:changeit@localhost:5672 +EVENTS_BROKERS=amqp://fonoster:changeit@localhost:5672 FUNCS_URL=http://faasd.fonoster.net:8080 FUNCS_USERNAME=admin FUNCS_WORKDIR=/tmp @@ -45,7 +45,7 @@ SIPPROXY_API_SECRET=changeit LOGS_DRIVER_HOST=yourapihost LOGS_DRIVER_PORT=24224 LOG_OPT_TAG_PREFIX=alpha -APISERVER_ENDPOINT=localhost:50051 -PUBLIC_URL=http://localhost:50051 +APISERVER_ENDPOINT=localhost:50052 +PUBLIC_URL=http://localhost:50052 IGNORE_E164_VALIDATION=true -ALLOW_INSECURE=true \ No newline at end of file +ALLOW_INSECURE=true diff --git a/etc/copyright.js b/etc/copyright.js index 6d8b2ff14..ea058d46f 100644 --- a/etc/copyright.js +++ b/etc/copyright.js @@ -1,8 +1,8 @@ /* * Copyright (C) <%= YEAR %> by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/etc/fluent.conf b/etc/fluent.conf index 65b5523ae..390c24186 100644 --- a/etc/fluent.conf +++ b/etc/fluent.conf @@ -7,7 +7,7 @@ @type copy @type elasticsearch - host logsaggregator + host logsaggregator.fonoster port 9200 logstash_format true logstash_prefix fluentd diff --git a/etc/gen_code_proto.sh b/etc/gen_code_proto.sh deleted file mode 100755 index 0b2d8a422..000000000 --- a/etc/gen_code_proto.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env sh -DIRNAME="$(cd "$(dirname "$0")"; pwd)" - -PROTOS=(agents callmanager domains storage numbers providers funcs auth secrets) - -for proto in "${PROTOS[@]}" -do - grpc_tools_node_protoc -I=. /$DIRNAME/../mods/core/src/protos/common.proto \ - -I=. /$DIRNAME/../mods/${proto}/src/protos/${proto}.proto \ - --proto_path=$DIRNAME/../mods/core/src/protos \ - --proto_path=$DIRNAME/../mods/${proto}/src/protos \ - --js_out=import_style=commonjs,binary:$DIRNAME/../mods/${proto}/src/service/protos \ - --grpc_out=grpc_js:$DIRNAME/../mods/${proto}/src/service/protos \ - --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` - - # generate d.ts codes - grpc_tools_node_protoc -I=. /$DIRNAME/../mods/core/src/protos/common.proto \ - -I=. /$DIRNAME/../mods/${proto}/src/protos/${proto}.proto \ - --proto_path=$DIRNAME/../mods/core/src/protos \ - --proto_path=$DIRNAME/../mods/${proto}/src/protos \ - --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts \ - --ts_out=grpc_js:$DIRNAME/../mods/${proto}/src/service/protos -done - -# Cleaning callmanager and auth stubs -rm $DIRNAME/../mods/callmanager/src/service/protos/common_* -rm $DIRNAME/../mods/auth/src/service/protos/common_* \ No newline at end of file diff --git a/etc/gen_docs.js b/etc/gen_docs.js deleted file mode 100644 index 32c09ef8b..000000000 --- a/etc/gen_docs.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; -const jsdoc2md = require("jsdoc-to-markdown"); -const fs = require("fs"); -const path = require("path"); - -/* input and output paths */ -const inputFile = path.join(__dirname, "../mods/**/dist/client/*.js"); -const outputDir = path.join(__dirname, "../docs/reference"); - -/* get template data */ -const templateData = jsdoc2md.getTemplateDataSync({ files: inputFile }); - -/* reduce templateData to an array of class names */ -const classNames = templateData.reduce((names, identifier) => { - if (identifier.kind === "class") names.push(identifier.name); - return names; -}, []); - -/* create a documentation file for each class */ -for (const className of classNames) { - // Workaround an issue with the inputFile picking up wrong classes - if (["Scanner", "Walker", "Parser", "Filter"].includes(className)) continue; - const template = `{{#class name="${className}"}}{{>docs}}{{/class}}`; - console.log(`rendering ${className}, template: ${template}`); - const output = jsdoc2md.renderSync({ - data: templateData, - template: template - }); - fs.writeFileSync(path.resolve(outputDir, `${className}.md`), output); -} diff --git a/etc/rbac.json b/etc/rbac.json index 7dca04b2a..524fd9e76 100644 --- a/etc/rbac.json +++ b/etc/rbac.json @@ -1,66 +1,78 @@ [ { "name": "USER", - "description": "Regular access", + "description": "Access to User and Project endpoints", "access": [ - "/fonos.auth.v1beta1.Auth/GetRole", - "/fonos.storage.v1beta1.Storage/UploadObject", - "/fonos.storage.v1beta1.Storage/GetObjectURL", - "/fonos.providers.v1beta1.Providers/ListProviders", - "/fonos.providers.v1beta1.Providers/CreateProvider", - "/fonos.providers.v1beta1.Providers/GetProvider", - "/fonos.providers.v1beta1.Providers/UpdateProvider", - "/fonos.providers.v1beta1.Providers/DeleteProvider", - "/fonos.numbers.v1beta1.Numbers/ListNumbers", - "/fonos.numbers.v1beta1.Numbers/CreateNumber", - "/fonos.numbers.v1beta1.Numbers/GetIngressInfo", - "/fonos.numbers.v1beta1.Numbers/GetNumber", - "/fonos.numbers.v1beta1.Numbers/UpdateNumber", - "/fonos.numbers.v1beta1.Numbers/DeleteNumber", - "/fonos.domains.v1beta1.Domains/ListDomains", - "/fonos.domains.v1beta1.Domains/CreateDomain", - "/fonos.domains.v1beta1.Domains/GetDomain", - "/fonos.domains.v1beta1.Domains/UpdateDomain", - "/fonos.domains.v1beta1.Domains/DeleteDomain", - "/fonos.callmanager.v1beta1.CallManager/Call", - "/fonos.appmanager.v1beta1.AppManager/ListApps", - "/fonos.appmanager.v1beta1.AppManager/GetApp", - "/fonos.appmanager.v1beta1.AppManager/CreateApp", - "/fonos.appmanager.v1beta1.AppManager/UpdateApp", - "/fonos.appmanager.v1beta1.AppManager/DeleteApp", - "/fonos.agents.v1beta1.Agents/ListAgents", - "/fonos.agents.v1beta1.Agents/CreateAgent", - "/fonos.agents.v1beta1.Agents/GetAgent", - "/fonos.agents.v1beta1.Agents/UpdateAgent", - "/fonos.agents.v1beta1.Agents/DeleteAgent", - "/fonos.funcs.v1beta1.Funcs/ListFuncs", - "/fonos.funcs.v1beta1.Funcs/GetFunc", - "/fonos.funcs.v1beta1.Funcs/DeployFunc", - "/fonos.funcs.v1beta1.Funcs/DeleteFunc", - "/fonos.funcs.v1beta1.Funcs/GetFuncLogs", - "/fonos.secrets.v1beta1.Secrets/CreateSecret", - "/fonos.secrets.v1beta1.Secrets/ListSecretsId", - "/fonos.secrets.v1beta1.Secrets/DeleteSecret", - "/fonos.auth.v1beta1.Auth/ValidateToken" + "/fonoster.users.v1beta1.Users/ListUsers", + "/fonoster.users.v1beta1.Users/GetUser", + "/fonoster.users.v1beta1.Users/UpdateUser", + "/fonoster.users.v1beta1.Users/Login", + "/fonoster.projects.v1beta1.Projects/ListProjects", + "/fonoster.projects.v1beta1.Projects/CreateProject", + "/fonoster.projects.v1beta1.Projects/UpdateProject", + "/fonoster.projects.v1beta1.Projects/GetProject", + "/fonoster.projects.v1beta1.Projects/DeleteProject", + "/fonoster.projects.v1beta1.Projects/RenewAccessKeySecret" + ] + }, + { + "name": "PROJECT", + "description": "Access to Project resources", + "access": [ + "/fonoster.monitor.v1beta1.Monitor/SearchEvents", + "/fonoster.storage.v1beta1.Storage/UploadObject", + "/fonoster.storage.v1beta1.Storage/GetObjectURL", + "/fonoster.providers.v1beta1.Providers/ListProviders", + "/fonoster.providers.v1beta1.Providers/CreateProvider", + "/fonoster.providers.v1beta1.Providers/GetProvider", + "/fonoster.providers.v1beta1.Providers/UpdateProvider", + "/fonoster.providers.v1beta1.Providers/DeleteProvider", + "/fonoster.numbers.v1beta1.Numbers/ListNumbers", + "/fonoster.numbers.v1beta1.Numbers/CreateNumber", + "/fonoster.numbers.v1beta1.Numbers/GetIngressInfo", + "/fonoster.numbers.v1beta1.Numbers/GetNumber", + "/fonoster.numbers.v1beta1.Numbers/UpdateNumber", + "/fonoster.numbers.v1beta1.Numbers/DeleteNumber", + "/fonoster.domains.v1beta1.Domains/ListDomains", + "/fonoster.domains.v1beta1.Domains/CreateDomain", + "/fonoster.domains.v1beta1.Domains/GetDomain", + "/fonoster.domains.v1beta1.Domains/UpdateDomain", + "/fonoster.domains.v1beta1.Domains/DeleteDomain", + "/fonoster.callmanager.v1beta1.CallManager/Call", + "/fonoster.agents.v1beta1.Agents/ListAgents", + "/fonoster.agents.v1beta1.Agents/CreateAgent", + "/fonoster.agents.v1beta1.Agents/GetAgent", + "/fonoster.agents.v1beta1.Agents/UpdateAgent", + "/fonoster.agents.v1beta1.Agents/DeleteAgent", + "/fonoster.funcs.v1beta1.Funcs/ListFuncs", + "/fonoster.funcs.v1beta1.Funcs/GetFunc", + "/fonoster.funcs.v1beta1.Funcs/DeployFunc", + "/fonoster.funcs.v1beta1.Funcs/DeleteFunc", + "/fonoster.funcs.v1beta1.Funcs/GetFuncLogs", + "/fonoster.secrets.v1beta1.Secrets/CreateSecret", + "/fonoster.secrets.v1beta1.Secrets/ListSecretsId", + "/fonoster.secrets.v1beta1.Secrets/DeleteSecret" ] }, { "name": "FUNCTION", "description": "This role is limited only to calling", "access": [ - "/fonos.callmanager.v1beta1.CallManager/Call", - "/fonos.secrets.v1beta1.Secrets/GetSecret", - "/fonos.auth.v1beta1.Auth/ValidateToken" + "/fonoster.callmanager.v1beta1.CallManager/Call", + "/fonoster.secrets.v1beta1.Secrets/GetSecret", + "/fonoster.auth.v1beta1.Auth/ValidateToken" ] }, { "name": "SERVICE", "description": "This role is able to obtain ingress information and create short-live token", "access": [ - "/fonos.numbers.v1beta1.Numbers/GetIngressInfo", - "/fonos.auth.v1beta1.Auth/CreateToken", - "/fonos.auth.v1beta1.Auth/CreateNoAccessToken", - "/fonos.auth.v1beta1.Auth/ValidateToken" + "/fonoster.numbers.v1beta1.Numbers/GetIngressInfo", + "/fonoster.auth.v1beta1.Auth/CreateToken", + "/fonoster.auth.v1beta1.Auth/CreateNoAccessToken", + "/fonoster.auth.v1beta1.Auth/ValidateToken", + "/fonoster.users.v1beta1.Users/CreateUser", + "/fonoster.users.v1beta1.Users/ListUsers" ] }, { @@ -71,6 +83,11 @@ { "name": "ADMIN", "description": "Can perform administrative task", - "access": ["/fonos.auth.v1beta1.Auth/CreateToken"] + "access": [ + "/fonoster.auth.v1beta1.Auth/CreateToken", + "/fonoster.users.v1beta1.Users/CreateUser", + "/fonoster.users.v1beta1.Users/DeleteUser", + "/fonoster.users.v1beta1.Users/ListUsers" + ] } ] diff --git a/etc/service_envs.json b/etc/service_envs.json index e0f3e3376..6c153dbf0 100644 --- a/etc/service_envs.json +++ b/etc/service_envs.json @@ -77,7 +77,10 @@ ] }, { - "module": "voice", - "env": [] + "module": "monitor", + "env": [ + "LOGS_AGGREGRATOR_HOST", + "LOGS_AGGREGRATOR_PORT" + ] } -] \ No newline at end of file +] diff --git a/etc/vendor_protos/google/api/annotations.proto b/etc/vendor_protos/google/api/annotations.proto new file mode 100644 index 000000000..efdab3db6 --- /dev/null +++ b/etc/vendor_protos/google/api/annotations.proto @@ -0,0 +1,31 @@ +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +import "google/api/http.proto"; +import "google/protobuf/descriptor.proto"; + +option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; +option java_multiple_files = true; +option java_outer_classname = "AnnotationsProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +extend google.protobuf.MethodOptions { + // See `HttpRule`. + HttpRule http = 72295728; +} diff --git a/etc/vendor_protos/google/api/field_behavior.proto b/etc/vendor_protos/google/api/field_behavior.proto new file mode 100644 index 000000000..b47136fdf --- /dev/null +++ b/etc/vendor_protos/google/api/field_behavior.proto @@ -0,0 +1,90 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +import "google/protobuf/descriptor.proto"; + +option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; +option java_multiple_files = true; +option java_outer_classname = "FieldBehaviorProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +extend google.protobuf.FieldOptions { + // A designation of a specific field behavior (required, output only, etc.) + // in protobuf messages. + // + // Examples: + // + // string name = 1 [(google.api.field_behavior) = REQUIRED]; + // State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // google.protobuf.Duration ttl = 1 + // [(google.api.field_behavior) = INPUT_ONLY]; + // google.protobuf.Timestamp expire_time = 1 + // [(google.api.field_behavior) = OUTPUT_ONLY, + // (google.api.field_behavior) = IMMUTABLE]; + repeated google.api.FieldBehavior field_behavior = 1052; +} + +// An indicator of the behavior of a given field (for example, that a field +// is required in requests, or given as output but ignored as input). +// This **does not** change the behavior in protocol buffers itself; it only +// denotes the behavior and may affect how API tooling handles the field. +// +// Note: This enum **may** receive new values in the future. +enum FieldBehavior { + // Conventional default for enums. Do not use this. + FIELD_BEHAVIOR_UNSPECIFIED = 0; + + // Specifically denotes a field as optional. + // While all fields in protocol buffers are optional, this may be specified + // for emphasis if appropriate. + OPTIONAL = 1; + + // Denotes a field as required. + // This indicates that the field **must** be provided as part of the request, + // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). + REQUIRED = 2; + + // Denotes a field as output only. + // This indicates that the field is provided in responses, but including the + // field in a request does nothing (the server *must* ignore it and + // *must not* throw an error as a result of the field's presence). + OUTPUT_ONLY = 3; + + // Denotes a field as input only. + // This indicates that the field is provided in requests, and the + // corresponding field is not included in output. + INPUT_ONLY = 4; + + // Denotes a field as immutable. + // This indicates that the field may be set once in a request to create a + // resource, but may not be changed thereafter. + IMMUTABLE = 5; + + // Denotes that a (repeated) field is an unordered list. + // This indicates that the service may provide the elements of the list + // in any arbitrary order, rather than the order the user originally + // provided. Additionally, the list's order may or may not be stable. + UNORDERED_LIST = 6; + + // Denotes that this field returns a non-empty default value if not set. + // This indicates that if the user provides the empty value in a request, + // a non-empty value will be returned. The user will not be aware of what + // non-empty value to expect. + NON_EMPTY_DEFAULT = 7; +} \ No newline at end of file diff --git a/etc/vendor_protos/google/api/http.proto b/etc/vendor_protos/google/api/http.proto new file mode 100644 index 000000000..113fa936a --- /dev/null +++ b/etc/vendor_protos/google/api/http.proto @@ -0,0 +1,375 @@ +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; +option java_multiple_files = true; +option java_outer_classname = "HttpProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +// Defines the HTTP configuration for an API service. It contains a list of +// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method +// to one or more HTTP REST API methods. +message Http { + // A list of HTTP configuration rules that apply to individual API methods. + // + // **NOTE:** All service configuration rules follow "last one wins" order. + repeated HttpRule rules = 1; + + // When set to true, URL path parameters will be fully URI-decoded except in + // cases of single segment matches in reserved expansion, where "%2F" will be + // left encoded. + // + // The default behavior is to not decode RFC 6570 reserved characters in multi + // segment matches. + bool fully_decode_reserved_expansion = 2; +} + +// # gRPC Transcoding +// +// gRPC Transcoding is a feature for mapping between a gRPC method and one or +// more HTTP REST endpoints. It allows developers to build a single API service +// that supports both gRPC APIs and REST APIs. Many systems, including [Google +// APIs](https://github.com/googleapis/googleapis), +// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC +// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), +// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature +// and use it for large scale production services. +// +// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies +// how different portions of the gRPC request message are mapped to the URL +// path, URL query parameters, and HTTP request body. It also controls how the +// gRPC response message is mapped to the HTTP response body. `HttpRule` is +// typically specified as an `google.api.http` annotation on the gRPC method. +// +// Each mapping specifies a URL path template and an HTTP method. The path +// template may refer to one or more fields in the gRPC request message, as long +// as each field is a non-repeated field with a primitive (non-message) type. +// The path template controls how fields of the request message are mapped to +// the URL path. +// +// Example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get: "/v1/{name=messages/*}" +// }; +// } +// } +// message GetMessageRequest { +// string name = 1; // Mapped to URL path. +// } +// message Message { +// string text = 1; // The resource content. +// } +// +// This enables an HTTP REST to gRPC mapping as below: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` +// +// Any fields in the request message which are not bound by the path template +// automatically become HTTP query parameters if there is no HTTP request body. +// For example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get:"/v1/messages/{message_id}" +// }; +// } +// } +// message GetMessageRequest { +// message SubMessage { +// string subfield = 1; +// } +// string message_id = 1; // Mapped to URL path. +// int64 revision = 2; // Mapped to URL query parameter `revision`. +// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. +// } +// +// This enables a HTTP JSON to RPC mapping as below: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | +// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: +// "foo"))` +// +// Note that fields which are mapped to URL query parameters must have a +// primitive type or a repeated primitive type or a non-repeated message type. +// In the case of a repeated type, the parameter can be repeated in the URL +// as `...?param=A¶m=B`. In the case of a message type, each field of the +// message is mapped to a separate parameter, such as +// `...?foo.a=A&foo.b=B&foo.c=C`. +// +// For HTTP methods that allow a request body, the `body` field +// specifies the mapping. Consider a REST update method on the +// message resource collection: +// +// service Messaging { +// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { +// option (google.api.http) = { +// patch: "/v1/messages/{message_id}" +// body: "message" +// }; +// } +// } +// message UpdateMessageRequest { +// string message_id = 1; // mapped to the URL +// Message message = 2; // mapped to the body +// } +// +// The following HTTP JSON to RPC mapping is enabled, where the +// representation of the JSON in the request body is determined by +// protos JSON encoding: +// +// HTTP | gRPC +// -----|----- +// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +// "123456" message { text: "Hi!" })` +// +// The special name `*` can be used in the body mapping to define that +// every field not bound by the path template should be mapped to the +// request body. This enables the following alternative definition of +// the update method: +// +// service Messaging { +// rpc UpdateMessage(Message) returns (Message) { +// option (google.api.http) = { +// patch: "/v1/messages/{message_id}" +// body: "*" +// }; +// } +// } +// message Message { +// string message_id = 1; +// string text = 2; +// } +// +// +// The following HTTP JSON to RPC mapping is enabled: +// +// HTTP | gRPC +// -----|----- +// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +// "123456" text: "Hi!")` +// +// Note that when using `*` in the body mapping, it is not possible to +// have HTTP parameters, as all fields not bound by the path end in +// the body. This makes this option more rarely used in practice when +// defining REST APIs. The common usage of `*` is in custom methods +// which don't use the URL at all for transferring data. +// +// It is possible to define multiple HTTP methods for one RPC by using +// the `additional_bindings` option. Example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get: "/v1/messages/{message_id}" +// additional_bindings { +// get: "/v1/users/{user_id}/messages/{message_id}" +// } +// }; +// } +// } +// message GetMessageRequest { +// string message_id = 1; +// string user_id = 2; +// } +// +// This enables the following two alternative HTTP JSON to RPC mappings: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` +// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: +// "123456")` +// +// ## Rules for HTTP mapping +// +// 1. Leaf request fields (recursive expansion nested messages in the request +// message) are classified into three categories: +// - Fields referred by the path template. They are passed via the URL path. +// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP +// request body. +// - All other fields are passed via the URL query parameters, and the +// parameter name is the field path in the request message. A repeated +// field can be represented as multiple query parameters under the same +// name. +// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields +// are passed via URL path and HTTP request body. +// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all +// fields are passed via URL path and URL query parameters. +// +// ### Path template syntax +// +// Template = "/" Segments [ Verb ] ; +// Segments = Segment { "/" Segment } ; +// Segment = "*" | "**" | LITERAL | Variable ; +// Variable = "{" FieldPath [ "=" Segments ] "}" ; +// FieldPath = IDENT { "." IDENT } ; +// Verb = ":" LITERAL ; +// +// The syntax `*` matches a single URL path segment. The syntax `**` matches +// zero or more URL path segments, which must be the last part of the URL path +// except the `Verb`. +// +// The syntax `Variable` matches part of the URL path as specified by its +// template. A variable template must not contain other variables. If a variable +// matches a single path segment, its template may be omitted, e.g. `{var}` +// is equivalent to `{var=*}`. +// +// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` +// contains any reserved character, such characters should be percent-encoded +// before the matching. +// +// If a variable contains exactly one path segment, such as `"{var}"` or +// `"{var=*}"`, when such a variable is expanded into a URL path on the client +// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The +// server side does the reverse decoding. Such variables show up in the +// [Discovery +// Document](https://developers.google.com/discovery/v1/reference/apis) as +// `{var}`. +// +// If a variable contains multiple path segments, such as `"{var=foo/*}"` +// or `"{var=**}"`, when such a variable is expanded into a URL path on the +// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. +// The server side does the reverse decoding, except "%2F" and "%2f" are left +// unchanged. Such variables show up in the +// [Discovery +// Document](https://developers.google.com/discovery/v1/reference/apis) as +// `{+var}`. +// +// ## Using gRPC API Service Configuration +// +// gRPC API Service Configuration (service config) is a configuration language +// for configuring a gRPC service to become a user-facing product. The +// service config is simply the YAML representation of the `google.api.Service` +// proto message. +// +// As an alternative to annotating your proto file, you can configure gRPC +// transcoding in your service config YAML files. You do this by specifying a +// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same +// effect as the proto annotation. This can be particularly useful if you +// have a proto that is reused in multiple services. Note that any transcoding +// specified in the service config will override any matching transcoding +// configuration in the proto. +// +// Example: +// +// http: +// rules: +// # Selects a gRPC method and applies HttpRule to it. +// - selector: example.v1.Messaging.GetMessage +// get: /v1/messages/{message_id}/{sub.subfield} +// +// ## Special notes +// +// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the +// proto to JSON conversion must follow the [proto3 +// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). +// +// While the single segment variable follows the semantics of +// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String +// Expansion, the multi segment variable **does not** follow RFC 6570 Section +// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion +// does not expand special characters like `?` and `#`, which would lead +// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding +// for multi segment variables. +// +// The path variables **must not** refer to any repeated or mapped field, +// because client libraries are not capable of handling such variable expansion. +// +// The path variables **must not** capture the leading "/" character. The reason +// is that the most common use case "{var}" does not capture the leading "/" +// character. For consistency, all path variables must share the same behavior. +// +// Repeated message fields must not be mapped to URL query parameters, because +// no client library can support such complicated mapping. +// +// If an API needs to use a JSON array for request or response body, it can map +// the request or response body to a repeated field. However, some gRPC +// Transcoding implementations may not support this feature. +message HttpRule { + // Selects a method to which this rule applies. + // + // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + string selector = 1; + + // Determines the URL pattern is matched by this rules. This pattern can be + // used with any of the {get|put|post|delete|patch} methods. A custom method + // can be defined using the 'custom' field. + oneof pattern { + // Maps to HTTP GET. Used for listing and getting information about + // resources. + string get = 2; + + // Maps to HTTP PUT. Used for replacing a resource. + string put = 3; + + // Maps to HTTP POST. Used for creating a resource or performing an action. + string post = 4; + + // Maps to HTTP DELETE. Used for deleting a resource. + string delete = 5; + + // Maps to HTTP PATCH. Used for updating a resource. + string patch = 6; + + // The custom pattern is used for specifying an HTTP method that is not + // included in the `pattern` field, such as HEAD, or "*" to leave the + // HTTP method unspecified for this rule. The wild-card rule is useful + // for services that provide content to Web (HTML) clients. + CustomHttpPattern custom = 8; + } + + // The name of the request field whose value is mapped to the HTTP request + // body, or `*` for mapping all request fields not captured by the path + // pattern to the HTTP body, or omitted for not having any HTTP request body. + // + // NOTE: the referred field must be present at the top-level of the request + // message type. + string body = 7; + + // Optional. The name of the response field whose value is mapped to the HTTP + // response body. When omitted, the entire response message will be used + // as the HTTP response body. + // + // NOTE: The referred field must be present at the top-level of the response + // message type. + string response_body = 12; + + // Additional HTTP bindings for the selector. Nested bindings must + // not contain an `additional_bindings` field themselves (that is, + // the nesting may only be one level deep). + repeated HttpRule additional_bindings = 11; +} + +// A custom pattern is used for defining custom HTTP verb. +message CustomHttpPattern { + // The name of this custom HTTP verb. + string kind = 1; + + // The path matched by this custom verb. + string path = 2; +} diff --git a/etc/vendor_protos/google/api/httpbody.proto b/etc/vendor_protos/google/api/httpbody.proto new file mode 100644 index 000000000..c2905d79e --- /dev/null +++ b/etc/vendor_protos/google/api/httpbody.proto @@ -0,0 +1,77 @@ +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +import "google/protobuf/any.proto"; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/genproto/googleapis/api/httpbody;httpbody"; +option java_multiple_files = true; +option java_outer_classname = "HttpBodyProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +// Message that represents an arbitrary HTTP body. It should only be used for +// payload formats that can't be represented as JSON, such as raw binary or +// an HTML page. +// +// +// This message can be used both in streaming and non-streaming API methods in +// the request as well as the response. +// +// It can be used as a top-level request field, which is convenient if one +// wants to extract parameters from either the URL or HTTP template into the +// request fields and also want access to the raw HTTP body. +// +// Example: +// +// message GetResourceRequest { +// // A unique request id. +// string request_id = 1; +// +// // The raw HTTP body is bound to this field. +// google.api.HttpBody http_body = 2; +// } +// +// service ResourceService { +// rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); +// rpc UpdateResource(google.api.HttpBody) returns +// (google.protobuf.Empty); +// } +// +// Example with streaming methods: +// +// service CaldavService { +// rpc GetCalendar(stream google.api.HttpBody) +// returns (stream google.api.HttpBody); +// rpc UpdateCalendar(stream google.api.HttpBody) +// returns (stream google.api.HttpBody); +// } +// +// Use of this type only changes how the request and response bodies are +// handled, all other features will continue to work unchanged. +message HttpBody { + // The HTTP Content-Type header value specifying the content type of the body. + string content_type = 1; + + // The HTTP request/response body as raw binary. + bytes data = 2; + + // Application specific response metadata. Must be set in the first response + // for streaming APIs. + repeated google.protobuf.Any extensions = 3; +} \ No newline at end of file diff --git a/etc/vendor_protos/google/protobuf/struct.proto b/etc/vendor_protos/google/protobuf/struct.proto new file mode 100644 index 000000000..1269ce14a --- /dev/null +++ b/etc/vendor_protos/google/protobuf/struct.proto @@ -0,0 +1,95 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/structpb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "StructProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// `Struct` represents a structured data value, consisting of fields +// which map to dynamically typed values. In some languages, `Struct` +// might be supported by a native representation. For example, in +// scripting languages like JS a struct is represented as an +// object. The details of that representation are described together +// with the proto support for the language. +// +// The JSON representation for `Struct` is JSON object. +message Struct { + // Unordered map of dynamically typed values. + map fields = 1; +} + +// `Value` represents a dynamically typed value which can be either +// null, a number, a string, a boolean, a recursive struct value, or a +// list of values. A producer of value is expected to set one of these +// variants. Absence of any variant indicates an error. +// +// The JSON representation for `Value` is JSON value. +message Value { + // The kind of value. + oneof kind { + // Represents a null value. + NullValue null_value = 1; + // Represents a double value. + double number_value = 2; + // Represents a string value. + string string_value = 3; + // Represents a boolean value. + bool bool_value = 4; + // Represents a structured value. + Struct struct_value = 5; + // Represents a repeated `Value`. + ListValue list_value = 6; + } +} + +// `NullValue` is a singleton enumeration to represent the null value for the +// `Value` type union. +// +// The JSON representation for `NullValue` is JSON `null`. +enum NullValue { + // Null value. + NULL_VALUE = 0; +} + +// `ListValue` is a wrapper around a repeated field of values. +// +// The JSON representation for `ListValue` is JSON array. +message ListValue { + // Repeated field of dynamically typed values. + repeated Value values = 1; +} \ No newline at end of file diff --git a/etc/vendor_protos/protoc-gen-openapiv2/options/annotations.proto b/etc/vendor_protos/protoc-gen-openapiv2/options/annotations.proto new file mode 100644 index 000000000..d925360a1 --- /dev/null +++ b/etc/vendor_protos/protoc-gen-openapiv2/options/annotations.proto @@ -0,0 +1,44 @@ +syntax = "proto3"; + +package grpc.gateway.protoc_gen_openapiv2.options; + +option go_package = "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"; + +import "google/protobuf/descriptor.proto"; +import "protoc-gen-openapiv2/options/openapiv2.proto"; + +extend google.protobuf.FileOptions { + // ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project. + // + // All IDs are the same, as assigned. It is okay that they are the same, as they extend + // different descriptor messages. + Swagger openapiv2_swagger = 1042; +} +extend google.protobuf.MethodOptions { + // ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project. + // + // All IDs are the same, as assigned. It is okay that they are the same, as they extend + // different descriptor messages. + Operation openapiv2_operation = 1042; +} +extend google.protobuf.MessageOptions { + // ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project. + // + // All IDs are the same, as assigned. It is okay that they are the same, as they extend + // different descriptor messages. + Schema openapiv2_schema = 1042; +} +extend google.protobuf.ServiceOptions { + // ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project. + // + // All IDs are the same, as assigned. It is okay that they are the same, as they extend + // different descriptor messages. + Tag openapiv2_tag = 1042; +} +extend google.protobuf.FieldOptions { + // ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project. + // + // All IDs are the same, as assigned. It is okay that they are the same, as they extend + // different descriptor messages. + JSONSchema openapiv2_field = 1042; +} \ No newline at end of file diff --git a/etc/vendor_protos/protoc-gen-openapiv2/options/openapiv2.proto b/etc/vendor_protos/protoc-gen-openapiv2/options/openapiv2.proto new file mode 100644 index 000000000..85ab6a534 --- /dev/null +++ b/etc/vendor_protos/protoc-gen-openapiv2/options/openapiv2.proto @@ -0,0 +1,645 @@ +syntax = "proto3"; + +package grpc.gateway.protoc_gen_openapiv2.options; + +option go_package = "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"; + +import "google/protobuf/struct.proto"; + +// Scheme describes the schemes supported by the OpenAPI Swagger +// and Operation objects. +enum Scheme { + UNKNOWN = 0; + HTTP = 1; + HTTPS = 2; + WS = 3; + WSS = 4; +} + +// `Swagger` is a representation of OpenAPI v2 specification's Swagger object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#swaggerObject +// +// Example: +// +// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { +// info: { +// title: "Echo API"; +// version: "1.0"; +// description: "; +// contact: { +// name: "gRPC-Gateway project"; +// url: "https://github.com/grpc-ecosystem/grpc-gateway"; +// email: "none@example.com"; +// }; +// license: { +// name: "BSD 3-Clause License"; +// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt"; +// }; +// }; +// schemes: HTTPS; +// consumes: "application/json"; +// produces: "application/json"; +// }; +// +message Swagger { + // Specifies the OpenAPI Specification version being used. It can be + // used by the OpenAPI UI and other clients to interpret the API listing. The + // value MUST be "2.0". + string swagger = 1; + // Provides metadata about the API. The metadata can be used by the + // clients if needed. + Info info = 2; + // The host (name or ip) serving the API. This MUST be the host only and does + // not include the scheme nor sub-paths. It MAY include a port. If the host is + // not included, the host serving the documentation is to be used (including + // the port). The host does not support path templating. + string host = 3; + // The base path on which the API is served, which is relative to the host. If + // it is not included, the API is served directly under the host. The value + // MUST start with a leading slash (/). The basePath does not support path + // templating. + // Note that using `base_path` does not change the endpoint paths that are + // generated in the resulting OpenAPI file. If you wish to use `base_path` + // with relatively generated OpenAPI paths, the `base_path` prefix must be + // manually removed from your `google.api.http` paths and your code changed to + // serve the API from the `base_path`. + string base_path = 4; + // The transfer protocol of the API. Values MUST be from the list: "http", + // "https", "ws", "wss". If the schemes is not included, the default scheme to + // be used is the one used to access the OpenAPI definition itself. + repeated Scheme schemes = 5; + // A list of MIME types the APIs can consume. This is global to all APIs but + // can be overridden on specific API calls. Value MUST be as described under + // Mime Types. + repeated string consumes = 6; + // A list of MIME types the APIs can produce. This is global to all APIs but + // can be overridden on specific API calls. Value MUST be as described under + // Mime Types. + repeated string produces = 7; + // field 8 is reserved for 'paths'. + reserved 8; + // field 9 is reserved for 'definitions', which at this time are already + // exposed as and customizable as proto messages. + reserved 9; + // An object to hold responses that can be used across operations. This + // property does not define global responses for all operations. + map responses = 10; + // Security scheme definitions that can be used across the specification. + SecurityDefinitions security_definitions = 11; + // A declaration of which security schemes are applied for the API as a whole. + // The list of values describes alternative security schemes that can be used + // (that is, there is a logical OR between the security requirements). + // Individual operations can override this definition. + repeated SecurityRequirement security = 12; + // field 13 is reserved for 'tags', which are supposed to be exposed as and + // customizable as proto services. TODO(ivucica): add processing of proto + // service objects into OpenAPI v2 Tag objects. + reserved 13; + // Additional external documentation. + ExternalDocumentation external_docs = 14; + map extensions = 15; +} + +// `Operation` is a representation of OpenAPI v2 specification's Operation object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject +// +// Example: +// +// service EchoService { +// rpc Echo(SimpleMessage) returns (SimpleMessage) { +// option (google.api.http) = { +// get: "/v1/example/echo/{id}" +// }; +// +// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { +// summary: "Get a message."; +// operation_id: "getMessage"; +// tags: "echo"; +// responses: { +// key: "200" +// value: { +// description: "OK"; +// } +// } +// }; +// } +// } +message Operation { + // A list of tags for API documentation control. Tags can be used for logical + // grouping of operations by resources or any other qualifier. + repeated string tags = 1; + // A short summary of what the operation does. For maximum readability in the + // swagger-ui, this field SHOULD be less than 120 characters. + string summary = 2; + // A verbose explanation of the operation behavior. GFM syntax can be used for + // rich text representation. + string description = 3; + // Additional external documentation for this operation. + ExternalDocumentation external_docs = 4; + // Unique string used to identify the operation. The id MUST be unique among + // all operations described in the API. Tools and libraries MAY use the + // operationId to uniquely identify an operation, therefore, it is recommended + // to follow common programming naming conventions. + string operation_id = 5; + // A list of MIME types the operation can consume. This overrides the consumes + // definition at the OpenAPI Object. An empty value MAY be used to clear the + // global definition. Value MUST be as described under Mime Types. + repeated string consumes = 6; + // A list of MIME types the operation can produce. This overrides the produces + // definition at the OpenAPI Object. An empty value MAY be used to clear the + // global definition. Value MUST be as described under Mime Types. + repeated string produces = 7; + // field 8 is reserved for 'parameters'. + reserved 8; + // The list of possible responses as they are returned from executing this + // operation. + map responses = 9; + // The transfer protocol for the operation. Values MUST be from the list: + // "http", "https", "ws", "wss". The value overrides the OpenAPI Object + // schemes definition. + repeated Scheme schemes = 10; + // Declares this operation to be deprecated. Usage of the declared operation + // should be refrained. Default value is false. + bool deprecated = 11; + // A declaration of which security schemes are applied for this operation. The + // list of values describes alternative security schemes that can be used + // (that is, there is a logical OR between the security requirements). This + // definition overrides any declared top-level security. To remove a top-level + // security declaration, an empty array can be used. + repeated SecurityRequirement security = 12; + map extensions = 13; +} + +// `Header` is a representation of OpenAPI v2 specification's Header object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#headerObject +// +message Header { + // `Description` is a short description of the header. + string description = 1; + // The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. + string type = 2; + // `Format` The extending format for the previously mentioned type. + string format = 3; + // field 4 is reserved for 'items', but in OpenAPI-specific way. + reserved 4; + // field 5 is reserved `Collection Format` Determines the format of the array if type array is used. + reserved 5; + // `Default` Declares the value of the header that the server will use if none is provided. + // See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2. + // Unlike JSON Schema this value MUST conform to the defined type for the header. + string default = 6; + // field 7 is reserved for 'maximum'. + reserved 7; + // field 8 is reserved for 'exclusiveMaximum'. + reserved 8; + // field 9 is reserved for 'minimum'. + reserved 9; + // field 10 is reserved for 'exclusiveMinimum'. + reserved 10; + // field 11 is reserved for 'maxLength'. + reserved 11; + // field 12 is reserved for 'minLength'. + reserved 12; + // 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3. + string pattern = 13; + // field 14 is reserved for 'maxItems'. + reserved 14; + // field 15 is reserved for 'minItems'. + reserved 15; + // field 16 is reserved for 'uniqueItems'. + reserved 16; + // field 17 is reserved for 'enum'. + reserved 17; + // field 18 is reserved for 'multipleOf'. + reserved 18; +} + +// `Response` is a representation of OpenAPI v2 specification's Response object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject +// +message Response { + // `Description` is a short description of the response. + // GFM syntax can be used for rich text representation. + string description = 1; + // `Schema` optionally defines the structure of the response. + // If `Schema` is not provided, it means there is no content to the response. + Schema schema = 2; + // `Headers` A list of headers that are sent with the response. + // `Header` name is expected to be a string in the canonical format of the MIME header key + // See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey + map headers = 3; + // `Examples` gives per-mimetype response examples. + // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object + map examples = 4; + map extensions = 5; +} + +// `Info` is a representation of OpenAPI v2 specification's Info object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject +// +// Example: +// +// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { +// info: { +// title: "Echo API"; +// version: "1.0"; +// description: "; +// contact: { +// name: "gRPC-Gateway project"; +// url: "https://github.com/grpc-ecosystem/grpc-gateway"; +// email: "none@example.com"; +// }; +// license: { +// name: "BSD 3-Clause License"; +// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt"; +// }; +// }; +// ... +// }; +// +message Info { + // The title of the application. + string title = 1; + // A short description of the application. GFM syntax can be used for rich + // text representation. + string description = 2; + // The Terms of Service for the API. + string terms_of_service = 3; + // The contact information for the exposed API. + Contact contact = 4; + // The license information for the exposed API. + License license = 5; + // Provides the version of the application API (not to be confused + // with the specification version). + string version = 6; + map extensions = 7; +} + +// `Contact` is a representation of OpenAPI v2 specification's Contact object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#contactObject +// +// Example: +// +// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { +// info: { +// ... +// contact: { +// name: "gRPC-Gateway project"; +// url: "https://github.com/grpc-ecosystem/grpc-gateway"; +// email: "none@example.com"; +// }; +// ... +// }; +// ... +// }; +// +message Contact { + // The identifying name of the contact person/organization. + string name = 1; + // The URL pointing to the contact information. MUST be in the format of a + // URL. + string url = 2; + // The email address of the contact person/organization. MUST be in the format + // of an email address. + string email = 3; +} + +// `License` is a representation of OpenAPI v2 specification's License object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject +// +// Example: +// +// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { +// info: { +// ... +// license: { +// name: "BSD 3-Clause License"; +// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt"; +// }; +// ... +// }; +// ... +// }; +// +message License { + // The license name used for the API. + string name = 1; + // A URL to the license used for the API. MUST be in the format of a URL. + string url = 2; +} + +// `ExternalDocumentation` is a representation of OpenAPI v2 specification's +// ExternalDocumentation object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#externalDocumentationObject +// +// Example: +// +// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { +// ... +// external_docs: { +// description: "More about gRPC-Gateway"; +// url: "https://github.com/grpc-ecosystem/grpc-gateway"; +// } +// ... +// }; +// +message ExternalDocumentation { + // A short description of the target documentation. GFM syntax can be used for + // rich text representation. + string description = 1; + // The URL for the target documentation. Value MUST be in the format + // of a URL. + string url = 2; +} + +// `Schema` is a representation of OpenAPI v2 specification's Schema object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject +// +message Schema { + JSONSchema json_schema = 1; + // Adds support for polymorphism. The discriminator is the schema property + // name that is used to differentiate between other schema that inherit this + // schema. The property name used MUST be defined at this schema and it MUST + // be in the required property list. When used, the value MUST be the name of + // this schema or any schema that inherits it. + string discriminator = 2; + // Relevant only for Schema "properties" definitions. Declares the property as + // "read only". This means that it MAY be sent as part of a response but MUST + // NOT be sent as part of the request. Properties marked as readOnly being + // true SHOULD NOT be in the required list of the defined schema. Default + // value is false. + bool read_only = 3; + // field 4 is reserved for 'xml'. + reserved 4; + // Additional external documentation for this schema. + ExternalDocumentation external_docs = 5; + // A free-form property to include an example of an instance for this schema in JSON. + // This is copied verbatim to the output. + string example = 6; +} + +// `JSONSchema` represents properties from JSON Schema taken, and as used, in +// the OpenAPI v2 spec. +// +// This includes changes made by OpenAPI v2. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject +// +// See also: https://cswr.github.io/JsonSchema/spec/basic_types/, +// https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json +// +// Example: +// +// message SimpleMessage { +// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { +// json_schema: { +// title: "SimpleMessage" +// description: "A simple message." +// required: ["id"] +// } +// }; +// +// // Id represents the message identifier. +// string id = 1; [ +// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { +// {description: "The unique identifier of the simple message." +// }]; +// } +// +message JSONSchema { + // field 1 is reserved for '$id', omitted from OpenAPI v2. + reserved 1; + // field 2 is reserved for '$schema', omitted from OpenAPI v2. + reserved 2; + // Ref is used to define an external reference to include in the message. + // This could be a fully qualified proto message reference, and that type must + // be imported into the protofile. If no message is identified, the Ref will + // be used verbatim in the output. + // For example: + // `ref: ".google.protobuf.Timestamp"`. + string ref = 3; + // field 4 is reserved for '$comment', omitted from OpenAPI v2. + reserved 4; + // The title of the schema. + string title = 5; + // A short description of the schema. + string description = 6; + string default = 7; + bool read_only = 8; + // A free-form property to include a JSON example of this field. This is copied + // verbatim to the output swagger.json. Quotes must be escaped. + // This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject + string example = 9; + double multiple_of = 10; + // Maximum represents an inclusive upper limit for a numeric instance. The + // value of MUST be a number, + double maximum = 11; + bool exclusive_maximum = 12; + // minimum represents an inclusive lower limit for a numeric instance. The + // value of MUST be a number, + double minimum = 13; + bool exclusive_minimum = 14; + uint64 max_length = 15; + uint64 min_length = 16; + string pattern = 17; + // field 18 is reserved for 'additionalItems', omitted from OpenAPI v2. + reserved 18; + // field 19 is reserved for 'items', but in OpenAPI-specific way. + // TODO(ivucica): add 'items'? + reserved 19; + uint64 max_items = 20; + uint64 min_items = 21; + bool unique_items = 22; + // field 23 is reserved for 'contains', omitted from OpenAPI v2. + reserved 23; + uint64 max_properties = 24; + uint64 min_properties = 25; + repeated string required = 26; + // field 27 is reserved for 'additionalProperties', but in OpenAPI-specific + // way. TODO(ivucica): add 'additionalProperties'? + reserved 27; + // field 28 is reserved for 'definitions', omitted from OpenAPI v2. + reserved 28; + // field 29 is reserved for 'properties', but in OpenAPI-specific way. + // TODO(ivucica): add 'additionalProperties'? + reserved 29; + // following fields are reserved, as the properties have been omitted from + // OpenAPI v2: + // patternProperties, dependencies, propertyNames, const + reserved 30 to 33; + // Items in 'array' must be unique. + repeated string array = 34; + + enum JSONSchemaSimpleTypes { + UNKNOWN = 0; + ARRAY = 1; + BOOLEAN = 2; + INTEGER = 3; + NULL = 4; + NUMBER = 5; + OBJECT = 6; + STRING = 7; + } + + repeated JSONSchemaSimpleTypes type = 35; + // `Format` + string format = 36; + // following fields are reserved, as the properties have been omitted from + // OpenAPI v2: contentMediaType, contentEncoding, if, then, else + reserved 37 to 41; + // field 42 is reserved for 'allOf', but in OpenAPI-specific way. + // TODO(ivucica): add 'allOf'? + reserved 42; + // following fields are reserved, as the properties have been omitted from + // OpenAPI v2: + // anyOf, oneOf, not + reserved 43 to 45; + // Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1 + repeated string enum = 46; +} + +// `Tag` is a representation of OpenAPI v2 specification's Tag object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject +// +message Tag { + // field 1 is reserved for 'name'. In our generator, this is (to be) extracted + // from the name of proto service, and thus not exposed to the user, as + // changing tag object's name would break the link to the references to the + // tag in individual operation specifications. + // + // TODO(ivucica): Add 'name' property. Use it to allow override of the name of + // global Tag object, then use that name to reference the tag throughout the + // OpenAPI file. + reserved 1; + // A short description for the tag. GFM syntax can be used for rich text + // representation. + string description = 2; + // Additional external documentation for this tag. + ExternalDocumentation external_docs = 3; +} + +// `SecurityDefinitions` is a representation of OpenAPI v2 specification's +// Security Definitions object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityDefinitionsObject +// +// A declaration of the security schemes available to be used in the +// specification. This does not enforce the security schemes on the operations +// and only serves to provide the relevant details for each scheme. +message SecurityDefinitions { + // A single security scheme definition, mapping a "name" to the scheme it + // defines. + map security = 1; +} + +// `SecurityScheme` is a representation of OpenAPI v2 specification's +// Security Scheme object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject +// +// Allows the definition of a security scheme that can be used by the +// operations. Supported schemes are basic authentication, an API key (either as +// a header or as a query parameter) and OAuth2's common flows (implicit, +// password, application and access code). +message SecurityScheme { + // The type of the security scheme. Valid values are "basic", + // "apiKey" or "oauth2". + enum Type { + TYPE_INVALID = 0; + TYPE_BASIC = 1; + TYPE_API_KEY = 2; + TYPE_OAUTH2 = 3; + } + + // The location of the API key. Valid values are "query" or "header". + enum In { + IN_INVALID = 0; + IN_QUERY = 1; + IN_HEADER = 2; + } + + // The flow used by the OAuth2 security scheme. Valid values are + // "implicit", "password", "application" or "accessCode". + enum Flow { + FLOW_INVALID = 0; + FLOW_IMPLICIT = 1; + FLOW_PASSWORD = 2; + FLOW_APPLICATION = 3; + FLOW_ACCESS_CODE = 4; + } + + // The type of the security scheme. Valid values are "basic", + // "apiKey" or "oauth2". + Type type = 1; + // A short description for security scheme. + string description = 2; + // The name of the header or query parameter to be used. + // Valid for apiKey. + string name = 3; + // The location of the API key. Valid values are "query" or + // "header". + // Valid for apiKey. + In in = 4; + // The flow used by the OAuth2 security scheme. Valid values are + // "implicit", "password", "application" or "accessCode". + // Valid for oauth2. + Flow flow = 5; + // The authorization URL to be used for this flow. This SHOULD be in + // the form of a URL. + // Valid for oauth2/implicit and oauth2/accessCode. + string authorization_url = 6; + // The token URL to be used for this flow. This SHOULD be in the + // form of a URL. + // Valid for oauth2/password, oauth2/application and oauth2/accessCode. + string token_url = 7; + // The available scopes for the OAuth2 security scheme. + // Valid for oauth2. + Scopes scopes = 8; + map extensions = 9; +} + +// `SecurityRequirement` is a representation of OpenAPI v2 specification's +// Security Requirement object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityRequirementObject +// +// Lists the required security schemes to execute this operation. The object can +// have multiple security schemes declared in it which are all required (that +// is, there is a logical AND between the schemes). +// +// The name used for each property MUST correspond to a security scheme +// declared in the Security Definitions. +message SecurityRequirement { + // If the security scheme is of type "oauth2", then the value is a list of + // scope names required for the execution. For other security scheme types, + // the array MUST be empty. + message SecurityRequirementValue { + repeated string scope = 1; + } + // Each name must correspond to a security scheme which is declared in + // the Security Definitions. If the security scheme is of type "oauth2", + // then the value is a list of scope names required for the execution. + // For other security scheme types, the array MUST be empty. + map security_requirement = 1; +} + +// `Scopes` is a representation of OpenAPI v2 specification's Scopes object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#scopesObject +// +// Lists the available scopes for an OAuth2 security scheme. +message Scopes { + // Maps between a name of a scope to a short description of it (as the value + // of the property). + map scope = 1; +} \ No newline at end of file diff --git a/examples/dialog/.gitignore b/examples/dialog/.gitignore deleted file mode 100644 index f90143915..000000000 --- a/examples/dialog/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -google_credentials.json \ No newline at end of file diff --git a/examples/dialog/README.md b/examples/dialog/README.md deleted file mode 100644 index aaa751291..000000000 --- a/examples/dialog/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# Reminders - Programmable Voice Application -**This example is outdated from the new Fonos Voice API.** - -This example shows the use of the third-party dependencies with Fonos Programmable Voice features to build an application for reminders. It uses Google Text-to-Speech for the synthesis, Google Speech-to-Text for speech transcription, and DialogFlow as the operation's brain. - -## Prerequisites - -- Fonos CTL -- Google APIs credentials -- Access to a Fonos deployment -- A softphone configured to register to Fonos - -## Overview - -Before we continue, let's listen to a recording featuring this example. It's simple, but with some adjustments, this AI-power Programmable Application could be the base for your next voice application. - -Demo Picture at Sound Cloud - -## Installing on Fonos - -Before you can run this example, you must have a valid set of credentials from [Google Cloud](https://console.developers.google.com/apis/credentials). At a minimum, you must enable the following Google APIs: Text-to-Speech, Speech-to-Text, and DialogFlow. Save the file as `google_credentials.json` at the root of this example. - -Next, you need your `fonos` Command-Line properly configure against your Fonos deployment. Then, from the example's directory run the `fonos apps:deploy` command. - -## Changing the Text-to-Speech Engine - -Google TTS - -As mentioned before, we are using Google Text-to-Speech for the synthesis. For the integration, Fonos uses the module `@fonos/googletts.` This module overrides the default TTS engine, `@fonos/marytts.` To replace the engine simply: - -``` -chan.overrideTTS(new GoogleTTS()) -``` - -Fonos will utilize this new TTS for subsequent calls to the `Say` verb. Keep in mind that you can pass a second parameter to the verb to change the default voice and other settings. Fonos will pass the settings to the TTS engine. - -## DialogFlow Intents - -For this example, we are using the pre-built agent `Reminders` available on DialogFlow. We also added the intent `session.close.` The training phrases for the intent are: - -DialogFlow Intents - -Also, we added two responses for this intent: Great. Please call again if you need any help, and Ok! goodbye. - -## Improvements - -**Reduce the response time of the Text-to-Speech** - -There are two possible ways to improve in this area. The first is using a Text-to-Speech colocated on the same network with Fonos. The other way is to begin to stream the synthesize audio instead of downloading the file to play the sound then. - -**Reduce the response time of the Speech-to-Text** - -Just as before, having the service in the same network could help speed things up. - - diff --git a/examples/dialog/assets/dialogflow-intents.png b/examples/dialog/assets/dialogflow-intents.png deleted file mode 100644 index 0eea68b04..000000000 Binary files a/examples/dialog/assets/dialogflow-intents.png and /dev/null differ diff --git a/examples/dialog/assets/dialogflow-reminders.png b/examples/dialog/assets/dialogflow-reminders.png deleted file mode 100644 index cc31c8434..000000000 Binary files a/examples/dialog/assets/dialogflow-reminders.png and /dev/null differ diff --git a/examples/dialog/assets/googletts.png b/examples/dialog/assets/googletts.png deleted file mode 100644 index c2342af1d..000000000 Binary files a/examples/dialog/assets/googletts.png and /dev/null differ diff --git a/examples/dialog/assets/prototype-recording.png b/examples/dialog/assets/prototype-recording.png deleted file mode 100644 index 6306e97f3..000000000 Binary files a/examples/dialog/assets/prototype-recording.png and /dev/null differ diff --git a/examples/dialog/fonos.json b/examples/dialog/fonos.json deleted file mode 100644 index b6c6bb535..000000000 --- a/examples/dialog/fonos.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "locale": "en_US" -} diff --git a/examples/dialog/package.json b/examples/dialog/package.json deleted file mode 100644 index 7fc6d4cd2..000000000 --- a/examples/dialog/package.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "dialog", - "description": "Example featuring Google's ASR, TTS and DialogFlow", - "version": "1.0.0", - "main": "src/index.js", - "author": "Pedro Sanders", - "license": "MIT", - "private": true, - "dependencies": { - "@fonos/googleasr": "0.0.50", - "@fonos/googletts": "0.0.50", - "@google-cloud/dialogflow": "^3.2.0" - } -} diff --git a/examples/dialog/src/config.js b/examples/dialog/src/config.js deleted file mode 100644 index 9c671288b..000000000 --- a/examples/dialog/src/config.js +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos - * - * This file is part of Project Fonos - * - * Licensed under the MIT License (the "License"); - * you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * https://opensource.org/licenses/MIT - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const GoogleTTS = require("@fonos/googletts").default; -const GoogleASR = require("@fonos/googleasr").default; -const Talk = require("./talk"); -const {join} = require("path"); -const PROJECT_ID = "clever-tube-275321"; - -// You need to have a set of Google credentials for this to work -function getCredentials() { - return { - PROJECT_ID, - keyFilename: join(__dirname, "../google_credentials.json") - }; -} - -function listen(chan, asr) { - const result = chan.record({silenceSeconds: 1, beep: false}); - return asr.transcribeSync(result.recordingUri); -} - -module.exports = { - talk: new Talk(PROJECT_ID, getCredentials()), - listen, - asr: new GoogleASR(getCredentials()), - tts: new GoogleTTS(getCredentials()) -}; diff --git a/examples/dialog/src/index.js b/examples/dialog/src/index.js deleted file mode 100644 index 0f136c7f8..000000000 --- a/examples/dialog/src/index.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos - * - * This file is part of Project Fonos - * - * Licensed under the MIT License (the "License"); - * you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * https://opensource.org/licenses/MIT - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const {listen, talk, tts, asr} = require("./config"); - -module.exports = (chan) => { - // Setting up Google TTS - chan.overrideTTS(tts); - chan.say("Hi! What reminder do you want to schedule?"); - - let noSpeechCount = 0; - // We keep a loop until we see the 'session.close' intent - while (true) { - try { - const text = listen(chan, asr); - - // If the speaker takes too long we ask them to say again - // after we ask several time we should to hangup - if (text === "") { - noSpeechCount++; - if (noSpeechCount === 3) throw "No speech detected"; - continue; - } - - const result = talk.findIntent.sync(talk, text); - chan.say(result.fulfillmentText); - - // Add here your action handler - - if (result.action === "session.close") break; - - if ( - result.action.startsWith("reminders.") && - result.allRequiredParamsPresent - ) { - chan.say("Anything else I can help with?"); - } - } catch (e) { - // Lets try again! - noSpeechCount = 0; - // There was no input - chan.say("Sorry, I didn't quite get that. Can you say again?"); - } - } -}; diff --git a/examples/dialog/src/talk.js b/examples/dialog/src/talk.js deleted file mode 100644 index c6dc2bea2..000000000 --- a/examples/dialog/src/talk.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos - * - * This file is part of Project Fonos - * - * Licensed under the MIT License (the "License"); - * you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * https://opensource.org/licenses/MIT - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const dialogflow = require("@google-cloud/dialogflow"); -const uuid = require("uuid"); - -class Talk { - constructor(projectId, credentials) { - const sessionId = uuid.v4(); - // Create a new session - this.sessionClient = new dialogflow.SessionsClient(credentials); - this.sessionPath = this.sessionClient.projectAgentSessionPath( - projectId, - sessionId - ); - } - - findIntent(txt, callback) { - const request = { - session: this.sessionPath, - queryInput: { - text: { - text: txt, - languageCode: "en-US" - } - } - }; - process.nextTick(() => { - this.sessionClient - .detectIntent(request) - .then((responses) => { - callback(null, responses[0].queryResult); - }) - .catch((e) => callback(e)); - }); - } -} - -module.exports = Talk; diff --git a/examples/hello-monkeys/package-lock.json b/examples/hello-monkeys/package-lock.json deleted file mode 100644 index 74c84b0de..000000000 --- a/examples/hello-monkeys/package-lock.json +++ /dev/null @@ -1,5413 +0,0 @@ -{ - "name": "hello-monkeys", - "version": "1.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@fonos/voice": "^0.1.9-alpha.0" - } - }, - "node_modules/@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", - "dependencies": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "node_modules/@fonos/certs": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.9-alpha.0.tgz", - "integrity": "sha512-7V3aDqZD3cZI2FMPxPX5KRAB8CnljtJFaATX/ECcztq1yyUjhbN39z0TXGc32cxasgbdOeyCN1/qY39i+LVfNw==", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "node_modules/@fonos/common": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.9-alpha.0.tgz", - "integrity": "sha512-zzi5rFhv8Ppgr3Mq1qse9S0RfzgoFkD8w/otWu+bVhV5STQeBmJ3FPcj4VbpSNyicLAJz8krk2Et/sdxICaOAg==", - "dependencies": { - "@fonos/certs": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@pionerlabs/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2", - "grpc": "^1.24.7", - "grpc-ts-health-check": "^2.0.6" - } - }, - "node_modules/@fonos/events": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/events/-/events-0.1.9-alpha.0.tgz", - "integrity": "sha512-kVHW0z8dEaUgYtLXVxf7m8+S3861LYBcD4FEU3trMWcpMb5cizEaJWwSxny9M8bLPXOTVdbOcI0h0p2hmFB1IQ==", - "dependencies": { - "@fonos/logger": "^0.1.9-alpha.0", - "amqp-connection-manager": "^3.2.2", - "amqplib": "^0.8.0" - } - }, - "node_modules/@fonos/googleasr": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/googleasr/-/googleasr-0.1.9-alpha.0.tgz", - "integrity": "sha512-BEaWo0QkXT6nv807utvcClcy7z2EAa6iv8zktFs1HGFHP5XgqraG0EHH6xeM8Wzic+5ta+m7/L+iSfylE2yh/w==", - "dependencies": { - "@fonos/common": "^0.1.9-alpha.0", - "@google-cloud/speech": "^4.0.0", - "axios": "^0.21.1", - "node-record-lpcm16": "^1.0.1", - "objectid": "^3.2.1", - "sync": "^0.2.5" - } - }, - "node_modules/@fonos/logger": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.9-alpha.0.tgz", - "integrity": "sha512-8VDWiW+7iOas6sbmqU1OgQqLHoRd5u1O+HAf2/ifKlGmQj1R6U8bimU9Hi0OqmiWuYwipQevqp75VzbKbYvpqA==", - "dependencies": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - } - }, - "node_modules/@fonos/tts": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/tts/-/tts-0.1.9-alpha.0.tgz", - "integrity": "sha512-DSoeQ3BoZVMcC0sTcWZB5NtVoURMkM/v7xiSxUMA6SKzHNuv1CrcrX3nBD1Hn8dAAIS2DXhtXYeXvmlUogVZzQ==", - "dependencies": { - "flat": "^5.0.2", - "sox-audio": "^0.3.0" - } - }, - "node_modules/@fonos/voice": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/voice/-/voice-0.1.9-alpha.0.tgz", - "integrity": "sha512-3MFNZfXptoSpScvKFRivG6PGF5WzI2Krx5+B0WrmNgF/ClZn8oWUF/qwDJE8ugbn8N8yEzCssSLriJB6ZJ0vSA==", - "dependencies": { - "@fonos/common": "^0.1.9-alpha.0", - "@fonos/events": "^0.1.9-alpha.0", - "@fonos/googleasr": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@fonos/tts": "^0.1.9-alpha.0", - "axios": "^0.21.1", - "deepmerge": "^4.2.2", - "express": "^4.17.1", - "express-ws": "^4.0.0", - "objectid": "^3.2.1", - "pubsub-js": "^1.9.3", - "sync": "^0.2.5" - } - }, - "node_modules/@google-cloud/common": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.7.0.tgz", - "integrity": "sha512-oFgpKLjH9JTOAyQd3kB36iSuH8wNSpDKb1TywlB6zcsG0xmJFxLutmfPhz03KUxRMNQOZ1K1Gc9BYvJifVnGVA==", - "dependencies": { - "@google-cloud/projectify": "^2.0.0", - "@google-cloud/promisify": "^2.0.0", - "arrify": "^2.0.1", - "duplexify": "^4.1.1", - "ent": "^2.2.0", - "extend": "^3.0.2", - "google-auth-library": "^7.0.2", - "retry-request": "^4.2.2", - "teeny-request": "^7.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/projectify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.0.tgz", - "integrity": "sha512-qbpidP/fOvQNz3nyabaVnZqcED1NNzf7qfeOlgtAZd9knTwY+KtsGRkYpiQzcATABy4gnGP2lousM3S0nuWVzA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/promisify": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz", - "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/speech": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.5.5.tgz", - "integrity": "sha512-YU2sYZxoKSiDUcNST7RAeObizL4ur4bP9OfIn4J6kxpgpjQgURliIwR+hJ/VpVSq/3UoYhBciuGfO2NinFnOcA==", - "dependencies": { - "@google-cloud/common": "^3.0.0", - "@types/pumpify": "^1.4.1", - "google-gax": "^2.17.1", - "protobufjs": "^6.8.6", - "pumpify": "^2.0.0", - "stream-events": "^1.0.4", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@grpc/grpc-js": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.6.tgz", - "integrity": "sha512-v7+LQFbqZKmd/Tvf5/j1Xlbq6jXL/4d+gUtm2TNX4QiEC3ELWADmGr2dGlUyLl6aKTuYfsN72vAsO5zmavYkEg==", - "dependencies": { - "@types/node": ">=12.12.47" - }, - "engines": { - "node": "^8.13.0 || >=10.10.0" - } - }, - "node_modules/@grpc/proto-loader": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.4.tgz", - "integrity": "sha512-7xvDvW/vJEcmLUltCUGOgWRPM8Oofv0eCFSVMuKqaqWJaXSzmB+m9hiyqe34QofAl4WAzIKUZZlinIF9FOHyTQ==", - "dependencies": { - "@types/long": "^4.0.1", - "lodash.camelcase": "^4.3.0", - "long": "^4.0.0", - "protobufjs": "^6.10.0", - "yargs": "^16.1.1" - }, - "bin": { - "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@mapbox/node-pre-gyp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.5.tgz", - "integrity": "sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==", - "dependencies": { - "detect-libc": "^1.0.3", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.1", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "rimraf": "^3.0.2", - "semver": "^7.3.4", - "tar": "^6.1.0" - }, - "bin": { - "node-pre-gyp": "bin/node-pre-gyp" - } - }, - "node_modules/@pionerlabs/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@pionerlabs/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-x1wQdwJ7U3MrCqUpGsP/a4eOfPi/XhC8jEVLEIayonKW3PPhzIHN87epCULzt1zR7lQp59oeFofN84lfuBAtnA==", - "dependencies": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - }, - "peerDependencies": { - "grpc": "^1.17.0" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@types/bytebuffer": { - "version": "5.0.42", - "resolved": "https://registry.npmjs.org/@types/bytebuffer/-/bytebuffer-5.0.42.tgz", - "integrity": "sha512-lEgKojWUAc/MG2t649oZS5AfYFP2xRNPoDuwDBlBMjHXd8MaGPgFgtCXUK7inZdBOygmVf10qxc1Us8GXC96aw==", - "dependencies": { - "@types/long": "*", - "@types/node": "*" - } - }, - "node_modules/@types/duplexify": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz", - "integrity": "sha512-5zOA53RUlzN74bvrSGwjudssD9F3a797sDZQkiYpUOxW+WHaXTCPz4/d5Dgi6FKnOqZ2CpaTo0DhgIfsXAOE/A==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/jsonwebtoken": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", - "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "node_modules/@types/node": { - "version": "16.4.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.3.tgz", - "integrity": "sha512-GKM4FLMkWDc0sfx7tXqPWkM6NBow1kge0fgQh0bOnlqo4iT1kvTvMEKE0c1RtUGnbLlGRXiAA8SumE//90uKAg==" - }, - "node_modules/@types/pumpify": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", - "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", - "dependencies": { - "@types/duplexify": "*", - "@types/node": "*" - } - }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "dependencies": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/amqp-connection-manager": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/amqp-connection-manager/-/amqp-connection-manager-3.2.2.tgz", - "integrity": "sha512-o+6Kb4p+xFYwU8MuFxnrPQzhefCE2dcCd8dnevWLTRgQCtOTVC9AQ434hQyjB+Bpq6Vl9cDMWTOZT11ajB6ZSg==", - "dependencies": { - "promise-breaker": "^5.0.0" - }, - "engines": { - "node": ">=6.0.0", - "npm": ">5.0.0" - }, - "peerDependencies": { - "amqplib": "*" - } - }, - "node_modules/amqplib": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.8.0.tgz", - "integrity": "sha512-icU+a4kkq4Y1PS4NNi+YPDMwdlbFcZ1EZTQT2nigW3fvOb6AOgUQ9+Mk4ue0Zu5cBg/XpDzB40oH10ysrk2dmA==", - "dependencies": { - "bitsyntax": "~0.1.0", - "bluebird": "^3.7.2", - "buffer-more-ints": "~1.0.0", - "readable-stream": "1.x >=1.1.9", - "safe-buffer": "~5.2.1", - "url-parse": "~1.5.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ansi-styles/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/ansi-styles/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" - }, - "node_modules/are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, - "node_modules/are-we-there-yet/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/are-we-there-yet/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/are-we-there-yet/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ascli": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ascli/-/ascli-1.0.1.tgz", - "integrity": "sha1-vPpZdKYvGOgcq660lzKrSoj5Brw=", - "dependencies": { - "colour": "~0.7.1", - "optjs": "~3.2.2" - } - }, - "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "engines": { - "node": "*" - } - }, - "node_modules/async": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", - "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "dependencies": { - "follow-redirects": "^1.10.0" - } - }, - "node_modules/backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==", - "engines": { - "node": "*" - } - }, - "node_modules/bitsyntax": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz", - "integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==", - "dependencies": { - "buffer-more-ints": "~1.0.0", - "debug": "~2.6.9", - "safe-buffer": "~5.1.2" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/bitsyntax/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/bitsyntax/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/bitsyntax/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/body-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", - "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", - "hasInstallScript": true, - "engines": { - "node": ">=0.6.19" - } - }, - "node_modules/btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", - "bin": { - "btoa": "bin/btoa.js" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "node_modules/buffer-more-ints": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz", - "integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg==" - }, - "node_modules/bytebuffer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/bytebuffer/-/bytebuffer-5.0.1.tgz", - "integrity": "sha1-WC7qSxqHO20CCkjVjfhfC7ps/d0=", - "dependencies": { - "long": "~3" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/bytebuffer/node_modules/long": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz", - "integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", - "engines": { - "node": "*" - } - }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "engines": { - "node": ">=10" - } - }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "dependencies": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", - "dependencies": { - "color": "3.0.x", - "text-hex": "1.0.x" - } - }, - "node_modules/colour": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/colour/-/colour-0.7.1.tgz", - "integrity": "sha1-nLFpkX7F0SwHNtPoaFdG3xyt93g=", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" - }, - "node_modules/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "dependencies": { - "safe-buffer": "5.1.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-disposition/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "dependencies": { - "type-detect": "^4.0.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/duplexify": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", - "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", - "dependencies": { - "end-of-stream": "^1.4.1", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1", - "stream-shift": "^1.0.0" - } - }, - "node_modules/duplexify/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/duplexify/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/event-lite": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", - "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "dependencies": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/express-ws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", - "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", - "dependencies": { - "ws": "^5.2.0" - }, - "engines": { - "node": ">=4.5.0" - }, - "peerDependencies": { - "express": "^4.0.0 || ^5.0.0-alpha.1" - } - }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/express/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "node_modules/fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, - "node_modules/fast-text-encoding": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", - "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" - }, - "node_modules/fecha": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", - "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" - }, - "node_modules/fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "hasInstallScript": true, - "dependencies": { - "detect-libc": "^1.0.3" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "bin": { - "flat": "cli.js" - } - }, - "node_modules/fluent-logger": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", - "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", - "dependencies": { - "msgpack-lite": "*" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, - "node_modules/follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "node_modules/gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", - "dependencies": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - } - }, - "node_modules/gaxios": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.0.tgz", - "integrity": "sha512-pHplNbslpwCLMyII/lHPWFQbJWOX0B3R1hwBEOvzYi1GmdKZruuEHK4N9V6f7tf1EaPYyF80mui1+344p6SmLg==", - "dependencies": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.3.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gcp-metadata": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.0.tgz", - "integrity": "sha512-L9XQUpvKJCM76YRSmcxrR4mFPzPGsgZUH+GgHMxAET8qc6+BhRJq63RLhWakgEO2KKVgeSDVfyiNjkGSADwNTA==", - "dependencies": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", - "engines": { - "node": "*" - } - }, - "node_modules/glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/google-auth-library": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.3.0.tgz", - "integrity": "sha512-MPeeMlnsYnoiiVFMwX3hgaS684aiXrSqKoDP+xL4Ejg4Z0qLvIeg4XsaChemyFI8ZUO7ApwDAzNtgmhWSDNh5w==", - "dependencies": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/google-gax": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.19.0.tgz", - "integrity": "sha512-2a6WY+p6YMVMmwXmkRqiLreXx67xHDZhkmflcL8aDUkl1csx9ywxEI01veoDXy6T1l0JJD6zLbl5TIbWimmXrw==", - "dependencies": { - "@grpc/grpc-js": "~1.3.0", - "@grpc/proto-loader": "^0.6.1", - "@types/long": "^4.0.0", - "abort-controller": "^3.0.0", - "duplexify": "^4.0.0", - "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.3.0", - "is-stream-ended": "^0.1.4", - "node-fetch": "^2.6.1", - "object-hash": "^2.1.1", - "protobufjs": "^6.10.2", - "retry-request": "^4.0.0" - }, - "bin": { - "compileProtos": "build/tools/compileProtos.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/google-p12-pem": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.1.tgz", - "integrity": "sha512-e9CwdD2QYkpvJsktki3Bm8P8FSGIneF+/42a9F9QHcQvJ73C2RoYZdrwRl6BhwksWtzl65gT4OnBROhUIFw95Q==", - "dependencies": { - "node-forge": "^0.10.0" - }, - "bin": { - "gp12-pem": "build/src/bin/gp12-pem.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" - }, - "node_modules/grpc": { - "version": "1.24.11", - "resolved": "https://registry.npmjs.org/grpc/-/grpc-1.24.11.tgz", - "integrity": "sha512-8/AQdFCzCeCDWW3SoaMNp6ccbRvTQEH1O1u1uFtt29eWsg5gSZCJ3m6fbkduEIh3smY7WAPP+LgVJ5n3nZRxcA==", - "deprecated": "This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.", - "hasInstallScript": true, - "dependencies": { - "@mapbox/node-pre-gyp": "^1.0.4", - "@types/bytebuffer": "^5.0.40", - "lodash.camelcase": "^4.3.0", - "lodash.clone": "^4.5.0", - "nan": "^2.13.2", - "protobufjs": "^5.0.3" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/grpc-boom": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.28.tgz", - "integrity": "sha512-hX9x67axsZtDRpzspAxD+UEQK9efx2Qo3j90pWQxxY89Pox/P+KI29offfxtIGJA48pUMfx9qc2QwkdBZzM4pg==" - }, - "node_modules/grpc-ts-health-check": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", - "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", - "dependencies": { - "google-protobuf": "^3.12.2", - "grpc-boom": "^1.0.28" - } - }, - "node_modules/grpc/node_modules/cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "dependencies": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" - } - }, - "node_modules/grpc/node_modules/protobufjs": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz", - "integrity": "sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==", - "dependencies": { - "ascli": "~1", - "bytebuffer": "~5", - "glob": "^7.0.5", - "yargs": "^3.10.0" - }, - "bin": { - "pbjs": "bin/pbjs" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/grpc/node_modules/wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "dependencies": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/grpc/node_modules/y18n": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", - "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==" - }, - "node_modules/grpc/node_modules/yargs": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", - "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=", - "dependencies": { - "camelcase": "^2.0.1", - "cliui": "^3.0.3", - "decamelize": "^1.1.1", - "os-locale": "^1.4.0", - "string-width": "^1.0.1", - "window-size": "^0.1.4", - "y18n": "^3.2.0" - } - }, - "node_modules/gtoken": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.0.tgz", - "integrity": "sha512-mCcISYiaRZrJpfqOs0QWa6lfEM/C1V9ASkzFmuz43XBb5s1Vynh+CZy1ECeeJXVGx2PRByjYzb4Y4/zr1byr0w==", - "dependencies": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.0.3", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" - }, - "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/http-errors/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, - "node_modules/invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "node_modules/is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dependencies": { - "number-is-nan": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "node_modules/is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-stream-ended": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", - "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/json-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", - "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", - "dependencies": { - "bignumber.js": "^9.0.0" - } - }, - "node_modules/jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "dependencies": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=4", - "npm": ">=1.4.28" - } - }, - "node_modules/jsonwebtoken/node_modules/jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jsonwebtoken/node_modules/jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "dependencies": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", - "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "dependencies": { - "jwa": "^2.0.0", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "node_modules/lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "dependencies": { - "invert-kv": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, - "node_modules/lodash.clone": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", - "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=" - }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "node_modules/logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", - "dependencies": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "triple-beam": "^1.3.0" - } - }, - "node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", - "dependencies": { - "mime-db": "1.48.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", - "dependencies": { - "event-lite": "^0.1.1", - "ieee754": "^1.1.8", - "int64-buffer": "^0.1.9", - "isarray": "^1.0.0" - }, - "bin": { - "msgpack": "bin/msgpack" - } - }, - "node_modules/nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" - }, - "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", - "bin": { - "network-address": "cli.js" - } - }, - "node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/node-record-lpcm16": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", - "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", - "dependencies": { - "debug": "^2.6.8" - } - }, - "node_modules/node-record-lpcm16/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/node-record-lpcm16/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "dependencies": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "node_modules/number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "dependencies": { - "bson": "^0.1.9" - } - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "dependencies": { - "fn.name": "1.x.x" - } - }, - "node_modules/optjs": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/optjs/-/optjs-3.2.2.tgz", - "integrity": "sha1-aabOicRCpEQDFBrS+bNwvVu29O4=" - }, - "node_modules/os-locale": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", - "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", - "dependencies": { - "lcid": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "engines": { - "node": "*" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "node_modules/promise-breaker": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/promise-breaker/-/promise-breaker-5.0.0.tgz", - "integrity": "sha512-mgsWQuG4kJ1dtO6e/QlNDLFtMkMzzecsC69aI5hlLEjGHFNpHrvGhFi4LiK5jg2SMQj74/diH+wZliL9LpGsyA==" - }, - "node_modules/protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/pubsub-js": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.3.tgz", - "integrity": "sha512-FhYYlPNOywTh7zN38u5AlG67emA47w6JZd7YgdQU1w8gQbZhhIGxVM0AQosdaINHb2ALb+fhfnVyBJAt4D4IzA==" - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/pumpify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", - "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", - "dependencies": { - "duplexify": "^4.1.1", - "inherits": "^2.0.3", - "pump": "^3.0.0" - } - }, - "node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "node_modules/readable-stream/node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" - }, - "node_modules/retry-request": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", - "dependencies": { - "debug": "^4.1.1", - "extend": "^3.0.2" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "dependencies": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/send/node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - }, - "node_modules/serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "node_modules/simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/sox-audio": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/sox-audio/-/sox-audio-0.3.0.tgz", - "integrity": "sha1-3UOk3X+pf/QGY5DDmQOuSrGYrsU=", - "dependencies": { - "through": "^2.3.6" - } - }, - "node_modules/stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", - "engines": { - "node": "*" - } - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/stream-events": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", - "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", - "dependencies": { - "stubs": "^3.0.0" - } - }, - "node_modules/stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, - "node_modules/string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - }, - "node_modules/string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dependencies": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stubs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", - "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" - }, - "node_modules/sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "dependencies": { - "fibers": ">=0.6" - }, - "engines": { - "node": ">=0.5.2" - } - }, - "node_modules/tar": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.1.tgz", - "integrity": "sha512-GG0R7yt/CQkvG4fueXDi52Zskqxe2AyRJ+Wm54yqarnBgcX3qRIWh10qLVAAN+mlPFGTfP5UxvD3Fbi11UOTUQ==", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/teeny-request": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.1.tgz", - "integrity": "sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==", - "dependencies": { - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "stream-events": "^1.0.5", - "uuid": "^8.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/url-parse": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz", - "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "dependencies": { - "string-width": "^1.0.2 || 2" - } - }, - "node_modules/window-size": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", - "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=", - "bin": { - "window-size": "cli.js" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", - "dependencies": { - "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", - "is-stream": "^2.0.0", - "logform": "^2.2.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" - }, - "engines": { - "node": ">= 6.4.0" - } - }, - "node_modules/winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", - "dependencies": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "engines": { - "node": ">= 6.4.0" - } - }, - "node_modules/winston-transport/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/winston-transport/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/winston-transport/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/winston/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/winston/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "node_modules/ws": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", - "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs/node_modules/ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "dependencies": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "node_modules/zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "dependencies": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - } - }, - "node_modules/zipkin-transport-http/node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/zipkin-transport-http/node_modules/node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "dependencies": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } - }, - "dependencies": { - "@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", - "requires": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "@fonos/certs": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.9-alpha.0.tgz", - "integrity": "sha512-7V3aDqZD3cZI2FMPxPX5KRAB8CnljtJFaATX/ECcztq1yyUjhbN39z0TXGc32cxasgbdOeyCN1/qY39i+LVfNw==", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.9-alpha.0.tgz", - "integrity": "sha512-zzi5rFhv8Ppgr3Mq1qse9S0RfzgoFkD8w/otWu+bVhV5STQeBmJ3FPcj4VbpSNyicLAJz8krk2Et/sdxICaOAg==", - "requires": { - "@fonos/certs": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@pionerlabs/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2", - "grpc": "^1.24.7", - "grpc-ts-health-check": "^2.0.6" - } - }, - "@fonos/events": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/events/-/events-0.1.9-alpha.0.tgz", - "integrity": "sha512-kVHW0z8dEaUgYtLXVxf7m8+S3861LYBcD4FEU3trMWcpMb5cizEaJWwSxny9M8bLPXOTVdbOcI0h0p2hmFB1IQ==", - "requires": { - "@fonos/logger": "^0.1.9-alpha.0", - "amqp-connection-manager": "^3.2.2", - "amqplib": "^0.8.0" - } - }, - "@fonos/googleasr": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/googleasr/-/googleasr-0.1.9-alpha.0.tgz", - "integrity": "sha512-BEaWo0QkXT6nv807utvcClcy7z2EAa6iv8zktFs1HGFHP5XgqraG0EHH6xeM8Wzic+5ta+m7/L+iSfylE2yh/w==", - "requires": { - "@fonos/common": "^0.1.9-alpha.0", - "@google-cloud/speech": "^4.0.0", - "axios": "^0.21.1", - "node-record-lpcm16": "^1.0.1", - "objectid": "^3.2.1", - "sync": "^0.2.5" - } - }, - "@fonos/logger": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.9-alpha.0.tgz", - "integrity": "sha512-8VDWiW+7iOas6sbmqU1OgQqLHoRd5u1O+HAf2/ifKlGmQj1R6U8bimU9Hi0OqmiWuYwipQevqp75VzbKbYvpqA==", - "requires": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - } - }, - "@fonos/tts": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/tts/-/tts-0.1.9-alpha.0.tgz", - "integrity": "sha512-DSoeQ3BoZVMcC0sTcWZB5NtVoURMkM/v7xiSxUMA6SKzHNuv1CrcrX3nBD1Hn8dAAIS2DXhtXYeXvmlUogVZzQ==", - "requires": { - "flat": "^5.0.2", - "sox-audio": "^0.3.0" - } - }, - "@fonos/voice": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/voice/-/voice-0.1.9-alpha.0.tgz", - "integrity": "sha512-3MFNZfXptoSpScvKFRivG6PGF5WzI2Krx5+B0WrmNgF/ClZn8oWUF/qwDJE8ugbn8N8yEzCssSLriJB6ZJ0vSA==", - "requires": { - "@fonos/common": "^0.1.9-alpha.0", - "@fonos/events": "^0.1.9-alpha.0", - "@fonos/googleasr": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@fonos/tts": "^0.1.9-alpha.0", - "axios": "^0.21.1", - "deepmerge": "^4.2.2", - "express": "^4.17.1", - "express-ws": "^4.0.0", - "objectid": "^3.2.1", - "pubsub-js": "^1.9.3", - "sync": "^0.2.5" - } - }, - "@google-cloud/common": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.7.0.tgz", - "integrity": "sha512-oFgpKLjH9JTOAyQd3kB36iSuH8wNSpDKb1TywlB6zcsG0xmJFxLutmfPhz03KUxRMNQOZ1K1Gc9BYvJifVnGVA==", - "requires": { - "@google-cloud/projectify": "^2.0.0", - "@google-cloud/promisify": "^2.0.0", - "arrify": "^2.0.1", - "duplexify": "^4.1.1", - "ent": "^2.2.0", - "extend": "^3.0.2", - "google-auth-library": "^7.0.2", - "retry-request": "^4.2.2", - "teeny-request": "^7.0.0" - } - }, - "@google-cloud/projectify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.0.tgz", - "integrity": "sha512-qbpidP/fOvQNz3nyabaVnZqcED1NNzf7qfeOlgtAZd9knTwY+KtsGRkYpiQzcATABy4gnGP2lousM3S0nuWVzA==" - }, - "@google-cloud/promisify": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz", - "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==" - }, - "@google-cloud/speech": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.5.5.tgz", - "integrity": "sha512-YU2sYZxoKSiDUcNST7RAeObizL4ur4bP9OfIn4J6kxpgpjQgURliIwR+hJ/VpVSq/3UoYhBciuGfO2NinFnOcA==", - "requires": { - "@google-cloud/common": "^3.0.0", - "@types/pumpify": "^1.4.1", - "google-gax": "^2.17.1", - "protobufjs": "^6.8.6", - "pumpify": "^2.0.0", - "stream-events": "^1.0.4", - "uuid": "^8.3.2" - } - }, - "@grpc/grpc-js": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.6.tgz", - "integrity": "sha512-v7+LQFbqZKmd/Tvf5/j1Xlbq6jXL/4d+gUtm2TNX4QiEC3ELWADmGr2dGlUyLl6aKTuYfsN72vAsO5zmavYkEg==", - "requires": { - "@types/node": ">=12.12.47" - } - }, - "@grpc/proto-loader": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.4.tgz", - "integrity": "sha512-7xvDvW/vJEcmLUltCUGOgWRPM8Oofv0eCFSVMuKqaqWJaXSzmB+m9hiyqe34QofAl4WAzIKUZZlinIF9FOHyTQ==", - "requires": { - "@types/long": "^4.0.1", - "lodash.camelcase": "^4.3.0", - "long": "^4.0.0", - "protobufjs": "^6.10.0", - "yargs": "^16.1.1" - } - }, - "@mapbox/node-pre-gyp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.5.tgz", - "integrity": "sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==", - "requires": { - "detect-libc": "^1.0.3", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.1", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "rimraf": "^3.0.2", - "semver": "^7.3.4", - "tar": "^6.1.0" - } - }, - "@pionerlabs/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@pionerlabs/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-x1wQdwJ7U3MrCqUpGsP/a4eOfPi/XhC8jEVLEIayonKW3PPhzIHN87epCULzt1zR7lQp59oeFofN84lfuBAtnA==", - "requires": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - } - }, - "@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" - }, - "@types/bytebuffer": { - "version": "5.0.42", - "resolved": "https://registry.npmjs.org/@types/bytebuffer/-/bytebuffer-5.0.42.tgz", - "integrity": "sha512-lEgKojWUAc/MG2t649oZS5AfYFP2xRNPoDuwDBlBMjHXd8MaGPgFgtCXUK7inZdBOygmVf10qxc1Us8GXC96aw==", - "requires": { - "@types/long": "*", - "@types/node": "*" - } - }, - "@types/duplexify": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz", - "integrity": "sha512-5zOA53RUlzN74bvrSGwjudssD9F3a797sDZQkiYpUOxW+WHaXTCPz4/d5Dgi6FKnOqZ2CpaTo0DhgIfsXAOE/A==", - "requires": { - "@types/node": "*" - } - }, - "@types/jsonwebtoken": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", - "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", - "requires": { - "@types/node": "*" - } - }, - "@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "@types/node": { - "version": "16.4.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.3.tgz", - "integrity": "sha512-GKM4FLMkWDc0sfx7tXqPWkM6NBow1kge0fgQh0bOnlqo4iT1kvTvMEKE0c1RtUGnbLlGRXiAA8SumE//90uKAg==" - }, - "@types/pumpify": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", - "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", - "requires": { - "@types/duplexify": "*", - "@types/node": "*" - } - }, - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" - }, - "abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "requires": { - "event-target-shim": "^5.0.0" - } - }, - "accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "requires": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - } - }, - "acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "requires": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - } - }, - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "requires": { - "debug": "4" - } - }, - "amqp-connection-manager": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/amqp-connection-manager/-/amqp-connection-manager-3.2.2.tgz", - "integrity": "sha512-o+6Kb4p+xFYwU8MuFxnrPQzhefCE2dcCd8dnevWLTRgQCtOTVC9AQ434hQyjB+Bpq6Vl9cDMWTOZT11ajB6ZSg==", - "requires": { - "promise-breaker": "^5.0.0" - } - }, - "amqplib": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.8.0.tgz", - "integrity": "sha512-icU+a4kkq4Y1PS4NNi+YPDMwdlbFcZ1EZTQT2nigW3fvOb6AOgUQ9+Mk4ue0Zu5cBg/XpDzB40oH10ysrk2dmA==", - "requires": { - "bitsyntax": "~0.1.0", - "bluebird": "^3.7.2", - "buffer-more-ints": "~1.0.0", - "readable-stream": "1.x >=1.1.9", - "safe-buffer": "~5.2.1", - "url-parse": "~1.5.1" - } - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - }, - "dependencies": { - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - } - } - }, - "aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" - }, - "are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" - }, - "ascli": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ascli/-/ascli-1.0.1.tgz", - "integrity": "sha1-vPpZdKYvGOgcq660lzKrSoj5Brw=", - "requires": { - "colour": "~0.7.1", - "optjs": "~3.2.2" - } - }, - "assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" - }, - "async": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", - "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" - }, - "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "requires": { - "follow-redirects": "^1.10.0" - } - }, - "backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==" - }, - "bitsyntax": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz", - "integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==", - "requires": { - "buffer-more-ints": "~1.0.0", - "debug": "~2.6.9", - "safe-buffer": "~5.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } - } - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "requires": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" - }, - "btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" - }, - "buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "buffer-more-ints": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz", - "integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg==" - }, - "bytebuffer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/bytebuffer/-/bytebuffer-5.0.1.tgz", - "integrity": "sha1-WC7qSxqHO20CCkjVjfhfC7ps/d0=", - "requires": { - "long": "~3" - }, - "dependencies": { - "long": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz", - "integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=" - } - } - }, - "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" - }, - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=" - }, - "chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "requires": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - } - }, - "check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" - }, - "chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - } - } - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" - }, - "color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", - "requires": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" - }, - "colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", - "requires": { - "color": "3.0.x", - "text-hex": "1.0.x" - } - }, - "colour": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/colour/-/colour-0.7.1.tgz", - "integrity": "sha1-nLFpkX7F0SwHNtPoaFdG3xyt93g=" - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" - }, - "content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "requires": { - "safe-buffer": "5.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } - } - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "requires": { - "ms": "2.1.2" - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" - }, - "deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "requires": { - "type-detect": "^4.0.0" - } - }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" - }, - "delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" - }, - "duplexify": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", - "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", - "requires": { - "end-of-stream": "^1.4.1", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1", - "stream-shift": "^1.0.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - } - } - }, - "ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" - }, - "encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "requires": { - "iconv-lite": "^0.6.2" - }, - "dependencies": { - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - } - } - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "requires": { - "once": "^1.4.0" - } - }, - "ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "event-lite": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", - "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" - }, - "event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" - }, - "express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "requires": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } - } - }, - "express-ws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", - "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", - "requires": { - "ws": "^5.2.0" - } - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, - "fast-text-encoding": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", - "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" - }, - "fecha": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", - "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" - }, - "fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "requires": { - "detect-libc": "^1.0.3" - } - }, - "finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" - }, - "fluent-logger": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", - "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", - "requires": { - "msgpack-lite": "*" - } - }, - "fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, - "follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==" - }, - "forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, - "fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "requires": { - "minipass": "^3.0.0" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - } - }, - "gaxios": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.0.tgz", - "integrity": "sha512-pHplNbslpwCLMyII/lHPWFQbJWOX0B3R1hwBEOvzYi1GmdKZruuEHK4N9V6f7tf1EaPYyF80mui1+344p6SmLg==", - "requires": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.3.0" - } - }, - "gcp-metadata": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.0.tgz", - "integrity": "sha512-L9XQUpvKJCM76YRSmcxrR4mFPzPGsgZUH+GgHMxAET8qc6+BhRJq63RLhWakgEO2KKVgeSDVfyiNjkGSADwNTA==", - "requires": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - } - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" - }, - "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" - }, - "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "google-auth-library": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.3.0.tgz", - "integrity": "sha512-MPeeMlnsYnoiiVFMwX3hgaS684aiXrSqKoDP+xL4Ejg4Z0qLvIeg4XsaChemyFI8ZUO7ApwDAzNtgmhWSDNh5w==", - "requires": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" - } - }, - "google-gax": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.19.0.tgz", - "integrity": "sha512-2a6WY+p6YMVMmwXmkRqiLreXx67xHDZhkmflcL8aDUkl1csx9ywxEI01veoDXy6T1l0JJD6zLbl5TIbWimmXrw==", - "requires": { - "@grpc/grpc-js": "~1.3.0", - "@grpc/proto-loader": "^0.6.1", - "@types/long": "^4.0.0", - "abort-controller": "^3.0.0", - "duplexify": "^4.0.0", - "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.3.0", - "is-stream-ended": "^0.1.4", - "node-fetch": "^2.6.1", - "object-hash": "^2.1.1", - "protobufjs": "^6.10.2", - "retry-request": "^4.0.0" - } - }, - "google-p12-pem": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.1.tgz", - "integrity": "sha512-e9CwdD2QYkpvJsktki3Bm8P8FSGIneF+/42a9F9QHcQvJ73C2RoYZdrwRl6BhwksWtzl65gT4OnBROhUIFw95Q==", - "requires": { - "node-forge": "^0.10.0" - } - }, - "google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" - }, - "grpc": { - "version": "1.24.11", - "resolved": "https://registry.npmjs.org/grpc/-/grpc-1.24.11.tgz", - "integrity": "sha512-8/AQdFCzCeCDWW3SoaMNp6ccbRvTQEH1O1u1uFtt29eWsg5gSZCJ3m6fbkduEIh3smY7WAPP+LgVJ5n3nZRxcA==", - "requires": { - "@mapbox/node-pre-gyp": "^1.0.4", - "@types/bytebuffer": "^5.0.40", - "lodash.camelcase": "^4.3.0", - "lodash.clone": "^4.5.0", - "nan": "^2.13.2", - "protobufjs": "^5.0.3" - }, - "dependencies": { - "cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" - } - }, - "protobufjs": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz", - "integrity": "sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==", - "requires": { - "ascli": "~1", - "bytebuffer": "~5", - "glob": "^7.0.5", - "yargs": "^3.10.0" - } - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - } - }, - "y18n": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", - "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==" - }, - "yargs": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", - "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=", - "requires": { - "camelcase": "^2.0.1", - "cliui": "^3.0.3", - "decamelize": "^1.1.1", - "os-locale": "^1.4.0", - "string-width": "^1.0.1", - "window-size": "^0.1.4", - "y18n": "^3.2.0" - } - } - } - }, - "grpc-boom": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.28.tgz", - "integrity": "sha512-hX9x67axsZtDRpzspAxD+UEQK9efx2Qo3j90pWQxxY89Pox/P+KI29offfxtIGJA48pUMfx9qc2QwkdBZzM4pg==" - }, - "grpc-ts-health-check": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", - "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", - "requires": { - "google-protobuf": "^3.12.2", - "grpc-boom": "^1.0.28" - } - }, - "gtoken": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.0.tgz", - "integrity": "sha512-mCcISYiaRZrJpfqOs0QWa6lfEM/C1V9ASkzFmuz43XBb5s1Vynh+CZy1ECeeJXVGx2PRByjYzb4Y4/zr1byr0w==", - "requires": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.0.3", - "jws": "^4.0.0" - } - }, - "has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" - }, - "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - } - } - }, - "http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "requires": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - } - }, - "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, - "invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" - }, - "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" - }, - "is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==" - }, - "is-stream-ended": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", - "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "json-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", - "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", - "requires": { - "bignumber.js": "^9.0.0" - } - }, - "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "requires": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "dependencies": { - "jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "requires": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } - } - }, - "jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", - "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "requires": { - "jwa": "^2.0.0", - "safe-buffer": "^5.0.1" - } - }, - "kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "requires": { - "invert-kv": "^1.0.0" - } - }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, - "lodash.clone": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", - "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=" - }, - "lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", - "requires": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "triple-beam": "^1.3.0" - } - }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, - "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" - }, - "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", - "requires": { - "mime-db": "1.48.0" - } - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", - "requires": { - "yallist": "^4.0.0" - } - }, - "minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "requires": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - } - }, - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", - "requires": { - "event-lite": "^0.1.1", - "ieee754": "^1.1.8", - "int64-buffer": "^0.1.9", - "isarray": "^1.0.0" - } - }, - "nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" - }, - "negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" - }, - "network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" - }, - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - }, - "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" - }, - "node-record-lpcm16": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", - "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", - "requires": { - "debug": "^2.6.8" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "requires": { - "abbrev": "1" - } - }, - "npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==" - }, - "objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "requires": { - "bson": "^0.1.9" - } - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" - } - }, - "one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "requires": { - "fn.name": "1.x.x" - } - }, - "optjs": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/optjs/-/optjs-3.2.2.tgz", - "integrity": "sha1-aabOicRCpEQDFBrS+bNwvVu29O4=" - }, - "os-locale": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", - "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", - "requires": { - "lcid": "^1.0.0" - } - }, - "parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "promise-breaker": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/promise-breaker/-/promise-breaker-5.0.0.tgz", - "integrity": "sha512-mgsWQuG4kJ1dtO6e/QlNDLFtMkMzzecsC69aI5hlLEjGHFNpHrvGhFi4LiK5jg2SMQj74/diH+wZliL9LpGsyA==" - }, - "protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - } - }, - "proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "requires": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - } - }, - "pubsub-js": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.3.tgz", - "integrity": "sha512-FhYYlPNOywTh7zN38u5AlG67emA47w6JZd7YgdQU1w8gQbZhhIGxVM0AQosdaINHb2ALb+fhfnVyBJAt4D4IzA==" - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "pumpify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", - "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", - "requires": { - "duplexify": "^4.1.1", - "inherits": "^2.0.3", - "pump": "^3.0.0" - } - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - }, - "querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" - }, - "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - }, - "dependencies": { - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - } - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" - }, - "requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" - }, - "retry-request": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", - "requires": { - "debug": "^4.1.1", - "extend": "^3.0.2" - } - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "requires": { - "glob": "^7.1.3" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "requires": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - } - } - }, - "serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "requires": { - "is-arrayish": "^0.3.1" - } - }, - "sox-audio": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/sox-audio/-/sox-audio-0.3.0.tgz", - "integrity": "sha1-3UOk3X+pf/QGY5DDmQOuSrGYrsU=", - "requires": { - "through": "^2.3.6" - } - }, - "stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" - }, - "stream-events": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", - "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", - "requires": { - "stubs": "^3.0.0" - } - }, - "stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "stubs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", - "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" - }, - "sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "requires": { - "fibers": ">=0.6" - } - }, - "tar": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.1.tgz", - "integrity": "sha512-GG0R7yt/CQkvG4fueXDi52Zskqxe2AyRJ+Wm54yqarnBgcX3qRIWh10qLVAAN+mlPFGTfP5UxvD3Fbi11UOTUQ==", - "requires": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - } - }, - "teeny-request": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.1.tgz", - "integrity": "sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==", - "requires": { - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "stream-events": "^1.0.5", - "uuid": "^8.0.0" - } - }, - "text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" - }, - "triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, - "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "url-parse": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz", - "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==", - "requires": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" - }, - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" - }, - "wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "requires": { - "string-width": "^1.0.2 || 2" - } - }, - "window-size": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", - "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=" - }, - "winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", - "requires": { - "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", - "is-stream": "^2.0.0", - "logform": "^2.2.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - } - } - }, - "winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", - "requires": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - } - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "ws": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", - "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", - "requires": { - "async-limiter": "~1.0.0" - } - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - } - } - }, - "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" - }, - "zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "requires": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "requires": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - }, - "dependencies": { - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } - } - } - } -} diff --git a/examples/hello-monkeys/package.json b/examples/hello-monkeys/package.json deleted file mode 100644 index a67e58758..000000000 --- a/examples/hello-monkeys/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "hello-monkeys", - "version": "1.0.0", - "private": true, - "description": "Hello Monkeys Example", - "author": "Pedro Sanders", - "main": "index.js", - "license": "MIT", - "dependencies": { - "@fonos/voice": "^0.1.9-alpha.0" - } -} diff --git a/examples/presidential-poll/fonos.json b/examples/presidential-poll/fonos.json deleted file mode 100644 index 0890b1162..000000000 --- a/examples/presidential-poll/fonos.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "locale": "en_us" -} diff --git a/examples/presidential-poll/index.js b/examples/presidential-poll/index.js deleted file mode 100644 index f7415a364..000000000 --- a/examples/presidential-poll/index.js +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos - * - * This file is part of Project Fonos - * - * Licensed under the MIT License (the "License"); - * you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * https://opensource.org/licenses/MIT - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const {VoiceServer} = require("@fonos/voice"); -const {tts} = require("./config"); - -const config = { - finishOnKey: "*", - timeout: 2000, - numDigits: 1, - source: "dtmf" -}; - -const voiceServerConfig = { - base: "" -}; -const candidates = { - 1: {name: "Donald Trump"}, - 2: {name: "Hillary Clinton"}, - 3: {name: "Beny Sanders"} -}; - -/** - * This example shows the using of most all Fonos verbs. - */ -const voiceServer = new VoiceServer(voiceServerConfig); - -// You can use another TTS plugin as MaryTTS -voiceServer.use(tts); - -voiceServer.listen(async (req, res) => { - await res.say( - "Hello, this is a presidential poll from the Georgia Statistics Center." - ); - - const key = await res.gather(config); - console.log(`Remove from list? ${key}`); - - if (key === 7) removeFromList(res); - - await runMenu(res); - - res.say( - "Thank you for participating. Review the results at www.georgia.gov. Goodbye!" - ); -}); - -function removeFromList(res) { - // This address does not exist, it its only for ilustration - http - .post("https://georgia.gov/removeFromList") - .timeout(1200) - .basicAuth("username", "password") - .then((result) => { - if (result.body === "OK") { - res.say("You have been remove from our list"); - } else { - // Do nothing for now - } - }); -} - -async function runMenu(res) { - while (true) { - res.say("For Trump Press one. For Hillary, press two and for Sanders 3"); - - const key = await res.gather(config); - - if (!["1", "2", "3"].includes(key)) { - res.say("I could not register your selection. Lets try again."); - // You can use Play to stream a pre-recorded audio - res.play("sound:beep"); - continue; - } - - res.say(`You selected option ${key}, ${candidates[key].name}`); - - break; - } -} diff --git a/examples/presidential-poll/package-lock.json b/examples/presidential-poll/package-lock.json deleted file mode 100644 index f876d0349..000000000 --- a/examples/presidential-poll/package-lock.json +++ /dev/null @@ -1,5457 +0,0 @@ -{ - "name": "presidential-poll", - "version": "1.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@fonos/googletts": "^0.1.9-alpha.0", - "@fonos/voice": "^0.1.9-alpha.0" - } - }, - "node_modules/@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", - "dependencies": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "node_modules/@fonos/certs": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.9-alpha.0.tgz", - "integrity": "sha512-7V3aDqZD3cZI2FMPxPX5KRAB8CnljtJFaATX/ECcztq1yyUjhbN39z0TXGc32cxasgbdOeyCN1/qY39i+LVfNw==", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "node_modules/@fonos/common": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.9-alpha.0.tgz", - "integrity": "sha512-zzi5rFhv8Ppgr3Mq1qse9S0RfzgoFkD8w/otWu+bVhV5STQeBmJ3FPcj4VbpSNyicLAJz8krk2Et/sdxICaOAg==", - "dependencies": { - "@fonos/certs": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@pionerlabs/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2", - "grpc": "^1.24.7", - "grpc-ts-health-check": "^2.0.6" - } - }, - "node_modules/@fonos/events": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/events/-/events-0.1.9-alpha.0.tgz", - "integrity": "sha512-kVHW0z8dEaUgYtLXVxf7m8+S3861LYBcD4FEU3trMWcpMb5cizEaJWwSxny9M8bLPXOTVdbOcI0h0p2hmFB1IQ==", - "dependencies": { - "@fonos/logger": "^0.1.9-alpha.0", - "amqp-connection-manager": "^3.2.2", - "amqplib": "^0.8.0" - } - }, - "node_modules/@fonos/googleasr": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/googleasr/-/googleasr-0.1.9-alpha.0.tgz", - "integrity": "sha512-BEaWo0QkXT6nv807utvcClcy7z2EAa6iv8zktFs1HGFHP5XgqraG0EHH6xeM8Wzic+5ta+m7/L+iSfylE2yh/w==", - "dependencies": { - "@fonos/common": "^0.1.9-alpha.0", - "@google-cloud/speech": "^4.0.0", - "axios": "^0.21.1", - "node-record-lpcm16": "^1.0.1", - "objectid": "^3.2.1", - "sync": "^0.2.5" - } - }, - "node_modules/@fonos/googletts": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/googletts/-/googletts-0.1.9-alpha.0.tgz", - "integrity": "sha512-Gh2f1sE8HGuuAUCSl8Cng6pkJnb/S5MK0TRpgsfgBKJ7YaDvvA5o8aeBXBYqXbixg9tWvRrF+fFYpiZdznDu4A==", - "dependencies": { - "@fonos/common": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@fonos/tts": "^0.1.9-alpha.0", - "@google-cloud/text-to-speech": "^3.2.2", - "deepmerge": "^4.2.2" - } - }, - "node_modules/@fonos/logger": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.9-alpha.0.tgz", - "integrity": "sha512-8VDWiW+7iOas6sbmqU1OgQqLHoRd5u1O+HAf2/ifKlGmQj1R6U8bimU9Hi0OqmiWuYwipQevqp75VzbKbYvpqA==", - "dependencies": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - } - }, - "node_modules/@fonos/tts": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/tts/-/tts-0.1.9-alpha.0.tgz", - "integrity": "sha512-DSoeQ3BoZVMcC0sTcWZB5NtVoURMkM/v7xiSxUMA6SKzHNuv1CrcrX3nBD1Hn8dAAIS2DXhtXYeXvmlUogVZzQ==", - "dependencies": { - "flat": "^5.0.2", - "sox-audio": "^0.3.0" - } - }, - "node_modules/@fonos/voice": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/voice/-/voice-0.1.9-alpha.0.tgz", - "integrity": "sha512-3MFNZfXptoSpScvKFRivG6PGF5WzI2Krx5+B0WrmNgF/ClZn8oWUF/qwDJE8ugbn8N8yEzCssSLriJB6ZJ0vSA==", - "dependencies": { - "@fonos/common": "^0.1.9-alpha.0", - "@fonos/events": "^0.1.9-alpha.0", - "@fonos/googleasr": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@fonos/tts": "^0.1.9-alpha.0", - "axios": "^0.21.1", - "deepmerge": "^4.2.2", - "express": "^4.17.1", - "express-ws": "^4.0.0", - "objectid": "^3.2.1", - "pubsub-js": "^1.9.3", - "sync": "^0.2.5" - } - }, - "node_modules/@google-cloud/common": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.7.0.tgz", - "integrity": "sha512-oFgpKLjH9JTOAyQd3kB36iSuH8wNSpDKb1TywlB6zcsG0xmJFxLutmfPhz03KUxRMNQOZ1K1Gc9BYvJifVnGVA==", - "dependencies": { - "@google-cloud/projectify": "^2.0.0", - "@google-cloud/promisify": "^2.0.0", - "arrify": "^2.0.1", - "duplexify": "^4.1.1", - "ent": "^2.2.0", - "extend": "^3.0.2", - "google-auth-library": "^7.0.2", - "retry-request": "^4.2.2", - "teeny-request": "^7.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/projectify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.0.tgz", - "integrity": "sha512-qbpidP/fOvQNz3nyabaVnZqcED1NNzf7qfeOlgtAZd9knTwY+KtsGRkYpiQzcATABy4gnGP2lousM3S0nuWVzA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/promisify": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz", - "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/speech": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.5.5.tgz", - "integrity": "sha512-YU2sYZxoKSiDUcNST7RAeObizL4ur4bP9OfIn4J6kxpgpjQgURliIwR+hJ/VpVSq/3UoYhBciuGfO2NinFnOcA==", - "dependencies": { - "@google-cloud/common": "^3.0.0", - "@types/pumpify": "^1.4.1", - "google-gax": "^2.17.1", - "protobufjs": "^6.8.6", - "pumpify": "^2.0.0", - "stream-events": "^1.0.4", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/text-to-speech": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/@google-cloud/text-to-speech/-/text-to-speech-3.2.6.tgz", - "integrity": "sha512-HIWNvqE5ri75dvT0EAycGBcyZd8XbuvE8+CwBh83HU74JRTYtzWBGmiIyT8cI+niGWUmZtwSxBcJWZSAsDrXSw==", - "dependencies": { - "google-gax": "^2.17.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@grpc/grpc-js": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.6.tgz", - "integrity": "sha512-v7+LQFbqZKmd/Tvf5/j1Xlbq6jXL/4d+gUtm2TNX4QiEC3ELWADmGr2dGlUyLl6aKTuYfsN72vAsO5zmavYkEg==", - "dependencies": { - "@types/node": ">=12.12.47" - }, - "engines": { - "node": "^8.13.0 || >=10.10.0" - } - }, - "node_modules/@grpc/proto-loader": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.4.tgz", - "integrity": "sha512-7xvDvW/vJEcmLUltCUGOgWRPM8Oofv0eCFSVMuKqaqWJaXSzmB+m9hiyqe34QofAl4WAzIKUZZlinIF9FOHyTQ==", - "dependencies": { - "@types/long": "^4.0.1", - "lodash.camelcase": "^4.3.0", - "long": "^4.0.0", - "protobufjs": "^6.10.0", - "yargs": "^16.1.1" - }, - "bin": { - "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@mapbox/node-pre-gyp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.5.tgz", - "integrity": "sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==", - "dependencies": { - "detect-libc": "^1.0.3", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.1", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "rimraf": "^3.0.2", - "semver": "^7.3.4", - "tar": "^6.1.0" - }, - "bin": { - "node-pre-gyp": "bin/node-pre-gyp" - } - }, - "node_modules/@pionerlabs/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@pionerlabs/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-x1wQdwJ7U3MrCqUpGsP/a4eOfPi/XhC8jEVLEIayonKW3PPhzIHN87epCULzt1zR7lQp59oeFofN84lfuBAtnA==", - "dependencies": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - }, - "peerDependencies": { - "grpc": "^1.17.0" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@types/bytebuffer": { - "version": "5.0.42", - "resolved": "https://registry.npmjs.org/@types/bytebuffer/-/bytebuffer-5.0.42.tgz", - "integrity": "sha512-lEgKojWUAc/MG2t649oZS5AfYFP2xRNPoDuwDBlBMjHXd8MaGPgFgtCXUK7inZdBOygmVf10qxc1Us8GXC96aw==", - "dependencies": { - "@types/long": "*", - "@types/node": "*" - } - }, - "node_modules/@types/duplexify": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz", - "integrity": "sha512-5zOA53RUlzN74bvrSGwjudssD9F3a797sDZQkiYpUOxW+WHaXTCPz4/d5Dgi6FKnOqZ2CpaTo0DhgIfsXAOE/A==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/jsonwebtoken": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", - "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "node_modules/@types/node": { - "version": "16.4.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.3.tgz", - "integrity": "sha512-GKM4FLMkWDc0sfx7tXqPWkM6NBow1kge0fgQh0bOnlqo4iT1kvTvMEKE0c1RtUGnbLlGRXiAA8SumE//90uKAg==" - }, - "node_modules/@types/pumpify": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", - "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", - "dependencies": { - "@types/duplexify": "*", - "@types/node": "*" - } - }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "dependencies": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/amqp-connection-manager": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/amqp-connection-manager/-/amqp-connection-manager-3.2.2.tgz", - "integrity": "sha512-o+6Kb4p+xFYwU8MuFxnrPQzhefCE2dcCd8dnevWLTRgQCtOTVC9AQ434hQyjB+Bpq6Vl9cDMWTOZT11ajB6ZSg==", - "dependencies": { - "promise-breaker": "^5.0.0" - }, - "engines": { - "node": ">=6.0.0", - "npm": ">5.0.0" - }, - "peerDependencies": { - "amqplib": "*" - } - }, - "node_modules/amqplib": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.8.0.tgz", - "integrity": "sha512-icU+a4kkq4Y1PS4NNi+YPDMwdlbFcZ1EZTQT2nigW3fvOb6AOgUQ9+Mk4ue0Zu5cBg/XpDzB40oH10ysrk2dmA==", - "dependencies": { - "bitsyntax": "~0.1.0", - "bluebird": "^3.7.2", - "buffer-more-ints": "~1.0.0", - "readable-stream": "1.x >=1.1.9", - "safe-buffer": "~5.2.1", - "url-parse": "~1.5.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ansi-styles/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/ansi-styles/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" - }, - "node_modules/are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, - "node_modules/are-we-there-yet/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/are-we-there-yet/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/are-we-there-yet/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ascli": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ascli/-/ascli-1.0.1.tgz", - "integrity": "sha1-vPpZdKYvGOgcq660lzKrSoj5Brw=", - "dependencies": { - "colour": "~0.7.1", - "optjs": "~3.2.2" - } - }, - "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "engines": { - "node": "*" - } - }, - "node_modules/async": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", - "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "dependencies": { - "follow-redirects": "^1.10.0" - } - }, - "node_modules/backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==", - "engines": { - "node": "*" - } - }, - "node_modules/bitsyntax": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz", - "integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==", - "dependencies": { - "buffer-more-ints": "~1.0.0", - "debug": "~2.6.9", - "safe-buffer": "~5.1.2" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/bitsyntax/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/bitsyntax/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/bitsyntax/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/body-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", - "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", - "hasInstallScript": true, - "engines": { - "node": ">=0.6.19" - } - }, - "node_modules/btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", - "bin": { - "btoa": "bin/btoa.js" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "node_modules/buffer-more-ints": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz", - "integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg==" - }, - "node_modules/bytebuffer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/bytebuffer/-/bytebuffer-5.0.1.tgz", - "integrity": "sha1-WC7qSxqHO20CCkjVjfhfC7ps/d0=", - "dependencies": { - "long": "~3" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/bytebuffer/node_modules/long": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz", - "integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", - "engines": { - "node": "*" - } - }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "engines": { - "node": ">=10" - } - }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "dependencies": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", - "dependencies": { - "color": "3.0.x", - "text-hex": "1.0.x" - } - }, - "node_modules/colour": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/colour/-/colour-0.7.1.tgz", - "integrity": "sha1-nLFpkX7F0SwHNtPoaFdG3xyt93g=", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" - }, - "node_modules/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "dependencies": { - "safe-buffer": "5.1.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-disposition/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "dependencies": { - "type-detect": "^4.0.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/duplexify": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", - "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", - "dependencies": { - "end-of-stream": "^1.4.1", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1", - "stream-shift": "^1.0.0" - } - }, - "node_modules/duplexify/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/duplexify/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/event-lite": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", - "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "dependencies": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/express-ws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", - "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", - "dependencies": { - "ws": "^5.2.0" - }, - "engines": { - "node": ">=4.5.0" - }, - "peerDependencies": { - "express": "^4.0.0 || ^5.0.0-alpha.1" - } - }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/express/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "node_modules/fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, - "node_modules/fast-text-encoding": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", - "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" - }, - "node_modules/fecha": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", - "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" - }, - "node_modules/fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "hasInstallScript": true, - "dependencies": { - "detect-libc": "^1.0.3" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "bin": { - "flat": "cli.js" - } - }, - "node_modules/fluent-logger": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", - "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", - "dependencies": { - "msgpack-lite": "*" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, - "node_modules/follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "node_modules/gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", - "dependencies": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - } - }, - "node_modules/gaxios": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.0.tgz", - "integrity": "sha512-pHplNbslpwCLMyII/lHPWFQbJWOX0B3R1hwBEOvzYi1GmdKZruuEHK4N9V6f7tf1EaPYyF80mui1+344p6SmLg==", - "dependencies": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.3.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gcp-metadata": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.0.tgz", - "integrity": "sha512-L9XQUpvKJCM76YRSmcxrR4mFPzPGsgZUH+GgHMxAET8qc6+BhRJq63RLhWakgEO2KKVgeSDVfyiNjkGSADwNTA==", - "dependencies": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", - "engines": { - "node": "*" - } - }, - "node_modules/glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/google-auth-library": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.3.0.tgz", - "integrity": "sha512-MPeeMlnsYnoiiVFMwX3hgaS684aiXrSqKoDP+xL4Ejg4Z0qLvIeg4XsaChemyFI8ZUO7ApwDAzNtgmhWSDNh5w==", - "dependencies": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/google-gax": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.19.0.tgz", - "integrity": "sha512-2a6WY+p6YMVMmwXmkRqiLreXx67xHDZhkmflcL8aDUkl1csx9ywxEI01veoDXy6T1l0JJD6zLbl5TIbWimmXrw==", - "dependencies": { - "@grpc/grpc-js": "~1.3.0", - "@grpc/proto-loader": "^0.6.1", - "@types/long": "^4.0.0", - "abort-controller": "^3.0.0", - "duplexify": "^4.0.0", - "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.3.0", - "is-stream-ended": "^0.1.4", - "node-fetch": "^2.6.1", - "object-hash": "^2.1.1", - "protobufjs": "^6.10.2", - "retry-request": "^4.0.0" - }, - "bin": { - "compileProtos": "build/tools/compileProtos.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/google-p12-pem": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.1.tgz", - "integrity": "sha512-e9CwdD2QYkpvJsktki3Bm8P8FSGIneF+/42a9F9QHcQvJ73C2RoYZdrwRl6BhwksWtzl65gT4OnBROhUIFw95Q==", - "dependencies": { - "node-forge": "^0.10.0" - }, - "bin": { - "gp12-pem": "build/src/bin/gp12-pem.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" - }, - "node_modules/grpc": { - "version": "1.24.11", - "resolved": "https://registry.npmjs.org/grpc/-/grpc-1.24.11.tgz", - "integrity": "sha512-8/AQdFCzCeCDWW3SoaMNp6ccbRvTQEH1O1u1uFtt29eWsg5gSZCJ3m6fbkduEIh3smY7WAPP+LgVJ5n3nZRxcA==", - "deprecated": "This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.", - "hasInstallScript": true, - "dependencies": { - "@mapbox/node-pre-gyp": "^1.0.4", - "@types/bytebuffer": "^5.0.40", - "lodash.camelcase": "^4.3.0", - "lodash.clone": "^4.5.0", - "nan": "^2.13.2", - "protobufjs": "^5.0.3" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/grpc-boom": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.28.tgz", - "integrity": "sha512-hX9x67axsZtDRpzspAxD+UEQK9efx2Qo3j90pWQxxY89Pox/P+KI29offfxtIGJA48pUMfx9qc2QwkdBZzM4pg==" - }, - "node_modules/grpc-ts-health-check": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", - "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", - "dependencies": { - "google-protobuf": "^3.12.2", - "grpc-boom": "^1.0.28" - } - }, - "node_modules/grpc/node_modules/cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "dependencies": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" - } - }, - "node_modules/grpc/node_modules/protobufjs": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz", - "integrity": "sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==", - "dependencies": { - "ascli": "~1", - "bytebuffer": "~5", - "glob": "^7.0.5", - "yargs": "^3.10.0" - }, - "bin": { - "pbjs": "bin/pbjs" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/grpc/node_modules/wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "dependencies": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/grpc/node_modules/y18n": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", - "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==" - }, - "node_modules/grpc/node_modules/yargs": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", - "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=", - "dependencies": { - "camelcase": "^2.0.1", - "cliui": "^3.0.3", - "decamelize": "^1.1.1", - "os-locale": "^1.4.0", - "string-width": "^1.0.1", - "window-size": "^0.1.4", - "y18n": "^3.2.0" - } - }, - "node_modules/gtoken": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.0.tgz", - "integrity": "sha512-mCcISYiaRZrJpfqOs0QWa6lfEM/C1V9ASkzFmuz43XBb5s1Vynh+CZy1ECeeJXVGx2PRByjYzb4Y4/zr1byr0w==", - "dependencies": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.0.3", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" - }, - "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/http-errors/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, - "node_modules/invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "node_modules/is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dependencies": { - "number-is-nan": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "node_modules/is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-stream-ended": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", - "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/json-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", - "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", - "dependencies": { - "bignumber.js": "^9.0.0" - } - }, - "node_modules/jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "dependencies": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=4", - "npm": ">=1.4.28" - } - }, - "node_modules/jsonwebtoken/node_modules/jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jsonwebtoken/node_modules/jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "dependencies": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", - "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "dependencies": { - "jwa": "^2.0.0", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "node_modules/lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "dependencies": { - "invert-kv": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, - "node_modules/lodash.clone": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", - "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=" - }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "node_modules/logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", - "dependencies": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "triple-beam": "^1.3.0" - } - }, - "node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", - "dependencies": { - "mime-db": "1.48.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", - "dependencies": { - "event-lite": "^0.1.1", - "ieee754": "^1.1.8", - "int64-buffer": "^0.1.9", - "isarray": "^1.0.0" - }, - "bin": { - "msgpack": "bin/msgpack" - } - }, - "node_modules/nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" - }, - "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", - "bin": { - "network-address": "cli.js" - } - }, - "node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/node-record-lpcm16": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", - "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", - "dependencies": { - "debug": "^2.6.8" - } - }, - "node_modules/node-record-lpcm16/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/node-record-lpcm16/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "dependencies": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "node_modules/number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "dependencies": { - "bson": "^0.1.9" - } - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "dependencies": { - "fn.name": "1.x.x" - } - }, - "node_modules/optjs": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/optjs/-/optjs-3.2.2.tgz", - "integrity": "sha1-aabOicRCpEQDFBrS+bNwvVu29O4=" - }, - "node_modules/os-locale": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", - "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", - "dependencies": { - "lcid": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "engines": { - "node": "*" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "node_modules/promise-breaker": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/promise-breaker/-/promise-breaker-5.0.0.tgz", - "integrity": "sha512-mgsWQuG4kJ1dtO6e/QlNDLFtMkMzzecsC69aI5hlLEjGHFNpHrvGhFi4LiK5jg2SMQj74/diH+wZliL9LpGsyA==" - }, - "node_modules/protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/pubsub-js": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.3.tgz", - "integrity": "sha512-FhYYlPNOywTh7zN38u5AlG67emA47w6JZd7YgdQU1w8gQbZhhIGxVM0AQosdaINHb2ALb+fhfnVyBJAt4D4IzA==" - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/pumpify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", - "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", - "dependencies": { - "duplexify": "^4.1.1", - "inherits": "^2.0.3", - "pump": "^3.0.0" - } - }, - "node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "node_modules/readable-stream/node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" - }, - "node_modules/retry-request": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", - "dependencies": { - "debug": "^4.1.1", - "extend": "^3.0.2" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "dependencies": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/send/node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - }, - "node_modules/serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "node_modules/simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/sox-audio": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/sox-audio/-/sox-audio-0.3.0.tgz", - "integrity": "sha1-3UOk3X+pf/QGY5DDmQOuSrGYrsU=", - "dependencies": { - "through": "^2.3.6" - } - }, - "node_modules/stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", - "engines": { - "node": "*" - } - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/stream-events": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", - "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", - "dependencies": { - "stubs": "^3.0.0" - } - }, - "node_modules/stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, - "node_modules/string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - }, - "node_modules/string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dependencies": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stubs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", - "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" - }, - "node_modules/sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "dependencies": { - "fibers": ">=0.6" - }, - "engines": { - "node": ">=0.5.2" - } - }, - "node_modules/tar": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.1.tgz", - "integrity": "sha512-GG0R7yt/CQkvG4fueXDi52Zskqxe2AyRJ+Wm54yqarnBgcX3qRIWh10qLVAAN+mlPFGTfP5UxvD3Fbi11UOTUQ==", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/teeny-request": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.1.tgz", - "integrity": "sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==", - "dependencies": { - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "stream-events": "^1.0.5", - "uuid": "^8.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/url-parse": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz", - "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "dependencies": { - "string-width": "^1.0.2 || 2" - } - }, - "node_modules/window-size": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", - "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=", - "bin": { - "window-size": "cli.js" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", - "dependencies": { - "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", - "is-stream": "^2.0.0", - "logform": "^2.2.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" - }, - "engines": { - "node": ">= 6.4.0" - } - }, - "node_modules/winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", - "dependencies": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "engines": { - "node": ">= 6.4.0" - } - }, - "node_modules/winston-transport/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/winston-transport/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/winston-transport/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/winston/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/winston/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "node_modules/ws": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", - "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs/node_modules/ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "dependencies": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "node_modules/zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "dependencies": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - } - }, - "node_modules/zipkin-transport-http/node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/zipkin-transport-http/node_modules/node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "dependencies": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } - }, - "dependencies": { - "@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", - "requires": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "@fonos/certs": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.9-alpha.0.tgz", - "integrity": "sha512-7V3aDqZD3cZI2FMPxPX5KRAB8CnljtJFaATX/ECcztq1yyUjhbN39z0TXGc32cxasgbdOeyCN1/qY39i+LVfNw==", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.9-alpha.0.tgz", - "integrity": "sha512-zzi5rFhv8Ppgr3Mq1qse9S0RfzgoFkD8w/otWu+bVhV5STQeBmJ3FPcj4VbpSNyicLAJz8krk2Et/sdxICaOAg==", - "requires": { - "@fonos/certs": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@pionerlabs/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2", - "grpc": "^1.24.7", - "grpc-ts-health-check": "^2.0.6" - } - }, - "@fonos/events": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/events/-/events-0.1.9-alpha.0.tgz", - "integrity": "sha512-kVHW0z8dEaUgYtLXVxf7m8+S3861LYBcD4FEU3trMWcpMb5cizEaJWwSxny9M8bLPXOTVdbOcI0h0p2hmFB1IQ==", - "requires": { - "@fonos/logger": "^0.1.9-alpha.0", - "amqp-connection-manager": "^3.2.2", - "amqplib": "^0.8.0" - } - }, - "@fonos/googleasr": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/googleasr/-/googleasr-0.1.9-alpha.0.tgz", - "integrity": "sha512-BEaWo0QkXT6nv807utvcClcy7z2EAa6iv8zktFs1HGFHP5XgqraG0EHH6xeM8Wzic+5ta+m7/L+iSfylE2yh/w==", - "requires": { - "@fonos/common": "^0.1.9-alpha.0", - "@google-cloud/speech": "^4.0.0", - "axios": "^0.21.1", - "node-record-lpcm16": "^1.0.1", - "objectid": "^3.2.1", - "sync": "^0.2.5" - } - }, - "@fonos/googletts": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/googletts/-/googletts-0.1.9-alpha.0.tgz", - "integrity": "sha512-Gh2f1sE8HGuuAUCSl8Cng6pkJnb/S5MK0TRpgsfgBKJ7YaDvvA5o8aeBXBYqXbixg9tWvRrF+fFYpiZdznDu4A==", - "requires": { - "@fonos/common": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@fonos/tts": "^0.1.9-alpha.0", - "@google-cloud/text-to-speech": "^3.2.2", - "deepmerge": "^4.2.2" - } - }, - "@fonos/logger": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.9-alpha.0.tgz", - "integrity": "sha512-8VDWiW+7iOas6sbmqU1OgQqLHoRd5u1O+HAf2/ifKlGmQj1R6U8bimU9Hi0OqmiWuYwipQevqp75VzbKbYvpqA==", - "requires": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - } - }, - "@fonos/tts": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/tts/-/tts-0.1.9-alpha.0.tgz", - "integrity": "sha512-DSoeQ3BoZVMcC0sTcWZB5NtVoURMkM/v7xiSxUMA6SKzHNuv1CrcrX3nBD1Hn8dAAIS2DXhtXYeXvmlUogVZzQ==", - "requires": { - "flat": "^5.0.2", - "sox-audio": "^0.3.0" - } - }, - "@fonos/voice": { - "version": "0.1.9-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/voice/-/voice-0.1.9-alpha.0.tgz", - "integrity": "sha512-3MFNZfXptoSpScvKFRivG6PGF5WzI2Krx5+B0WrmNgF/ClZn8oWUF/qwDJE8ugbn8N8yEzCssSLriJB6ZJ0vSA==", - "requires": { - "@fonos/common": "^0.1.9-alpha.0", - "@fonos/events": "^0.1.9-alpha.0", - "@fonos/googleasr": "^0.1.9-alpha.0", - "@fonos/logger": "^0.1.9-alpha.0", - "@fonos/tts": "^0.1.9-alpha.0", - "axios": "^0.21.1", - "deepmerge": "^4.2.2", - "express": "^4.17.1", - "express-ws": "^4.0.0", - "objectid": "^3.2.1", - "pubsub-js": "^1.9.3", - "sync": "^0.2.5" - } - }, - "@google-cloud/common": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.7.0.tgz", - "integrity": "sha512-oFgpKLjH9JTOAyQd3kB36iSuH8wNSpDKb1TywlB6zcsG0xmJFxLutmfPhz03KUxRMNQOZ1K1Gc9BYvJifVnGVA==", - "requires": { - "@google-cloud/projectify": "^2.0.0", - "@google-cloud/promisify": "^2.0.0", - "arrify": "^2.0.1", - "duplexify": "^4.1.1", - "ent": "^2.2.0", - "extend": "^3.0.2", - "google-auth-library": "^7.0.2", - "retry-request": "^4.2.2", - "teeny-request": "^7.0.0" - } - }, - "@google-cloud/projectify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.0.tgz", - "integrity": "sha512-qbpidP/fOvQNz3nyabaVnZqcED1NNzf7qfeOlgtAZd9knTwY+KtsGRkYpiQzcATABy4gnGP2lousM3S0nuWVzA==" - }, - "@google-cloud/promisify": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz", - "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==" - }, - "@google-cloud/speech": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.5.5.tgz", - "integrity": "sha512-YU2sYZxoKSiDUcNST7RAeObizL4ur4bP9OfIn4J6kxpgpjQgURliIwR+hJ/VpVSq/3UoYhBciuGfO2NinFnOcA==", - "requires": { - "@google-cloud/common": "^3.0.0", - "@types/pumpify": "^1.4.1", - "google-gax": "^2.17.1", - "protobufjs": "^6.8.6", - "pumpify": "^2.0.0", - "stream-events": "^1.0.4", - "uuid": "^8.3.2" - } - }, - "@google-cloud/text-to-speech": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/@google-cloud/text-to-speech/-/text-to-speech-3.2.6.tgz", - "integrity": "sha512-HIWNvqE5ri75dvT0EAycGBcyZd8XbuvE8+CwBh83HU74JRTYtzWBGmiIyT8cI+niGWUmZtwSxBcJWZSAsDrXSw==", - "requires": { - "google-gax": "^2.17.1" - } - }, - "@grpc/grpc-js": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.6.tgz", - "integrity": "sha512-v7+LQFbqZKmd/Tvf5/j1Xlbq6jXL/4d+gUtm2TNX4QiEC3ELWADmGr2dGlUyLl6aKTuYfsN72vAsO5zmavYkEg==", - "requires": { - "@types/node": ">=12.12.47" - } - }, - "@grpc/proto-loader": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.4.tgz", - "integrity": "sha512-7xvDvW/vJEcmLUltCUGOgWRPM8Oofv0eCFSVMuKqaqWJaXSzmB+m9hiyqe34QofAl4WAzIKUZZlinIF9FOHyTQ==", - "requires": { - "@types/long": "^4.0.1", - "lodash.camelcase": "^4.3.0", - "long": "^4.0.0", - "protobufjs": "^6.10.0", - "yargs": "^16.1.1" - } - }, - "@mapbox/node-pre-gyp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.5.tgz", - "integrity": "sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==", - "requires": { - "detect-libc": "^1.0.3", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.1", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "rimraf": "^3.0.2", - "semver": "^7.3.4", - "tar": "^6.1.0" - } - }, - "@pionerlabs/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@pionerlabs/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-x1wQdwJ7U3MrCqUpGsP/a4eOfPi/XhC8jEVLEIayonKW3PPhzIHN87epCULzt1zR7lQp59oeFofN84lfuBAtnA==", - "requires": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - } - }, - "@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" - }, - "@types/bytebuffer": { - "version": "5.0.42", - "resolved": "https://registry.npmjs.org/@types/bytebuffer/-/bytebuffer-5.0.42.tgz", - "integrity": "sha512-lEgKojWUAc/MG2t649oZS5AfYFP2xRNPoDuwDBlBMjHXd8MaGPgFgtCXUK7inZdBOygmVf10qxc1Us8GXC96aw==", - "requires": { - "@types/long": "*", - "@types/node": "*" - } - }, - "@types/duplexify": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz", - "integrity": "sha512-5zOA53RUlzN74bvrSGwjudssD9F3a797sDZQkiYpUOxW+WHaXTCPz4/d5Dgi6FKnOqZ2CpaTo0DhgIfsXAOE/A==", - "requires": { - "@types/node": "*" - } - }, - "@types/jsonwebtoken": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", - "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", - "requires": { - "@types/node": "*" - } - }, - "@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "@types/node": { - "version": "16.4.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.3.tgz", - "integrity": "sha512-GKM4FLMkWDc0sfx7tXqPWkM6NBow1kge0fgQh0bOnlqo4iT1kvTvMEKE0c1RtUGnbLlGRXiAA8SumE//90uKAg==" - }, - "@types/pumpify": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", - "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", - "requires": { - "@types/duplexify": "*", - "@types/node": "*" - } - }, - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" - }, - "abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "requires": { - "event-target-shim": "^5.0.0" - } - }, - "accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "requires": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - } - }, - "acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "requires": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - } - }, - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "requires": { - "debug": "4" - } - }, - "amqp-connection-manager": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/amqp-connection-manager/-/amqp-connection-manager-3.2.2.tgz", - "integrity": "sha512-o+6Kb4p+xFYwU8MuFxnrPQzhefCE2dcCd8dnevWLTRgQCtOTVC9AQ434hQyjB+Bpq6Vl9cDMWTOZT11ajB6ZSg==", - "requires": { - "promise-breaker": "^5.0.0" - } - }, - "amqplib": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.8.0.tgz", - "integrity": "sha512-icU+a4kkq4Y1PS4NNi+YPDMwdlbFcZ1EZTQT2nigW3fvOb6AOgUQ9+Mk4ue0Zu5cBg/XpDzB40oH10ysrk2dmA==", - "requires": { - "bitsyntax": "~0.1.0", - "bluebird": "^3.7.2", - "buffer-more-ints": "~1.0.0", - "readable-stream": "1.x >=1.1.9", - "safe-buffer": "~5.2.1", - "url-parse": "~1.5.1" - } - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - }, - "dependencies": { - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - } - } - }, - "aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" - }, - "are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" - }, - "ascli": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ascli/-/ascli-1.0.1.tgz", - "integrity": "sha1-vPpZdKYvGOgcq660lzKrSoj5Brw=", - "requires": { - "colour": "~0.7.1", - "optjs": "~3.2.2" - } - }, - "assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" - }, - "async": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", - "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" - }, - "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "requires": { - "follow-redirects": "^1.10.0" - } - }, - "backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==" - }, - "bitsyntax": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz", - "integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==", - "requires": { - "buffer-more-ints": "~1.0.0", - "debug": "~2.6.9", - "safe-buffer": "~5.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } - } - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "requires": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" - }, - "btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" - }, - "buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "buffer-more-ints": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz", - "integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg==" - }, - "bytebuffer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/bytebuffer/-/bytebuffer-5.0.1.tgz", - "integrity": "sha1-WC7qSxqHO20CCkjVjfhfC7ps/d0=", - "requires": { - "long": "~3" - }, - "dependencies": { - "long": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz", - "integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=" - } - } - }, - "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" - }, - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=" - }, - "chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "requires": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - } - }, - "check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" - }, - "chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - } - } - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" - }, - "color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", - "requires": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" - }, - "colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", - "requires": { - "color": "3.0.x", - "text-hex": "1.0.x" - } - }, - "colour": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/colour/-/colour-0.7.1.tgz", - "integrity": "sha1-nLFpkX7F0SwHNtPoaFdG3xyt93g=" - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" - }, - "content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "requires": { - "safe-buffer": "5.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } - } - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "requires": { - "ms": "2.1.2" - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" - }, - "deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "requires": { - "type-detect": "^4.0.0" - } - }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" - }, - "delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" - }, - "duplexify": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", - "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", - "requires": { - "end-of-stream": "^1.4.1", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1", - "stream-shift": "^1.0.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - } - } - }, - "ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" - }, - "encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "requires": { - "iconv-lite": "^0.6.2" - }, - "dependencies": { - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - } - } - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "requires": { - "once": "^1.4.0" - } - }, - "ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "event-lite": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", - "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" - }, - "event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" - }, - "express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "requires": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } - } - }, - "express-ws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", - "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", - "requires": { - "ws": "^5.2.0" - } - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, - "fast-text-encoding": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", - "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" - }, - "fecha": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", - "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" - }, - "fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "requires": { - "detect-libc": "^1.0.3" - } - }, - "finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" - }, - "fluent-logger": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", - "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", - "requires": { - "msgpack-lite": "*" - } - }, - "fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, - "follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==" - }, - "forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, - "fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "requires": { - "minipass": "^3.0.0" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - } - }, - "gaxios": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.0.tgz", - "integrity": "sha512-pHplNbslpwCLMyII/lHPWFQbJWOX0B3R1hwBEOvzYi1GmdKZruuEHK4N9V6f7tf1EaPYyF80mui1+344p6SmLg==", - "requires": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.3.0" - } - }, - "gcp-metadata": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.0.tgz", - "integrity": "sha512-L9XQUpvKJCM76YRSmcxrR4mFPzPGsgZUH+GgHMxAET8qc6+BhRJq63RLhWakgEO2KKVgeSDVfyiNjkGSADwNTA==", - "requires": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - } - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" - }, - "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" - }, - "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "google-auth-library": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.3.0.tgz", - "integrity": "sha512-MPeeMlnsYnoiiVFMwX3hgaS684aiXrSqKoDP+xL4Ejg4Z0qLvIeg4XsaChemyFI8ZUO7ApwDAzNtgmhWSDNh5w==", - "requires": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" - } - }, - "google-gax": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.19.0.tgz", - "integrity": "sha512-2a6WY+p6YMVMmwXmkRqiLreXx67xHDZhkmflcL8aDUkl1csx9ywxEI01veoDXy6T1l0JJD6zLbl5TIbWimmXrw==", - "requires": { - "@grpc/grpc-js": "~1.3.0", - "@grpc/proto-loader": "^0.6.1", - "@types/long": "^4.0.0", - "abort-controller": "^3.0.0", - "duplexify": "^4.0.0", - "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.3.0", - "is-stream-ended": "^0.1.4", - "node-fetch": "^2.6.1", - "object-hash": "^2.1.1", - "protobufjs": "^6.10.2", - "retry-request": "^4.0.0" - } - }, - "google-p12-pem": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.1.tgz", - "integrity": "sha512-e9CwdD2QYkpvJsktki3Bm8P8FSGIneF+/42a9F9QHcQvJ73C2RoYZdrwRl6BhwksWtzl65gT4OnBROhUIFw95Q==", - "requires": { - "node-forge": "^0.10.0" - } - }, - "google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" - }, - "grpc": { - "version": "1.24.11", - "resolved": "https://registry.npmjs.org/grpc/-/grpc-1.24.11.tgz", - "integrity": "sha512-8/AQdFCzCeCDWW3SoaMNp6ccbRvTQEH1O1u1uFtt29eWsg5gSZCJ3m6fbkduEIh3smY7WAPP+LgVJ5n3nZRxcA==", - "requires": { - "@mapbox/node-pre-gyp": "^1.0.4", - "@types/bytebuffer": "^5.0.40", - "lodash.camelcase": "^4.3.0", - "lodash.clone": "^4.5.0", - "nan": "^2.13.2", - "protobufjs": "^5.0.3" - }, - "dependencies": { - "cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" - } - }, - "protobufjs": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz", - "integrity": "sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==", - "requires": { - "ascli": "~1", - "bytebuffer": "~5", - "glob": "^7.0.5", - "yargs": "^3.10.0" - } - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - } - }, - "y18n": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", - "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==" - }, - "yargs": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", - "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=", - "requires": { - "camelcase": "^2.0.1", - "cliui": "^3.0.3", - "decamelize": "^1.1.1", - "os-locale": "^1.4.0", - "string-width": "^1.0.1", - "window-size": "^0.1.4", - "y18n": "^3.2.0" - } - } - } - }, - "grpc-boom": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.28.tgz", - "integrity": "sha512-hX9x67axsZtDRpzspAxD+UEQK9efx2Qo3j90pWQxxY89Pox/P+KI29offfxtIGJA48pUMfx9qc2QwkdBZzM4pg==" - }, - "grpc-ts-health-check": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", - "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", - "requires": { - "google-protobuf": "^3.12.2", - "grpc-boom": "^1.0.28" - } - }, - "gtoken": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.0.tgz", - "integrity": "sha512-mCcISYiaRZrJpfqOs0QWa6lfEM/C1V9ASkzFmuz43XBb5s1Vynh+CZy1ECeeJXVGx2PRByjYzb4Y4/zr1byr0w==", - "requires": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.0.3", - "jws": "^4.0.0" - } - }, - "has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" - }, - "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - } - } - }, - "http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "requires": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - } - }, - "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, - "invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" - }, - "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" - }, - "is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==" - }, - "is-stream-ended": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", - "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "json-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", - "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", - "requires": { - "bignumber.js": "^9.0.0" - } - }, - "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "requires": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "dependencies": { - "jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "requires": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } - } - }, - "jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", - "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "requires": { - "jwa": "^2.0.0", - "safe-buffer": "^5.0.1" - } - }, - "kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "requires": { - "invert-kv": "^1.0.0" - } - }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, - "lodash.clone": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", - "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=" - }, - "lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", - "requires": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "triple-beam": "^1.3.0" - } - }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, - "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" - }, - "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", - "requires": { - "mime-db": "1.48.0" - } - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", - "requires": { - "yallist": "^4.0.0" - } - }, - "minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "requires": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - } - }, - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", - "requires": { - "event-lite": "^0.1.1", - "ieee754": "^1.1.8", - "int64-buffer": "^0.1.9", - "isarray": "^1.0.0" - } - }, - "nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" - }, - "negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" - }, - "network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" - }, - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - }, - "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" - }, - "node-record-lpcm16": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", - "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", - "requires": { - "debug": "^2.6.8" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "requires": { - "abbrev": "1" - } - }, - "npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==" - }, - "objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "requires": { - "bson": "^0.1.9" - } - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" - } - }, - "one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "requires": { - "fn.name": "1.x.x" - } - }, - "optjs": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/optjs/-/optjs-3.2.2.tgz", - "integrity": "sha1-aabOicRCpEQDFBrS+bNwvVu29O4=" - }, - "os-locale": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", - "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", - "requires": { - "lcid": "^1.0.0" - } - }, - "parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "promise-breaker": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/promise-breaker/-/promise-breaker-5.0.0.tgz", - "integrity": "sha512-mgsWQuG4kJ1dtO6e/QlNDLFtMkMzzecsC69aI5hlLEjGHFNpHrvGhFi4LiK5jg2SMQj74/diH+wZliL9LpGsyA==" - }, - "protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - } - }, - "proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "requires": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - } - }, - "pubsub-js": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.3.tgz", - "integrity": "sha512-FhYYlPNOywTh7zN38u5AlG67emA47w6JZd7YgdQU1w8gQbZhhIGxVM0AQosdaINHb2ALb+fhfnVyBJAt4D4IzA==" - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "pumpify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", - "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", - "requires": { - "duplexify": "^4.1.1", - "inherits": "^2.0.3", - "pump": "^3.0.0" - } - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - }, - "querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" - }, - "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - }, - "dependencies": { - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - } - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" - }, - "requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" - }, - "retry-request": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", - "requires": { - "debug": "^4.1.1", - "extend": "^3.0.2" - } - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "requires": { - "glob": "^7.1.3" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "requires": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - } - } - }, - "serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "requires": { - "is-arrayish": "^0.3.1" - } - }, - "sox-audio": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/sox-audio/-/sox-audio-0.3.0.tgz", - "integrity": "sha1-3UOk3X+pf/QGY5DDmQOuSrGYrsU=", - "requires": { - "through": "^2.3.6" - } - }, - "stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" - }, - "stream-events": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", - "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", - "requires": { - "stubs": "^3.0.0" - } - }, - "stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "stubs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", - "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" - }, - "sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "requires": { - "fibers": ">=0.6" - } - }, - "tar": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.1.tgz", - "integrity": "sha512-GG0R7yt/CQkvG4fueXDi52Zskqxe2AyRJ+Wm54yqarnBgcX3qRIWh10qLVAAN+mlPFGTfP5UxvD3Fbi11UOTUQ==", - "requires": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - } - }, - "teeny-request": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.1.tgz", - "integrity": "sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==", - "requires": { - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "stream-events": "^1.0.5", - "uuid": "^8.0.0" - } - }, - "text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" - }, - "triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, - "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "url-parse": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz", - "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==", - "requires": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" - }, - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" - }, - "wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "requires": { - "string-width": "^1.0.2 || 2" - } - }, - "window-size": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", - "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=" - }, - "winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", - "requires": { - "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", - "is-stream": "^2.0.0", - "logform": "^2.2.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - } - } - }, - "winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", - "requires": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - } - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "ws": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", - "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", - "requires": { - "async-limiter": "~1.0.0" - } - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - } - } - }, - "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" - }, - "zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "requires": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "requires": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - }, - "dependencies": { - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } - } - } - } -} diff --git a/examples/presidential-poll/package.json b/examples/presidential-poll/package.json deleted file mode 100644 index 1dad1d038..000000000 --- a/examples/presidential-poll/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "presidential-poll", - "version": "1.0.0", - "private": true, - "description": "Presidential Poll Example", - "main": "index.js", - "author": "Pedro Sanders", - "license": "MIT", - "dependencies": { - "@fonos/googletts": "^0.1.9-alpha.0", - "@fonos/voice": "^0.1.9-alpha.0" - } -} diff --git a/flow.png b/flow.png new file mode 100644 index 000000000..dbdc988d8 Binary files /dev/null and b/flow.png differ diff --git a/install.sh b/install.sh new file mode 100644 index 000000000..d2bdc742a --- /dev/null +++ b/install.sh @@ -0,0 +1,73 @@ +#!/bin/bash + +set -e + +echo "installing fonoster" +cd /work + +echo "generating private key" +echo $(openssl rand -hex 16) > config/private_key +echo "" >> operator/.env + +echo "configuring docker host" + +[ -z "$DOCKER_HOST_IP" ] && DOCKER_HOST_IP=$(netdiscover -field publicv4) + +echo "DOCKER_HOST_ADDRESS=$DOCKER_HOST_IP" >> operator/.env +echo "RTPE_HOST=$DOCKER_HOST_IP" >> operator/.env + +echo "configuring domain" + +[ -z "$DOMAIN" ] && DOMAIN=$DOCKER_HOST_IP + +if [ "$ENABLE_TLS" = "true" ]; then + [ -z "$LETSENCRYPT_EMAIL" ] && LETSENCRYPT_EMAIL="admin@$DOMAIN" + echo "LETSENCRYPT_DOMAIN=$DOMAIN" >> operator/.env + echo "LETSENCRYPT_EMAIL=$LETSENCRYPT_EMAIL" >> operator/.env + echo "PUBLIC_URL=https://$DOMAIN" >> operator/.env +else + echo "PUBLIC_URL=http://$DOMAIN:50051" >> operator/.env +fi + +[ "$GLOBAL_SIP_DOMAIN" ] && { + echo "GLOBAL_SIP_DOMAIN=$GLOBAL_SIP_DOMAIN" >> operator/.env +} + +[ -z "$HTTP_PORT" ] && HTTP_PORT=50051 +[ -z "$HTTPS_PORT" ] && HTTPS_PORT=443 + +echo "creating service secrets" + +cd operator + +./gen-secrets.sh +DS_SECRET=$(grep DS_SECRET .env | cut -d '=' -f2) +SIPPROXY_SECRET=$(grep SIPPROXY_SECRET .env | cut -d '=' -f2) +sed -i.bak -e "s#requirepass .*#requirepass ${DS_SECRET}#g" "./../config/redis.conf" +sed -i.bak -e "s#changeit#${SIPPROXY_SECRET}#g" "./../config/bootstrap.yml" +sed -i.bak -e "s#CONFIG=/opt/fonoster/config#CONFIG=$CONFIG_PATH#g" ".env" +sed -i.bak -e "s#HTTP_PORT=50051#HTTP_PORT=$HTTP_PORT#g" ".env" +sed -i.bak -e "s#HTTPS_PORT=50051#HTTPS_PORT=$HTTPS_PORT#g" ".env" +sed -i.bak -e "s#COMPOSE_PROJECT_VERSION=.*#COMPOSE_PROJECT_VERSION=$FONOSTER_VERSION#g" ".env" + +cp -a /work/* /out + +echo "creating volumes for minio(s3 buckets) and redis" + +docker volume create --name=datasource +docker volume create --name=data1-1 + +echo "creating service and user credentials" +docker-compose -f init.yml up service_creds user_creds + +if [ "$ENABLE_TLS" = "true" ]; then + ./basic-network.sh start +else + ./basic-network.sh start-unsecure +fi + +echo "please wait..." +sleep 30 + +echo "bootstraping sipproxy and creating initial buckets" +docker-compose -f init.yml up create_buckets bootstrap_sipnet diff --git a/lerna.json b/lerna.json index d5bcac243..feeb1a4f7 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "packages": [ "mods/*" ], - "version": "0.1.20-alpha.0" + "version": "0.2.40" } diff --git a/mkdocs.yml b/mkdocs.yml deleted file mode 100644 index ea2bf7944..000000000 --- a/mkdocs.yml +++ /dev/null @@ -1,88 +0,0 @@ -# Project information -site_name: Documentation -site_description: Programmable Voice, Messaging, and Video -site_author: Pedro Sanders -site_url: https://fonoster.github.com/fonos -google_analytics: ['UA-71722942-3', 'fonos.io'] - -# Repository -repo_name: fonoster/fonos -repo_url: https://github.com/fonoster/fonos -edit_uri: /fonoster/fonos/edit/master/docs/ - -nav: - - Reference: - - AbstractTTS: reference/AbstractTTS.md - - Agents: reference/Agents.md - - AppManager: reference/AppManager.md - - Domains: reference/Domains.md - - GoogleASR: reference/GoogleASR.md - - GoogleTTS: reference/GoogleTTS.md - - MaryTTS: reference/MaryTTS.md - - Numbers: reference/Numbers.md - - Providers: reference/Providers.md - - Storage: reference/Storage.md - - Verbs: reference/Verbs.md - -# Copyright -copyright: 'Copyright © 2021 Fonoster Inc' -theme: - name: material - custom_dir: docs/theme - - # 404 page - static_templates: - - 404.html - - # Don't include MkDocs' JavaScript - include_search_page: false - search_index_only: true - - # Default values, taken from mkdocs_theme.yml - language: en - palette: - primary: blue grey - accent: indigo - font: - text: Roboto - code: Roboto Mono - favicon: /assets/images/favicon.ico - icon: - logo: "\uE80C" -extra: - social: - - type: globe - link: https://fonoster.com - - type: github-alt - link: https://github.com/fonoster - - type: twitter - link: https://twitter.com/fonoster - - type: linkedin - link: https://www.linkedin.com/company/fonoster/about/ - -markdown_extensions: - - markdown.extensions.admonition - - markdown.extensions.codehilite: - guess_lang: false - - markdown.extensions.def_list - - markdown.extensions.footnotes - - markdown.extensions.meta - - markdown.extensions.toc: - permalink: true - - pymdownx.arithmatex - - pymdownx.betterem: - smart_enable: all - - pymdownx.caret - - pymdownx.critic - - pymdownx.details - - pymdownx.emoji: - emoji_generator: !!python/name:pymdownx.emoji.to_svg - - pymdownx.inlinehilite - - pymdownx.keys - - pymdownx.magiclink - - pymdownx.mark - - pymdownx.smartsymbols - - pymdownx.superfences - - pymdownx.tasklist: - custom_checkbox: true - - pymdownx.tilde diff --git a/mods/agents/.lerna-changed-buster-7825 b/mods/agents/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/agents/Dockerfile b/mods/agents/Dockerfile index c5fe81336..c30e91741 100644 --- a/mods/agents/Dockerfile +++ b/mods/agents/Dockerfile @@ -3,7 +3,7 @@ COPY . /scripts RUN ./install.sh RUN link /usr/bin/run_agents /usr/bin/run \ && link /usr/bin/healthcheck_agents /usr/bin/healthcheck -USER fonos +USER fonoster HEALTHCHECK --interval=30s \ --timeout=30s \ --start-period=5s \ diff --git a/mods/agents/package.json b/mods/agents/package.json index afcf53779..356ea5c02 100644 --- a/mods/agents/package.json +++ b/mods/agents/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/agents", - "version": "0.1.20-alpha.0", + "name": "@fonoster/agents", + "version": "0.2.40", "description": "VoIP Agents", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/client/agents", "types": "dist/client/agents", @@ -37,17 +37,17 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "google-protobuf": "^3.17.0", "grpc-promise": "^1.4.0" diff --git a/mods/agents/src/client/agents.ts b/mods/agents/src/client/agents.ts index c96519d66..1c0c17972 100644 --- a/mods/agents/src/client/agents.ts +++ b/mods/agents/src/client/agents.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,17 +16,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {FonosService, ServiceOptions} from "@fonos/common"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {AgentsClient} from "../service/protos/agents_grpc_pb"; import AgentsPB from "../service/protos/agents_pb"; import CommonPB from "../service/protos/common_pb"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import {promisifyAll} from "grpc-promise"; import { CreateAgentRequest, CreateAgentResponse, DeleteAgentResponse, GetAgentResponse, + IAgentsClient, ListAgentsRequest, ListAgentsResponse, UpdateAgentRequest, @@ -34,15 +35,15 @@ import { } from "./types"; /** - * @classdesc Use Fonos Agents, a capability of Fonos SIP Proxy subsystem, + * @classdesc Use Fonoster Agents, a capability of Fonoster SIP Proxy subsystem, * to create, update, get and delete Agents. Agents requires of a - * running Fonos deployment. + * running Fonoster deployment. * - * @extends FonosService + * @extends APIClient * @example * - * const Fonos = require("@fonos/sdk") - * const agents = new Fonos.Agents() + * const Fonoster = require("@fonoster/sdk") + * const agents = new Fonoster.Agents() * * const request = { * name: "John Doe", @@ -56,14 +57,14 @@ import { * console.log(result) // successful response * }).catch(e => console.error(e)) // an error occurred */ -export default class Agents extends FonosService { +export default class Agents extends APIClient implements IAgentsClient { /** * Constructs a new Agents object. * - * @param {ServiceOptions} options - Options to indicate the objects endpoint - * @see module:core:FonosService + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(AgentsClient, options); super.init(); promisifyAll(super.getService(), {metadata: super.getMeta()}); @@ -76,7 +77,7 @@ export default class Agents extends FonosService { * @param {string} request.name - Friendly name for the SIP device * @param {string} request.username -Agent's credential username * @param {string} request.secret - Agent's credential secret - * @param {string} request.privacy - If set to "Private" Fonos removes + * @param {string} request.privacy - If set to "Private" Fonoster removes * identifiable information for the requests. Defaults to "None" * @param {string[]} request.domains - List of domains this Agent has access to * @return {Promise} @@ -95,15 +96,12 @@ export default class Agents extends FonosService { * }).catch(e => console.error(e)) // an error occurred */ async createAgent(request: CreateAgentRequest): Promise { - const agent = new AgentsPB.Agent(); - agent.setName(request.name); - agent.setUsername(request.username); - agent.setSecret(request.secret); - agent.setDomainsList(request.domains); - agent.setPrivacy(request.privacy); - const outRequest = new AgentsPB.CreateAgentRequest(); - outRequest.setAgent(agent); + outRequest.setName(request.name); + outRequest.setUsername(request.username); + outRequest.setSecret(request.secret); + outRequest.setDomainsList(request.domains); + outRequest.setPrivacy(request.privacy); const res = await super.getService().createAgent().sendMessage(outRequest); @@ -131,7 +129,7 @@ export default class Agents extends FonosService { * * agents.getAgent(ref) * .then(result => { - * console.log(result) // returns the GetDomainResponse interface + * console.log(result) // returns the GetAgentResponse interface * }).catch(e => console.error(e)) // an error occurred */ async getAgent(ref: string): Promise { @@ -172,19 +170,12 @@ export default class Agents extends FonosService { * }).catch(e => console.error(e)) // an error occurred */ async updateAgent(request: UpdateAgentRequest): Promise { - const getAgentRequest = new AgentsPB.GetAgentRequest(); - getAgentRequest.setRef(request.ref); - const agent = await super - .getService() - .getAgent() - .sendMessage(getAgentRequest); - - if (request.name) agent.setName(request.name); - if (request.secret) agent.setSecret(request.secret); - if (request.privacy) agent.setPrivacy(request.privacy); - const req = new AgentsPB.UpdateAgentRequest(); - req.setAgent(agent); + req.setRef(request.ref); + + if (request.name) req.setName(request.name); + if (request.secret) req.setSecret(request.secret); + if (request.privacy) req.setPrivacy(request.privacy); const res = await super.getService().updateAgent().sendMessage(req); @@ -194,7 +185,7 @@ export default class Agents extends FonosService { } /** - * List registered Agents in Fonos SIP Proxy subsystem. + * List registered Agents in Fonoster SIP Proxy subsystem. * * @param {ListAgentsRequest} request - Optional parameter with size and * token for the request @@ -216,10 +207,6 @@ export default class Agents extends FonosService { * }).catch(e => console.error(e)) // an error occurred */ async listAgents(request: ListAgentsRequest): Promise { - logger.log( - "verbose", - `@fonos/agents listAgent [request -> ${JSON.stringify(request)}]` - ); const r = new AgentsPB.ListAgentsRequest(); r.setPageSize(request.pageSize); r.setPageToken(request.pageToken); @@ -264,7 +251,7 @@ export default class Agents extends FonosService { } } -export {AgentsPB, CommonPB}; +export {AgentsPB, CommonPB, IAgentsClient}; // WARNING: Workaround for support to commonjs clients module.exports = Agents; diff --git a/mods/agents/src/client/types.ts b/mods/agents/src/client/types.ts index d9021ac80..f42d0f562 100644 --- a/mods/agents/src/client/types.ts +++ b/mods/agents/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +export interface IAgentsClient { + createAgent(request: CreateAgentRequest): Promise; + getAgent(ref: string): Promise; + updateAgent(request: UpdateAgentRequest): Promise; + listAgents(request: ListAgentsRequest): Promise; + deleteAgent(ref: string): Promise; +} export interface Agent { ref: string; diff --git a/mods/agents/src/protos/agents.proto b/mods/agents/src/protos/agents.proto index 2ef096c7a..ca00f34a5 100644 --- a/mods/agents/src/protos/agents.proto +++ b/mods/agents/src/protos/agents.proto @@ -7,67 +7,109 @@ */ syntax = "proto3"; -package fonos.agents.v1beta1; +package fonoster.agents.v1beta1; +option go_package = "github.com/fonoster/fonoster/mods/agents/fonoster/services/protos/agents"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; import "common.proto"; service Agents { // Lists Agents from the SIP Proxy subsystem - rpc ListAgents (ListAgentsRequest) returns (ListAgentsResponse) {}; - // Creates a new Agent resource. - rpc CreateAgent (CreateAgentRequest) returns (Agent) {}; - // Gets Agent using its reference - rpc GetAgent (GetAgentRequest) returns (Agent) {}; + rpc ListAgents (ListAgentsRequest) returns (ListAgentsResponse) { + option (google.api.http) = { get: "/v1beta1/agents" }; + }; + // Creates a new Agent resource + rpc CreateAgent (CreateAgentRequest) returns (Agent) { + option (google.api.http) = { + post: "/v1beta1/agents" + body: "*" + }; + }; + // Gets Agent by reference + rpc GetAgent (GetAgentRequest) returns (Agent) { + option (google.api.http) = { get: "/v1beta1/agents/{ref}" }; + }; // Change or update fields in a resource - rpc UpdateAgent (UpdateAgentRequest) returns (Agent) {}; - // Hard delete of a Agent resource - rpc DeleteAgent (DeleteAgentRequest) returns (fonos.common.v1beta1.Empty) {}; + rpc UpdateAgent (UpdateAgentRequest) returns (Agent) { + option (google.api.http) = { + put: "/v1beta1/agents/{ref}" + body: "*" + }; + }; + // Hard delete of an Agent resource + rpc DeleteAgent (DeleteAgentRequest) returns (fonoster.common.v1beta1.Empty) { + option (google.api.http) = { + delete: "/v1beta1/agents/{ref}" + }; + }; } - + message ListAgentsRequest { - // The maximum agent of items to return. + // The maximum number of items in the list int32 page_size = 1; - // The next_page_token value returned from a previous List request, if any. + // The next_page_token value returned from the previous request, if any string page_token = 2; - // Level of detail of the individual entities - fonos.common.v1beta1.View view = 3; + // Level of detail of the individual entities (reserved) + fonoster.common.v1beta1.View view = 3; } message ListAgentsResponse { - // There will be a maximum agent of items returned based on the page_size field - // in the request. + // List of Agents repeated Agent agents = 1; - // Token to retrieve the next page of results, or empty if there are no - // more results in the list. + // Token to retrieve the next page of results, or empty if there are no more results in the list string next_page_token = 2; } message CreateAgentRequest { - Agent agent = 1; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"John Doe\", \"username\": \"1001\", \"secret\": \"1234\", \"domains\": \"['sip.fonoster.com']\", \"privacy\": \"none\"}" + }; + string name = 1 [(google.api.field_behavior) = REQUIRED]; + string username = 2 [(google.api.field_behavior) = REQUIRED]; + string secret = 3 [(google.api.field_behavior) = REQUIRED]; + repeated string domains = 4 [(google.api.field_behavior) = REQUIRED]; + string privacy = 5; } message UpdateAgentRequest { - Agent agent = 1; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"John Doe\", \"secret\": \"1234\"}" + }; + // Agent's reference + string ref = 1; + string name = 2; + string secret = 3; + repeated string domains = 4; + string privacy = 5; } message GetAgentRequest { + // Agent's reference string ref = 1; } message DeleteAgentRequest { + // Agent's reference string ref = 1; } message Agent { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"ref\": \"aynB1z0tzd\", \"name\": \"John Doe\", \"username\": \"1001\", \"secret\": \"1234\", \"domains\": \"['sip.fonoster.com']\", \"privacy\": \"none\", \"createTime\": \"2021-10-05T13:23:07.221Z\", \"updateTime\": \"2021-10-05T13:23:07.221Z\"}" + }; + // Agent's reference string ref = 1; - string name = 2; - string username = 3; - string secret = 4; - repeated string domains = 5; + string name = 2 [(google.api.field_behavior) = REQUIRED]; + string username = 3 [(google.api.field_behavior) = REQUIRED]; + string secret = 4 [(google.api.field_behavior) = REQUIRED]; + repeated string domains = 5 [(google.api.field_behavior) = REQUIRED]; string privacy = 6; - string create_time = 7; - string update_time = 8; + string create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + string update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/mods/agents/src/service/agents.ts b/mods/agents/src/service/agents.ts index efb0583aa..4f670af27 100644 --- a/mods/agents/src/service/agents.ts +++ b/mods/agents/src/service/agents.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -32,13 +32,13 @@ import { IAgentsService, AgentsService } from "./protos/agents_grpc_pb"; -import {Kind, ResourceBuilder} from "@fonos/core"; +import {Kind, ResourceBuilder} from "@fonoster/core"; import { updateResource, createResource, ResourceServer, getAccessKeyId -} from "@fonos/core"; +} from "@fonoster/core"; import decoder from "./decoder"; class AgentsServer implements IAgentsServer { @@ -61,11 +61,10 @@ class AgentsServer implements IAgentsServer { call: grpc.ServerUnaryCall, callback: grpc.sendUnaryData ) { - const agent = call.request.getAgent(); try { - const resource = new ResourceBuilder(Kind.AGENT, agent.getName()) - .withCredentials(agent.getUsername(), agent.getSecret()) - .withDomains(agent.getDomainsList()) + const resource = new ResourceBuilder(Kind.AGENT, call.request.getName()) + .withCredentials(call.request.getUsername(), call.request.getSecret()) + .withDomains(call.request.getDomainsList()) .withMetadata({accessKeyId: getAccessKeyId(call)}) .build(); @@ -81,19 +80,18 @@ class AgentsServer implements IAgentsServer { call: grpc.ServerUnaryCall, callback: grpc.sendUnaryData ) { - const agent = call.request.getAgent(); try { + const agent = (await ResourceServer.getResource(Kind.AGENT, call)) as any; + const resource = new ResourceBuilder( Kind.AGENT, - agent.getName(), - agent.getRef() + call.request.getName(), + call.request.getRef() ) - .withCredentials(agent.getUsername(), agent.getSecret()) - .withDomains(agent.getDomainsList()) - .withMetadata({ - createdOn: agent.getCreateTime(), - modifiedOn: agent.getUpdateTime() - }) + .withCredentials( + agent.spec.credentials.username, + call.request.getSecret() + ) .build(); const result = await updateResource({ diff --git a/mods/agents/src/service/decoder.ts b/mods/agents/src/service/decoder.ts index 10c3461c8..bcafa9921 100644 --- a/mods/agents/src/service/decoder.ts +++ b/mods/agents/src/service/decoder.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/agents/src/service/healthcheck.ts b/mods/agents/src/service/healthcheck.ts index 03ef418cd..c024ae500 100644 --- a/mods/agents/src/service/healthcheck.ts +++ b/mods/agents/src/service/healthcheck.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; //healthcheck(); diff --git a/mods/agents/src/service/protos/.d.ts b/mods/agents/src/service/protos/.d.ts new file mode 100644 index 000000000..6a4504b89 --- /dev/null +++ b/mods/agents/src/service/protos/.d.ts @@ -0,0 +1,7 @@ +// package: +// file: + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; diff --git a/mods/agents/src/service/protos/agents_grpc_pb.d.ts b/mods/agents/src/service/protos/agents_grpc_pb.d.ts index 2ed7a9321..80d60f694 100644 --- a/mods/agents/src/service/protos/agents_grpc_pb.d.ts +++ b/mods/agents/src/service/protos/agents_grpc_pb.d.ts @@ -1,11 +1,14 @@ -// package: fonos.agents.v1beta1 +// package: fonoster.agents.v1beta1 // file: agents.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as agents_pb from "./agents_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; import * as common_pb from "./common_pb"; interface IAgentsService extends grpc.ServiceDefinition { @@ -17,7 +20,7 @@ interface IAgentsService extends grpc.ServiceDefinition { - path: "/fonos.agents.v1beta1.Agents/ListAgents"; + path: "/fonoster.agents.v1beta1.Agents/ListAgents"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -26,7 +29,7 @@ interface IAgentsService_IListAgents extends grpc.MethodDefinition; } interface IAgentsService_ICreateAgent extends grpc.MethodDefinition { - path: "/fonos.agents.v1beta1.Agents/CreateAgent"; + path: "/fonoster.agents.v1beta1.Agents/CreateAgent"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -35,7 +38,7 @@ interface IAgentsService_ICreateAgent extends grpc.MethodDefinition; } interface IAgentsService_IGetAgent extends grpc.MethodDefinition { - path: "/fonos.agents.v1beta1.Agents/GetAgent"; + path: "/fonoster.agents.v1beta1.Agents/GetAgent"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -44,7 +47,7 @@ interface IAgentsService_IGetAgent extends grpc.MethodDefinition; } interface IAgentsService_IUpdateAgent extends grpc.MethodDefinition { - path: "/fonos.agents.v1beta1.Agents/UpdateAgent"; + path: "/fonoster.agents.v1beta1.Agents/UpdateAgent"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -53,7 +56,7 @@ interface IAgentsService_IUpdateAgent extends grpc.MethodDefinition; } interface IAgentsService_IDeleteAgent extends grpc.MethodDefinition { - path: "/fonos.agents.v1beta1.Agents/DeleteAgent"; + path: "/fonoster.agents.v1beta1.Agents/DeleteAgent"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; diff --git a/mods/agents/src/service/protos/agents_grpc_pb.js b/mods/agents/src/service/protos/agents_grpc_pb.js index ee441b995..8b06f3093 100644 --- a/mods/agents/src/service/protos/agents_grpc_pb.js +++ b/mods/agents/src/service/protos/agents_grpc_pb.js @@ -10,93 +10,96 @@ 'use strict'; var grpc = require('@grpc/grpc-js'); var agents_pb = require('./agents_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); var common_pb = require('./common_pb.js'); -function serialize_fonos_agents_v1beta1_Agent(arg) { +function serialize_fonoster_agents_v1beta1_Agent(arg) { if (!(arg instanceof agents_pb.Agent)) { - throw new Error('Expected argument of type fonos.agents.v1beta1.Agent'); + throw new Error('Expected argument of type fonoster.agents.v1beta1.Agent'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_agents_v1beta1_Agent(buffer_arg) { +function deserialize_fonoster_agents_v1beta1_Agent(buffer_arg) { return agents_pb.Agent.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_agents_v1beta1_CreateAgentRequest(arg) { +function serialize_fonoster_agents_v1beta1_CreateAgentRequest(arg) { if (!(arg instanceof agents_pb.CreateAgentRequest)) { - throw new Error('Expected argument of type fonos.agents.v1beta1.CreateAgentRequest'); + throw new Error('Expected argument of type fonoster.agents.v1beta1.CreateAgentRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_agents_v1beta1_CreateAgentRequest(buffer_arg) { +function deserialize_fonoster_agents_v1beta1_CreateAgentRequest(buffer_arg) { return agents_pb.CreateAgentRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_agents_v1beta1_DeleteAgentRequest(arg) { +function serialize_fonoster_agents_v1beta1_DeleteAgentRequest(arg) { if (!(arg instanceof agents_pb.DeleteAgentRequest)) { - throw new Error('Expected argument of type fonos.agents.v1beta1.DeleteAgentRequest'); + throw new Error('Expected argument of type fonoster.agents.v1beta1.DeleteAgentRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_agents_v1beta1_DeleteAgentRequest(buffer_arg) { +function deserialize_fonoster_agents_v1beta1_DeleteAgentRequest(buffer_arg) { return agents_pb.DeleteAgentRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_agents_v1beta1_GetAgentRequest(arg) { +function serialize_fonoster_agents_v1beta1_GetAgentRequest(arg) { if (!(arg instanceof agents_pb.GetAgentRequest)) { - throw new Error('Expected argument of type fonos.agents.v1beta1.GetAgentRequest'); + throw new Error('Expected argument of type fonoster.agents.v1beta1.GetAgentRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_agents_v1beta1_GetAgentRequest(buffer_arg) { +function deserialize_fonoster_agents_v1beta1_GetAgentRequest(buffer_arg) { return agents_pb.GetAgentRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_agents_v1beta1_ListAgentsRequest(arg) { +function serialize_fonoster_agents_v1beta1_ListAgentsRequest(arg) { if (!(arg instanceof agents_pb.ListAgentsRequest)) { - throw new Error('Expected argument of type fonos.agents.v1beta1.ListAgentsRequest'); + throw new Error('Expected argument of type fonoster.agents.v1beta1.ListAgentsRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_agents_v1beta1_ListAgentsRequest(buffer_arg) { +function deserialize_fonoster_agents_v1beta1_ListAgentsRequest(buffer_arg) { return agents_pb.ListAgentsRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_agents_v1beta1_ListAgentsResponse(arg) { +function serialize_fonoster_agents_v1beta1_ListAgentsResponse(arg) { if (!(arg instanceof agents_pb.ListAgentsResponse)) { - throw new Error('Expected argument of type fonos.agents.v1beta1.ListAgentsResponse'); + throw new Error('Expected argument of type fonoster.agents.v1beta1.ListAgentsResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_agents_v1beta1_ListAgentsResponse(buffer_arg) { +function deserialize_fonoster_agents_v1beta1_ListAgentsResponse(buffer_arg) { return agents_pb.ListAgentsResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_agents_v1beta1_UpdateAgentRequest(arg) { +function serialize_fonoster_agents_v1beta1_UpdateAgentRequest(arg) { if (!(arg instanceof agents_pb.UpdateAgentRequest)) { - throw new Error('Expected argument of type fonos.agents.v1beta1.UpdateAgentRequest'); + throw new Error('Expected argument of type fonoster.agents.v1beta1.UpdateAgentRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_agents_v1beta1_UpdateAgentRequest(buffer_arg) { +function deserialize_fonoster_agents_v1beta1_UpdateAgentRequest(buffer_arg) { return agents_pb.UpdateAgentRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_common_v1beta1_Empty(arg) { +function serialize_fonoster_common_v1beta1_Empty(arg) { if (!(arg instanceof common_pb.Empty)) { - throw new Error('Expected argument of type fonos.common.v1beta1.Empty'); + throw new Error('Expected argument of type fonoster.common.v1beta1.Empty'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_common_v1beta1_Empty(buffer_arg) { +function deserialize_fonoster_common_v1beta1_Empty(buffer_arg) { return common_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg)); } @@ -104,63 +107,63 @@ function deserialize_fonos_common_v1beta1_Empty(buffer_arg) { var AgentsService = exports.AgentsService = { // Lists Agents from the SIP Proxy subsystem listAgents: { - path: '/fonos.agents.v1beta1.Agents/ListAgents', + path: '/fonoster.agents.v1beta1.Agents/ListAgents', requestStream: false, responseStream: false, requestType: agents_pb.ListAgentsRequest, responseType: agents_pb.ListAgentsResponse, - requestSerialize: serialize_fonos_agents_v1beta1_ListAgentsRequest, - requestDeserialize: deserialize_fonos_agents_v1beta1_ListAgentsRequest, - responseSerialize: serialize_fonos_agents_v1beta1_ListAgentsResponse, - responseDeserialize: deserialize_fonos_agents_v1beta1_ListAgentsResponse, + requestSerialize: serialize_fonoster_agents_v1beta1_ListAgentsRequest, + requestDeserialize: deserialize_fonoster_agents_v1beta1_ListAgentsRequest, + responseSerialize: serialize_fonoster_agents_v1beta1_ListAgentsResponse, + responseDeserialize: deserialize_fonoster_agents_v1beta1_ListAgentsResponse, }, - // Creates a new Agent resource. + // Creates a new Agent resource createAgent: { - path: '/fonos.agents.v1beta1.Agents/CreateAgent', + path: '/fonoster.agents.v1beta1.Agents/CreateAgent', requestStream: false, responseStream: false, requestType: agents_pb.CreateAgentRequest, responseType: agents_pb.Agent, - requestSerialize: serialize_fonos_agents_v1beta1_CreateAgentRequest, - requestDeserialize: deserialize_fonos_agents_v1beta1_CreateAgentRequest, - responseSerialize: serialize_fonos_agents_v1beta1_Agent, - responseDeserialize: deserialize_fonos_agents_v1beta1_Agent, + requestSerialize: serialize_fonoster_agents_v1beta1_CreateAgentRequest, + requestDeserialize: deserialize_fonoster_agents_v1beta1_CreateAgentRequest, + responseSerialize: serialize_fonoster_agents_v1beta1_Agent, + responseDeserialize: deserialize_fonoster_agents_v1beta1_Agent, }, - // Gets Agent using its reference + // Gets Agent by reference getAgent: { - path: '/fonos.agents.v1beta1.Agents/GetAgent', + path: '/fonoster.agents.v1beta1.Agents/GetAgent', requestStream: false, responseStream: false, requestType: agents_pb.GetAgentRequest, responseType: agents_pb.Agent, - requestSerialize: serialize_fonos_agents_v1beta1_GetAgentRequest, - requestDeserialize: deserialize_fonos_agents_v1beta1_GetAgentRequest, - responseSerialize: serialize_fonos_agents_v1beta1_Agent, - responseDeserialize: deserialize_fonos_agents_v1beta1_Agent, + requestSerialize: serialize_fonoster_agents_v1beta1_GetAgentRequest, + requestDeserialize: deserialize_fonoster_agents_v1beta1_GetAgentRequest, + responseSerialize: serialize_fonoster_agents_v1beta1_Agent, + responseDeserialize: deserialize_fonoster_agents_v1beta1_Agent, }, // Change or update fields in a resource updateAgent: { - path: '/fonos.agents.v1beta1.Agents/UpdateAgent', + path: '/fonoster.agents.v1beta1.Agents/UpdateAgent', requestStream: false, responseStream: false, requestType: agents_pb.UpdateAgentRequest, responseType: agents_pb.Agent, - requestSerialize: serialize_fonos_agents_v1beta1_UpdateAgentRequest, - requestDeserialize: deserialize_fonos_agents_v1beta1_UpdateAgentRequest, - responseSerialize: serialize_fonos_agents_v1beta1_Agent, - responseDeserialize: deserialize_fonos_agents_v1beta1_Agent, + requestSerialize: serialize_fonoster_agents_v1beta1_UpdateAgentRequest, + requestDeserialize: deserialize_fonoster_agents_v1beta1_UpdateAgentRequest, + responseSerialize: serialize_fonoster_agents_v1beta1_Agent, + responseDeserialize: deserialize_fonoster_agents_v1beta1_Agent, }, - // Hard delete of a Agent resource + // Hard delete of an Agent resource deleteAgent: { - path: '/fonos.agents.v1beta1.Agents/DeleteAgent', + path: '/fonoster.agents.v1beta1.Agents/DeleteAgent', requestStream: false, responseStream: false, requestType: agents_pb.DeleteAgentRequest, responseType: common_pb.Empty, - requestSerialize: serialize_fonos_agents_v1beta1_DeleteAgentRequest, - requestDeserialize: deserialize_fonos_agents_v1beta1_DeleteAgentRequest, - responseSerialize: serialize_fonos_common_v1beta1_Empty, - responseDeserialize: deserialize_fonos_common_v1beta1_Empty, + requestSerialize: serialize_fonoster_agents_v1beta1_DeleteAgentRequest, + requestDeserialize: deserialize_fonoster_agents_v1beta1_DeleteAgentRequest, + responseSerialize: serialize_fonoster_common_v1beta1_Empty, + responseDeserialize: deserialize_fonoster_common_v1beta1_Empty, }, }; diff --git a/mods/agents/src/service/protos/agents_pb.d.ts b/mods/agents/src/service/protos/agents_pb.d.ts index e24a03ad9..17f0cb795 100644 --- a/mods/agents/src/service/protos/agents_pb.d.ts +++ b/mods/agents/src/service/protos/agents_pb.d.ts @@ -1,10 +1,12 @@ -// package: fonos.agents.v1beta1 +// package: fonoster.agents.v1beta1 // file: agents.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; import * as common_pb from "./common_pb"; export class ListAgentsRequest extends jspb.Message { @@ -59,11 +61,18 @@ export namespace ListAgentsResponse { } export class CreateAgentRequest extends jspb.Message { - - hasAgent(): boolean; - clearAgent(): void; - getAgent(): Agent | undefined; - setAgent(value?: Agent): CreateAgentRequest; + getName(): string; + setName(value: string): CreateAgentRequest; + getUsername(): string; + setUsername(value: string): CreateAgentRequest; + getSecret(): string; + setSecret(value: string): CreateAgentRequest; + clearDomainsList(): void; + getDomainsList(): Array; + setDomainsList(value: Array): CreateAgentRequest; + addDomains(value: string, index?: number): string; + getPrivacy(): string; + setPrivacy(value: string): CreateAgentRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateAgentRequest.AsObject; @@ -77,16 +86,27 @@ export class CreateAgentRequest extends jspb.Message { export namespace CreateAgentRequest { export type AsObject = { - agent?: Agent.AsObject, + name: string, + username: string, + secret: string, + domainsList: Array, + privacy: string, } } export class UpdateAgentRequest extends jspb.Message { - - hasAgent(): boolean; - clearAgent(): void; - getAgent(): Agent | undefined; - setAgent(value?: Agent): UpdateAgentRequest; + getRef(): string; + setRef(value: string): UpdateAgentRequest; + getName(): string; + setName(value: string): UpdateAgentRequest; + getSecret(): string; + setSecret(value: string): UpdateAgentRequest; + clearDomainsList(): void; + getDomainsList(): Array; + setDomainsList(value: Array): UpdateAgentRequest; + addDomains(value: string, index?: number): string; + getPrivacy(): string; + setPrivacy(value: string): UpdateAgentRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateAgentRequest.AsObject; @@ -100,7 +120,11 @@ export class UpdateAgentRequest extends jspb.Message { export namespace UpdateAgentRequest { export type AsObject = { - agent?: Agent.AsObject, + ref: string, + name: string, + secret: string, + domainsList: Array, + privacy: string, } } diff --git a/mods/agents/src/service/protos/agents_pb.js b/mods/agents/src/service/protos/agents_pb.js index 713e17b62..11a1b68a4 100644 --- a/mods/agents/src/service/protos/agents_pb.js +++ b/mods/agents/src/service/protos/agents_pb.js @@ -15,15 +15,21 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +goog.object.extend(proto, google_api_field_behavior_pb); var common_pb = require('./common_pb.js'); goog.object.extend(proto, common_pb); -goog.exportSymbol('proto.fonos.agents.v1beta1.Agent', null, global); -goog.exportSymbol('proto.fonos.agents.v1beta1.CreateAgentRequest', null, global); -goog.exportSymbol('proto.fonos.agents.v1beta1.DeleteAgentRequest', null, global); -goog.exportSymbol('proto.fonos.agents.v1beta1.GetAgentRequest', null, global); -goog.exportSymbol('proto.fonos.agents.v1beta1.ListAgentsRequest', null, global); -goog.exportSymbol('proto.fonos.agents.v1beta1.ListAgentsResponse', null, global); -goog.exportSymbol('proto.fonos.agents.v1beta1.UpdateAgentRequest', null, global); +goog.exportSymbol('proto.fonoster.agents.v1beta1.Agent', null, global); +goog.exportSymbol('proto.fonoster.agents.v1beta1.CreateAgentRequest', null, global); +goog.exportSymbol('proto.fonoster.agents.v1beta1.DeleteAgentRequest', null, global); +goog.exportSymbol('proto.fonoster.agents.v1beta1.GetAgentRequest', null, global); +goog.exportSymbol('proto.fonoster.agents.v1beta1.ListAgentsRequest', null, global); +goog.exportSymbol('proto.fonoster.agents.v1beta1.ListAgentsResponse', null, global); +goog.exportSymbol('proto.fonoster.agents.v1beta1.UpdateAgentRequest', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -34,16 +40,16 @@ goog.exportSymbol('proto.fonos.agents.v1beta1.UpdateAgentRequest', null, global) * @extends {jspb.Message} * @constructor */ -proto.fonos.agents.v1beta1.ListAgentsRequest = function(opt_data) { +proto.fonoster.agents.v1beta1.ListAgentsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.agents.v1beta1.ListAgentsRequest, jspb.Message); +goog.inherits(proto.fonoster.agents.v1beta1.ListAgentsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.agents.v1beta1.ListAgentsRequest.displayName = 'proto.fonos.agents.v1beta1.ListAgentsRequest'; + proto.fonoster.agents.v1beta1.ListAgentsRequest.displayName = 'proto.fonoster.agents.v1beta1.ListAgentsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -55,16 +61,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.agents.v1beta1.ListAgentsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.agents.v1beta1.ListAgentsResponse.repeatedFields_, null); +proto.fonoster.agents.v1beta1.ListAgentsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.agents.v1beta1.ListAgentsResponse.repeatedFields_, null); }; -goog.inherits(proto.fonos.agents.v1beta1.ListAgentsResponse, jspb.Message); +goog.inherits(proto.fonoster.agents.v1beta1.ListAgentsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.agents.v1beta1.ListAgentsResponse.displayName = 'proto.fonos.agents.v1beta1.ListAgentsResponse'; + proto.fonoster.agents.v1beta1.ListAgentsResponse.displayName = 'proto.fonoster.agents.v1beta1.ListAgentsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -76,16 +82,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.agents.v1beta1.CreateAgentRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.fonoster.agents.v1beta1.CreateAgentRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.agents.v1beta1.CreateAgentRequest.repeatedFields_, null); }; -goog.inherits(proto.fonos.agents.v1beta1.CreateAgentRequest, jspb.Message); +goog.inherits(proto.fonoster.agents.v1beta1.CreateAgentRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.agents.v1beta1.CreateAgentRequest.displayName = 'proto.fonos.agents.v1beta1.CreateAgentRequest'; + proto.fonoster.agents.v1beta1.CreateAgentRequest.displayName = 'proto.fonoster.agents.v1beta1.CreateAgentRequest'; } /** * Generated by JsPbCodeGenerator. @@ -97,16 +103,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.agents.v1beta1.UpdateAgentRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.fonoster.agents.v1beta1.UpdateAgentRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.agents.v1beta1.UpdateAgentRequest.repeatedFields_, null); }; -goog.inherits(proto.fonos.agents.v1beta1.UpdateAgentRequest, jspb.Message); +goog.inherits(proto.fonoster.agents.v1beta1.UpdateAgentRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.agents.v1beta1.UpdateAgentRequest.displayName = 'proto.fonos.agents.v1beta1.UpdateAgentRequest'; + proto.fonoster.agents.v1beta1.UpdateAgentRequest.displayName = 'proto.fonoster.agents.v1beta1.UpdateAgentRequest'; } /** * Generated by JsPbCodeGenerator. @@ -118,16 +124,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.agents.v1beta1.GetAgentRequest = function(opt_data) { +proto.fonoster.agents.v1beta1.GetAgentRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.agents.v1beta1.GetAgentRequest, jspb.Message); +goog.inherits(proto.fonoster.agents.v1beta1.GetAgentRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.agents.v1beta1.GetAgentRequest.displayName = 'proto.fonos.agents.v1beta1.GetAgentRequest'; + proto.fonoster.agents.v1beta1.GetAgentRequest.displayName = 'proto.fonoster.agents.v1beta1.GetAgentRequest'; } /** * Generated by JsPbCodeGenerator. @@ -139,16 +145,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.agents.v1beta1.DeleteAgentRequest = function(opt_data) { +proto.fonoster.agents.v1beta1.DeleteAgentRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.agents.v1beta1.DeleteAgentRequest, jspb.Message); +goog.inherits(proto.fonoster.agents.v1beta1.DeleteAgentRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.agents.v1beta1.DeleteAgentRequest.displayName = 'proto.fonos.agents.v1beta1.DeleteAgentRequest'; + proto.fonoster.agents.v1beta1.DeleteAgentRequest.displayName = 'proto.fonoster.agents.v1beta1.DeleteAgentRequest'; } /** * Generated by JsPbCodeGenerator. @@ -160,16 +166,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.agents.v1beta1.Agent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.agents.v1beta1.Agent.repeatedFields_, null); +proto.fonoster.agents.v1beta1.Agent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.agents.v1beta1.Agent.repeatedFields_, null); }; -goog.inherits(proto.fonos.agents.v1beta1.Agent, jspb.Message); +goog.inherits(proto.fonoster.agents.v1beta1.Agent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.agents.v1beta1.Agent.displayName = 'proto.fonos.agents.v1beta1.Agent'; + proto.fonoster.agents.v1beta1.Agent.displayName = 'proto.fonoster.agents.v1beta1.Agent'; } @@ -187,8 +193,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.agents.v1beta1.ListAgentsRequest.toObject(opt_includeInstance, this); +proto.fonoster.agents.v1beta1.ListAgentsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.agents.v1beta1.ListAgentsRequest.toObject(opt_includeInstance, this); }; @@ -197,11 +203,11 @@ proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.agents.v1beta1.ListAgentsRequest} msg The msg instance to transform. + * @param {!proto.fonoster.agents.v1beta1.ListAgentsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.ListAgentsRequest.toObject = function(includeInstance, msg) { +proto.fonoster.agents.v1beta1.ListAgentsRequest.toObject = function(includeInstance, msg) { var f, obj = { pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0), pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -219,23 +225,23 @@ proto.fonos.agents.v1beta1.ListAgentsRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.agents.v1beta1.ListAgentsRequest} + * @return {!proto.fonoster.agents.v1beta1.ListAgentsRequest} */ -proto.fonos.agents.v1beta1.ListAgentsRequest.deserializeBinary = function(bytes) { +proto.fonoster.agents.v1beta1.ListAgentsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.agents.v1beta1.ListAgentsRequest; - return proto.fonos.agents.v1beta1.ListAgentsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.agents.v1beta1.ListAgentsRequest; + return proto.fonoster.agents.v1beta1.ListAgentsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.agents.v1beta1.ListAgentsRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.agents.v1beta1.ListAgentsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.agents.v1beta1.ListAgentsRequest} + * @return {!proto.fonoster.agents.v1beta1.ListAgentsRequest} */ -proto.fonos.agents.v1beta1.ListAgentsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.agents.v1beta1.ListAgentsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -251,7 +257,7 @@ proto.fonos.agents.v1beta1.ListAgentsRequest.deserializeBinaryFromReader = funct msg.setPageToken(value); break; case 3: - var value = /** @type {!proto.fonos.common.v1beta1.View} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.common.v1beta1.View} */ (reader.readEnum()); msg.setView(value); break; default: @@ -267,9 +273,9 @@ proto.fonos.agents.v1beta1.ListAgentsRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.serializeBinary = function() { +proto.fonoster.agents.v1beta1.ListAgentsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.agents.v1beta1.ListAgentsRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.agents.v1beta1.ListAgentsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -277,11 +283,11 @@ proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.agents.v1beta1.ListAgentsRequest} message + * @param {!proto.fonoster.agents.v1beta1.ListAgentsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.ListAgentsRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.agents.v1beta1.ListAgentsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPageSize(); if (f !== 0) { @@ -311,16 +317,16 @@ proto.fonos.agents.v1beta1.ListAgentsRequest.serializeBinaryToWriter = function( * optional int32 page_size = 1; * @return {number} */ -proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.getPageSize = function() { +proto.fonoster.agents.v1beta1.ListAgentsRequest.prototype.getPageSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.fonos.agents.v1beta1.ListAgentsRequest} returns this + * @return {!proto.fonoster.agents.v1beta1.ListAgentsRequest} returns this */ -proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.setPageSize = function(value) { +proto.fonoster.agents.v1beta1.ListAgentsRequest.prototype.setPageSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -329,34 +335,34 @@ proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.setPageSize = function(va * optional string page_token = 2; * @return {string} */ -proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.getPageToken = function() { +proto.fonoster.agents.v1beta1.ListAgentsRequest.prototype.getPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.ListAgentsRequest} returns this + * @return {!proto.fonoster.agents.v1beta1.ListAgentsRequest} returns this */ -proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.setPageToken = function(value) { +proto.fonoster.agents.v1beta1.ListAgentsRequest.prototype.setPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional fonos.common.v1beta1.View view = 3; - * @return {!proto.fonos.common.v1beta1.View} + * optional fonoster.common.v1beta1.View view = 3; + * @return {!proto.fonoster.common.v1beta1.View} */ -proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.getView = function() { - return /** @type {!proto.fonos.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.fonoster.agents.v1beta1.ListAgentsRequest.prototype.getView = function() { + return /** @type {!proto.fonoster.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!proto.fonos.common.v1beta1.View} value - * @return {!proto.fonos.agents.v1beta1.ListAgentsRequest} returns this + * @param {!proto.fonoster.common.v1beta1.View} value + * @return {!proto.fonoster.agents.v1beta1.ListAgentsRequest} returns this */ -proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.setView = function(value) { +proto.fonoster.agents.v1beta1.ListAgentsRequest.prototype.setView = function(value) { return jspb.Message.setProto3EnumField(this, 3, value); }; @@ -367,7 +373,7 @@ proto.fonos.agents.v1beta1.ListAgentsRequest.prototype.setView = function(value) * @private {!Array} * @const */ -proto.fonos.agents.v1beta1.ListAgentsResponse.repeatedFields_ = [1]; +proto.fonoster.agents.v1beta1.ListAgentsResponse.repeatedFields_ = [1]; @@ -384,8 +390,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.agents.v1beta1.ListAgentsResponse.toObject(opt_includeInstance, this); +proto.fonoster.agents.v1beta1.ListAgentsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.agents.v1beta1.ListAgentsResponse.toObject(opt_includeInstance, this); }; @@ -394,14 +400,14 @@ proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.agents.v1beta1.ListAgentsResponse} msg The msg instance to transform. + * @param {!proto.fonoster.agents.v1beta1.ListAgentsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.ListAgentsResponse.toObject = function(includeInstance, msg) { +proto.fonoster.agents.v1beta1.ListAgentsResponse.toObject = function(includeInstance, msg) { var f, obj = { agentsList: jspb.Message.toObjectList(msg.getAgentsList(), - proto.fonos.agents.v1beta1.Agent.toObject, includeInstance), + proto.fonoster.agents.v1beta1.Agent.toObject, includeInstance), nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; @@ -416,23 +422,23 @@ proto.fonos.agents.v1beta1.ListAgentsResponse.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.agents.v1beta1.ListAgentsResponse} + * @return {!proto.fonoster.agents.v1beta1.ListAgentsResponse} */ -proto.fonos.agents.v1beta1.ListAgentsResponse.deserializeBinary = function(bytes) { +proto.fonoster.agents.v1beta1.ListAgentsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.agents.v1beta1.ListAgentsResponse; - return proto.fonos.agents.v1beta1.ListAgentsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.agents.v1beta1.ListAgentsResponse; + return proto.fonoster.agents.v1beta1.ListAgentsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.agents.v1beta1.ListAgentsResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.agents.v1beta1.ListAgentsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.agents.v1beta1.ListAgentsResponse} + * @return {!proto.fonoster.agents.v1beta1.ListAgentsResponse} */ -proto.fonos.agents.v1beta1.ListAgentsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.agents.v1beta1.ListAgentsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -440,8 +446,8 @@ proto.fonos.agents.v1beta1.ListAgentsResponse.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.agents.v1beta1.Agent; - reader.readMessage(value,proto.fonos.agents.v1beta1.Agent.deserializeBinaryFromReader); + var value = new proto.fonoster.agents.v1beta1.Agent; + reader.readMessage(value,proto.fonoster.agents.v1beta1.Agent.deserializeBinaryFromReader); msg.addAgents(value); break; case 2: @@ -461,9 +467,9 @@ proto.fonos.agents.v1beta1.ListAgentsResponse.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.serializeBinary = function() { +proto.fonoster.agents.v1beta1.ListAgentsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.agents.v1beta1.ListAgentsResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.agents.v1beta1.ListAgentsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -471,18 +477,18 @@ proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.agents.v1beta1.ListAgentsResponse} message + * @param {!proto.fonoster.agents.v1beta1.ListAgentsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.ListAgentsResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.agents.v1beta1.ListAgentsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAgentsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.fonos.agents.v1beta1.Agent.serializeBinaryToWriter + proto.fonoster.agents.v1beta1.Agent.serializeBinaryToWriter ); } f = message.getNextPageToken(); @@ -497,38 +503,38 @@ proto.fonos.agents.v1beta1.ListAgentsResponse.serializeBinaryToWriter = function /** * repeated Agent agents = 1; - * @return {!Array} + * @return {!Array} */ -proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.getAgentsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.fonos.agents.v1beta1.Agent, 1)); +proto.fonoster.agents.v1beta1.ListAgentsResponse.prototype.getAgentsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.fonoster.agents.v1beta1.Agent, 1)); }; /** - * @param {!Array} value - * @return {!proto.fonos.agents.v1beta1.ListAgentsResponse} returns this + * @param {!Array} value + * @return {!proto.fonoster.agents.v1beta1.ListAgentsResponse} returns this */ -proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.setAgentsList = function(value) { +proto.fonoster.agents.v1beta1.ListAgentsResponse.prototype.setAgentsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.fonos.agents.v1beta1.Agent=} opt_value + * @param {!proto.fonoster.agents.v1beta1.Agent=} opt_value * @param {number=} opt_index - * @return {!proto.fonos.agents.v1beta1.Agent} + * @return {!proto.fonoster.agents.v1beta1.Agent} */ -proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.addAgents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonos.agents.v1beta1.Agent, opt_index); +proto.fonoster.agents.v1beta1.ListAgentsResponse.prototype.addAgents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.agents.v1beta1.Agent, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.agents.v1beta1.ListAgentsResponse} returns this + * @return {!proto.fonoster.agents.v1beta1.ListAgentsResponse} returns this */ -proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.clearAgentsList = function() { +proto.fonoster.agents.v1beta1.ListAgentsResponse.prototype.clearAgentsList = function() { return this.setAgentsList([]); }; @@ -537,21 +543,28 @@ proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.clearAgentsList = functi * optional string next_page_token = 2; * @return {string} */ -proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.getNextPageToken = function() { +proto.fonoster.agents.v1beta1.ListAgentsResponse.prototype.getNextPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.ListAgentsResponse} returns this + * @return {!proto.fonoster.agents.v1beta1.ListAgentsResponse} returns this */ -proto.fonos.agents.v1beta1.ListAgentsResponse.prototype.setNextPageToken = function(value) { +proto.fonoster.agents.v1beta1.ListAgentsResponse.prototype.setNextPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.repeatedFields_ = [4]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -567,8 +580,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.agents.v1beta1.CreateAgentRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.agents.v1beta1.CreateAgentRequest.toObject(opt_includeInstance, this); +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.agents.v1beta1.CreateAgentRequest.toObject(opt_includeInstance, this); }; @@ -577,13 +590,17 @@ proto.fonos.agents.v1beta1.CreateAgentRequest.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.agents.v1beta1.CreateAgentRequest} msg The msg instance to transform. + * @param {!proto.fonoster.agents.v1beta1.CreateAgentRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.CreateAgentRequest.toObject = function(includeInstance, msg) { +proto.fonoster.agents.v1beta1.CreateAgentRequest.toObject = function(includeInstance, msg) { var f, obj = { - agent: (f = msg.getAgent()) && proto.fonos.agents.v1beta1.Agent.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + username: jspb.Message.getFieldWithDefault(msg, 2, ""), + secret: jspb.Message.getFieldWithDefault(msg, 3, ""), + domainsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + privacy: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -597,23 +614,23 @@ proto.fonos.agents.v1beta1.CreateAgentRequest.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.agents.v1beta1.CreateAgentRequest} + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} */ -proto.fonos.agents.v1beta1.CreateAgentRequest.deserializeBinary = function(bytes) { +proto.fonoster.agents.v1beta1.CreateAgentRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.agents.v1beta1.CreateAgentRequest; - return proto.fonos.agents.v1beta1.CreateAgentRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.agents.v1beta1.CreateAgentRequest; + return proto.fonoster.agents.v1beta1.CreateAgentRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.agents.v1beta1.CreateAgentRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.agents.v1beta1.CreateAgentRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.agents.v1beta1.CreateAgentRequest} + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} */ -proto.fonos.agents.v1beta1.CreateAgentRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.agents.v1beta1.CreateAgentRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -621,9 +638,24 @@ proto.fonos.agents.v1beta1.CreateAgentRequest.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.agents.v1beta1.Agent; - reader.readMessage(value,proto.fonos.agents.v1beta1.Agent.deserializeBinaryFromReader); - msg.setAgent(value); + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUsername(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setSecret(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.addDomains(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setPrivacy(value); break; default: reader.skipField(); @@ -638,9 +670,9 @@ proto.fonos.agents.v1beta1.CreateAgentRequest.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.agents.v1beta1.CreateAgentRequest.prototype.serializeBinary = function() { +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.agents.v1beta1.CreateAgentRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.agents.v1beta1.CreateAgentRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -648,60 +680,166 @@ proto.fonos.agents.v1beta1.CreateAgentRequest.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.agents.v1beta1.CreateAgentRequest} message + * @param {!proto.fonoster.agents.v1beta1.CreateAgentRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.CreateAgentRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.agents.v1beta1.CreateAgentRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getAgent(); - if (f != null) { - writer.writeMessage( + f = message.getName(); + if (f.length > 0) { + writer.writeString( 1, - f, - proto.fonos.agents.v1beta1.Agent.serializeBinaryToWriter + f ); } + f = message.getUsername(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getSecret(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDomainsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 4, + f + ); + } + f = message.getPrivacy(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * optional Agent agent = 1; - * @return {?proto.fonos.agents.v1beta1.Agent} + * @param {string} value + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} returns this */ -proto.fonos.agents.v1beta1.CreateAgentRequest.prototype.getAgent = function() { - return /** @type{?proto.fonos.agents.v1beta1.Agent} */ ( - jspb.Message.getWrapperField(this, proto.fonos.agents.v1beta1.Agent, 1)); +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * @param {?proto.fonos.agents.v1beta1.Agent|undefined} value - * @return {!proto.fonos.agents.v1beta1.CreateAgentRequest} returns this -*/ -proto.fonos.agents.v1beta1.CreateAgentRequest.prototype.setAgent = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * optional string username = 2; + * @return {string} + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.getUsername = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * Clears the message field making it undefined. - * @return {!proto.fonos.agents.v1beta1.CreateAgentRequest} returns this + * @param {string} value + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} returns this */ -proto.fonos.agents.v1beta1.CreateAgentRequest.prototype.clearAgent = function() { - return this.setAgent(undefined); +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.setUsername = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** - * Returns whether this field is set. - * @return {boolean} + * optional string secret = 3; + * @return {string} */ -proto.fonos.agents.v1beta1.CreateAgentRequest.prototype.hasAgent = function() { - return jspb.Message.getField(this, 1) != null; +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.getSecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; +/** + * @param {string} value + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.setSecret = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * repeated string domains = 4; + * @return {!Array} + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.getDomainsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.setDomainsList = function(value) { + return jspb.Message.setField(this, 4, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.addDomains = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.clearDomainsList = function() { + return this.setDomainsList([]); +}; + + +/** + * optional string privacy = 5; + * @return {string} + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.getPrivacy = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.agents.v1beta1.CreateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.CreateAgentRequest.prototype.setPrivacy = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.repeatedFields_ = [4]; @@ -718,8 +856,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.agents.v1beta1.UpdateAgentRequest.toObject(opt_includeInstance, this); +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.agents.v1beta1.UpdateAgentRequest.toObject(opt_includeInstance, this); }; @@ -728,13 +866,17 @@ proto.fonos.agents.v1beta1.UpdateAgentRequest.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.agents.v1beta1.UpdateAgentRequest} msg The msg instance to transform. + * @param {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.toObject = function(includeInstance, msg) { +proto.fonoster.agents.v1beta1.UpdateAgentRequest.toObject = function(includeInstance, msg) { var f, obj = { - agent: (f = msg.getAgent()) && proto.fonos.agents.v1beta1.Agent.toObject(includeInstance, f) + ref: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + secret: jspb.Message.getFieldWithDefault(msg, 3, ""), + domainsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + privacy: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -748,23 +890,23 @@ proto.fonos.agents.v1beta1.UpdateAgentRequest.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.agents.v1beta1.UpdateAgentRequest} + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.deserializeBinary = function(bytes) { +proto.fonoster.agents.v1beta1.UpdateAgentRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.agents.v1beta1.UpdateAgentRequest; - return proto.fonos.agents.v1beta1.UpdateAgentRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.agents.v1beta1.UpdateAgentRequest; + return proto.fonoster.agents.v1beta1.UpdateAgentRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.agents.v1beta1.UpdateAgentRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.agents.v1beta1.UpdateAgentRequest} + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.agents.v1beta1.UpdateAgentRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -772,9 +914,24 @@ proto.fonos.agents.v1beta1.UpdateAgentRequest.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.agents.v1beta1.Agent; - reader.readMessage(value,proto.fonos.agents.v1beta1.Agent.deserializeBinaryFromReader); - msg.setAgent(value); + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setSecret(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.addDomains(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setPrivacy(value); break; default: reader.skipField(); @@ -789,9 +946,9 @@ proto.fonos.agents.v1beta1.UpdateAgentRequest.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.prototype.serializeBinary = function() { +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.agents.v1beta1.UpdateAgentRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.agents.v1beta1.UpdateAgentRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -799,57 +956,156 @@ proto.fonos.agents.v1beta1.UpdateAgentRequest.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.agents.v1beta1.UpdateAgentRequest} message + * @param {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.agents.v1beta1.UpdateAgentRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getAgent(); - if (f != null) { - writer.writeMessage( + f = message.getRef(); + if (f.length > 0) { + writer.writeString( 1, - f, - proto.fonos.agents.v1beta1.Agent.serializeBinaryToWriter + f ); } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getSecret(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDomainsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 4, + f + ); + } + f = message.getPrivacy(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * optional Agent agent = 1; - * @return {?proto.fonos.agents.v1beta1.Agent} + * @param {string} value + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} returns this */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.prototype.getAgent = function() { - return /** @type{?proto.fonos.agents.v1beta1.Agent} */ ( - jspb.Message.getWrapperField(this, proto.fonos.agents.v1beta1.Agent, 1)); +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * @param {?proto.fonos.agents.v1beta1.Agent|undefined} value - * @return {!proto.fonos.agents.v1beta1.UpdateAgentRequest} returns this -*/ -proto.fonos.agents.v1beta1.UpdateAgentRequest.prototype.setAgent = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * optional string name = 2; + * @return {string} + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * Clears the message field making it undefined. - * @return {!proto.fonos.agents.v1beta1.UpdateAgentRequest} returns this + * @param {string} value + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} returns this */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.prototype.clearAgent = function() { - return this.setAgent(undefined); +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** - * Returns whether this field is set. - * @return {boolean} + * optional string secret = 3; + * @return {string} + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.getSecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.setSecret = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * repeated string domains = 4; + * @return {!Array} + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.getDomainsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.setDomainsList = function(value) { + return jspb.Message.setField(this, 4, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.addDomains = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} returns this + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.clearDomainsList = function() { + return this.setDomainsList([]); +}; + + +/** + * optional string privacy = 5; + * @return {string} + */ +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.getPrivacy = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.agents.v1beta1.UpdateAgentRequest} returns this */ -proto.fonos.agents.v1beta1.UpdateAgentRequest.prototype.hasAgent = function() { - return jspb.Message.getField(this, 1) != null; +proto.fonoster.agents.v1beta1.UpdateAgentRequest.prototype.setPrivacy = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); }; @@ -869,8 +1125,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.agents.v1beta1.GetAgentRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.agents.v1beta1.GetAgentRequest.toObject(opt_includeInstance, this); +proto.fonoster.agents.v1beta1.GetAgentRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.agents.v1beta1.GetAgentRequest.toObject(opt_includeInstance, this); }; @@ -879,11 +1135,11 @@ proto.fonos.agents.v1beta1.GetAgentRequest.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.agents.v1beta1.GetAgentRequest} msg The msg instance to transform. + * @param {!proto.fonoster.agents.v1beta1.GetAgentRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.GetAgentRequest.toObject = function(includeInstance, msg) { +proto.fonoster.agents.v1beta1.GetAgentRequest.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -899,23 +1155,23 @@ proto.fonos.agents.v1beta1.GetAgentRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.agents.v1beta1.GetAgentRequest} + * @return {!proto.fonoster.agents.v1beta1.GetAgentRequest} */ -proto.fonos.agents.v1beta1.GetAgentRequest.deserializeBinary = function(bytes) { +proto.fonoster.agents.v1beta1.GetAgentRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.agents.v1beta1.GetAgentRequest; - return proto.fonos.agents.v1beta1.GetAgentRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.agents.v1beta1.GetAgentRequest; + return proto.fonoster.agents.v1beta1.GetAgentRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.agents.v1beta1.GetAgentRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.agents.v1beta1.GetAgentRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.agents.v1beta1.GetAgentRequest} + * @return {!proto.fonoster.agents.v1beta1.GetAgentRequest} */ -proto.fonos.agents.v1beta1.GetAgentRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.agents.v1beta1.GetAgentRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -939,9 +1195,9 @@ proto.fonos.agents.v1beta1.GetAgentRequest.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.agents.v1beta1.GetAgentRequest.prototype.serializeBinary = function() { +proto.fonoster.agents.v1beta1.GetAgentRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.agents.v1beta1.GetAgentRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.agents.v1beta1.GetAgentRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -949,11 +1205,11 @@ proto.fonos.agents.v1beta1.GetAgentRequest.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.agents.v1beta1.GetAgentRequest} message + * @param {!proto.fonoster.agents.v1beta1.GetAgentRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.GetAgentRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.agents.v1beta1.GetAgentRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -969,16 +1225,16 @@ proto.fonos.agents.v1beta1.GetAgentRequest.serializeBinaryToWriter = function(me * optional string ref = 1; * @return {string} */ -proto.fonos.agents.v1beta1.GetAgentRequest.prototype.getRef = function() { +proto.fonoster.agents.v1beta1.GetAgentRequest.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.GetAgentRequest} returns this + * @return {!proto.fonoster.agents.v1beta1.GetAgentRequest} returns this */ -proto.fonos.agents.v1beta1.GetAgentRequest.prototype.setRef = function(value) { +proto.fonoster.agents.v1beta1.GetAgentRequest.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -999,8 +1255,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.agents.v1beta1.DeleteAgentRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.agents.v1beta1.DeleteAgentRequest.toObject(opt_includeInstance, this); +proto.fonoster.agents.v1beta1.DeleteAgentRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.agents.v1beta1.DeleteAgentRequest.toObject(opt_includeInstance, this); }; @@ -1009,11 +1265,11 @@ proto.fonos.agents.v1beta1.DeleteAgentRequest.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.agents.v1beta1.DeleteAgentRequest} msg The msg instance to transform. + * @param {!proto.fonoster.agents.v1beta1.DeleteAgentRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.DeleteAgentRequest.toObject = function(includeInstance, msg) { +proto.fonoster.agents.v1beta1.DeleteAgentRequest.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1029,23 +1285,23 @@ proto.fonos.agents.v1beta1.DeleteAgentRequest.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.agents.v1beta1.DeleteAgentRequest} + * @return {!proto.fonoster.agents.v1beta1.DeleteAgentRequest} */ -proto.fonos.agents.v1beta1.DeleteAgentRequest.deserializeBinary = function(bytes) { +proto.fonoster.agents.v1beta1.DeleteAgentRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.agents.v1beta1.DeleteAgentRequest; - return proto.fonos.agents.v1beta1.DeleteAgentRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.agents.v1beta1.DeleteAgentRequest; + return proto.fonoster.agents.v1beta1.DeleteAgentRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.agents.v1beta1.DeleteAgentRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.agents.v1beta1.DeleteAgentRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.agents.v1beta1.DeleteAgentRequest} + * @return {!proto.fonoster.agents.v1beta1.DeleteAgentRequest} */ -proto.fonos.agents.v1beta1.DeleteAgentRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.agents.v1beta1.DeleteAgentRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1069,9 +1325,9 @@ proto.fonos.agents.v1beta1.DeleteAgentRequest.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.agents.v1beta1.DeleteAgentRequest.prototype.serializeBinary = function() { +proto.fonoster.agents.v1beta1.DeleteAgentRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.agents.v1beta1.DeleteAgentRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.agents.v1beta1.DeleteAgentRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1079,11 +1335,11 @@ proto.fonos.agents.v1beta1.DeleteAgentRequest.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.agents.v1beta1.DeleteAgentRequest} message + * @param {!proto.fonoster.agents.v1beta1.DeleteAgentRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.DeleteAgentRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.agents.v1beta1.DeleteAgentRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1099,16 +1355,16 @@ proto.fonos.agents.v1beta1.DeleteAgentRequest.serializeBinaryToWriter = function * optional string ref = 1; * @return {string} */ -proto.fonos.agents.v1beta1.DeleteAgentRequest.prototype.getRef = function() { +proto.fonoster.agents.v1beta1.DeleteAgentRequest.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.DeleteAgentRequest} returns this + * @return {!proto.fonoster.agents.v1beta1.DeleteAgentRequest} returns this */ -proto.fonos.agents.v1beta1.DeleteAgentRequest.prototype.setRef = function(value) { +proto.fonoster.agents.v1beta1.DeleteAgentRequest.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1119,7 +1375,7 @@ proto.fonos.agents.v1beta1.DeleteAgentRequest.prototype.setRef = function(value) * @private {!Array} * @const */ -proto.fonos.agents.v1beta1.Agent.repeatedFields_ = [5]; +proto.fonoster.agents.v1beta1.Agent.repeatedFields_ = [5]; @@ -1136,8 +1392,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.agents.v1beta1.Agent.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.agents.v1beta1.Agent.toObject(opt_includeInstance, this); +proto.fonoster.agents.v1beta1.Agent.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.agents.v1beta1.Agent.toObject(opt_includeInstance, this); }; @@ -1146,11 +1402,11 @@ proto.fonos.agents.v1beta1.Agent.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.agents.v1beta1.Agent} msg The msg instance to transform. + * @param {!proto.fonoster.agents.v1beta1.Agent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.Agent.toObject = function(includeInstance, msg) { +proto.fonoster.agents.v1beta1.Agent.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1173,23 +1429,23 @@ proto.fonos.agents.v1beta1.Agent.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.agents.v1beta1.Agent} + * @return {!proto.fonoster.agents.v1beta1.Agent} */ -proto.fonos.agents.v1beta1.Agent.deserializeBinary = function(bytes) { +proto.fonoster.agents.v1beta1.Agent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.agents.v1beta1.Agent; - return proto.fonos.agents.v1beta1.Agent.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.agents.v1beta1.Agent; + return proto.fonoster.agents.v1beta1.Agent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.agents.v1beta1.Agent} msg The message object to deserialize into. + * @param {!proto.fonoster.agents.v1beta1.Agent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.agents.v1beta1.Agent} + * @return {!proto.fonoster.agents.v1beta1.Agent} */ -proto.fonos.agents.v1beta1.Agent.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.agents.v1beta1.Agent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1241,9 +1497,9 @@ proto.fonos.agents.v1beta1.Agent.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.agents.v1beta1.Agent.prototype.serializeBinary = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.agents.v1beta1.Agent.serializeBinaryToWriter(this, writer); + proto.fonoster.agents.v1beta1.Agent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1251,11 +1507,11 @@ proto.fonos.agents.v1beta1.Agent.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.agents.v1beta1.Agent} message + * @param {!proto.fonoster.agents.v1beta1.Agent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.agents.v1beta1.Agent.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.agents.v1beta1.Agent.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1320,16 +1576,16 @@ proto.fonos.agents.v1beta1.Agent.serializeBinaryToWriter = function(message, wri * optional string ref = 1; * @return {string} */ -proto.fonos.agents.v1beta1.Agent.prototype.getRef = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.setRef = function(value) { +proto.fonoster.agents.v1beta1.Agent.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1338,16 +1594,16 @@ proto.fonos.agents.v1beta1.Agent.prototype.setRef = function(value) { * optional string name = 2; * @return {string} */ -proto.fonos.agents.v1beta1.Agent.prototype.getName = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.setName = function(value) { +proto.fonoster.agents.v1beta1.Agent.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1356,16 +1612,16 @@ proto.fonos.agents.v1beta1.Agent.prototype.setName = function(value) { * optional string username = 3; * @return {string} */ -proto.fonos.agents.v1beta1.Agent.prototype.getUsername = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.getUsername = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.setUsername = function(value) { +proto.fonoster.agents.v1beta1.Agent.prototype.setUsername = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1374,16 +1630,16 @@ proto.fonos.agents.v1beta1.Agent.prototype.setUsername = function(value) { * optional string secret = 4; * @return {string} */ -proto.fonos.agents.v1beta1.Agent.prototype.getSecret = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.getSecret = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.setSecret = function(value) { +proto.fonoster.agents.v1beta1.Agent.prototype.setSecret = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -1392,16 +1648,16 @@ proto.fonos.agents.v1beta1.Agent.prototype.setSecret = function(value) { * repeated string domains = 5; * @return {!Array} */ -proto.fonos.agents.v1beta1.Agent.prototype.getDomainsList = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.getDomainsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** * @param {!Array} value - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.setDomainsList = function(value) { +proto.fonoster.agents.v1beta1.Agent.prototype.setDomainsList = function(value) { return jspb.Message.setField(this, 5, value || []); }; @@ -1409,18 +1665,18 @@ proto.fonos.agents.v1beta1.Agent.prototype.setDomainsList = function(value) { /** * @param {string} value * @param {number=} opt_index - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.addDomains = function(value, opt_index) { +proto.fonoster.agents.v1beta1.Agent.prototype.addDomains = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 5, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.clearDomainsList = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.clearDomainsList = function() { return this.setDomainsList([]); }; @@ -1429,16 +1685,16 @@ proto.fonos.agents.v1beta1.Agent.prototype.clearDomainsList = function() { * optional string privacy = 6; * @return {string} */ -proto.fonos.agents.v1beta1.Agent.prototype.getPrivacy = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.getPrivacy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.setPrivacy = function(value) { +proto.fonoster.agents.v1beta1.Agent.prototype.setPrivacy = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; @@ -1447,16 +1703,16 @@ proto.fonos.agents.v1beta1.Agent.prototype.setPrivacy = function(value) { * optional string create_time = 7; * @return {string} */ -proto.fonos.agents.v1beta1.Agent.prototype.getCreateTime = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.getCreateTime = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.setCreateTime = function(value) { +proto.fonoster.agents.v1beta1.Agent.prototype.setCreateTime = function(value) { return jspb.Message.setProto3StringField(this, 7, value); }; @@ -1465,18 +1721,18 @@ proto.fonos.agents.v1beta1.Agent.prototype.setCreateTime = function(value) { * optional string update_time = 8; * @return {string} */ -proto.fonos.agents.v1beta1.Agent.prototype.getUpdateTime = function() { +proto.fonoster.agents.v1beta1.Agent.prototype.getUpdateTime = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value - * @return {!proto.fonos.agents.v1beta1.Agent} returns this + * @return {!proto.fonoster.agents.v1beta1.Agent} returns this */ -proto.fonos.agents.v1beta1.Agent.prototype.setUpdateTime = function(value) { +proto.fonoster.agents.v1beta1.Agent.prototype.setUpdateTime = function(value) { return jspb.Message.setProto3StringField(this, 8, value); }; -goog.object.extend(exports, proto.fonos.agents.v1beta1); +goog.object.extend(exports, proto.fonoster.agents.v1beta1); diff --git a/mods/agents/src/service/protos/common_pb.d.ts b/mods/agents/src/service/protos/common_pb.d.ts index 5311b1717..f8b5fb810 100644 --- a/mods/agents/src/service/protos/common_pb.d.ts +++ b/mods/agents/src/service/protos/common_pb.d.ts @@ -1,42 +1,49 @@ -// package: fonos.common.v1beta1 +// package: fonoster.common.v1beta1 // file: common.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; -export class Error extends jspb.Message { +export class Empty extends jspb.Message { serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Error.AsObject; - static toObject(includeInstance: boolean, msg: Error): Error.AsObject; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Error; - static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; } -export namespace Error { +export namespace Empty { export type AsObject = { } } -export class Empty extends jspb.Message { +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Empty.AsObject; - static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Empty; - static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; } -export namespace Empty { +export namespace ErrorResponse { export type AsObject = { + status: number, + message: string, } } diff --git a/mods/agents/src/service/protos/common_pb.js b/mods/agents/src/service/protos/common_pb.js index 4efc688db..b7f99c7ea 100644 --- a/mods/agents/src/service/protos/common_pb.js +++ b/mods/agents/src/service/protos/common_pb.js @@ -15,9 +15,11 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.common.v1beta1.Empty', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.Error', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -28,16 +30,16 @@ goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Error = function(opt_data) { +proto.fonoster.common.v1beta1.Empty = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Error, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Error.displayName = 'proto.fonos.common.v1beta1.Error'; + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; } /** * Generated by JsPbCodeGenerator. @@ -49,16 +51,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Empty = function(opt_data) { +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Empty, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Empty.displayName = 'proto.fonos.common.v1beta1.Empty'; + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; } @@ -76,8 +78,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Error.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); }; @@ -86,11 +88,11 @@ proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Error} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -106,23 +108,23 @@ proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Error; - return proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Error} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -142,9 +144,9 @@ proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Error.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -152,11 +154,11 @@ proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Error} message + * @param {!proto.fonoster.common.v1beta1.Empty} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -177,8 +179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Empty.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); }; @@ -187,13 +189,14 @@ proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Empty} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { var f, obj = { - + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -207,29 +210,37 @@ proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Empty; - return proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; default: reader.skipField(); break; @@ -243,9 +254,9 @@ proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -253,22 +264,72 @@ proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Empty} message + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** * @enum {number} */ -proto.fonos.common.v1beta1.View = { +proto.fonoster.common.v1beta1.View = { BASIC: 0, STANDARD: 1, FULL: 2 }; -goog.object.extend(exports, proto.fonos.common.v1beta1); +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/agents/src/service/protos/google/api/annotations_grpc_pb.js b/mods/agents/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/agents/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/agents/src/service/protos/google/api/annotations_pb.d.ts b/mods/agents/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/agents/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/agents/src/service/protos/google/api/annotations_pb.js b/mods/agents/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/agents/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/agents/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/agents/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/agents/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/agents/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/agents/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/agents/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/agents/src/service/protos/google/api/field_behavior_pb.js b/mods/agents/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/agents/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/agents/src/service/protos/google/api/http_grpc_pb.js b/mods/agents/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/agents/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/agents/src/service/protos/google/api/http_pb.d.ts b/mods/agents/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/agents/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/agents/src/service/protos/google/api/http_pb.js b/mods/agents/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/agents/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/agents/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/agents/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/agents/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/agents/src/service/protos/google/api/httpbody_pb.d.ts b/mods/agents/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/agents/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/agents/src/service/protos/google/api/httpbody_pb.js b/mods/agents/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/agents/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/agents/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/agents/src/service/runner.ts b/mods/agents/src/service/runner.ts index 122e81966..bcd8c0bea 100644 --- a/mods/agents/src/service/runner.ts +++ b/mods/agents/src/service/runner.ts @@ -1,9 +1,9 @@ #!/usr/bin/env node import AgentsServer from "./agents"; import {AgentsService} from "./protos/agents_grpc_pb"; -import {AuthMiddleware} from "@fonos/auth"; -import {getSalt} from "@fonos/certs"; -import {runServices} from "@fonos/common"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; const services = [ { diff --git a/mods/agents/test/agents.unit.test.ts b/mods/agents/test/agents.unit.test.ts index a0b977560..99dda3756 100644 --- a/mods/agents/test/agents.unit.test.ts +++ b/mods/agents/test/agents.unit.test.ts @@ -1,4 +1,4 @@ -/* import updateBucketPolicy from '@fonos/core/dist/common/fsutils' +/* import updateBucketPolicy from '@fonoster/core/dist/common/fsutils' import Storage from '../src/storage' import chai from 'chai' import sinon from 'sinon' diff --git a/mods/auth/.lerna-changed-buster-7825 b/mods/auth/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/auth/Dockerfile b/mods/auth/Dockerfile index 19ee3abb1..07c69157e 100644 --- a/mods/auth/Dockerfile +++ b/mods/auth/Dockerfile @@ -3,7 +3,7 @@ COPY . /scripts RUN ./install.sh RUN link /usr/bin/run_auth /usr/bin/run \ && link /usr/bin/healthcheck_auth /usr/bin/healthcheck -USER fonos +USER fonoster HEALTHCHECK --interval=30s \ --timeout=30s \ --start-period=5s \ diff --git a/mods/auth/package-lock.json b/mods/auth/package-lock.json deleted file mode 100644 index c4a0afb57..000000000 --- a/mods/auth/package-lock.json +++ /dev/null @@ -1,1254 +0,0 @@ -{ - "name": "@fonos/auth", - "version": "0.1.20-alpha.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@fonos/auth", - "version": "0.1.11-alpha.4", - "license": "MIT", - "dependencies": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.11-alpha.4", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "express": "^4.17.1", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "jsonwebtoken": "^8.5.1" - }, - "bin": { - "healthcheck_auth": "dist/service/healthcheck.js", - "run_auth": "dist/service/runner.js" - }, - "devDependencies": { - "@types/jsonwebtoken": "^8.5.0" - } - }, - "../certs": { - "name": "@fonos/certs", - "version": "0.1.11-alpha.3", - "license": "MIT", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "../common": { - "name": "@fonos/common", - "version": "0.1.11-alpha.4", - "license": "MIT", - "dependencies": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "../common/node_modules/@fonos/certs": { - "resolved": "../certs", - "link": true - }, - "../common/node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "../errors": { - "name": "@fonos/errors", - "version": "0.1.11-alpha.3", - "license": "MIT" - }, - "../logger": { - "name": "@fonos/logger", - "version": "0.1.11-alpha.3", - "license": "MIT", - "dependencies": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - }, - "devDependencies": { - "rimraf": "^3.0.2" - } - }, - "node_modules/@fonos/certs": { - "resolved": "../certs", - "link": true - }, - "node_modules/@fonos/common": { - "resolved": "../common", - "link": true - }, - "node_modules/@fonos/errors": { - "resolved": "../errors", - "link": true - }, - "node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "node_modules/@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", - "dependencies": { - "@types/node": ">=12.12.47" - }, - "engines": { - "node": "^8.13.0 || >=10.10.0" - } - }, - "node_modules/@types/jsonwebtoken": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.5.tgz", - "integrity": "sha512-OGqtHQ7N5/Ap/TUwO6IgHDuLiAoTmHhGpNvgkCm/F4N6pKzx/RBSfr2OXZSwC6vkfnsEdb6+7DNZVtiXiwdwFw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/node": { - "version": "16.7.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.0.tgz", - "integrity": "sha512-e66BrnjWQ3BRBZ2+iA5e85fcH9GLNe4S0n1H0T3OalK2sXg5XWEFTO4xvmGrYQ3edy+q6fdOh5t0/HOY8OAqBg==" - }, - "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "dependencies": { - "safe-buffer": "5.1.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "node_modules/ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "dependencies": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" - }, - "node_modules/grpc-promise": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", - "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" - }, - "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "dependencies": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=4", - "npm": ">=1.4.28" - } - }, - "node_modules/jsonwebtoken/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "dependencies": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "dependencies": { - "mime-db": "1.49.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "dependencies": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - }, - "node_modules/serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "engines": { - "node": ">= 0.8" - } - } - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - }, - "@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", - "requires": { - "@types/node": ">=12.12.47" - } - }, - "@types/jsonwebtoken": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.5.tgz", - "integrity": "sha512-OGqtHQ7N5/Ap/TUwO6IgHDuLiAoTmHhGpNvgkCm/F4N6pKzx/RBSfr2OXZSwC6vkfnsEdb6+7DNZVtiXiwdwFw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/node": { - "version": "16.7.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.0.tgz", - "integrity": "sha512-e66BrnjWQ3BRBZ2+iA5e85fcH9GLNe4S0n1H0T3OalK2sXg5XWEFTO4xvmGrYQ3edy+q6fdOh5t0/HOY8OAqBg==" - }, - "accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "requires": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - } - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "requires": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - } - }, - "buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" - }, - "content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "requires": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - } - }, - "finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - } - }, - "forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, - "google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" - }, - "grpc-promise": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", - "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" - }, - "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" - }, - "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "requires": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "dependencies": { - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - } - } - }, - "jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "requires": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, - "mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" - }, - "mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "requires": { - "mime-db": "1.49.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "requires": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - } - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" - }, - "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "requires": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "dependencies": { - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - } - } - }, - "serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - } - }, - "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" - }, - "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" - } - } -} diff --git a/mods/auth/package.json b/mods/auth/package.json index ea647b8f4..094e3a985 100644 --- a/mods/auth/package.json +++ b/mods/auth/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/auth", - "version": "0.1.20-alpha.0", + "name": "@fonoster/auth", + "version": "0.2.40", "description": "Authentication Module", "author": "Raul Sanchez ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -37,16 +37,16 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "express": "^4.17.1", "google-protobuf": "^3.17.0", diff --git a/mods/auth/src/auth_middleware.ts b/mods/auth/src/auth_middleware.ts index f184466b7..b7d65ffd7 100644 --- a/mods/auth/src/auth_middleware.ts +++ b/mods/auth/src/auth_middleware.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -20,7 +20,7 @@ const grpc = require("@grpc/grpc-js"); import Auth from "./utils/auth_utils"; import JWT from "./utils/jwt"; import roleHasAccess from "./utils/role_has_access"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; const WHITELIST = process.env.AUTH_ACCESS_WHITELIST ? process.env.AUTH_ACCESS_WHITELIST.split(",") @@ -38,7 +38,9 @@ export default class AuthMiddleware { middleware = async (ctx: any, next: any, errorCb: any) => { const pathRequest = ctx.service.path; - logger.verbose(`@fonos/logger middleware [request.path = ${pathRequest}]`); + logger.verbose( + `@fonoster/logger middleware [request.path = ${pathRequest}]` + ); if (this.whitelist.includes(pathRequest)) { next(); @@ -72,7 +74,7 @@ export default class AuthMiddleware { errorCb({ code: grpc.status.UNAUTHENTICATED, // TODO: Improve error message - message: "UNAUTHENTICATED" + message: "invalid authentication" }); const hasAccess = await roleHasAccess( @@ -86,14 +88,14 @@ export default class AuthMiddleware { errorCb({ code: grpc.status.PERMISSION_DENIED, // TODO: Improve error message - message: "PERMISSION_DENIED" + message: "permission denied" }); } } else { errorCb({ code: grpc.status.UNAUTHENTICATED, // TODO: Improve error message - message: "UNAUTHENTICATED" + message: "invalid authentication" }); } }); diff --git a/mods/auth/src/client/auth.ts b/mods/auth/src/client/auth.ts index f39fa5ccb..8117bece7 100644 --- a/mods/auth/src/client/auth.ts +++ b/mods/auth/src/client/auth.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,39 +16,40 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {FonosService, ServiceOptions} from "@fonos/common"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {AuthClient} from "../service/protos/auth_grpc_pb"; import AuthPB from "../service/protos/auth_pb"; import {promisifyAll} from "grpc-promise"; import { CreateTokenRequest, CreateTokenResponse, + IAuthClient, ValidateTokenRequest } from "./types"; /** - * @classdesc Use Fonos Auth, a capability of Fonos, + * @classdesc Use Fonoster Auth, a capability of Fonoster, * to validate and create short life tokens. * - * @extends FonosService + * @extends APIClient * @example * * const request = { * accessKeyId: "603693c0afaa1a080000000e", - * roleName: "ROLE", + * roleName: "ROLE" * }; * * auth.createToken(request) * .then(console.log) // returns an object with the token * .catch(console.error); // an error occurred */ -export default class Auths extends FonosService { +export default class Auths extends APIClient implements IAuthClient { /** * Constructs a new Auth object. - * @param {ServiceOptions} options - Options to indicate the objects endpoint - * @see module:core:FonosService + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(AuthClient, options); super.init(); promisifyAll(super.getService(), {metadata: super.getMeta()}); @@ -60,16 +61,18 @@ export default class Auths extends FonosService { * * @param {CreateTokenRequest} request - Request to create a new token * @param {string} request.accessKeyId - Path to the function - * @param {string} request.roleName - Unique function name + * @param {string} request.expiration - Longevity of the token + * @param {string} request.roleName - Role assigned to the token * @return {Promise} * @example * - * const Fonos = require("@fonos/sdk"); - * const auth = new Fonos.Auth(); + * const Fonoster = require("@fonoster/sdk"); + * const auth = new Fonoster.Auth(); * * const request = { * accessKeyId: "603693c0afaa1a080000000e", - * roleName: "ROLE", + * roleName: "SERVICE", + * expirantion: '10m' * }; * * auth.createToken(request) @@ -78,8 +81,10 @@ export default class Auths extends FonosService { */ async createToken(request: CreateTokenRequest): Promise { const req = new AuthPB.CreateTokenRequest(); + req.setAccessKeyId(request.accessKeyId); req.setRoleName(request.roleName); + req.setExpiration(request.expiration); const res = await super.getService().createToken().sendMessage(req); return { token: res.getToken() @@ -95,8 +100,8 @@ export default class Auths extends FonosService { * @return {Promise} * @example * - * const Fonos = require("@fonos/sdk"); - * const auth = new Fonos.Auth(); + * const Fonoster = require("@fonoster/sdk"); + * const auth = new Fonoster.Auth(); * * const request = { * accessKeyId: "603693c0afaa1a080000000e", @@ -125,8 +130,8 @@ export default class Auths extends FonosService { * @return {Promise} * @example * - * const Fonos = require("@fonos/sdk"); - * const auth = new Fonos.Auth(); + * const Fonoster = require("@fonoster/sdk"); + * const auth = new Fonoster.Auth(); * * const request = { * token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", @@ -144,7 +149,7 @@ export default class Auths extends FonosService { } } -export {AuthPB}; +export {AuthPB, IAuthClient}; // WARNING: Workaround for support to commonjs clients module.exports = Auths; diff --git a/mods/auth/src/client/types.ts b/mods/auth/src/client/types.ts index f83c30e45..967219bb6 100644 --- a/mods/auth/src/client/types.ts +++ b/mods/auth/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,10 +16,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +export interface IAuthClient { + createToken(request: CreateTokenRequest): Promise; + createNoAccessToken( + request: CreateTokenRequest + ): Promise; + validateToken(request: ValidateTokenRequest): Promise; +} + export interface CreateTokenRequest { accessKeyId: string; roleName?: string; - expiration?: "1s" | "1m" | "1d" | "30d" | "1y"; + // Examples: 40s, 10m, 1d, 30d, 1y + expiration?: string; } export interface CreateTokenResponse { diff --git a/mods/auth/src/index.ts b/mods/auth/src/index.ts index f18593cd5..217184e26 100644 --- a/mods/auth/src/index.ts +++ b/mods/auth/src/index.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/auth/src/protos/auth.proto b/mods/auth/src/protos/auth.proto index 6bd54d5ba..0c7f1b3c2 100644 --- a/mods/auth/src/protos/auth.proto +++ b/mods/auth/src/protos/auth.proto @@ -7,15 +7,30 @@ */ syntax = "proto3"; -package fonos.auth.v1beta1; +package fonoster.auth.v1beta1; + +option go_package = "github.com/fonoster/fonoster/mods/auth/fonoster/services/protos/auth"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; service Auth { // Gets a role by name - rpc GetRole (GetRoleRequest) returns (Role) {}; - // Verifies if a token was issue by Fonos or the same private key - rpc ValidateToken (ValidateTokenRequest) returns (ValidateTokenResponse) {} + rpc GetRole (GetRoleRequest) returns (Role) { + option (google.api.http) = { get: "/v1beta1/auth/role/{name}" }; + }; + // Verifies if a token was issue by Fonoster + rpc ValidateToken (ValidateTokenRequest) returns (ValidateTokenResponse) { + option (google.api.http) = { get: "/v1beta1/auth/token/{token}" }; + } // Creates a new token for a given accessKeyId - rpc CreateToken (CreateTokenRequest) returns (CreateTokenResponse) {} + rpc CreateToken (CreateTokenRequest) returns (CreateTokenResponse) { + option (google.api.http) = { + post: "/v1beta1/auth/token" + body: "*" + }; + } // Creates a special token that has no access but serves a signature rpc CreateNoAccessToken (CreateTokenRequest) returns (CreateTokenResponse) {} } @@ -39,8 +54,11 @@ message ValidateTokenResponse { } message CreateTokenRequest { - string role_name = 1; - string access_key_id = 2; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"roleName\": \"USER\", \"accessKeyId\": \"4e9f2cdf4387\"}" + }; + string role_name = 1 [(google.api.field_behavior) = REQUIRED]; + string access_key_id = 2 [(google.api.field_behavior) = REQUIRED]; string expiration = 3; } diff --git a/mods/auth/src/service/auth.ts b/mods/auth/src/service/auth.ts index 47e4a36ec..ca67fb740 100644 --- a/mods/auth/src/service/auth.ts +++ b/mods/auth/src/service/auth.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -26,13 +26,13 @@ import { CreateTokenResponse } from "./protos/auth_pb"; import {IAuthServer, IAuthService, AuthService} from "./protos/auth_grpc_pb"; -import {ErrorCodes, FonosError} from "@fonos/errors"; -import {getSalt, AUTH_ISS} from "@fonos/certs"; -import logger from "@fonos/logger"; +import {ErrorCodes, FonosterError} from "@fonoster/errors"; +import {getSalt, AUTH_ISS} from "@fonoster/certs"; +import logger from "@fonoster/logger"; import Auth from "../utils/auth_utils"; import JWT from "../utils/jwt"; const authenticator = new Auth(new JWT()); -const rbac = require(process.env.AUTH_RBAC || "/home/fonos/rbac.json"); +const rbac = require(process.env.AUTH_RBAC || "/home/fonoster/rbac.json"); class AuthServer implements IAuthServer { [name: string]: grpc.UntypedHandleCall; @@ -53,11 +53,11 @@ class AuthServer implements IAuthServer { call: grpc.ServerUnaryCall, callback: grpc.sendUnaryData ) { - // WARNING: We need to validate the token and verify + // TODO: We need to validate the token and verify // it has permissions to create token since the auth module // doesnt pass thru the auth middleware. logger.verbose( - `@fonos/auth creating token [accessKeyId is ${call.request.getAccessKeyId()}]` + `@fonoster/auth creating token [accessKeyId is ${call.request.getAccessKeyId()}]` ); const result = await authenticator.createToken( call.request.getAccessKeyId(), @@ -75,16 +75,15 @@ class AuthServer implements IAuthServer { call: grpc.ServerUnaryCall, callback: grpc.sendUnaryData ) { - // WARNING: We need to validate the token and verify + // TODO: We need to validate the token and verify // it has permissions to create token since the auth module // doesnt pass thru the auth middleware. logger.verbose( - `@fonos/auth creating no access token [accessKeyId is ${call.request.getAccessKeyId()}]` + `@fonoster/auth creating no access token [accessKeyId is ${call.request.getAccessKeyId()}]` ); const result = await authenticator.createToken( call.request.getAccessKeyId(), AUTH_ISS, - // WARNING: Harcoded value "NO_ACCESS", getSalt(), "1d" @@ -109,9 +108,9 @@ class AuthServer implements IAuthServer { return; } - callback(new FonosError("Role not found", ErrorCodes.NOT_FOUND), null); + callback(new FonosterError("Role not found", ErrorCodes.NOT_FOUND), null); } catch (e) { - callback(new FonosError(e, ErrorCodes.UNKNOWN), null); + callback(new FonosterError(e, ErrorCodes.UNKNOWN), null); } } } diff --git a/mods/auth/src/service/healthcheck.ts b/mods/auth/src/service/healthcheck.ts index 03ef418cd..c024ae500 100644 --- a/mods/auth/src/service/healthcheck.ts +++ b/mods/auth/src/service/healthcheck.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; //healthcheck(); diff --git a/mods/auth/src/service/protos/auth_grpc_pb.d.ts b/mods/auth/src/service/protos/auth_grpc_pb.d.ts index 0ef2c0014..b51d85fb3 100644 --- a/mods/auth/src/service/protos/auth_grpc_pb.d.ts +++ b/mods/auth/src/service/protos/auth_grpc_pb.d.ts @@ -1,11 +1,14 @@ -// package: fonos.auth.v1beta1 +// package: fonoster.auth.v1beta1 // file: auth.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as auth_pb from "./auth_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; interface IAuthService extends grpc.ServiceDefinition { getRole: IAuthService_IGetRole; @@ -15,7 +18,7 @@ interface IAuthService extends grpc.ServiceDefinition { - path: "/fonos.auth.v1beta1.Auth/GetRole"; + path: "/fonoster.auth.v1beta1.Auth/GetRole"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -24,7 +27,7 @@ interface IAuthService_IGetRole extends grpc.MethodDefinition; } interface IAuthService_IValidateToken extends grpc.MethodDefinition { - path: "/fonos.auth.v1beta1.Auth/ValidateToken"; + path: "/fonoster.auth.v1beta1.Auth/ValidateToken"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -33,7 +36,7 @@ interface IAuthService_IValidateToken extends grpc.MethodDefinition; } interface IAuthService_ICreateToken extends grpc.MethodDefinition { - path: "/fonos.auth.v1beta1.Auth/CreateToken"; + path: "/fonoster.auth.v1beta1.Auth/CreateToken"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -42,7 +45,7 @@ interface IAuthService_ICreateToken extends grpc.MethodDefinition; } interface IAuthService_ICreateNoAccessToken extends grpc.MethodDefinition { - path: "/fonos.auth.v1beta1.Auth/CreateNoAccessToken"; + path: "/fonoster.auth.v1beta1.Auth/CreateNoAccessToken"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; diff --git a/mods/auth/src/service/protos/auth_grpc_pb.js b/mods/auth/src/service/protos/auth_grpc_pb.js index 9beee8125..e232b9abf 100644 --- a/mods/auth/src/service/protos/auth_grpc_pb.js +++ b/mods/auth/src/service/protos/auth_grpc_pb.js @@ -10,70 +10,73 @@ 'use strict'; var grpc = require('@grpc/grpc-js'); var auth_pb = require('./auth_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); -function serialize_fonos_auth_v1beta1_CreateTokenRequest(arg) { +function serialize_fonoster_auth_v1beta1_CreateTokenRequest(arg) { if (!(arg instanceof auth_pb.CreateTokenRequest)) { - throw new Error('Expected argument of type fonos.auth.v1beta1.CreateTokenRequest'); + throw new Error('Expected argument of type fonoster.auth.v1beta1.CreateTokenRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_auth_v1beta1_CreateTokenRequest(buffer_arg) { +function deserialize_fonoster_auth_v1beta1_CreateTokenRequest(buffer_arg) { return auth_pb.CreateTokenRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_auth_v1beta1_CreateTokenResponse(arg) { +function serialize_fonoster_auth_v1beta1_CreateTokenResponse(arg) { if (!(arg instanceof auth_pb.CreateTokenResponse)) { - throw new Error('Expected argument of type fonos.auth.v1beta1.CreateTokenResponse'); + throw new Error('Expected argument of type fonoster.auth.v1beta1.CreateTokenResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_auth_v1beta1_CreateTokenResponse(buffer_arg) { +function deserialize_fonoster_auth_v1beta1_CreateTokenResponse(buffer_arg) { return auth_pb.CreateTokenResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_auth_v1beta1_GetRoleRequest(arg) { +function serialize_fonoster_auth_v1beta1_GetRoleRequest(arg) { if (!(arg instanceof auth_pb.GetRoleRequest)) { - throw new Error('Expected argument of type fonos.auth.v1beta1.GetRoleRequest'); + throw new Error('Expected argument of type fonoster.auth.v1beta1.GetRoleRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_auth_v1beta1_GetRoleRequest(buffer_arg) { +function deserialize_fonoster_auth_v1beta1_GetRoleRequest(buffer_arg) { return auth_pb.GetRoleRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_auth_v1beta1_Role(arg) { +function serialize_fonoster_auth_v1beta1_Role(arg) { if (!(arg instanceof auth_pb.Role)) { - throw new Error('Expected argument of type fonos.auth.v1beta1.Role'); + throw new Error('Expected argument of type fonoster.auth.v1beta1.Role'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_auth_v1beta1_Role(buffer_arg) { +function deserialize_fonoster_auth_v1beta1_Role(buffer_arg) { return auth_pb.Role.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_auth_v1beta1_ValidateTokenRequest(arg) { +function serialize_fonoster_auth_v1beta1_ValidateTokenRequest(arg) { if (!(arg instanceof auth_pb.ValidateTokenRequest)) { - throw new Error('Expected argument of type fonos.auth.v1beta1.ValidateTokenRequest'); + throw new Error('Expected argument of type fonoster.auth.v1beta1.ValidateTokenRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_auth_v1beta1_ValidateTokenRequest(buffer_arg) { +function deserialize_fonoster_auth_v1beta1_ValidateTokenRequest(buffer_arg) { return auth_pb.ValidateTokenRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_auth_v1beta1_ValidateTokenResponse(arg) { +function serialize_fonoster_auth_v1beta1_ValidateTokenResponse(arg) { if (!(arg instanceof auth_pb.ValidateTokenResponse)) { - throw new Error('Expected argument of type fonos.auth.v1beta1.ValidateTokenResponse'); + throw new Error('Expected argument of type fonoster.auth.v1beta1.ValidateTokenResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_auth_v1beta1_ValidateTokenResponse(buffer_arg) { +function deserialize_fonoster_auth_v1beta1_ValidateTokenResponse(buffer_arg) { return auth_pb.ValidateTokenResponse.deserializeBinary(new Uint8Array(buffer_arg)); } @@ -81,51 +84,51 @@ function deserialize_fonos_auth_v1beta1_ValidateTokenResponse(buffer_arg) { var AuthService = exports.AuthService = { // Gets a role by name getRole: { - path: '/fonos.auth.v1beta1.Auth/GetRole', + path: '/fonoster.auth.v1beta1.Auth/GetRole', requestStream: false, responseStream: false, requestType: auth_pb.GetRoleRequest, responseType: auth_pb.Role, - requestSerialize: serialize_fonos_auth_v1beta1_GetRoleRequest, - requestDeserialize: deserialize_fonos_auth_v1beta1_GetRoleRequest, - responseSerialize: serialize_fonos_auth_v1beta1_Role, - responseDeserialize: deserialize_fonos_auth_v1beta1_Role, + requestSerialize: serialize_fonoster_auth_v1beta1_GetRoleRequest, + requestDeserialize: deserialize_fonoster_auth_v1beta1_GetRoleRequest, + responseSerialize: serialize_fonoster_auth_v1beta1_Role, + responseDeserialize: deserialize_fonoster_auth_v1beta1_Role, }, - // Verifies if a token was issue by Fonos or the same private key + // Verifies if a token was issue by Fonoster validateToken: { - path: '/fonos.auth.v1beta1.Auth/ValidateToken', + path: '/fonoster.auth.v1beta1.Auth/ValidateToken', requestStream: false, responseStream: false, requestType: auth_pb.ValidateTokenRequest, responseType: auth_pb.ValidateTokenResponse, - requestSerialize: serialize_fonos_auth_v1beta1_ValidateTokenRequest, - requestDeserialize: deserialize_fonos_auth_v1beta1_ValidateTokenRequest, - responseSerialize: serialize_fonos_auth_v1beta1_ValidateTokenResponse, - responseDeserialize: deserialize_fonos_auth_v1beta1_ValidateTokenResponse, + requestSerialize: serialize_fonoster_auth_v1beta1_ValidateTokenRequest, + requestDeserialize: deserialize_fonoster_auth_v1beta1_ValidateTokenRequest, + responseSerialize: serialize_fonoster_auth_v1beta1_ValidateTokenResponse, + responseDeserialize: deserialize_fonoster_auth_v1beta1_ValidateTokenResponse, }, // Creates a new token for a given accessKeyId createToken: { - path: '/fonos.auth.v1beta1.Auth/CreateToken', + path: '/fonoster.auth.v1beta1.Auth/CreateToken', requestStream: false, responseStream: false, requestType: auth_pb.CreateTokenRequest, responseType: auth_pb.CreateTokenResponse, - requestSerialize: serialize_fonos_auth_v1beta1_CreateTokenRequest, - requestDeserialize: deserialize_fonos_auth_v1beta1_CreateTokenRequest, - responseSerialize: serialize_fonos_auth_v1beta1_CreateTokenResponse, - responseDeserialize: deserialize_fonos_auth_v1beta1_CreateTokenResponse, + requestSerialize: serialize_fonoster_auth_v1beta1_CreateTokenRequest, + requestDeserialize: deserialize_fonoster_auth_v1beta1_CreateTokenRequest, + responseSerialize: serialize_fonoster_auth_v1beta1_CreateTokenResponse, + responseDeserialize: deserialize_fonoster_auth_v1beta1_CreateTokenResponse, }, // Creates a special token that has no access but serves a signature createNoAccessToken: { - path: '/fonos.auth.v1beta1.Auth/CreateNoAccessToken', + path: '/fonoster.auth.v1beta1.Auth/CreateNoAccessToken', requestStream: false, responseStream: false, requestType: auth_pb.CreateTokenRequest, responseType: auth_pb.CreateTokenResponse, - requestSerialize: serialize_fonos_auth_v1beta1_CreateTokenRequest, - requestDeserialize: deserialize_fonos_auth_v1beta1_CreateTokenRequest, - responseSerialize: serialize_fonos_auth_v1beta1_CreateTokenResponse, - responseDeserialize: deserialize_fonos_auth_v1beta1_CreateTokenResponse, + requestSerialize: serialize_fonoster_auth_v1beta1_CreateTokenRequest, + requestDeserialize: deserialize_fonoster_auth_v1beta1_CreateTokenRequest, + responseSerialize: serialize_fonoster_auth_v1beta1_CreateTokenResponse, + responseDeserialize: deserialize_fonoster_auth_v1beta1_CreateTokenResponse, }, }; diff --git a/mods/auth/src/service/protos/auth_pb.d.ts b/mods/auth/src/service/protos/auth_pb.d.ts index 848efd650..b074e86d7 100644 --- a/mods/auth/src/service/protos/auth_pb.d.ts +++ b/mods/auth/src/service/protos/auth_pb.d.ts @@ -1,10 +1,12 @@ -// package: fonos.auth.v1beta1 +// package: fonoster.auth.v1beta1 // file: auth.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; export class GetRoleRequest extends jspb.Message { getName(): string; diff --git a/mods/auth/src/service/protos/auth_pb.js b/mods/auth/src/service/protos/auth_pb.js index 5c0c0f9a2..097368f55 100644 --- a/mods/auth/src/service/protos/auth_pb.js +++ b/mods/auth/src/service/protos/auth_pb.js @@ -15,12 +15,18 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.auth.v1beta1.CreateTokenRequest', null, global); -goog.exportSymbol('proto.fonos.auth.v1beta1.CreateTokenResponse', null, global); -goog.exportSymbol('proto.fonos.auth.v1beta1.GetRoleRequest', null, global); -goog.exportSymbol('proto.fonos.auth.v1beta1.Role', null, global); -goog.exportSymbol('proto.fonos.auth.v1beta1.ValidateTokenRequest', null, global); -goog.exportSymbol('proto.fonos.auth.v1beta1.ValidateTokenResponse', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +goog.object.extend(proto, google_api_field_behavior_pb); +goog.exportSymbol('proto.fonoster.auth.v1beta1.CreateTokenRequest', null, global); +goog.exportSymbol('proto.fonoster.auth.v1beta1.CreateTokenResponse', null, global); +goog.exportSymbol('proto.fonoster.auth.v1beta1.GetRoleRequest', null, global); +goog.exportSymbol('proto.fonoster.auth.v1beta1.Role', null, global); +goog.exportSymbol('proto.fonoster.auth.v1beta1.ValidateTokenRequest', null, global); +goog.exportSymbol('proto.fonoster.auth.v1beta1.ValidateTokenResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -31,16 +37,16 @@ goog.exportSymbol('proto.fonos.auth.v1beta1.ValidateTokenResponse', null, global * @extends {jspb.Message} * @constructor */ -proto.fonos.auth.v1beta1.GetRoleRequest = function(opt_data) { +proto.fonoster.auth.v1beta1.GetRoleRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.auth.v1beta1.GetRoleRequest, jspb.Message); +goog.inherits(proto.fonoster.auth.v1beta1.GetRoleRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.auth.v1beta1.GetRoleRequest.displayName = 'proto.fonos.auth.v1beta1.GetRoleRequest'; + proto.fonoster.auth.v1beta1.GetRoleRequest.displayName = 'proto.fonoster.auth.v1beta1.GetRoleRequest'; } /** * Generated by JsPbCodeGenerator. @@ -52,16 +58,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.auth.v1beta1.Role = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.auth.v1beta1.Role.repeatedFields_, null); +proto.fonoster.auth.v1beta1.Role = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.auth.v1beta1.Role.repeatedFields_, null); }; -goog.inherits(proto.fonos.auth.v1beta1.Role, jspb.Message); +goog.inherits(proto.fonoster.auth.v1beta1.Role, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.auth.v1beta1.Role.displayName = 'proto.fonos.auth.v1beta1.Role'; + proto.fonoster.auth.v1beta1.Role.displayName = 'proto.fonoster.auth.v1beta1.Role'; } /** * Generated by JsPbCodeGenerator. @@ -73,16 +79,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.auth.v1beta1.ValidateTokenRequest = function(opt_data) { +proto.fonoster.auth.v1beta1.ValidateTokenRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.auth.v1beta1.ValidateTokenRequest, jspb.Message); +goog.inherits(proto.fonoster.auth.v1beta1.ValidateTokenRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.auth.v1beta1.ValidateTokenRequest.displayName = 'proto.fonos.auth.v1beta1.ValidateTokenRequest'; + proto.fonoster.auth.v1beta1.ValidateTokenRequest.displayName = 'proto.fonoster.auth.v1beta1.ValidateTokenRequest'; } /** * Generated by JsPbCodeGenerator. @@ -94,16 +100,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.auth.v1beta1.ValidateTokenResponse = function(opt_data) { +proto.fonoster.auth.v1beta1.ValidateTokenResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.auth.v1beta1.ValidateTokenResponse, jspb.Message); +goog.inherits(proto.fonoster.auth.v1beta1.ValidateTokenResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.auth.v1beta1.ValidateTokenResponse.displayName = 'proto.fonos.auth.v1beta1.ValidateTokenResponse'; + proto.fonoster.auth.v1beta1.ValidateTokenResponse.displayName = 'proto.fonoster.auth.v1beta1.ValidateTokenResponse'; } /** * Generated by JsPbCodeGenerator. @@ -115,16 +121,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.auth.v1beta1.CreateTokenRequest = function(opt_data) { +proto.fonoster.auth.v1beta1.CreateTokenRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.auth.v1beta1.CreateTokenRequest, jspb.Message); +goog.inherits(proto.fonoster.auth.v1beta1.CreateTokenRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.auth.v1beta1.CreateTokenRequest.displayName = 'proto.fonos.auth.v1beta1.CreateTokenRequest'; + proto.fonoster.auth.v1beta1.CreateTokenRequest.displayName = 'proto.fonoster.auth.v1beta1.CreateTokenRequest'; } /** * Generated by JsPbCodeGenerator. @@ -136,16 +142,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.auth.v1beta1.CreateTokenResponse = function(opt_data) { +proto.fonoster.auth.v1beta1.CreateTokenResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.auth.v1beta1.CreateTokenResponse, jspb.Message); +goog.inherits(proto.fonoster.auth.v1beta1.CreateTokenResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.auth.v1beta1.CreateTokenResponse.displayName = 'proto.fonos.auth.v1beta1.CreateTokenResponse'; + proto.fonoster.auth.v1beta1.CreateTokenResponse.displayName = 'proto.fonoster.auth.v1beta1.CreateTokenResponse'; } @@ -163,8 +169,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.auth.v1beta1.GetRoleRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.auth.v1beta1.GetRoleRequest.toObject(opt_includeInstance, this); +proto.fonoster.auth.v1beta1.GetRoleRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.auth.v1beta1.GetRoleRequest.toObject(opt_includeInstance, this); }; @@ -173,11 +179,11 @@ proto.fonos.auth.v1beta1.GetRoleRequest.prototype.toObject = function(opt_includ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.auth.v1beta1.GetRoleRequest} msg The msg instance to transform. + * @param {!proto.fonoster.auth.v1beta1.GetRoleRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.GetRoleRequest.toObject = function(includeInstance, msg) { +proto.fonoster.auth.v1beta1.GetRoleRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -193,23 +199,23 @@ proto.fonos.auth.v1beta1.GetRoleRequest.toObject = function(includeInstance, msg /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.auth.v1beta1.GetRoleRequest} + * @return {!proto.fonoster.auth.v1beta1.GetRoleRequest} */ -proto.fonos.auth.v1beta1.GetRoleRequest.deserializeBinary = function(bytes) { +proto.fonoster.auth.v1beta1.GetRoleRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.auth.v1beta1.GetRoleRequest; - return proto.fonos.auth.v1beta1.GetRoleRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.auth.v1beta1.GetRoleRequest; + return proto.fonoster.auth.v1beta1.GetRoleRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.auth.v1beta1.GetRoleRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.auth.v1beta1.GetRoleRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.auth.v1beta1.GetRoleRequest} + * @return {!proto.fonoster.auth.v1beta1.GetRoleRequest} */ -proto.fonos.auth.v1beta1.GetRoleRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.auth.v1beta1.GetRoleRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -233,9 +239,9 @@ proto.fonos.auth.v1beta1.GetRoleRequest.deserializeBinaryFromReader = function(m * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.auth.v1beta1.GetRoleRequest.prototype.serializeBinary = function() { +proto.fonoster.auth.v1beta1.GetRoleRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.auth.v1beta1.GetRoleRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.auth.v1beta1.GetRoleRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -243,11 +249,11 @@ proto.fonos.auth.v1beta1.GetRoleRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.auth.v1beta1.GetRoleRequest} message + * @param {!proto.fonoster.auth.v1beta1.GetRoleRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.GetRoleRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.auth.v1beta1.GetRoleRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -263,16 +269,16 @@ proto.fonos.auth.v1beta1.GetRoleRequest.serializeBinaryToWriter = function(messa * optional string name = 1; * @return {string} */ -proto.fonos.auth.v1beta1.GetRoleRequest.prototype.getName = function() { +proto.fonoster.auth.v1beta1.GetRoleRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.auth.v1beta1.GetRoleRequest} returns this + * @return {!proto.fonoster.auth.v1beta1.GetRoleRequest} returns this */ -proto.fonos.auth.v1beta1.GetRoleRequest.prototype.setName = function(value) { +proto.fonoster.auth.v1beta1.GetRoleRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -283,7 +289,7 @@ proto.fonos.auth.v1beta1.GetRoleRequest.prototype.setName = function(value) { * @private {!Array} * @const */ -proto.fonos.auth.v1beta1.Role.repeatedFields_ = [3]; +proto.fonoster.auth.v1beta1.Role.repeatedFields_ = [3]; @@ -300,8 +306,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.auth.v1beta1.Role.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.auth.v1beta1.Role.toObject(opt_includeInstance, this); +proto.fonoster.auth.v1beta1.Role.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.auth.v1beta1.Role.toObject(opt_includeInstance, this); }; @@ -310,11 +316,11 @@ proto.fonos.auth.v1beta1.Role.prototype.toObject = function(opt_includeInstance) * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.auth.v1beta1.Role} msg The msg instance to transform. + * @param {!proto.fonoster.auth.v1beta1.Role} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.Role.toObject = function(includeInstance, msg) { +proto.fonoster.auth.v1beta1.Role.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), description: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -332,23 +338,23 @@ proto.fonos.auth.v1beta1.Role.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.auth.v1beta1.Role} + * @return {!proto.fonoster.auth.v1beta1.Role} */ -proto.fonos.auth.v1beta1.Role.deserializeBinary = function(bytes) { +proto.fonoster.auth.v1beta1.Role.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.auth.v1beta1.Role; - return proto.fonos.auth.v1beta1.Role.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.auth.v1beta1.Role; + return proto.fonoster.auth.v1beta1.Role.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.auth.v1beta1.Role} msg The message object to deserialize into. + * @param {!proto.fonoster.auth.v1beta1.Role} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.auth.v1beta1.Role} + * @return {!proto.fonoster.auth.v1beta1.Role} */ -proto.fonos.auth.v1beta1.Role.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.auth.v1beta1.Role.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -380,9 +386,9 @@ proto.fonos.auth.v1beta1.Role.deserializeBinaryFromReader = function(msg, reader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.auth.v1beta1.Role.prototype.serializeBinary = function() { +proto.fonoster.auth.v1beta1.Role.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.auth.v1beta1.Role.serializeBinaryToWriter(this, writer); + proto.fonoster.auth.v1beta1.Role.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -390,11 +396,11 @@ proto.fonos.auth.v1beta1.Role.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.auth.v1beta1.Role} message + * @param {!proto.fonoster.auth.v1beta1.Role} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.Role.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.auth.v1beta1.Role.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -424,16 +430,16 @@ proto.fonos.auth.v1beta1.Role.serializeBinaryToWriter = function(message, writer * optional string name = 1; * @return {string} */ -proto.fonos.auth.v1beta1.Role.prototype.getName = function() { +proto.fonoster.auth.v1beta1.Role.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.auth.v1beta1.Role} returns this + * @return {!proto.fonoster.auth.v1beta1.Role} returns this */ -proto.fonos.auth.v1beta1.Role.prototype.setName = function(value) { +proto.fonoster.auth.v1beta1.Role.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -442,16 +448,16 @@ proto.fonos.auth.v1beta1.Role.prototype.setName = function(value) { * optional string description = 2; * @return {string} */ -proto.fonos.auth.v1beta1.Role.prototype.getDescription = function() { +proto.fonoster.auth.v1beta1.Role.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.auth.v1beta1.Role} returns this + * @return {!proto.fonoster.auth.v1beta1.Role} returns this */ -proto.fonos.auth.v1beta1.Role.prototype.setDescription = function(value) { +proto.fonoster.auth.v1beta1.Role.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -460,16 +466,16 @@ proto.fonos.auth.v1beta1.Role.prototype.setDescription = function(value) { * repeated string access = 3; * @return {!Array} */ -proto.fonos.auth.v1beta1.Role.prototype.getAccessList = function() { +proto.fonoster.auth.v1beta1.Role.prototype.getAccessList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value - * @return {!proto.fonos.auth.v1beta1.Role} returns this + * @return {!proto.fonoster.auth.v1beta1.Role} returns this */ -proto.fonos.auth.v1beta1.Role.prototype.setAccessList = function(value) { +proto.fonoster.auth.v1beta1.Role.prototype.setAccessList = function(value) { return jspb.Message.setField(this, 3, value || []); }; @@ -477,18 +483,18 @@ proto.fonos.auth.v1beta1.Role.prototype.setAccessList = function(value) { /** * @param {string} value * @param {number=} opt_index - * @return {!proto.fonos.auth.v1beta1.Role} returns this + * @return {!proto.fonoster.auth.v1beta1.Role} returns this */ -proto.fonos.auth.v1beta1.Role.prototype.addAccess = function(value, opt_index) { +proto.fonoster.auth.v1beta1.Role.prototype.addAccess = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.auth.v1beta1.Role} returns this + * @return {!proto.fonoster.auth.v1beta1.Role} returns this */ -proto.fonos.auth.v1beta1.Role.prototype.clearAccessList = function() { +proto.fonoster.auth.v1beta1.Role.prototype.clearAccessList = function() { return this.setAccessList([]); }; @@ -509,8 +515,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.auth.v1beta1.ValidateTokenRequest.toObject(opt_includeInstance, this); +proto.fonoster.auth.v1beta1.ValidateTokenRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.auth.v1beta1.ValidateTokenRequest.toObject(opt_includeInstance, this); }; @@ -519,11 +525,11 @@ proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.auth.v1beta1.ValidateTokenRequest} msg The msg instance to transform. + * @param {!proto.fonoster.auth.v1beta1.ValidateTokenRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.ValidateTokenRequest.toObject = function(includeInstance, msg) { +proto.fonoster.auth.v1beta1.ValidateTokenRequest.toObject = function(includeInstance, msg) { var f, obj = { token: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -539,23 +545,23 @@ proto.fonos.auth.v1beta1.ValidateTokenRequest.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.auth.v1beta1.ValidateTokenRequest} + * @return {!proto.fonoster.auth.v1beta1.ValidateTokenRequest} */ -proto.fonos.auth.v1beta1.ValidateTokenRequest.deserializeBinary = function(bytes) { +proto.fonoster.auth.v1beta1.ValidateTokenRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.auth.v1beta1.ValidateTokenRequest; - return proto.fonos.auth.v1beta1.ValidateTokenRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.auth.v1beta1.ValidateTokenRequest; + return proto.fonoster.auth.v1beta1.ValidateTokenRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.auth.v1beta1.ValidateTokenRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.auth.v1beta1.ValidateTokenRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.auth.v1beta1.ValidateTokenRequest} + * @return {!proto.fonoster.auth.v1beta1.ValidateTokenRequest} */ -proto.fonos.auth.v1beta1.ValidateTokenRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.auth.v1beta1.ValidateTokenRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -579,9 +585,9 @@ proto.fonos.auth.v1beta1.ValidateTokenRequest.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.serializeBinary = function() { +proto.fonoster.auth.v1beta1.ValidateTokenRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.auth.v1beta1.ValidateTokenRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.auth.v1beta1.ValidateTokenRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -589,11 +595,11 @@ proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.auth.v1beta1.ValidateTokenRequest} message + * @param {!proto.fonoster.auth.v1beta1.ValidateTokenRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.ValidateTokenRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.auth.v1beta1.ValidateTokenRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getToken(); if (f.length > 0) { @@ -609,16 +615,16 @@ proto.fonos.auth.v1beta1.ValidateTokenRequest.serializeBinaryToWriter = function * optional string token = 1; * @return {string} */ -proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.getToken = function() { +proto.fonoster.auth.v1beta1.ValidateTokenRequest.prototype.getToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.auth.v1beta1.ValidateTokenRequest} returns this + * @return {!proto.fonoster.auth.v1beta1.ValidateTokenRequest} returns this */ -proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.setToken = function(value) { +proto.fonoster.auth.v1beta1.ValidateTokenRequest.prototype.setToken = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -639,8 +645,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.auth.v1beta1.ValidateTokenResponse.toObject(opt_includeInstance, this); +proto.fonoster.auth.v1beta1.ValidateTokenResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.auth.v1beta1.ValidateTokenResponse.toObject(opt_includeInstance, this); }; @@ -649,11 +655,11 @@ proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.auth.v1beta1.ValidateTokenResponse} msg The msg instance to transform. + * @param {!proto.fonoster.auth.v1beta1.ValidateTokenResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.ValidateTokenResponse.toObject = function(includeInstance, msg) { +proto.fonoster.auth.v1beta1.ValidateTokenResponse.toObject = function(includeInstance, msg) { var f, obj = { valid: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; @@ -669,23 +675,23 @@ proto.fonos.auth.v1beta1.ValidateTokenResponse.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.auth.v1beta1.ValidateTokenResponse} + * @return {!proto.fonoster.auth.v1beta1.ValidateTokenResponse} */ -proto.fonos.auth.v1beta1.ValidateTokenResponse.deserializeBinary = function(bytes) { +proto.fonoster.auth.v1beta1.ValidateTokenResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.auth.v1beta1.ValidateTokenResponse; - return proto.fonos.auth.v1beta1.ValidateTokenResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.auth.v1beta1.ValidateTokenResponse; + return proto.fonoster.auth.v1beta1.ValidateTokenResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.auth.v1beta1.ValidateTokenResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.auth.v1beta1.ValidateTokenResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.auth.v1beta1.ValidateTokenResponse} + * @return {!proto.fonoster.auth.v1beta1.ValidateTokenResponse} */ -proto.fonos.auth.v1beta1.ValidateTokenResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.auth.v1beta1.ValidateTokenResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -709,9 +715,9 @@ proto.fonos.auth.v1beta1.ValidateTokenResponse.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.serializeBinary = function() { +proto.fonoster.auth.v1beta1.ValidateTokenResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.auth.v1beta1.ValidateTokenResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.auth.v1beta1.ValidateTokenResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -719,11 +725,11 @@ proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.auth.v1beta1.ValidateTokenResponse} message + * @param {!proto.fonoster.auth.v1beta1.ValidateTokenResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.ValidateTokenResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.auth.v1beta1.ValidateTokenResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getValid(); if (f) { @@ -739,16 +745,16 @@ proto.fonos.auth.v1beta1.ValidateTokenResponse.serializeBinaryToWriter = functio * optional bool valid = 1; * @return {boolean} */ -proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.getValid = function() { +proto.fonoster.auth.v1beta1.ValidateTokenResponse.prototype.getValid = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value - * @return {!proto.fonos.auth.v1beta1.ValidateTokenResponse} returns this + * @return {!proto.fonoster.auth.v1beta1.ValidateTokenResponse} returns this */ -proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.setValid = function(value) { +proto.fonoster.auth.v1beta1.ValidateTokenResponse.prototype.setValid = function(value) { return jspb.Message.setProto3BooleanField(this, 1, value); }; @@ -769,8 +775,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.auth.v1beta1.CreateTokenRequest.toObject(opt_includeInstance, this); +proto.fonoster.auth.v1beta1.CreateTokenRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.auth.v1beta1.CreateTokenRequest.toObject(opt_includeInstance, this); }; @@ -779,11 +785,11 @@ proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.auth.v1beta1.CreateTokenRequest} msg The msg instance to transform. + * @param {!proto.fonoster.auth.v1beta1.CreateTokenRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.CreateTokenRequest.toObject = function(includeInstance, msg) { +proto.fonoster.auth.v1beta1.CreateTokenRequest.toObject = function(includeInstance, msg) { var f, obj = { roleName: jspb.Message.getFieldWithDefault(msg, 1, ""), accessKeyId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -801,23 +807,23 @@ proto.fonos.auth.v1beta1.CreateTokenRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} + * @return {!proto.fonoster.auth.v1beta1.CreateTokenRequest} */ -proto.fonos.auth.v1beta1.CreateTokenRequest.deserializeBinary = function(bytes) { +proto.fonoster.auth.v1beta1.CreateTokenRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.auth.v1beta1.CreateTokenRequest; - return proto.fonos.auth.v1beta1.CreateTokenRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.auth.v1beta1.CreateTokenRequest; + return proto.fonoster.auth.v1beta1.CreateTokenRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.auth.v1beta1.CreateTokenRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.auth.v1beta1.CreateTokenRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} + * @return {!proto.fonoster.auth.v1beta1.CreateTokenRequest} */ -proto.fonos.auth.v1beta1.CreateTokenRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.auth.v1beta1.CreateTokenRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -849,9 +855,9 @@ proto.fonos.auth.v1beta1.CreateTokenRequest.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.serializeBinary = function() { +proto.fonoster.auth.v1beta1.CreateTokenRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.auth.v1beta1.CreateTokenRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.auth.v1beta1.CreateTokenRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -859,11 +865,11 @@ proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.auth.v1beta1.CreateTokenRequest} message + * @param {!proto.fonoster.auth.v1beta1.CreateTokenRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.CreateTokenRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.auth.v1beta1.CreateTokenRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoleName(); if (f.length > 0) { @@ -893,16 +899,16 @@ proto.fonos.auth.v1beta1.CreateTokenRequest.serializeBinaryToWriter = function(m * optional string role_name = 1; * @return {string} */ -proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.getRoleName = function() { +proto.fonoster.auth.v1beta1.CreateTokenRequest.prototype.getRoleName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} returns this + * @return {!proto.fonoster.auth.v1beta1.CreateTokenRequest} returns this */ -proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.setRoleName = function(value) { +proto.fonoster.auth.v1beta1.CreateTokenRequest.prototype.setRoleName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -911,16 +917,16 @@ proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.setRoleName = function(val * optional string access_key_id = 2; * @return {string} */ -proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.getAccessKeyId = function() { +proto.fonoster.auth.v1beta1.CreateTokenRequest.prototype.getAccessKeyId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} returns this + * @return {!proto.fonoster.auth.v1beta1.CreateTokenRequest} returns this */ -proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.setAccessKeyId = function(value) { +proto.fonoster.auth.v1beta1.CreateTokenRequest.prototype.setAccessKeyId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -929,16 +935,16 @@ proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.setAccessKeyId = function( * optional string expiration = 3; * @return {string} */ -proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.getExpiration = function() { +proto.fonoster.auth.v1beta1.CreateTokenRequest.prototype.getExpiration = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} returns this + * @return {!proto.fonoster.auth.v1beta1.CreateTokenRequest} returns this */ -proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.setExpiration = function(value) { +proto.fonoster.auth.v1beta1.CreateTokenRequest.prototype.setExpiration = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -959,8 +965,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.auth.v1beta1.CreateTokenResponse.toObject(opt_includeInstance, this); +proto.fonoster.auth.v1beta1.CreateTokenResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.auth.v1beta1.CreateTokenResponse.toObject(opt_includeInstance, this); }; @@ -969,11 +975,11 @@ proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.auth.v1beta1.CreateTokenResponse} msg The msg instance to transform. + * @param {!proto.fonoster.auth.v1beta1.CreateTokenResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.CreateTokenResponse.toObject = function(includeInstance, msg) { +proto.fonoster.auth.v1beta1.CreateTokenResponse.toObject = function(includeInstance, msg) { var f, obj = { token: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -989,23 +995,23 @@ proto.fonos.auth.v1beta1.CreateTokenResponse.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.auth.v1beta1.CreateTokenResponse} + * @return {!proto.fonoster.auth.v1beta1.CreateTokenResponse} */ -proto.fonos.auth.v1beta1.CreateTokenResponse.deserializeBinary = function(bytes) { +proto.fonoster.auth.v1beta1.CreateTokenResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.auth.v1beta1.CreateTokenResponse; - return proto.fonos.auth.v1beta1.CreateTokenResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.auth.v1beta1.CreateTokenResponse; + return proto.fonoster.auth.v1beta1.CreateTokenResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.auth.v1beta1.CreateTokenResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.auth.v1beta1.CreateTokenResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.auth.v1beta1.CreateTokenResponse} + * @return {!proto.fonoster.auth.v1beta1.CreateTokenResponse} */ -proto.fonos.auth.v1beta1.CreateTokenResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.auth.v1beta1.CreateTokenResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1029,9 +1035,9 @@ proto.fonos.auth.v1beta1.CreateTokenResponse.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.serializeBinary = function() { +proto.fonoster.auth.v1beta1.CreateTokenResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.auth.v1beta1.CreateTokenResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.auth.v1beta1.CreateTokenResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1039,11 +1045,11 @@ proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.auth.v1beta1.CreateTokenResponse} message + * @param {!proto.fonoster.auth.v1beta1.CreateTokenResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.auth.v1beta1.CreateTokenResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.auth.v1beta1.CreateTokenResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getToken(); if (f.length > 0) { @@ -1059,18 +1065,18 @@ proto.fonos.auth.v1beta1.CreateTokenResponse.serializeBinaryToWriter = function( * optional string token = 1; * @return {string} */ -proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.getToken = function() { +proto.fonoster.auth.v1beta1.CreateTokenResponse.prototype.getToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.auth.v1beta1.CreateTokenResponse} returns this + * @return {!proto.fonoster.auth.v1beta1.CreateTokenResponse} returns this */ -proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.setToken = function(value) { +proto.fonoster.auth.v1beta1.CreateTokenResponse.prototype.setToken = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; -goog.object.extend(exports, proto.fonos.auth.v1beta1); +goog.object.extend(exports, proto.fonoster.auth.v1beta1); diff --git a/mods/auth/src/service/protos/common_grpc_pb.js b/mods/auth/src/service/protos/common_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/auth/src/service/protos/common_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/auth/src/service/protos/common_pb.d.ts b/mods/auth/src/service/protos/common_pb.d.ts new file mode 100644 index 000000000..f8b5fb810 --- /dev/null +++ b/mods/auth/src/service/protos/common_pb.d.ts @@ -0,0 +1,54 @@ +// package: fonoster.common.v1beta1 +// file: common.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; + +export class Empty extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; +} + +export namespace Empty { + export type AsObject = { + } +} + +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; +} + +export namespace ErrorResponse { + export type AsObject = { + status: number, + message: string, + } +} + +export enum View { + BASIC = 0, + STANDARD = 1, + FULL = 2, +} diff --git a/mods/auth/src/service/protos/common_pb.js b/mods/auth/src/service/protos/common_pb.js new file mode 100644 index 000000000..b7f99c7ea --- /dev/null +++ b/mods/auth/src/service/protos/common_pb.js @@ -0,0 +1,335 @@ +// source: common.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.Empty = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.Empty} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { + var f, obj = { + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * @enum {number} + */ +proto.fonoster.common.v1beta1.View = { + BASIC: 0, + STANDARD: 1, + FULL: 2 +}; + +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/auth/src/service/protos/google/api/annotations_grpc_pb.js b/mods/auth/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/auth/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/auth/src/service/protos/google/api/annotations_pb.d.ts b/mods/auth/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/auth/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/auth/src/service/protos/google/api/annotations_pb.js b/mods/auth/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/auth/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/auth/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/auth/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/auth/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/auth/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/auth/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/auth/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/auth/src/service/protos/google/api/field_behavior_pb.js b/mods/auth/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/auth/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/auth/src/service/protos/google/api/http_grpc_pb.js b/mods/auth/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/auth/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/auth/src/service/protos/google/api/http_pb.d.ts b/mods/auth/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/auth/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/auth/src/service/protos/google/api/http_pb.js b/mods/auth/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/auth/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/auth/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/auth/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/auth/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/auth/src/service/protos/google/api/httpbody_pb.d.ts b/mods/auth/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/auth/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/auth/src/service/protos/google/api/httpbody_pb.js b/mods/auth/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/auth/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/auth/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/auth/src/service/runner.ts b/mods/auth/src/service/runner.ts index a9b0e55e7..fb6b4744c 100644 --- a/mods/auth/src/service/runner.ts +++ b/mods/auth/src/service/runner.ts @@ -1,13 +1,13 @@ #!/usr/bin/env node import AuthServer from "./auth"; import {AuthService} from "./protos/auth_grpc_pb"; -import {runServices} from "@fonos/common"; -import logger from "@fonos/logger"; +import {runServices} from "@fonoster/common"; +import logger from "@fonoster/logger"; import express from "express"; const app = express(); import Auth from "../utils/auth_utils"; import JWT from "../utils/jwt"; -import {getSalt} from "@fonos/certs"; +import {getSalt} from "@fonoster/certs"; import AuthMiddleware from "../auth_middleware"; const authenticator = new Auth(new JWT()); diff --git a/mods/auth/src/utils/auth_utils.ts b/mods/auth/src/utils/auth_utils.ts index 4ceb4d5f0..da2427b03 100644 --- a/mods/auth/src/utils/auth_utils.ts +++ b/mods/auth/src/utils/auth_utils.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ */ import JwtPayload from "./jwt_payload"; import ITokenManager from "./itoken_manager"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export declare interface UserToken { accessToken: string; @@ -87,7 +87,7 @@ export default class AuthUtils { isValid: result } as TokenResponse; } catch (e) { - logger.log("error", "@fonos/auth [Error decoding token]"); + logger.log("error", "@fonoster/auth [Error decoding token]"); } return { isValid: result diff --git a/mods/auth/src/utils/itoken_manager.ts b/mods/auth/src/utils/itoken_manager.ts index 9bb183b55..7a4c5fe5f 100644 --- a/mods/auth/src/utils/itoken_manager.ts +++ b/mods/auth/src/utils/itoken_manager.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/auth/src/utils/jwt.ts b/mods/auth/src/utils/jwt.ts index 2e223ab38..0bb902007 100644 --- a/mods/auth/src/utils/jwt.ts +++ b/mods/auth/src/utils/jwt.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ */ import {promisify} from "util"; import {sign, verify} from "jsonwebtoken"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import JwtPayload from "./jwt_payload"; import ITokenManager from "./itoken_manager"; /* @@ -51,7 +51,7 @@ export default class JWT implements ITokenManager { ignoreExpiration: false })) as JwtPayload; } catch (e) { - logger.log("error", "@fonos/auth [Bad token]"); + logger.log("error", "@fonoster/auth [Bad token]"); throw new Error(e); } } diff --git a/mods/auth/src/utils/jwt_payload.ts b/mods/auth/src/utils/jwt_payload.ts index f8cd7720a..f62121871 100644 --- a/mods/auth/src/utils/jwt_payload.ts +++ b/mods/auth/src/utils/jwt_payload.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/auth/src/utils/role_has_access.ts b/mods/auth/src/utils/role_has_access.ts index 8c9ef5d7c..3a936f17e 100644 --- a/mods/auth/src/utils/role_has_access.ts +++ b/mods/auth/src/utils/role_has_access.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -19,7 +19,7 @@ const grpc = require("@grpc/grpc-js"); import AuthPB from "../service/protos/auth_pb"; import {AuthClient} from "../service/protos/auth_grpc_pb"; -import {getClientCredentials} from "@fonos/common"; +import {getClientCredentials} from "@fonoster/common"; const svc = new AuthClient( process.env.APISERVER_ENDPOINT || "localhost:50052", diff --git a/mods/auth/test/auth.unit.test.ts b/mods/auth/test/auth.unit.test.ts index dc9ae9484..018326028 100644 --- a/mods/auth/test/auth.unit.test.ts +++ b/mods/auth/test/auth.unit.test.ts @@ -9,7 +9,7 @@ chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@fonos/authentication", () => { +describe("@fonoster/authentication", () => { before(async () => { sandbox.stub(Jwt); }); diff --git a/mods/auth/test/client.unit.test.ts b/mods/auth/test/client.unit.test.ts index c779a110a..9b2df018e 100644 --- a/mods/auth/test/client.unit.test.ts +++ b/mods/auth/test/client.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -21,7 +21,7 @@ import sinon from "sinon"; import sinonChai from "sinon-chai"; import chaiAsPromised from "chai-as-promised"; import Auth from "../src/client/auth"; -import {FonosService} from "@fonos/common"; +import {APIClient} from "@fonoster/common"; import {AuthPB} from "../src/client/auth"; import {CreateTokenResponse} from "../src/client/types"; const expect = chai.expect; @@ -32,20 +32,18 @@ const sandbox = sinon.createSandbox(); const createTokenResponse = new AuthPB.CreateTokenResponse(); createTokenResponse.setToken("..."); -describe("@fonos/auth/client", () => { +describe("@fonoster/auth/client", () => { afterEach(() => sandbox.restore()); it("creates a new no access token", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - const stubAuth = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - createNoAccessToken: () => { - return { - sendMessage: () => Promise.resolve(createTokenResponse) - }; - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubAuth = sandbox.stub(APIClient.prototype, "getService").returns({ + createNoAccessToken: () => { + return { + sendMessage: () => Promise.resolve(createTokenResponse) + }; + } + }); const auth = new Auth(); const result: CreateTokenResponse = await auth.createNoAccessToken({ @@ -59,16 +57,14 @@ describe("@fonos/auth/client", () => { }); it("creates a new access token", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - const stubAuth = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - createToken: () => { - return { - sendMessage: () => Promise.resolve(createTokenResponse) - }; - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubAuth = sandbox.stub(APIClient.prototype, "getService").returns({ + createToken: () => { + return { + sendMessage: () => Promise.resolve(createTokenResponse) + }; + } + }); const auth = new Auth(); const result: CreateTokenResponse = await auth.createToken({ @@ -82,19 +78,17 @@ describe("@fonos/auth/client", () => { }); it("checks if a token is valid", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - const stubAuth = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - validateToken: () => { - return { - sendMessage: () => - Promise.resolve({ - getValid: () => true - }) - }; - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubAuth = sandbox.stub(APIClient.prototype, "getService").returns({ + validateToken: () => { + return { + sendMessage: () => + Promise.resolve({ + getValid: () => true + }) + }; + } + }); const auth = new Auth(); const result = await auth.validateToken({ diff --git a/mods/callmanager/.lerna-changed-buster-7825 b/mods/callmanager/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/callmanager/Dockerfile b/mods/callmanager/Dockerfile index 42a6b8d94..2b63dbe4b 100644 --- a/mods/callmanager/Dockerfile +++ b/mods/callmanager/Dockerfile @@ -3,7 +3,7 @@ COPY . /scripts RUN ./install.sh RUN link /usr/bin/run_callmanager /usr/bin/run \ && link /usr/bin/healthcheck_callmanager /usr/bin/healthcheck -USER fonos +USER fonoster HEALTHCHECK --interval=30s \ --timeout=30s \ --start-period=5s \ diff --git a/mods/callmanager/package.json b/mods/callmanager/package.json index 92e025afc..e606abb79 100644 --- a/mods/callmanager/package.json +++ b/mods/callmanager/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/callmanager", - "version": "0.1.20-alpha.0", + "name": "@fonoster/callmanager", + "version": "0.2.40", "description": "Call Manager", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/client/callmanager", "types": "dist/client/callmanager", @@ -37,18 +37,18 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "ari-client": "^2.2.0", "google-protobuf": "^3.17.0", diff --git a/mods/callmanager/src/client/callmanager.ts b/mods/callmanager/src/client/callmanager.ts index 01886a765..3644c57d9 100644 --- a/mods/callmanager/src/client/callmanager.ts +++ b/mods/callmanager/src/client/callmanager.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,38 +16,41 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {FonosService, ServiceOptions} from "@fonos/common"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {CallManagerClient} from "../service/protos/callmanager_grpc_pb"; import CallManagerPB from "../service/protos/callmanager_pb"; import {promisifyAll} from "grpc-promise"; -import {CallRequest, CallResponse} from "./types"; +import {CallRequest, CallResponse, ICallManagerClient} from "./types"; /** - * @classdesc Use Fonos CallManager, a capability of Fonos Systems Manager, - * to initiate and monitor automated calls. Fonos CallManager requires of a - * running Fonos deployment. + * @classdesc Use Fonoster CallManager, a capability of Fonoster CallManager, + * to initiate and monitor automated calls. Fonoster CallManager requires of a + * running Fonoster deployment. * - * @extends FonosService + * @extends APIClient * @example * - * const Fonos = require("@fonos/sdk") - * const callManager = new Fonos.CallManager() + * const Fonoster = require("@fonoster/sdk") + * const callManager = new Fonoster.CallManager() * * callManager.call({ * from: "9102104343", - * to: "17853178070" - * app: "default" + * to: "17853178070", + * webhook: "https://https://071e-47-132-137-75.ngrok.io/voiceapp", * }) * .then(console.log) // successful response * .catch(console.error) // an error occurred */ -export default class CallManager extends FonosService { +export default class CallManager + extends APIClient + implements ICallManagerClient +{ /** * Constructs a new CallManager Object. * - * @see module:core:FonosService + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(CallManagerClient, options); super.init(); promisifyAll(super.getService(), {metadata: super.getMeta()}); @@ -59,9 +62,10 @@ export default class CallManager extends FonosService { * @param {CallRequest} request - Call request options * @param {string} request.from - Number you are calling from. You must have this Number configured in your account * @param {string} request.to - The callee - * @param {string} request.webhook - Url of the application that will handle the call. + * @param {string} request.webhook - Url of the application that will handle the call * If none is provided it will use the webook setup in the Number - * @param {string} request.ignoreE164Validation - If enabled it will accept any input in the from and to + * @param {object} request.metadata - Arbitrary payload to send to the Voice Application + * @param {boolean} request.ignoreE164Validation - If enabled it will accept any input in the from and to * @return {Promise} - call results * @throws if the from number doesn't exist * @throws if could not connect to the underline services @@ -93,7 +97,7 @@ export default class CallManager extends FonosService { } } -export {CallManagerPB}; +export {CallManagerPB, ICallManagerClient}; // WARNING: Workaround for support to commonjs clients module.exports = CallManager; diff --git a/mods/callmanager/src/client/types.ts b/mods/callmanager/src/client/types.ts index 731d0588f..01c3560d5 100644 --- a/mods/callmanager/src/client/types.ts +++ b/mods/callmanager/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +export interface ICallManagerClient { + call(request: CallRequest): Promise; +} export interface CallRequest { from: string; diff --git a/mods/callmanager/src/protos/callmanager.proto b/mods/callmanager/src/protos/callmanager.proto index 87647cea2..26a444429 100644 --- a/mods/callmanager/src/protos/callmanager.proto +++ b/mods/callmanager/src/protos/callmanager.proto @@ -7,26 +7,40 @@ */ syntax = "proto3"; -package fonos.callmanager.v1beta1; +package fonoster.callmanager.v1beta1; + +option go_package = "github.com/fonoster/fonoster/mods/callmanager/fonoster/services/protos/callmanager"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; service CallManager { // Originates a call and pass channel to an application - rpc Call (CallRequest) returns (CallResponse) {}; + rpc Call (CallRequest) returns (CallResponse) { + option (google.api.http) = { + post: "/v1beta1/call" + body: "*" + }; + }; } message CallRequest { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"from\": \"+17853178070\", \"to\": \"+17852268080\", \"webhook\": \"https://c5b6-172-220-243-215.ngrok.io\"}" + }; // Origination number string from = 1; // Destination number string to = 2; - // Level of detail of the individual entities + // Optional webhook string webhook = 3; // If enabled it will accept any input in the from and to bool ignore_e164_validation = 4; - // Metadata from the user + // Optional metadata for voice applications string metadata = 5; } message CallResponse { + // Call's reference string ref = 1; } diff --git a/mods/callmanager/src/service/call.ts b/mods/callmanager/src/service/call.ts index 3ca1b6157..9802b88b7 100644 --- a/mods/callmanager/src/service/call.ts +++ b/mods/callmanager/src/service/call.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ */ import {CallRequest, CallResponse} from "./protos/callmanager_pb"; import {nanoid} from "nanoid"; -import {FonosError} from "@fonos/errors"; +import {FonosterError} from "@fonoster/errors"; import phone from "phone"; import {EndpointInfo} from "../client/types"; @@ -30,22 +30,28 @@ export default async function ( if ( !request.getIgnoreE164Validation() && phone(request.getFrom()).length === 0 - ) - throw new FonosError("invalid e164 number"); - if (!request.getIgnoreE164Validation() && phone(request.getTo()).length === 0) - throw new FonosError("invalid e164 number"); + ) { + throw new FonosterError("invalid e164 number"); + } + + if ( + !request.getIgnoreE164Validation() && + phone(request.getTo()).length === 0 + ) { + throw new FonosterError("invalid e164 number"); + } const response = new CallResponse(); response.setRef(nanoid()); - // Removing the "+" sign - const from = request.getFrom().replace("+", ""); - const to = request.getTo().replace("+", ""); - const variables = !request.getWebhook() - ? {DID_INFO: from, REF: response.getRef(), METADATA: request.getMetadata()} + ? { + DID_INFO: request.getFrom(), + REF: response.getRef(), + METADATA: request.getMetadata() + } : { - DID_INFO: from, + DID_INFO: request.getFrom(), WEBHOOK: request.getWebhook(), REF: response.getRef(), METADATA: request.getMetadata() @@ -54,7 +60,9 @@ export default async function ( await channel.originate({ context: endpointInfo.context, extension: endpointInfo.extension, - endpoint: `PJSIP/${endpointInfo.trunk}/sip:${to}@${endpointInfo.domain}`, + endpoint: `PJSIP/${endpointInfo.trunk}/sip:${request.getTo()}@${ + endpointInfo.domain + }`, variables }); diff --git a/mods/callmanager/src/service/callmanager.ts b/mods/callmanager/src/service/callmanager.ts index 87d2a6de7..76949fa65 100644 --- a/mods/callmanager/src/service/callmanager.ts +++ b/mods/callmanager/src/service/callmanager.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,15 +16,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {routr} from "@fonos/core"; +import {routr} from "@fonoster/core"; import grpc from "@grpc/grpc-js"; import client from "ari-client"; import {CallRequest, CallResponse} from "./protos/callmanager_pb"; import {EndpointInfo} from "../client/types"; import originate from "./call"; import {ICallManagerServer} from "./protos/callmanager_grpc_pb"; -import logger from "@fonos/logger"; -import {FonosError} from "@fonos/errors"; +import logger from "@fonoster/logger"; +import {FonosterError} from "@fonoster/errors"; const getDomainByNumber = async (e164Number: string) => { await routr.connect(); @@ -32,7 +32,7 @@ const getDomainByNumber = async (e164Number: string) => { }; const numberNotInList = (number) => - `The number '${number}' is not assigned to one of your domains. Make sure the number exist and is assigned to a Domain`; + `the number '${number}' is not assigned to one of your domains. Make sure the number exist and is assigned to a Domain`; class CallManagerServer implements ICallManagerServer { [name: string]: grpc.UntypedHandleCall; @@ -45,7 +45,10 @@ class CallManagerServer implements ICallManagerServer { const domain = await getDomainByNumber(call.request.getFrom()); if (!domain) { - callback(new FonosError(numberNotInList(call.request.getFrom())), null); + callback( + new FonosterError(numberNotInList(call.request.getFrom())), + null + ); return; } @@ -56,7 +59,10 @@ class CallManagerServer implements ICallManagerServer { const accessKeyIdDomain = domain.metadata.accessKeyId; if (accessKeyIdDomain != accessKeyId) { - callback(new FonosError(numberNotInList(call.request.getFrom())), null); + callback( + new FonosterError(numberNotInList(call.request.getFrom())), + null + ); } logger.verbose( diff --git a/mods/callmanager/src/service/healthcheck.ts b/mods/callmanager/src/service/healthcheck.ts index 03ef418cd..c024ae500 100644 --- a/mods/callmanager/src/service/healthcheck.ts +++ b/mods/callmanager/src/service/healthcheck.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; //healthcheck(); diff --git a/mods/callmanager/src/service/protos/callmanager_grpc_pb.d.ts b/mods/callmanager/src/service/protos/callmanager_grpc_pb.d.ts index c32413ebc..e74d3f69f 100644 --- a/mods/callmanager/src/service/protos/callmanager_grpc_pb.d.ts +++ b/mods/callmanager/src/service/protos/callmanager_grpc_pb.d.ts @@ -1,18 +1,20 @@ -// package: fonos.callmanager.v1beta1 +// package: fonoster.callmanager.v1beta1 // file: callmanager.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as callmanager_pb from "./callmanager_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; interface ICallManagerService extends grpc.ServiceDefinition { call: ICallManagerService_ICall; } interface ICallManagerService_ICall extends grpc.MethodDefinition { - path: "/fonos.callmanager.v1beta1.CallManager/Call"; + path: "/fonoster.callmanager.v1beta1.CallManager/Call"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; diff --git a/mods/callmanager/src/service/protos/callmanager_grpc_pb.js b/mods/callmanager/src/service/protos/callmanager_grpc_pb.js index b0f751963..52c99a315 100644 --- a/mods/callmanager/src/service/protos/callmanager_grpc_pb.js +++ b/mods/callmanager/src/service/protos/callmanager_grpc_pb.js @@ -10,26 +10,28 @@ 'use strict'; var grpc = require('@grpc/grpc-js'); var callmanager_pb = require('./callmanager_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); -function serialize_fonos_callmanager_v1beta1_CallRequest(arg) { +function serialize_fonoster_callmanager_v1beta1_CallRequest(arg) { if (!(arg instanceof callmanager_pb.CallRequest)) { - throw new Error('Expected argument of type fonos.callmanager.v1beta1.CallRequest'); + throw new Error('Expected argument of type fonoster.callmanager.v1beta1.CallRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_callmanager_v1beta1_CallRequest(buffer_arg) { +function deserialize_fonoster_callmanager_v1beta1_CallRequest(buffer_arg) { return callmanager_pb.CallRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_callmanager_v1beta1_CallResponse(arg) { +function serialize_fonoster_callmanager_v1beta1_CallResponse(arg) { if (!(arg instanceof callmanager_pb.CallResponse)) { - throw new Error('Expected argument of type fonos.callmanager.v1beta1.CallResponse'); + throw new Error('Expected argument of type fonoster.callmanager.v1beta1.CallResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_callmanager_v1beta1_CallResponse(buffer_arg) { +function deserialize_fonoster_callmanager_v1beta1_CallResponse(buffer_arg) { return callmanager_pb.CallResponse.deserializeBinary(new Uint8Array(buffer_arg)); } @@ -37,15 +39,15 @@ function deserialize_fonos_callmanager_v1beta1_CallResponse(buffer_arg) { var CallManagerService = exports.CallManagerService = { // Originates a call and pass channel to an application call: { - path: '/fonos.callmanager.v1beta1.CallManager/Call', + path: '/fonoster.callmanager.v1beta1.CallManager/Call', requestStream: false, responseStream: false, requestType: callmanager_pb.CallRequest, responseType: callmanager_pb.CallResponse, - requestSerialize: serialize_fonos_callmanager_v1beta1_CallRequest, - requestDeserialize: deserialize_fonos_callmanager_v1beta1_CallRequest, - responseSerialize: serialize_fonos_callmanager_v1beta1_CallResponse, - responseDeserialize: deserialize_fonos_callmanager_v1beta1_CallResponse, + requestSerialize: serialize_fonoster_callmanager_v1beta1_CallRequest, + requestDeserialize: deserialize_fonoster_callmanager_v1beta1_CallRequest, + responseSerialize: serialize_fonoster_callmanager_v1beta1_CallResponse, + responseDeserialize: deserialize_fonoster_callmanager_v1beta1_CallResponse, }, }; diff --git a/mods/callmanager/src/service/protos/callmanager_pb.d.ts b/mods/callmanager/src/service/protos/callmanager_pb.d.ts index e08ce92c0..7e5352af7 100644 --- a/mods/callmanager/src/service/protos/callmanager_pb.d.ts +++ b/mods/callmanager/src/service/protos/callmanager_pb.d.ts @@ -1,10 +1,11 @@ -// package: fonos.callmanager.v1beta1 +// package: fonoster.callmanager.v1beta1 // file: callmanager.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; export class CallRequest extends jspb.Message { getFrom(): string; diff --git a/mods/callmanager/src/service/protos/callmanager_pb.js b/mods/callmanager/src/service/protos/callmanager_pb.js index 423f02677..5e9dc2a7e 100644 --- a/mods/callmanager/src/service/protos/callmanager_pb.js +++ b/mods/callmanager/src/service/protos/callmanager_pb.js @@ -15,8 +15,12 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.callmanager.v1beta1.CallRequest', null, global); -goog.exportSymbol('proto.fonos.callmanager.v1beta1.CallResponse', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +goog.exportSymbol('proto.fonoster.callmanager.v1beta1.CallRequest', null, global); +goog.exportSymbol('proto.fonoster.callmanager.v1beta1.CallResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -27,16 +31,16 @@ goog.exportSymbol('proto.fonos.callmanager.v1beta1.CallResponse', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.callmanager.v1beta1.CallRequest = function(opt_data) { +proto.fonoster.callmanager.v1beta1.CallRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.callmanager.v1beta1.CallRequest, jspb.Message); +goog.inherits(proto.fonoster.callmanager.v1beta1.CallRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.callmanager.v1beta1.CallRequest.displayName = 'proto.fonos.callmanager.v1beta1.CallRequest'; + proto.fonoster.callmanager.v1beta1.CallRequest.displayName = 'proto.fonoster.callmanager.v1beta1.CallRequest'; } /** * Generated by JsPbCodeGenerator. @@ -48,16 +52,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.callmanager.v1beta1.CallResponse = function(opt_data) { +proto.fonoster.callmanager.v1beta1.CallResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.callmanager.v1beta1.CallResponse, jspb.Message); +goog.inherits(proto.fonoster.callmanager.v1beta1.CallResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.callmanager.v1beta1.CallResponse.displayName = 'proto.fonos.callmanager.v1beta1.CallResponse'; + proto.fonoster.callmanager.v1beta1.CallResponse.displayName = 'proto.fonoster.callmanager.v1beta1.CallResponse'; } @@ -75,8 +79,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.callmanager.v1beta1.CallRequest.toObject(opt_includeInstance, this); +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.callmanager.v1beta1.CallRequest.toObject(opt_includeInstance, this); }; @@ -85,11 +89,11 @@ proto.fonos.callmanager.v1beta1.CallRequest.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.callmanager.v1beta1.CallRequest} msg The msg instance to transform. + * @param {!proto.fonoster.callmanager.v1beta1.CallRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.callmanager.v1beta1.CallRequest.toObject = function(includeInstance, msg) { +proto.fonoster.callmanager.v1beta1.CallRequest.toObject = function(includeInstance, msg) { var f, obj = { from: jspb.Message.getFieldWithDefault(msg, 1, ""), to: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -109,23 +113,23 @@ proto.fonos.callmanager.v1beta1.CallRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.callmanager.v1beta1.CallRequest} + * @return {!proto.fonoster.callmanager.v1beta1.CallRequest} */ -proto.fonos.callmanager.v1beta1.CallRequest.deserializeBinary = function(bytes) { +proto.fonoster.callmanager.v1beta1.CallRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.callmanager.v1beta1.CallRequest; - return proto.fonos.callmanager.v1beta1.CallRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.callmanager.v1beta1.CallRequest; + return proto.fonoster.callmanager.v1beta1.CallRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.callmanager.v1beta1.CallRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.callmanager.v1beta1.CallRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.callmanager.v1beta1.CallRequest} + * @return {!proto.fonoster.callmanager.v1beta1.CallRequest} */ -proto.fonos.callmanager.v1beta1.CallRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.callmanager.v1beta1.CallRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -165,9 +169,9 @@ proto.fonos.callmanager.v1beta1.CallRequest.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.serializeBinary = function() { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.callmanager.v1beta1.CallRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.callmanager.v1beta1.CallRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -175,11 +179,11 @@ proto.fonos.callmanager.v1beta1.CallRequest.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.callmanager.v1beta1.CallRequest} message + * @param {!proto.fonoster.callmanager.v1beta1.CallRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.callmanager.v1beta1.CallRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.callmanager.v1beta1.CallRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFrom(); if (f.length > 0) { @@ -223,16 +227,16 @@ proto.fonos.callmanager.v1beta1.CallRequest.serializeBinaryToWriter = function(m * optional string from = 1; * @return {string} */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.getFrom = function() { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.getFrom = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.callmanager.v1beta1.CallRequest} returns this + * @return {!proto.fonoster.callmanager.v1beta1.CallRequest} returns this */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.setFrom = function(value) { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.setFrom = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -241,16 +245,16 @@ proto.fonos.callmanager.v1beta1.CallRequest.prototype.setFrom = function(value) * optional string to = 2; * @return {string} */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.getTo = function() { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.getTo = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.callmanager.v1beta1.CallRequest} returns this + * @return {!proto.fonoster.callmanager.v1beta1.CallRequest} returns this */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.setTo = function(value) { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.setTo = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -259,16 +263,16 @@ proto.fonos.callmanager.v1beta1.CallRequest.prototype.setTo = function(value) { * optional string webhook = 3; * @return {string} */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.getWebhook = function() { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.getWebhook = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.fonos.callmanager.v1beta1.CallRequest} returns this + * @return {!proto.fonoster.callmanager.v1beta1.CallRequest} returns this */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.setWebhook = function(value) { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.setWebhook = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -277,16 +281,16 @@ proto.fonos.callmanager.v1beta1.CallRequest.prototype.setWebhook = function(valu * optional bool ignore_e164_validation = 4; * @return {boolean} */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.getIgnoreE164Validation = function() { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.getIgnoreE164Validation = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.fonos.callmanager.v1beta1.CallRequest} returns this + * @return {!proto.fonoster.callmanager.v1beta1.CallRequest} returns this */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.setIgnoreE164Validation = function(value) { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.setIgnoreE164Validation = function(value) { return jspb.Message.setProto3BooleanField(this, 4, value); }; @@ -295,16 +299,16 @@ proto.fonos.callmanager.v1beta1.CallRequest.prototype.setIgnoreE164Validation = * optional string metadata = 5; * @return {string} */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.getMetadata = function() { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.getMetadata = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.fonos.callmanager.v1beta1.CallRequest} returns this + * @return {!proto.fonoster.callmanager.v1beta1.CallRequest} returns this */ -proto.fonos.callmanager.v1beta1.CallRequest.prototype.setMetadata = function(value) { +proto.fonoster.callmanager.v1beta1.CallRequest.prototype.setMetadata = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; @@ -325,8 +329,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.callmanager.v1beta1.CallResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.callmanager.v1beta1.CallResponse.toObject(opt_includeInstance, this); +proto.fonoster.callmanager.v1beta1.CallResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.callmanager.v1beta1.CallResponse.toObject(opt_includeInstance, this); }; @@ -335,11 +339,11 @@ proto.fonos.callmanager.v1beta1.CallResponse.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.callmanager.v1beta1.CallResponse} msg The msg instance to transform. + * @param {!proto.fonoster.callmanager.v1beta1.CallResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.callmanager.v1beta1.CallResponse.toObject = function(includeInstance, msg) { +proto.fonoster.callmanager.v1beta1.CallResponse.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -355,23 +359,23 @@ proto.fonos.callmanager.v1beta1.CallResponse.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.callmanager.v1beta1.CallResponse} + * @return {!proto.fonoster.callmanager.v1beta1.CallResponse} */ -proto.fonos.callmanager.v1beta1.CallResponse.deserializeBinary = function(bytes) { +proto.fonoster.callmanager.v1beta1.CallResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.callmanager.v1beta1.CallResponse; - return proto.fonos.callmanager.v1beta1.CallResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.callmanager.v1beta1.CallResponse; + return proto.fonoster.callmanager.v1beta1.CallResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.callmanager.v1beta1.CallResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.callmanager.v1beta1.CallResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.callmanager.v1beta1.CallResponse} + * @return {!proto.fonoster.callmanager.v1beta1.CallResponse} */ -proto.fonos.callmanager.v1beta1.CallResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.callmanager.v1beta1.CallResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -395,9 +399,9 @@ proto.fonos.callmanager.v1beta1.CallResponse.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.callmanager.v1beta1.CallResponse.prototype.serializeBinary = function() { +proto.fonoster.callmanager.v1beta1.CallResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.callmanager.v1beta1.CallResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.callmanager.v1beta1.CallResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -405,11 +409,11 @@ proto.fonos.callmanager.v1beta1.CallResponse.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.callmanager.v1beta1.CallResponse} message + * @param {!proto.fonoster.callmanager.v1beta1.CallResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.callmanager.v1beta1.CallResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.callmanager.v1beta1.CallResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -425,18 +429,18 @@ proto.fonos.callmanager.v1beta1.CallResponse.serializeBinaryToWriter = function( * optional string ref = 1; * @return {string} */ -proto.fonos.callmanager.v1beta1.CallResponse.prototype.getRef = function() { +proto.fonoster.callmanager.v1beta1.CallResponse.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.callmanager.v1beta1.CallResponse} returns this + * @return {!proto.fonoster.callmanager.v1beta1.CallResponse} returns this */ -proto.fonos.callmanager.v1beta1.CallResponse.prototype.setRef = function(value) { +proto.fonoster.callmanager.v1beta1.CallResponse.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; -goog.object.extend(exports, proto.fonos.callmanager.v1beta1); +goog.object.extend(exports, proto.fonoster.callmanager.v1beta1); diff --git a/mods/callmanager/src/service/protos/common_grpc_pb.js b/mods/callmanager/src/service/protos/common_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/callmanager/src/service/protos/common_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/callmanager/src/service/protos/common_pb.d.ts b/mods/callmanager/src/service/protos/common_pb.d.ts new file mode 100644 index 000000000..f8b5fb810 --- /dev/null +++ b/mods/callmanager/src/service/protos/common_pb.d.ts @@ -0,0 +1,54 @@ +// package: fonoster.common.v1beta1 +// file: common.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; + +export class Empty extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; +} + +export namespace Empty { + export type AsObject = { + } +} + +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; +} + +export namespace ErrorResponse { + export type AsObject = { + status: number, + message: string, + } +} + +export enum View { + BASIC = 0, + STANDARD = 1, + FULL = 2, +} diff --git a/mods/callmanager/src/service/protos/common_pb.js b/mods/callmanager/src/service/protos/common_pb.js new file mode 100644 index 000000000..b7f99c7ea --- /dev/null +++ b/mods/callmanager/src/service/protos/common_pb.js @@ -0,0 +1,335 @@ +// source: common.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.Empty = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.Empty} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { + var f, obj = { + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * @enum {number} + */ +proto.fonoster.common.v1beta1.View = { + BASIC: 0, + STANDARD: 1, + FULL: 2 +}; + +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/callmanager/src/service/protos/google/api/annotations_grpc_pb.js b/mods/callmanager/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/callmanager/src/service/protos/google/api/annotations_pb.d.ts b/mods/callmanager/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/callmanager/src/service/protos/google/api/annotations_pb.js b/mods/callmanager/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/callmanager/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/callmanager/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/callmanager/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/callmanager/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/callmanager/src/service/protos/google/api/field_behavior_pb.js b/mods/callmanager/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/callmanager/src/service/protos/google/api/http_grpc_pb.js b/mods/callmanager/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/callmanager/src/service/protos/google/api/http_pb.d.ts b/mods/callmanager/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/callmanager/src/service/protos/google/api/http_pb.js b/mods/callmanager/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/callmanager/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/callmanager/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/callmanager/src/service/protos/google/api/httpbody_pb.d.ts b/mods/callmanager/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/callmanager/src/service/protos/google/api/httpbody_pb.js b/mods/callmanager/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/callmanager/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/callmanager/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/callmanager/src/service/runner.ts b/mods/callmanager/src/service/runner.ts index 4e588509c..72ff72881 100644 --- a/mods/callmanager/src/service/runner.ts +++ b/mods/callmanager/src/service/runner.ts @@ -1,9 +1,9 @@ #!/usr/bin/env node import CallManagerServer from "./callmanager"; import {CallManagerService} from "./protos/callmanager_grpc_pb"; -import {AuthMiddleware} from "@fonos/auth"; -import {getSalt} from "@fonos/certs"; -import {runServices} from "@fonos/common"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; const services = [ { diff --git a/mods/callmanager/test/callmanager.unit.test.ts b/mods/callmanager/test/callmanager.unit.test.ts index ba95edc37..19e063ca2 100644 --- a/mods/callmanager/test/callmanager.unit.test.ts +++ b/mods/callmanager/test/callmanager.unit.test.ts @@ -2,7 +2,7 @@ import chai from "chai"; import sinon from "sinon"; import sinonChai from "sinon-chai"; import chaiAsPromised from "chai-as-promised"; -import {FonosService} from "@fonos/common"; +import {APIClient} from "@fonoster/common"; import CallManager from "../src/client/callmanager"; import CallManagerPB from "../src/service/protos/callmanager_pb"; @@ -11,7 +11,7 @@ chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@fonos/callmanager", () => { +describe("@fonoster/callmanager", () => { afterEach(() => sandbox.restore()); it("checks the requests parameters", async () => { @@ -28,9 +28,9 @@ describe("@fonos/callmanager", () => { "setWebhook" ); - const initStub = sandbox.stub(FonosService.prototype, "init").returns(); + const initStub = sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ call: () => { return { diff --git a/mods/certs/.lerna-changed-buster-7825 b/mods/certs/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/certs/package.json b/mods/certs/package.json index 399ee4e2d..21f9c6304 100644 --- a/mods/certs/package.json +++ b/mods/certs/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/certs", - "version": "0.1.20-alpha.0", - "description": "Handles Fonos certificates", + "name": "@fonoster/certs", + "version": "0.2.40", + "description": "Handles Fonoster certificates", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/certs", "types": "dist/certs", @@ -23,10 +23,10 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { "@types/jsonwebtoken": "^8.5.0", diff --git a/mods/certs/src/certs.ts b/mods/certs/src/certs.ts index b36601254..ecaeb0be8 100644 --- a/mods/certs/src/certs.ts +++ b/mods/certs/src/certs.ts @@ -5,11 +5,11 @@ import {join} from "path"; import {homedir} from "os"; import btoa from "btoa"; -const BASE_DIR = join(homedir(), ".fonos"); -const PATH_TO_SALT = join(BASE_DIR, "jwt.salt"); +const BASE_DIR = join(homedir(), ".fonoster"); +const PATH_TO_SALT = join(BASE_DIR, "private_key"); const PATH_TO_CONFIG = join(BASE_DIR, "config"); -const ACCESS_KEY_ID = process.env.ACCESS_KEY_ID || "fonos"; -const AUTH_ISS = process.env.AUTH_ISS || "fonos"; +const ACCESS_KEY_ID = process.env.ACCESS_KEY_ID || "fonoster"; +const AUTH_ISS = process.env.AUTH_ISS || "fonoster"; const getContent = (workdir: string, file: string) => btoa(fs.readFileSync(`${workdir}/${file}`).toString("utf-8")); diff --git a/mods/certs/test/certs.unit.test.ts b/mods/certs/test/certs.unit.test.ts index 1eddedfbf..b5a325aea 100644 --- a/mods/certs/test/certs.unit.test.ts +++ b/mods/certs/test/certs.unit.test.ts @@ -16,7 +16,7 @@ if (process.env.NODE_ENV === "dev") { require("dotenv").config({path: join(__dirname, "..", "..", ".env")}); } -describe("@fonos/certs", () => { +describe("@fonoster/certs", () => { afterEach(() => sandbox.restore()); it("creates an salt if it does not exist", async () => { @@ -28,7 +28,7 @@ describe("@fonos/certs", () => { const sign = sandbox.spy(jwt, "sign"); const result = await createConfigFile(); - expect(result).to.have.property("accessKeyId").to.be.equal("fonos"); + expect(result).to.have.property("accessKeyId").to.be.equal("fonoster"); expect(result).to.have.property("accessKeySecret").to.be.not.null; expect(existsSync).to.have.been.calledOnce; expect(sign).to.have.been.calledOnce; diff --git a/mods/common/.lerna-changed-buster-7825 b/mods/common/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/common/package.json b/mods/common/package.json index 3cabd19c7..9193a7b4a 100644 --- a/mods/common/package.json +++ b/mods/common/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/common", - "version": "0.1.20-alpha.0", + "name": "@fonoster/common", + "version": "0.2.40", "description": "Common artifacts", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,14 +23,14 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "@speedymonster/grpc-interceptors": "^0.2.5", "atob": "^2.1.2", diff --git a/mods/common/src/fonos_service.ts b/mods/common/src/api_client.ts similarity index 74% rename from mods/common/src/fonos_service.ts rename to mods/common/src/api_client.ts index f6011552a..8652b2953 100644 --- a/mods/common/src/fonos_service.ts +++ b/mods/common/src/api_client.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,37 +16,37 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {configExist} from "@fonos/certs"; import {getClientCredentials} from "./trust_util"; -import {ServiceOptions} from "./types"; +import {ClientOptions} from "./types"; import * as fs from "fs"; import * as path from "path"; import {Metadata} from "@grpc/grpc-js"; const CONFIG_FILE = process.env.API_CONFIG_FILE || - path.join(require("os").homedir(), ".fonos", "config"); -const getConfigFile = () => fs.readFileSync(CONFIG_FILE).toString().trim(); + path.join(require("os").homedir(), ".fonoster", "config"); +const configFileExit = () => fs.existsSync(CONFIG_FILE); +const getConfigFile = () => JSON.parse(fs.readFileSync(CONFIG_FILE).toString()); -const defaultOptions: ServiceOptions = { +const defaultOptions: ClientOptions = { endpoint: process.env.APISERVER_ENDPOINT || "api.fonoster.io", accessKeyId: process.env.ACCESS_KEY_ID, accessKeySecret: process.env.ACCESS_KEY_SECRET }; export default class { + options: ClientOptions; + metadata: Metadata; ServiceClient: any; - options: any; - metadata: any; service: any; /** * Use the Options object to overwrite the service default configuration. - * @typedef {Object} Options + * @typedef {ClientOptions} Options * @property {string} endpoint - The endpoint URI to send requests to. * The endpoint should be a string like '{serviceHost}:{servicePort}'. - * @property {string} accessKeyId - your Fonos access key ID. - * @property {string} accessKeySecret - your Fonos secret access key. + * @property {string} accessKeyId - your Fonoster access key ID. + * @property {string} accessKeySecret - your Fonoster secret access key. * @property {string} bucket - The bucket to upload apps and media files. */ @@ -55,15 +55,15 @@ export default class { * * @param {Options} options - Overwrite for the service's defaults configuration. */ - constructor(ServiceClient: any, options: ServiceOptions) { + constructor(ServiceClient: any, options: ClientOptions) { this.ServiceClient = ServiceClient; this.options = options; } init(): void { try { - if (!this.options && configExist()) { - this.options = JSON.parse(getConfigFile()); + if (!this.options && configFileExit()) { + this.options = getConfigFile(); } } catch (err) { throw new Error(`Malformed config file found at: ${CONFIG_FILE}`); @@ -87,7 +87,7 @@ export default class { ); } - getOptions(): any { + getOptions(): ClientOptions { return this.options; } @@ -95,7 +95,7 @@ export default class { return this.service; } - getMeta(): any { + getMeta(): Metadata { return this.metadata; } } diff --git a/mods/common/src/env_is_set.ts b/mods/common/src/env_is_set.ts index 77ceec3e2..7944e9c36 100644 --- a/mods/common/src/env_is_set.ts +++ b/mods/common/src/env_is_set.ts @@ -1,8 +1,8 @@ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export default function assertEnvIsSet(name: string) { const register = require(process.env.SERVICES_ENVS || - "/home/fonos/service_envs.json"); + "/home/fonoster/service_envs.json"); const services = register.filter((service: any) => service.module === name); for (let value of services) { value.env.forEach(function (variable: string) { diff --git a/mods/common/src/healthcheck.ts b/mods/common/src/healthcheck.ts index 5156d5556..bb18dae29 100644 --- a/mods/common/src/healthcheck.ts +++ b/mods/common/src/healthcheck.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,7 +17,7 @@ * limitations under the License. */ /* eslint-disable require-jsdoc */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import * as grpc from "@grpc/grpc-js"; import { HealthCheckRequest, @@ -40,11 +40,11 @@ export default function (): void { request, (error: Error | null, response: HealthCheckResponse) => { if (error) { - logger.error(`@fonos/common healthcheck fialed: ${error}`, error); + logger.error(`@fonoster/common healthcheck fialed: ${error}`, error); process.exit(1); } else { logger.verbose( - `@fonos/common healthcheck success [status: ${response.getStatus()}]` + `@fonoster/common healthcheck success [status: ${response.getStatus()}]` ); process.exit(0); } diff --git a/mods/common/src/index.ts b/mods/common/src/index.ts index a74a8c79d..e944d4128 100644 --- a/mods/common/src/index.ts +++ b/mods/common/src/index.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,8 +16,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import FonosService from "./fonos_service"; -import {ServiceOptions} from "./types"; +import APIClient from "./api_client"; +import WebAPIClient from "./web_client"; +import {ClientOptions, WebClientOptions} from "./types"; import {getClientCredentials, getServerCredentials} from "./trust_util"; //import healthcheck from "./healthcheck"; import runServices from "./service_runner"; @@ -30,8 +31,10 @@ import { } from "./speech/types"; export { - FonosService, - ServiceOptions, + APIClient, + WebAPIClient, + WebClientOptions, + ClientOptions, Plugin, SpeechTracker, SpeechResult, diff --git a/mods/common/src/service_runner.ts b/mods/common/src/service_runner.ts index 4f962f402..c5371d300 100644 --- a/mods/common/src/service_runner.ts +++ b/mods/common/src/service_runner.ts @@ -2,9 +2,9 @@ /* eslint-disable require-jsdoc */ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import assertEnvIsSet from "./env_is_set"; const grpc = require("@grpc/grpc-js"); import {getServerCredentials} from "./trust_util"; @@ -47,14 +47,14 @@ export default function run( const server = interceptor.serverProxy(grpcServer); logger.info( - `@fonos/common service runner [starting @ ${ENDPOINT}, api = ${srvInfList[0].version}]` + `@fonoster/common service runner [starting @ ${ENDPOINT}, api = ${srvInfList[0].version}]` ); if (middlewareList) { middlewareList.forEach((middleware) => { server.use(middleware.middlewareObj); logger.info( - `@fonos/common service runner [added ${middleware.name} middleware]` + `@fonoster/common service runner [added ${middleware.name} middleware]` ); }); } @@ -62,11 +62,13 @@ export default function run( srvInfList.forEach((srvInf: ServiceInf) => { assertEnvIsSet(srvInf.name); server.addService(srvInf.service, srvInf.server); - logger.info(`@fonos/common service runner [added ${srvInf.name} service]`); + logger.info( + `@fonoster/common service runner [added ${srvInf.name} service]` + ); }); server.bindAsync(ENDPOINT, getServerCredentials(), () => { server.start(); }); - logger.info("@fonos/common service runner [runner is online]"); + logger.info("@fonoster/common service runner [runner is online]"); } diff --git a/mods/common/src/speech/plugin.ts b/mods/common/src/speech/plugin.ts index 57e407d6d..fc77f7aa2 100644 --- a/mods/common/src/speech/plugin.ts +++ b/mods/common/src/speech/plugin.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/common/src/speech/types.ts b/mods/common/src/speech/types.ts index 478993421..94886a95d 100644 --- a/mods/common/src/speech/types.ts +++ b/mods/common/src/speech/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/common/src/trust_util.ts b/mods/common/src/trust_util.ts index 520858550..3bdfc8763 100644 --- a/mods/common/src/trust_util.ts +++ b/mods/common/src/trust_util.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import path from "path"; import * as os from "os"; import * as fs from "fs"; @@ -36,11 +36,11 @@ let config: { try { config = JSON.parse( fs - .readFileSync(path.join(os.homedir(), ".fonos", "config")) + .readFileSync(path.join(os.homedir(), ".fonoster", "config")) .toString("utf-8") ); } catch (e) { - logger.verbose("@fonos/common no config found"); + logger.verbose("@fonoster/common no config found"); } const getServerCredentials = () => { @@ -57,9 +57,11 @@ const getServerCredentials = () => { ); } catch (e) { logger.warn( - "@fonos/common trust util [unable to load security certificates]" + "@fonoster/common trust util [unable to load security certificates]" + ); + logger.warn( + "@fonoster/common trust util [starting server in insecure mode]" ); - logger.warn("@fonos/common trust util [starting server in insecure mode]"); return grpc.ServerCredentials.createInsecure(); } }; diff --git a/mods/common/src/types.ts b/mods/common/src/types.ts index c507317b4..588f2a9e5 100644 --- a/mods/common/src/types.ts +++ b/mods/common/src/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,9 +16,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -export interface ServiceOptions { +export interface ClientOptions { endpoint?: string; bucket?: string; accessKeyId?: string; accessKeySecret?: string; } + +export interface WebClientOptions { + endpoint?: string; + bucket?: string; + accessKeyId: string; + accessKeySecret: string; +} diff --git a/mods/common/src/web_client.ts b/mods/common/src/web_client.ts new file mode 100644 index 000000000..e6f2aee7c --- /dev/null +++ b/mods/common/src/web_client.ts @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {ClientOptions, WebClientOptions} from "./types"; +const DEFAULT_ENDPOINT = "https://api.fonoster.io/api"; + +export default class { + options: ClientOptions; + api: any; + + /** + * Use the Options object to overwrite the service default configuration. + * @typedef {Object} Options + * @property {string} endpoint - The endpoint URI to send requests to. + * The endpoint should be a string like '{serviceHost}:{servicePort}'. + * @property {string} accessKeyId - your Fonoster access key ID. + * @property {string} accessKeySecret - your Fonoster secret access key. + * @property {string} bucket - The bucket to upload apps and media files. + */ + + /** + * Constructs a service object. + * + * @param {WebClientOptions} options - Overwrite for the service's defaults configuration. + */ + constructor(API: any, name: string, options: WebClientOptions) { + this.options = options; + if (!this.options.endpoint) { + this.options.endpoint = DEFAULT_ENDPOINT; + } + const config = new API.Configuration({ + basePath: this.options.endpoint, + baseOptions: { + headers: { + access_key_id: this.options.accessKeyId, + access_key_secret: this.options.accessKeySecret + } + } + }); + this.api = new API[name](config); + } + + // eslint-disable-next-line require-jsdoc + async run(method: string, request: unknown): Promise { + try { + return (await this.api[method](request as any)) as unknown; + } catch (e) { + if (e.response) { + throw e.response.data; + } else if (e.request) { + // client never received a response, or request never left + } else { + // anything else + } + } + } +} diff --git a/mods/core/.lerna-changed-buster-7825 b/mods/core/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/storage/package-lock.json b/mods/core/package-lock.json similarity index 64% rename from mods/storage/package-lock.json rename to mods/core/package-lock.json index 4eaa0def9..a024bc211 100644 --- a/mods/storage/package-lock.json +++ b/mods/core/package-lock.json @@ -1,53 +1,129 @@ { - "name": "@fonos/storage", - "version": "0.1.20-alpha.0", + "name": "@fonoster/core", + "version": "0.2.40", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@fonos/storage", - "version": "0.1.20-alpha.0", + "name": "@fonoster/core", + "version": "0.2.40", "license": "MIT", "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + }, + "devDependencies": { + "@types/btoa": "^1.2.3", + "@types/ioredis": "^4.16.5" + } + }, + "../auth": { + "name": "@fonoster/auth", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/common": "^0.2.29", + "@fonoster/errors": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", "google-protobuf": "^3.17.0", "grpc-promise": "^1.4.0", - "minio": "^7.0.18", - "objectid": "^3.2.1", - "sync": "^0.2.5", - "tar": "^6.1.0", - "walk": "^2.3.14" + "jsonwebtoken": "^8.5.1" }, "bin": { - "healthcheck_storage": "dist/service/healthcheck.js", - "run_storage": "dist/service/runner.js" + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + }, + "devDependencies": { + "@types/jsonwebtoken": "^8.5.0" + } + }, + "../certs": { + "name": "@fonoster/certs", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "../common": { + "name": "@fonoster/common", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "../errors": { + "name": "@fonoster/errors", + "version": "0.2.29", + "extraneous": true, + "license": "MIT" + }, + "../logger": { + "name": "@fonoster/logger", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "engines": { + "node": ">=0.1.90" } }, "node_modules/@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", "dependencies": { "colorspace": "1.1.x", "enabled": "2.0.x", "kuler": "^2.0.0" } }, - "node_modules/@fonos/auth": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/auth/-/auth-0.1.20-alpha.0.tgz", - "integrity": "sha512-H2kVRYGulBvaMPvU60YZqAJLfmJZOsux+VYarSF3AwMZjgxWOtRIF/h7sYnbpI6tM1bezNjCi0B6ahFDLjMz2g==", + "node_modules/@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "express": "^4.17.1", "google-protobuf": "^3.17.0", @@ -59,10 +135,10 @@ "run_auth": "dist/service/runner.js" } }, - "node_modules/@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", + "node_modules/@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", "dependencies": { "@types/jsonwebtoken": "^8.5.0", "acme-client": "^4.1.3", @@ -70,65 +146,117 @@ "jsonwebtoken": "^8.5.1" } }, - "node_modules/@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", + "node_modules/@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "@speedymonster/grpc-interceptors": "^0.2.5", "atob": "^2.1.2", "deepmerge": "^4.2.2" } }, - "node_modules/@fonos/core": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/core/-/core-0.1.20-alpha.0.tgz", - "integrity": "sha512-8EeRYLHPNAXhfdfgfpAd1+ZAYDNCbILW7pKLat14jG+50OmBpVQlV7QioQBbHnr3iXq/YNb3CYp586ypScTJ9w==", - "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "atob": "^2.1.2", - "axios": "^0.21.1", - "btoa": "^1.2.1", - "deepmerge": "^4.2.2", - "grpc-ts-health-check": "^2.0.6", - "ioredis": "^4.16.0", - "nanoid": "^3.1.23", - "phone": "^2.4.21" - } - }, - "node_modules/@fonos/errors": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/errors/-/errors-0.1.20-alpha.0.tgz", - "integrity": "sha512-gJGYliwGRoO5E46/+6V2mvDIUg7HWx77KUuP3qhH7bg4c1586LAiPhy1YWewa3sWGA0YL/x6w+I3TO9ln46DXg==" + "node_modules/@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==" }, - "node_modules/@fonos/logger": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.20-alpha.0.tgz", - "integrity": "sha512-2pxbetpP/Ff5bzVOUsfNY9/yfoLzkUzBG9uM+FSYzqeZUGkCesaSLqR20R3Xr2QxFA4mQEhpAI4z4daKqzsrDQ==", + "node_modules/@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", "dependencies": { "fluent-logger": "^3.4.1", "winston": "^3.3.3" } }, "node_modules/@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", "dependencies": { + "@grpc/proto-loader": "^0.6.4", "@types/node": ">=12.12.47" }, "engines": { "node": "^8.13.0 || >=10.10.0" } }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, "node_modules/@speedymonster/grpc-interceptors": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", @@ -141,46 +269,107 @@ "@grpc/grpc-js": "^1.3.7" } }, + "node_modules/@types/btoa": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@types/btoa/-/btoa-1.2.3.tgz", + "integrity": "sha512-ANNCZICS/ofxhzUl8V1DniBJs+sFQ+Yg5am1ZwVEf/sxoKY/J2+h5Fuw3xUErlZ7eJLdgzukBjZwnsV6+/2Rmg==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/ioredis": { + "version": "4.28.8", + "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.28.8.tgz", + "integrity": "sha512-mULOyO2smtvkE1zmzRRA4P0+1UjEqusi014kXOL1q3CY0RgqkR5/wKvv+vAJbPw2Q66wPyylKeevUy+m/FaRMg==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/jsonwebtoken": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", - "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", "dependencies": { "@types/node": "*" } }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, "node_modules/@types/node": { - "version": "16.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.0.3.tgz", - "integrity": "sha512-QhhSbE1wJMbh+lDsb9G6UFmyojhEgoO7dFVDBkli80sp3sPFojGh6TJXsht9Qbe2VWi91pbj08+1Kvue61RwsQ==" + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" }, "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" + "mime-types": "~2.1.34", + "negotiator": "0.6.3" }, "engines": { "node": ">= 0.6" } }, "node_modules/acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", "dependencies": { - "axios": "0.21.1", + "axios": "0.21.4", "backo2": "^1.0.0", "bluebird": "^3.5.0", "debug": "^4.1.1", - "node-forge": "^0.10.0" + "node-forge": "^1.2.0" }, "engines": { "node": ">= 10" } }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ansi-styles/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, "node_modules/array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", @@ -195,9 +384,9 @@ } }, "node_modules/async": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", - "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" }, "node_modules/atob": { "version": "2.1.2", @@ -211,11 +400,11 @@ } }, "node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "dependencies": { - "follow-redirects": "^1.10.0" + "follow-redirects": "^1.14.0" } }, "node_modules/backo2": { @@ -242,34 +431,26 @@ } ] }, - "node_modules/block-stream2": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", - "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", - "dependencies": { - "readable-stream": "^3.4.0" - } - }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" }, "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", "dependencies": { - "bytes": "3.1.0", + "bytes": "3.1.1", "content-type": "~1.0.4", "debug": "2.6.9", "depd": "~1.1.2", - "http-errors": "1.7.2", + "http-errors": "1.8.1", "iconv-lite": "0.4.24", "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" }, "engines": { "node": ">= 0.8" @@ -288,16 +469,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, - "node_modules/bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", - "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", - "hasInstallScript": true, - "engines": { - "node": ">=0.6.19" - } - }, "node_modules/btoa": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", @@ -315,22 +486,23 @@ "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" }, "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==", "engines": { "node": ">= 0.8" } }, "node_modules/chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", "dependencies": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", "deep-eql": "^3.0.1", "get-func-name": "^2.0.0", + "loupe": "^2.3.1", "pathval": "^1.1.1", "type-detect": "^4.0.5" }, @@ -346,12 +518,14 @@ "node": "*" } }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "engines": { - "node": ">=10" + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" } }, "node_modules/cluster-key-slot": { @@ -363,12 +537,12 @@ } }, "node_modules/color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", "dependencies": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" + "color-convert": "^1.9.3", + "color-string": "^1.6.0" } }, "node_modules/color-convert": { @@ -385,47 +559,34 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "node_modules/color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" } }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "engines": { - "node": ">=0.1.90" - } - }, "node_modules/colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", "dependencies": { - "color": "3.0.x", + "color": "^3.1.3", "text-hex": "1.0.x" } }, "node_modules/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "dependencies": { - "safe-buffer": "5.1.2" + "safe-buffer": "5.2.1" }, "engines": { "node": ">= 0.6" } }, - "node_modules/content-disposition/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, "node_modules/content-type": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", @@ -435,9 +596,9 @@ } }, "node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", "engines": { "node": ">= 0.6" } @@ -447,15 +608,10 @@ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, "node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", "dependencies": { "ms": "2.1.2" }, @@ -488,9 +644,9 @@ } }, "node_modules/denque": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz", - "integrity": "sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", "engines": { "node": ">=0.10" } @@ -508,17 +664,6 @@ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", @@ -532,6 +677,11 @@ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "node_modules/enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", @@ -564,10 +714,13 @@ "node": ">=0.10.0" } }, - "node_modules/es6-error": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", - "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } }, "node_modules/escape-html": { "version": "1.0.3", @@ -588,16 +741,16 @@ "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" }, "node_modules/express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", "dependencies": { "accepts": "~1.3.7", "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.4.0", + "cookie": "0.4.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "~1.1.2", @@ -611,13 +764,13 @@ "on-finished": "~2.3.0", "parseurl": "~1.3.3", "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", "statuses": "~1.5.0", "type-is": "~1.6.18", "utils-merge": "1.0.1", @@ -640,45 +793,11 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, - "node_modules/express/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/fast-safe-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.0.tgz", - "integrity": "sha512-xHSIyDJTOVQjtMBGcUokl3tpaOKgTyVTjlHj255V4Q4J1oho3cnrWrf5sCx8z1jq7gzNMv8y0PH53pYYuZUFPQ==" - }, - "node_modules/fast-xml-parser": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz", - "integrity": "sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==", - "bin": { - "xml2js": "cli.js" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/naturalintelligence" - } - }, "node_modules/fecha": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" }, - "node_modules/fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "hasInstallScript": true, - "dependencies": { - "detect-libc": "^1.0.3" - }, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/finalhandler": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", @@ -726,9 +845,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "node_modules/follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==", + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", "funding": [ { "type": "individual", @@ -744,11 +863,6 @@ } } }, - "node_modules/foreachasync": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", - "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=" - }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -765,15 +879,12 @@ "node": ">= 0.6" } }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "dependencies": { - "minipass": "^3.0.0" - }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "engines": { - "node": ">= 8" + "node": "6.* || 8.* || >= 10.*" } }, "node_modules/get-func-name": { @@ -785,14 +896,14 @@ } }, "node_modules/google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==" }, "node_modules/grpc-boom": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.28.tgz", - "integrity": "sha512-hX9x67axsZtDRpzspAxD+UEQK9efx2Qo3j90pWQxxY89Pox/P+KI29offfxtIGJA48pUMfx9qc2QwkdBZzM4pg==" + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" }, "node_modules/grpc-promise": { "version": "1.4.0", @@ -809,25 +920,20 @@ } }, "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", "dependencies": { "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" + "toidentifier": "1.0.1" }, "engines": { "node": ">= 0.6" } }, - "node_modules/http-errors/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -869,9 +975,9 @@ "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" }, "node_modules/ioredis": { - "version": "4.27.7", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.27.7.tgz", - "integrity": "sha512-lqvFFmUyGIHlrNyDvBoakzy1+ioJzNyoP6CP97GWtdTjWq9IOAnv6l0HUTsqhvd/z9etGgtrDHZ4kWCMAwNkug==", + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", "dependencies": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -906,6 +1012,14 @@ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", @@ -927,11 +1041,6 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, - "node_modules/json-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-stream/-/json-stream-1.0.0.tgz", - "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=" - }, "node_modules/jsonwebtoken": { "version": "8.5.1", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", @@ -953,14 +1062,6 @@ "npm": ">=1.4.28" } }, - "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, "node_modules/jwa": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", @@ -985,10 +1086,10 @@ "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" }, "node_modules/lodash.defaults": { "version": "4.2.0", @@ -1041,17 +1142,30 @@ "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" }, "node_modules/logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", "dependencies": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", + "@colors/colors": "1.5.0", "fecha": "^4.2.0", "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", "triple-beam": "^1.3.0" } }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -1085,85 +1199,24 @@ } }, "node_modules/mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", "dependencies": { - "mime-db": "1.48.0" + "mime-db": "1.51.0" }, "engines": { "node": ">= 0.6" } }, - "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "node_modules/minio": { - "version": "7.0.18", - "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.18.tgz", - "integrity": "sha512-jVRjkw8A5Spf+ETY5OXQUcQckHriuUA3u2+MAcX36btLT8EytlOVivxIseXvyFf9cNn3dy5w1F1UyjMvHU+nqg==", - "dependencies": { - "async": "^3.1.0", - "block-stream2": "^2.0.0", - "es6-error": "^4.1.1", - "fast-xml-parser": "^3.17.5", - "json-stream": "^1.0.0", - "lodash": "^4.17.20", - "mime-types": "^2.1.14", - "mkdirp": "^0.5.1", - "querystring": "0.2.0", - "through2": "^3.0.1", - "xml": "^1.0.0", - "xml2js": "^0.4.15" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -1184,9 +1237,9 @@ } }, "node_modules/nanoid": { - "version": "3.1.23", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", - "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -1195,9 +1248,9 @@ } }, "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "engines": { "node": ">= 0.6" } @@ -1228,19 +1281,11 @@ } }, "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==", "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "dependencies": { - "bson": "^0.1.9" + "node": ">= 6.13.0" } }, "node_modules/on-finished": { @@ -1299,10 +1344,30 @@ "node": ">=6.10.0" } }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } }, "node_modules/proxy-addr": { "version": "2.0.7", @@ -1317,20 +1382,14 @@ } }, "node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", "engines": { "node": ">=0.6" - } - }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "deprecated": "The", - "engines": { - "node": ">=0.4.x" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/range-parser": { @@ -1342,12 +1401,12 @@ } }, "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", + "bytes": "3.1.1", + "http-errors": "1.8.1", "iconv-lite": "0.4.24", "unpipe": "1.0.0" }, @@ -1392,6 +1451,14 @@ "node": ">=4" } }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -1411,20 +1478,31 @@ } ] }, + "node_modules/safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==", + "engines": { + "node": ">=10" + } + }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, - "node_modules/sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + "node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } }, "node_modules/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", "dependencies": { "debug": "2.6.9", "depd": "~1.1.2", @@ -1433,9 +1511,9 @@ "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "~1.7.2", + "http-errors": "1.8.1", "mime": "1.6.0", - "ms": "2.1.1", + "ms": "2.1.3", "on-finished": "~2.3.0", "range-parser": "~1.2.1", "statuses": "~1.5.0" @@ -1458,28 +1536,28 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "node_modules/send/node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", "dependencies": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.17.1" + "send": "0.17.2" }, "engines": { "node": ">= 0.8.0" } }, "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, "node_modules/simple-swizzle": { "version": "0.2.2", @@ -1518,42 +1596,28 @@ "safe-buffer": "~5.2.0" } }, - "node_modules/sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dependencies": { - "fibers": ">=0.6" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { - "node": ">=0.5.2" + "node": ">=8" } }, - "node_modules/tar": { - "version": "6.1.9", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.9.tgz", - "integrity": "sha512-XjLaMNl76o07zqZC/aW4lwegdY07baOH1T8w3AEfrHAdyg/oYO4ctjzEBq9Gy9fEP9oHqLIgvx6zuGDGe+bc8Q==", + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/tar/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "bin": { - "mkdirp": "bin/cmd.js" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">=10" + "node": ">=8" } }, "node_modules/text-hex": { @@ -1561,19 +1625,10 @@ "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" }, - "node_modules/through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } - }, "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "engines": { "node": ">=0.6" } @@ -1632,102 +1687,88 @@ "node": ">= 0.8" } }, - "node_modules/walk": { - "version": "2.3.14", - "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.14.tgz", - "integrity": "sha512-5skcWAUmySj6hkBdH6B6+3ddMjVQYH5Qy9QGbPmN8kVmLteXk+yVXg+yfk1nbX30EYakahLrr8iPcCxJQSCBeg==", - "dependencies": { - "foreachasync": "^3.0.0" - } - }, "node_modules/winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", "dependencies": { "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", + "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.2.0", + "logform": "^2.4.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" + "winston-transport": "^4.5.0" }, "engines": { - "node": ">= 6.4.0" + "node": ">= 12.0.0" } }, "node_modules/winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", "dependencies": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" }, "engines": { "node": ">= 6.4.0" } }, - "node_modules/winston-transport/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/winston-transport/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/winston-transport/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" } }, - "node_modules/xml": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", - "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=" - }, - "node_modules/xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" }, "engines": { - "node": ">=4.0.0" + "node": ">=10" } }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "engines": { - "node": ">=4.0" + "node": ">=10" } }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "node_modules/zipkin": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", @@ -1749,25 +1790,30 @@ } }, "dependencies": { + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==" + }, "@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", "requires": { "colorspace": "1.1.x", "enabled": "2.0.x", "kuler": "^2.0.0" } }, - "@fonos/auth": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/auth/-/auth-0.1.20-alpha.0.tgz", - "integrity": "sha512-H2kVRYGulBvaMPvU60YZqAJLfmJZOsux+VYarSF3AwMZjgxWOtRIF/h7sYnbpI6tM1bezNjCi0B6ahFDLjMz2g==", + "@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", "requires": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "express": "^4.17.1", "google-protobuf": "^3.17.0", @@ -1775,10 +1821,10 @@ "jsonwebtoken": "^8.5.1" } }, - "@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", + "@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", "requires": { "@types/jsonwebtoken": "^8.5.0", "acme-client": "^4.1.3", @@ -1786,62 +1832,108 @@ "jsonwebtoken": "^8.5.1" } }, - "@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", + "@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", "requires": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "@speedymonster/grpc-interceptors": "^0.2.5", "atob": "^2.1.2", "deepmerge": "^4.2.2" } }, - "@fonos/core": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/core/-/core-0.1.20-alpha.0.tgz", - "integrity": "sha512-8EeRYLHPNAXhfdfgfpAd1+ZAYDNCbILW7pKLat14jG+50OmBpVQlV7QioQBbHnr3iXq/YNb3CYp586ypScTJ9w==", - "requires": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "atob": "^2.1.2", - "axios": "^0.21.1", - "btoa": "^1.2.1", - "deepmerge": "^4.2.2", - "grpc-ts-health-check": "^2.0.6", - "ioredis": "^4.16.0", - "nanoid": "^3.1.23", - "phone": "^2.4.21" - } - }, - "@fonos/errors": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/errors/-/errors-0.1.20-alpha.0.tgz", - "integrity": "sha512-gJGYliwGRoO5E46/+6V2mvDIUg7HWx77KUuP3qhH7bg4c1586LAiPhy1YWewa3sWGA0YL/x6w+I3TO9ln46DXg==" + "@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==" }, - "@fonos/logger": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.20-alpha.0.tgz", - "integrity": "sha512-2pxbetpP/Ff5bzVOUsfNY9/yfoLzkUzBG9uM+FSYzqeZUGkCesaSLqR20R3Xr2QxFA4mQEhpAI4z4daKqzsrDQ==", + "@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", "requires": { "fluent-logger": "^3.4.1", "winston": "^3.3.3" } }, "@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", "requires": { + "@grpc/proto-loader": "^0.6.4", "@types/node": ">=12.12.47" } }, + "@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, "@speedymonster/grpc-interceptors": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", @@ -1851,38 +1943,89 @@ "zipkin-transport-http": "^0.12.0" } }, + "@types/btoa": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@types/btoa/-/btoa-1.2.3.tgz", + "integrity": "sha512-ANNCZICS/ofxhzUl8V1DniBJs+sFQ+Yg5am1ZwVEf/sxoKY/J2+h5Fuw3xUErlZ7eJLdgzukBjZwnsV6+/2Rmg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/ioredis": { + "version": "4.28.8", + "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.28.8.tgz", + "integrity": "sha512-mULOyO2smtvkE1zmzRRA4P0+1UjEqusi014kXOL1q3CY0RgqkR5/wKvv+vAJbPw2Q66wPyylKeevUy+m/FaRMg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, "@types/jsonwebtoken": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", - "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", "requires": { "@types/node": "*" } }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, "@types/node": { - "version": "16.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.0.3.tgz", - "integrity": "sha512-QhhSbE1wJMbh+lDsb9G6UFmyojhEgoO7dFVDBkli80sp3sPFojGh6TJXsht9Qbe2VWi91pbj08+1Kvue61RwsQ==" + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" }, "accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "requires": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" + "mime-types": "~2.1.34", + "negotiator": "0.6.3" } }, "acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", "requires": { - "axios": "0.21.1", + "axios": "0.21.4", "backo2": "^1.0.0", "bluebird": "^3.5.0", "debug": "^4.1.1", - "node-forge": "^0.10.0" + "node-forge": "^1.2.0" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + }, + "dependencies": { + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } } }, "array-flatten": { @@ -1896,9 +2039,9 @@ "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" }, "async": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", - "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" }, "atob": { "version": "2.1.2", @@ -1906,11 +2049,11 @@ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" }, "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "requires": { - "follow-redirects": "^1.10.0" + "follow-redirects": "^1.14.0" } }, "backo2": { @@ -1923,34 +2066,26 @@ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, - "block-stream2": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", - "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", - "requires": { - "readable-stream": "^3.4.0" - } - }, "bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" }, "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", "requires": { - "bytes": "3.1.0", + "bytes": "3.1.1", "content-type": "~1.0.4", "debug": "2.6.9", "depd": "~1.1.2", - "http-errors": "1.7.2", + "http-errors": "1.8.1", "iconv-lite": "0.4.24", "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" }, "dependencies": { "debug": { @@ -1968,11 +2103,6 @@ } } }, - "bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" - }, "btoa": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", @@ -1984,19 +2114,20 @@ "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" }, "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==" }, "chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", "requires": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", "deep-eql": "^3.0.1", "get-func-name": "^2.0.0", + "loupe": "^2.3.1", "pathval": "^1.1.1", "type-detect": "^4.0.5" } @@ -2006,10 +2137,15 @@ "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" }, - "chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } }, "cluster-key-slot": { "version": "1.1.0", @@ -2017,12 +2153,12 @@ "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==" }, "color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" + "color-convert": "^1.9.3", + "color-string": "^1.6.0" } }, "color-convert": { @@ -2039,41 +2175,29 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", "requires": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" } }, - "colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" - }, "colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", "requires": { - "color": "3.0.x", + "color": "^3.1.3", "text-hex": "1.0.x" } }, "content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "requires": { - "safe-buffer": "5.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } + "safe-buffer": "5.2.1" } }, "content-type": { @@ -2082,24 +2206,19 @@ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" }, "cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" }, "cookie-signature": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" }, - "core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", "requires": { "ms": "2.1.2" } @@ -2118,9 +2237,9 @@ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" }, "denque": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz", - "integrity": "sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==" + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==" }, "depd": { "version": "1.1.2", @@ -2132,11 +2251,6 @@ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" }, - "detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" - }, "ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", @@ -2150,6 +2264,11 @@ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", @@ -2178,10 +2297,10 @@ } } }, - "es6-error": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", - "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, "escape-html": { "version": "1.0.3", @@ -2199,16 +2318,16 @@ "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" }, "express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", "requires": { "accepts": "~1.3.7", "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.4.0", + "cookie": "0.4.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "~1.1.2", @@ -2222,13 +2341,13 @@ "on-finished": "~2.3.0", "parseurl": "~1.3.3", "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", "statuses": "~1.5.0", "type-is": "~1.6.18", "utils-merge": "1.0.1", @@ -2247,37 +2366,14 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" } } }, - "fast-safe-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.0.tgz", - "integrity": "sha512-xHSIyDJTOVQjtMBGcUokl3tpaOKgTyVTjlHj255V4Q4J1oho3cnrWrf5sCx8z1jq7gzNMv8y0PH53pYYuZUFPQ==" - }, - "fast-xml-parser": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz", - "integrity": "sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==" - }, "fecha": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" }, - "fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "requires": { - "detect-libc": "^1.0.3" - } - }, "finalhandler": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", @@ -2321,14 +2417,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==" - }, - "foreachasync": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", - "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=" + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==" }, "forwarded": { "version": "0.2.0", @@ -2340,13 +2431,10 @@ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" }, - "fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "requires": { - "minipass": "^3.0.0" - } + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, "get-func-name": { "version": "2.0.0", @@ -2354,14 +2442,14 @@ "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" }, "google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==" }, "grpc-boom": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.28.tgz", - "integrity": "sha512-hX9x67axsZtDRpzspAxD+UEQK9efx2Qo3j90pWQxxY89Pox/P+KI29offfxtIGJA48pUMfx9qc2QwkdBZzM4pg==" + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" }, "grpc-promise": { "version": "1.4.0", @@ -2378,22 +2466,15 @@ } }, "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", "requires": { "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - } + "toidentifier": "1.0.1" } }, "iconv-lite": { @@ -2420,9 +2501,9 @@ "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" }, "ioredis": { - "version": "4.27.7", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.27.7.tgz", - "integrity": "sha512-lqvFFmUyGIHlrNyDvBoakzy1+ioJzNyoP6CP97GWtdTjWq9IOAnv6l0HUTsqhvd/z9etGgtrDHZ4kWCMAwNkug==", + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", "requires": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -2447,6 +2528,11 @@ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, "is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", @@ -2462,11 +2548,6 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, - "json-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-stream/-/json-stream-1.0.0.tgz", - "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=" - }, "jsonwebtoken": { "version": "8.5.1", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", @@ -2482,13 +2563,6 @@ "lodash.once": "^4.0.0", "ms": "^2.1.1", "semver": "^5.6.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } } }, "jwa": { @@ -2515,10 +2589,10 @@ "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" }, "lodash.defaults": { "version": "4.2.0", @@ -2571,17 +2645,30 @@ "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" }, "logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", "requires": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", + "@colors/colors": "1.5.0", "fecha": "^4.2.0", "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", "triple-beam": "^1.3.0" } }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "requires": { + "get-func-name": "^2.0.0" + } + }, "media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -2603,65 +2690,16 @@ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" }, "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" }, "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", - "requires": { - "mime-db": "1.48.0" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "minio": { - "version": "7.0.18", - "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.18.tgz", - "integrity": "sha512-jVRjkw8A5Spf+ETY5OXQUcQckHriuUA3u2+MAcX36btLT8EytlOVivxIseXvyFf9cNn3dy5w1F1UyjMvHU+nqg==", - "requires": { - "async": "^3.1.0", - "block-stream2": "^2.0.0", - "es6-error": "^4.1.1", - "fast-xml-parser": "^3.17.5", - "json-stream": "^1.0.0", - "lodash": "^4.17.20", - "mime-types": "^2.1.14", - "mkdirp": "^0.5.1", - "querystring": "0.2.0", - "through2": "^3.0.1", - "xml": "^1.0.0", - "xml2js": "^0.4.15" - } - }, - "minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", - "requires": { - "yallist": "^4.0.0" - } - }, - "minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", "requires": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - } - }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" + "mime-db": "1.51.0" } }, "ms": { @@ -2681,14 +2719,14 @@ } }, "nanoid": { - "version": "3.1.23", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", - "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==" + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==" }, "negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" }, "network-address": { "version": "1.1.2", @@ -2712,17 +2750,9 @@ } }, "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" - }, - "objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "requires": { - "bson": "^0.1.9" - } + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==" }, "on-finished": { "version": "2.3.0", @@ -2765,10 +2795,25 @@ "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==" }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } }, "proxy-addr": { "version": "2.0.7", @@ -2780,14 +2825,9 @@ } }, "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - }, - "querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" }, "range-parser": { "version": "1.2.1", @@ -2795,12 +2835,12 @@ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" }, "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", + "bytes": "3.1.1", + "http-errors": "1.8.1", "iconv-lite": "0.4.24", "unpipe": "1.0.0" } @@ -2833,25 +2873,35 @@ "redis-errors": "^1.0.0" } }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, + "safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==" + }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, - "sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, "send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", "requires": { "debug": "2.6.9", "depd": "~1.1.2", @@ -2860,9 +2910,9 @@ "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "~1.7.2", + "http-errors": "1.8.1", "mime": "1.6.0", - "ms": "2.1.1", + "ms": "2.1.3", "on-finished": "~2.3.0", "range-parser": "~1.2.1", "statuses": "~1.5.0" @@ -2884,27 +2934,27 @@ } }, "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" } } }, "serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", "requires": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.17.1" + "send": "0.17.2" } }, "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, "simple-swizzle": { "version": "0.2.2", @@ -2937,32 +2987,22 @@ "safe-buffer": "~5.2.0" } }, - "sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "requires": { - "fibers": ">=0.6" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" } }, - "tar": { - "version": "6.1.9", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.9.tgz", - "integrity": "sha512-XjLaMNl76o07zqZC/aW4lwegdY07baOH1T8w3AEfrHAdyg/oYO4ctjzEBq9Gy9fEP9oHqLIgvx6zuGDGe+bc8Q==", + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "requires": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - } + "ansi-regex": "^5.0.1" } }, "text-hex": { @@ -2970,19 +3010,10 @@ "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" }, - "through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } - }, "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" }, "triple-beam": { "version": "1.3.0", @@ -3023,91 +3054,66 @@ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" }, - "walk": { - "version": "2.3.14", - "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.14.tgz", - "integrity": "sha512-5skcWAUmySj6hkBdH6B6+3ddMjVQYH5Qy9QGbPmN8kVmLteXk+yVXg+yfk1nbX30EYakahLrr8iPcCxJQSCBeg==", - "requires": { - "foreachasync": "^3.0.0" - } - }, "winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", "requires": { "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", + "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.2.0", + "logform": "^2.4.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" + "winston-transport": "^4.5.0" } }, "winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", "requires": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" } }, - "xml": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", - "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=" - }, - "xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "requires": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" } }, - "xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" }, "zipkin": { "version": "0.12.0", diff --git a/mods/core/package.json b/mods/core/package.json index b32efb2a7..7b3dd2a25 100644 --- a/mods/core/package.json +++ b/mods/core/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/core", - "version": "0.1.20-alpha.0", + "name": "@fonoster/core", + "version": "0.2.40", "description": "Core artifacts", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,20 +23,19 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "atob": "^2.1.2", - "axios": "^0.21.1", "btoa": "^1.2.1", "deepmerge": "^4.2.2", "grpc-ts-health-check": "^2.0.6", diff --git a/mods/core/src/common/get_access_key_id.ts b/mods/core/src/common/get_access_key_id.ts index 4bbea8118..8b9c85ed0 100644 --- a/mods/core/src/common/get_access_key_id.ts +++ b/mods/core/src/common/get_access_key_id.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/core/src/common/get_access_key_secret.ts b/mods/core/src/common/get_access_key_secret.ts new file mode 100644 index 000000000..7778d6a43 --- /dev/null +++ b/mods/core/src/common/get_access_key_secret.ts @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export default function (call: any): string { + return call.metadata.internalRepr.get("access_key_secret").toString(); +} diff --git a/mods/core/src/common/routr.ts b/mods/core/src/common/routr.ts index 8b4165674..d998a5438 100644 --- a/mods/core/src/common/routr.ts +++ b/mods/core/src/common/routr.ts @@ -1,6 +1,7 @@ import RoutrClient from "./routr_client"; -const host = process.env.SIPPROXY_HOST || "localhost"; +const host = + process.env.SIPPROXY_API_HOST || process.env.SIPPROXY_HOST || "localhost"; const port = process.env.SIPPROXY_API_PORT || "4567"; const username = process.env.SIPPROXY_API_USERNAME || "admin"; const secret = process.env.SIPPROXY_API_SECRET || "changeit"; diff --git a/mods/core/src/common/routr_errors.ts b/mods/core/src/common/routr_errors.ts index ecf69ddc5..16dfcf445 100644 --- a/mods/core/src/common/routr_errors.ts +++ b/mods/core/src/common/routr_errors.ts @@ -1,28 +1,28 @@ -import {FonosError} from "@fonos/errors"; +import {FonosterError} from "@fonoster/errors"; import { - FonosAuthError, - FonosFailedPrecondition, - FonosInvalidArgument -} from "@fonos/errors"; + FonosterAuthError, + FonosterFailedPrecondition, + FonosterInvalidArgument +} from "@fonoster/errors"; import {status as Status} from "@grpc/grpc-js"; export default function (error: any) { - if (!error.response) throw new FonosError(error); + if (!error.response) throw new FonosterError(error); const message = error.response.data.message; switch (error.response.status) { case 409: - throw new FonosFailedPrecondition(message); + throw new FonosterFailedPrecondition(message); case 401: - throw new FonosAuthError(message); + throw new FonosterAuthError(message); case 422: - throw new FonosFailedPrecondition(message); + throw new FonosterFailedPrecondition(message); case 404: - throw new FonosError(message, Status.NOT_FOUND); + throw new FonosterError(message, Status.NOT_FOUND); case 400: - throw new FonosInvalidArgument(message); + throw new FonosterInvalidArgument(message); default: - throw new FonosError(message); + throw new FonosterError(message); } } diff --git a/mods/core/src/index.ts b/mods/core/src/index.ts index 7863602cc..206b72842 100644 --- a/mods/core/src/index.ts +++ b/mods/core/src/index.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,6 +17,7 @@ * limitations under the License. */ import getAccessKeyId from "./common/get_access_key_id"; +import getAccessKeySecret from "./common/get_access_key_secret"; import getRedisConnection from "./common/redis"; import routr from "./common/routr"; import ResourceServer from "./resources/resource_server"; @@ -31,6 +32,7 @@ export { routr, getRedisConnection, getAccessKeyId, + getAccessKeySecret, createResource, updateResource }; diff --git a/mods/core/src/protos/common.proto b/mods/core/src/protos/common.proto index a8d7fb7e5..70a44babd 100644 --- a/mods/core/src/protos/common.proto +++ b/mods/core/src/protos/common.proto @@ -2,13 +2,15 @@ * MIT License * Copyright (c) 2021 Fonoster Inc * - * This proto stores common messages for the fonos platform. + * This proto stores common messages for the fonoster platform. */ syntax = "proto3"; -package fonos.common.v1beta1; +package fonoster.common.v1beta1; -message Error {} +option go_package = "github.com/fonoster/fonoster/gen/go/core/common/v1beta1"; + +import "protoc-gen-openapiv2/options/annotations.proto"; message Empty {} @@ -17,3 +19,76 @@ enum View { STANDARD = 1; FULL = 2; } + +message ErrorResponse { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"status\": 0, \"message\": \"string\"}" + }; + int32 status = 1; + string message = 2; +} + +option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { + base_path: "/api"; + info: { + title: "Fonoster"; + version: "v1beta1"; + contact: { + name: "Fonoster OSS"; + url: "https://fonoster.com"; + email: "psanders@fonoster.com"; + }; + license: { + name: "MIT License"; + url: "https://raw.githubusercontent.com/fonoster/fonoster/main/LICENSE"; + }; + }; + // Overwriting host entry breaks tests, so this is not done here. + external_docs: { + url: "https://github.com/fonoster/fonoster"; + description: "Github Repo"; + } + schemes: HTTP; + schemes: HTTPS; + consumes: "application/json"; + produces: "application/json"; + security_definitions: { + security: { + key: "AccessKeyId"; + value: { + type: TYPE_API_KEY; + in: IN_HEADER; + name: "access_key_id"; + } + } + security: { + key: "AccessKeySecret"; + value: { + type: TYPE_API_KEY; + in: IN_HEADER; + name: "access_key_secret"; + } + } + } + security: { + security_requirement: { + key: "AccessKeyId"; + value: {}; + } + security_requirement: { + key: "AccessKeySecret"; + value: {}; + } + } + responses: { + key: "default"; + value: { + description: "User or system error."; + schema: { + json_schema: { + ref: ".fonoster.common.v1beta1.ErrorResponse"; + } + } + } + } +}; diff --git a/mods/core/src/resources/resource_server.ts b/mods/core/src/resources/resource_server.ts index 99afce382..59ba31c71 100644 --- a/mods/core/src/resources/resource_server.ts +++ b/mods/core/src/resources/resource_server.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -23,6 +23,7 @@ import listResourcesHere from "./list_resources"; import deleteResourceHere from "./delete_resource"; import getAccessKeyId from "../common/get_access_key_id"; import {ListResourceResponse} from "./types"; +import logger from "@fonoster/logger"; export default class ResourceServer { static async listResources( @@ -37,6 +38,7 @@ export default class ResourceServer { itemsPerPage: call.request.getPageSize() }); } catch (e) { + logger.error(e); return null; } } @@ -46,12 +48,13 @@ export default class ResourceServer { call: grpc.ServerUnaryCall ): Promise { try { - return await getResourceHere({ + return getResourceHere({ ref: call.request.getRef(), kind, accessKeyId: getAccessKeyId(call) }); } catch (e) { + logger.error(e); return null; } } diff --git a/mods/core/test/core.unit.test.ts b/mods/core/test/core.unit.test.ts index ca50ed30e..2c79aa0cb 100644 --- a/mods/core/test/core.unit.test.ts +++ b/mods/core/test/core.unit.test.ts @@ -3,7 +3,7 @@ const StoragePB = require('../src/server/protos/storage_pb') const { mapToObj } = require('../dist/common/utils') const expect = require('chai').expect -describe('@fonos/core', () => { +describe('@fonoster/core', () => { it('Convert grpc map to json obj', () => { const uor = new StoragePB.UploadObjectRequest() const t = mapToObj(uor.getMetadataMap()) diff --git a/mods/core/test/fonos_service.unit.test.ts b/mods/core/test/fonos_service.unit.test.ts index 98d8f1bf2..23d712eae 100644 --- a/mods/core/test/fonos_service.unit.test.ts +++ b/mods/core/test/fonos_service.unit.test.ts @@ -1,7 +1,7 @@ /* const logger = require('../dist/common/logger') logger.transports.forEach(t => (t.silent = true)) -const FonosService = require('../dist/common/fonos_service') +const APIClient = require('../dist/common/fonoster_service') const chai = require('chai') const sinon = require('sinon') const sinonChai = require('sinon-chai') @@ -9,9 +9,9 @@ chai.use(sinonChai) const expect = chai.expect var sandbox = sinon.createSandbox() -describe('@fonos/core/service', () => { - context('FonosService constructor', () => { - sinon.stub(require('path'), 'join').returns('/users/quijote/.fonos/access') +describe('@fonoster/core/service', () => { + context('APIClient constructor', () => { + sinon.stub(require('path'), 'join').returns('/users/quijote/.fonoster/access') it('should only have the default options', () => { const fs = sinon.stub(require('fs'), 'readFileSync').returns( @@ -20,7 +20,7 @@ describe('@fonos/core/service', () => { accessKeySecret: 'validjwtkey' }) ) - const service = new FonosService() + const service = new APIClient() expect(service.getOptions()) .to.have.property('endpoint') .to.be.equal('localhost:50052') @@ -39,7 +39,7 @@ describe('@fonos/core/service', () => { accessKeySecret: 'validjwtkey' }) ) - const service = new FonosService() + const service = new APIClient() expect(service.getOptions()) .to.have.property('endpoint') .to.be.equal('localhost:50051') @@ -53,7 +53,7 @@ describe('@fonos/core/service', () => { accessKeySecret: 'validjwtkey' }) ) - const service = new FonosService(void 0, { endpoint: 'apiserver:50051' }) + const service = new APIClient(void 0, { endpoint: 'apiserver:50051' }) expect(service.getOptions()) .to.have.property('endpoint') .to.be.equal('apiserver:50051') @@ -67,8 +67,8 @@ describe('@fonos/core/service', () => { accessKeySecret: 'validjwtkey' }) ) - process.env.FONOS_ENDPOINT = 'apiserver:50053' - const service = new FonosService() + process.env.FONOSTER_ENDPOINT = 'apiserver:50053' + const service = new APIClient() expect(service.getOptions()) .to.have.property('endpoint') .to.be.equal('apiserver:50053') @@ -78,7 +78,7 @@ describe('@fonos/core/service', () => { it('should merge throw and error inf no credentials are found', done => { const fs = sinon.stub(require('fs'), 'readFileSync').returns('{}') try { - new FonosService() + new APIClient() done('not good') } catch (err) { expect(err.message).to.be.equal('Not valid credentials found') @@ -90,11 +90,11 @@ describe('@fonos/core/service', () => { it('should fail if the access file is malformed', done => { sinon.stub(require('fs'), 'readFileSync').returns('{') try { - new FonosService() + new APIClient() done('not good') } catch (err) { expect(err.message).to.be.equal( - 'Malformed access file found at: /users/quijote/.fonos/access' + 'Malformed access file found at: /users/quijote/.fonoster/access' ) done() } diff --git a/mods/core/test/fsutils.unit.test.ts b/mods/core/test/fsutils.unit.test.ts index 8d9603bdc..9ad9be54f 100644 --- a/mods/core/test/fsutils.unit.test.ts +++ b/mods/core/test/fsutils.unit.test.ts @@ -1,4 +1,4 @@ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import chai from "chai"; import sinon from "sinon"; chai.use(require("sinon-chai")); @@ -9,7 +9,7 @@ var sandbox = sinon.createSandbox(); logger.transports.forEach((t) => (t.silent = true)); /* -describe('@fonos/core/fsutils', () => { +describe('@fonoster/core/fsutils', () => { context('create new bucket', () => { let makeBucketWasCalled, setBucketPolicyCalled, createNewBucket var fsInstance = sinon diff --git a/mods/ctl/.lerna-changed-buster-7825 b/mods/ctl/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/ctl/README.md b/mods/ctl/README.md index dee1652de..2651d0abb 100644 --- a/mods/ctl/README.md +++ b/mods/ctl/README.md @@ -1,11 +1,11 @@ # ctl -Command-Line for for Fonos +Command-Line for for Fonoster [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) [![Version](https://img.shields.io/npm/v/ctl.svg)](https://npmjs.org/package/ctl) [![Downloads/week](https://img.shields.io/npm/dw/ctl.svg)](https://npmjs.org/package/ctl) -[![License](https://img.shields.io/npm/l/ctl.svg)](https://github.com/fonoster/fonos/blob/master/package.json) +[![License](https://img.shields.io/npm/l/ctl.svg)](https://github.com/fonoster/fonoster/blob/master/package.json) * [ctl](#ctl) @@ -17,14 +17,14 @@ Command-Line for for Fonos ```sh-session -$ npm install -g @fonos/ctl -$ fonos COMMAND +$ npm install -g @fonoster/ctl +$ fonoster COMMAND running command... -$ fonos (-v|--version|version) -@fonos/ctl/0.1.20-alpha.0 darwin-x64 node-v14.16.0 -$ fonos --help [COMMAND] +$ fonoster (-v|--version|version) +@fonoster/ctl/0.2.40 darwin-x64 node-v14.16.0 +$ fonoster --help [COMMAND] USAGE - $ fonos COMMAND + $ fonoster COMMAND ... ``` @@ -32,251 +32,257 @@ USAGE # Commands -* [`fonos agents:create`](#fonos-agentscreate) -* [`fonos agents:delete [REF]`](#fonos-agentsdelete-ref) -* [`fonos agents:get [REF]`](#fonos-agentsget-ref) -* [`fonos agents:list`](#fonos-agentslist) -* [`fonos agents:update [REF]`](#fonos-agentsupdate-ref) -* [`fonos auth:login`](#fonos-authlogin) -* [`fonos auth:logout`](#fonos-authlogout) -* [`fonos bug`](#fonos-bug) -* [`fonos domains:create`](#fonos-domainscreate) -* [`fonos domains:delete [REF]`](#fonos-domainsdelete-ref) -* [`fonos domains:get [REF]`](#fonos-domainsget-ref) -* [`fonos domains:list`](#fonos-domainslist) -* [`fonos domains:update [REF]`](#fonos-domainsupdate-ref) -* [`fonos feedback`](#fonos-feedback) -* [`fonos help [COMMAND]`](#fonos-help-command) -* [`fonos numbers:create`](#fonos-numberscreate) -* [`fonos numbers:delete [REF]`](#fonos-numbersdelete-ref) -* [`fonos numbers:get [REF]`](#fonos-numbersget-ref) -* [`fonos numbers:list`](#fonos-numberslist) -* [`fonos numbers:update [REF]`](#fonos-numbersupdate-ref) -* [`fonos plugins`](#fonos-plugins) -* [`fonos plugins:inspect PLUGIN...`](#fonos-pluginsinspect-plugin) -* [`fonos plugins:install PLUGIN...`](#fonos-pluginsinstall-plugin) -* [`fonos plugins:link PLUGIN`](#fonos-pluginslink-plugin) -* [`fonos plugins:uninstall PLUGIN...`](#fonos-pluginsuninstall-plugin) -* [`fonos plugins:update`](#fonos-pluginsupdate) -* [`fonos providers:create`](#fonos-providerscreate) -* [`fonos providers:delete [REF]`](#fonos-providersdelete-ref) -* [`fonos providers:get [REF]`](#fonos-providersget-ref) -* [`fonos providers:list`](#fonos-providerslist) -* [`fonos providers:update [REF]`](#fonos-providersupdate-ref) - -## `fonos agents:create` - -creates a new agent resource - -``` -USAGE - $ fonos agents:create +* [`fonoster agents:create`](#fonoster-agentscreate) +* [`fonoster agents:delete [REF]`](#fonoster-agentsdelete-ref) +* [`fonoster agents:get [REF]`](#fonoster-agentsget-ref) +* [`fonoster agents:list`](#fonoster-agentslist) +* [`fonoster agents:update [REF]`](#fonoster-agentsupdate-ref) +* [`fonoster auth:login`](#fonoster-authlogin) +* [`fonoster auth:logout`](#fonoster-authlogout) +* [`fonoster bug`](#fonoster-bug) +* [`fonoster domains:create`](#fonoster-domainscreate) +* [`fonoster domains:delete [REF]`](#fonoster-domainsdelete-ref) +* [`fonoster domains:get [REF]`](#fonoster-domainsget-ref) +* [`fonoster domains:list`](#fonoster-domainslist) +* [`fonoster domains:update [REF]`](#fonoster-domainsupdate-ref) +* [`fonoster feedback`](#fonoster-feedback) +* [`fonoster help [COMMAND]`](#fonoster-help-command) +* [`fonoster numbers:create`](#fonoster-numberscreate) +* [`fonoster numbers:delete [REF]`](#fonoster-numbersdelete-ref) +* [`fonoster numbers:get [REF]`](#fonoster-numbersget-ref) +* [`fonoster numbers:list`](#fonoster-numberslist) +* [`fonoster numbers:update [REF]`](#fonoster-numbersupdate-ref) +* [`fonoster plugins`](#fonoster-plugins) +* [`fonoster plugins:inspect PLUGIN...`](#fonoster-pluginsinspect-plugin) +* [`fonoster plugins:install PLUGIN...`](#fonoster-pluginsinstall-plugin) +* [`fonoster plugins:link PLUGIN`](#fonoster-pluginslink-plugin) +* [`fonoster plugins:uninstall PLUGIN...`](#fonoster-pluginsuninstall-plugin) +* [`fonoster plugins:update`](#fonoster-pluginsupdate) +* [`fonoster projects:create`](#fonoster-projectscreate) +* [`fonoster projects:delete [REF]`](#fonoster-projectsdelete-ref) +* [`fonoster projects:get [REF]`](#fonoster-projectsget-ref) +* [`fonoster projects:list`](#fonoster-projectslist) +* [`fonoster projects:renew [REF]`](#fonoster-projectsrenew-ref) +* [`fonoster projects:use [REF]`](#fonoster-projectsuse-ref) +* [`fonoster providers:create`](#fonoster-providerscreate) +* [`fonoster providers:delete [REF]`](#fonoster-providersdelete-ref) +* [`fonoster providers:get [REF]`](#fonoster-providersget-ref) +* [`fonoster providers:list`](#fonoster-providerslist) +* [`fonoster providers:update [REF]`](#fonoster-providersupdate-ref) + +## `fonoster agents:create` + +create a new Fonoster Agent + +``` +USAGE + $ fonoster agents:create DESCRIPTION ... - Creates a new Agent in the SIP Proxy subsystem + Create a new Fonoster Agent ``` -_See code: [dist/commands/agents/create.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/agents/create.js)_ +_See code: [dist/commands/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/agents/create.js)_ -## `fonos agents:delete [REF]` +## `fonoster agents:delete [REF]` -remove agent from a Fonos deployment +delete a Fonoster Agent ``` USAGE - $ fonos agents:delete [REF] + $ fonoster agents:delete [REF] ALIASES - $ fonos agents:del - $ fonos agents:rm + $ fonoster agents:del + $ fonoster agents:rm ``` -_See code: [dist/commands/agents/delete.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/agents/delete.js)_ +_See code: [dist/commands/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/agents/delete.js)_ -## `fonos agents:get [REF]` +## `fonoster agents:get [REF]` -get information about an existing agent +get a Fonoster Agent ``` USAGE - $ fonos agents:get [REF] + $ fonoster agents:get [REF] ``` -_See code: [dist/commands/agents/get.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/agents/get.js)_ +_See code: [dist/commands/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/agents/get.js)_ -## `fonos agents:list` +## `fonoster agents:list` -list registered agents +list all Fonoster Agents you have access to ``` USAGE - $ fonos agents:list + $ fonoster agents:list OPTIONS -s, --size=size [default: 25] agent of result per page DESCRIPTION ... - List the registered agents + List all Fonoster Agents you have access to ALIASES - $ fonos agents:ls + $ fonoster agents:ls ``` -_See code: [dist/commands/agents/list.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/agents/list.js)_ +_See code: [dist/commands/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/agents/list.js)_ -## `fonos agents:update [REF]` +## `fonoster agents:update [REF]` -updates a agent at the SIP Proxy subsystem +update a Fonoster Agent ``` USAGE - $ fonos agents:update [REF] + $ fonoster agents:update [REF] DESCRIPTION ... - Updates a agent at the SIP Proxy subsystem + Update a Fonoster Agent ``` -_See code: [dist/commands/agents/update.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/agents/update.js)_ +_See code: [dist/commands/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/agents/update.js)_ -## `fonos auth:login` +## `fonoster auth:login` -log in to a fonos deployment +log in to a Fonoster deployment ``` USAGE - $ fonos auth:login + $ fonoster auth:login ``` -_See code: [dist/commands/auth/login.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/auth/login.js)_ +_See code: [dist/commands/auth/login.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/auth/login.js)_ -## `fonos auth:logout` +## `fonoster auth:logout` -log out from a fonos deployment +log out from a fonoster deployment ``` USAGE - $ fonos auth:logout + $ fonoster auth:logout ``` -_See code: [dist/commands/auth/logout.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/auth/logout.js)_ +_See code: [dist/commands/auth/logout.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/auth/logout.js)_ -## `fonos bug` +## `fonoster bug` start a bug report 🐞 ``` USAGE - $ fonos bug + $ fonoster bug DESCRIPTION ... Opens github issues with a predefine bug template ``` -_See code: [dist/commands/bug.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/bug.js)_ +_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/bug.js)_ -## `fonos domains:create` +## `fonoster domains:create` -creates a new domain resource +create a new Fonoster Domain ``` USAGE - $ fonos domains:create + $ fonoster domains:create DESCRIPTION ... - Creates a new Domain in the SIP Proxy subsystem + Create a new Fonoster Domain ``` -_See code: [dist/commands/domains/create.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/domains/create.js)_ +_See code: [dist/commands/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/domains/create.js)_ -## `fonos domains:delete [REF]` +## `fonoster domains:delete [REF]` -remove a domain from a Fonos deployment +delete a Fonoster Domain ``` USAGE - $ fonos domains:delete [REF] + $ fonoster domains:delete [REF] ALIASES - $ fonos domains:del - $ fonos domains:rm + $ fonoster domains:del + $ fonoster domains:rm ``` -_See code: [dist/commands/domains/delete.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/domains/delete.js)_ +_See code: [dist/commands/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/domains/delete.js)_ -## `fonos domains:get [REF]` +## `fonoster domains:get [REF]` -get information about an existing domain +get a Fonoster Domain ``` USAGE - $ fonos domains:get [REF] + $ fonoster domains:get [REF] ``` -_See code: [dist/commands/domains/get.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/domains/get.js)_ +_See code: [dist/commands/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/domains/get.js)_ -## `fonos domains:list` +## `fonoster domains:list` -list registered domains +list all Fonoster Domains you have access to ``` USAGE - $ fonos domains:list + $ fonoster domains:list OPTIONS -s, --size=size [default: 25] number of result per page DESCRIPTION ... - List the registered domains + List all Fonoster Domains you have access to ALIASES - $ fonos domains:ls + $ fonoster domains:ls ``` -_See code: [dist/commands/domains/list.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/domains/list.js)_ +_See code: [dist/commands/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/domains/list.js)_ -## `fonos domains:update [REF]` +## `fonoster domains:update [REF]` -updates a domain at the SIP Proxy subsystem +update a Fonoster Domain ``` USAGE - $ fonos domains:update [REF] + $ fonoster domains:update [REF] DESCRIPTION ... - Updates a domain at the SIP Proxy subsystem + Update a Fonoster Domain ``` -_See code: [dist/commands/domains/update.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/domains/update.js)_ +_See code: [dist/commands/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/domains/update.js)_ -## `fonos feedback` +## `fonoster feedback` -let'us know how we're doing +let us know how we're doing ``` USAGE - $ fonos feedback + $ fonoster feedback DESCRIPTION ... Help us improve by providing some feedback ``` -_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/feedback.js)_ +_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/feedback.js)_ -## `fonos help [COMMAND]` +## `fonoster help [COMMAND]` -display help for fonos +display help for fonoster ``` USAGE - $ fonos help [COMMAND] + $ fonoster help [COMMAND] ARGUMENTS COMMAND command to show help for @@ -285,109 +291,109 @@ OPTIONS --all see all commands in CLI ``` -_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.3/src/commands/help.ts)_ +_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_ -## `fonos numbers:create` +## `fonoster numbers:create` -creates a new number resource +create a new Fonoster Number ``` USAGE - $ fonos numbers:create + $ fonoster numbers:create DESCRIPTION ... - Creates a new Number in the SIP Proxy subsystem + Create a new Fonoster Number ``` -_See code: [dist/commands/numbers/create.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/numbers/create.js)_ +_See code: [dist/commands/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/numbers/create.js)_ -## `fonos numbers:delete [REF]` +## `fonoster numbers:delete [REF]` -remove a number from a Fonos deployment +delete a Fonoster Number ``` USAGE - $ fonos numbers:delete [REF] + $ fonoster numbers:delete [REF] ALIASES - $ fonos numbers:del - $ fonos numbers:rm + $ fonoster numbers:del + $ fonoster numbers:rm ``` -_See code: [dist/commands/numbers/delete.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/numbers/delete.js)_ +_See code: [dist/commands/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/numbers/delete.js)_ -## `fonos numbers:get [REF]` +## `fonoster numbers:get [REF]` -get information about an existing number +get a Fonoster Number ``` USAGE - $ fonos numbers:get [REF] + $ fonoster numbers:get [REF] ``` -_See code: [dist/commands/numbers/get.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/numbers/get.js)_ +_See code: [dist/commands/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/numbers/get.js)_ -## `fonos numbers:list` +## `fonoster numbers:list` -list registered numbers +list all Fonoster Numbers you have access to ``` USAGE - $ fonos numbers:list + $ fonoster numbers:list OPTIONS -s, --size=size [default: 25] number of result per page DESCRIPTION ... - List the registered numbers + List all Fonoster Numbers you have access to ALIASES - $ fonos numbers:ls + $ fonoster numbers:ls ``` -_See code: [dist/commands/numbers/list.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/numbers/list.js)_ +_See code: [dist/commands/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/numbers/list.js)_ -## `fonos numbers:update [REF]` +## `fonoster numbers:update [REF]` -updates a number at the SIP Proxy subsystem +update a Fonoster Number ``` USAGE - $ fonos numbers:update [REF] + $ fonoster numbers:update [REF] DESCRIPTION ... - Updates a number at the SIP Proxy subsystem + Update a Fonoster Number ``` -_See code: [dist/commands/numbers/update.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/numbers/update.js)_ +_See code: [dist/commands/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/numbers/update.js)_ -## `fonos plugins` +## `fonoster plugins` list installed plugins ``` USAGE - $ fonos plugins + $ fonoster plugins OPTIONS --core show core plugins EXAMPLE - $ fonos plugins + $ fonoster plugins ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/index.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.11/src/commands/plugins/index.ts)_ -## `fonos plugins:inspect PLUGIN...` +## `fonoster plugins:inspect PLUGIN...` displays installation properties of a plugin ``` USAGE - $ fonos plugins:inspect PLUGIN... + $ fonoster plugins:inspect PLUGIN... ARGUMENTS PLUGIN [default: .] plugin to inspect @@ -397,18 +403,18 @@ OPTIONS -v, --verbose EXAMPLE - $ fonos plugins:inspect myplugin + $ fonoster plugins:inspect myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/inspect.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.11/src/commands/plugins/inspect.ts)_ -## `fonos plugins:install PLUGIN...` +## `fonoster plugins:install PLUGIN...` installs a plugin into the CLI ``` USAGE - $ fonos plugins:install PLUGIN... + $ fonoster plugins:install PLUGIN... ARGUMENTS PLUGIN plugin to install @@ -428,23 +434,23 @@ DESCRIPTION the CLI without the need to patch and update the whole CLI. ALIASES - $ fonos plugins:add + $ fonoster plugins:add EXAMPLES - $ fonos plugins:install myplugin - $ fonos plugins:install https://github.com/someuser/someplugin - $ fonos plugins:install someuser/someplugin + $ fonoster plugins:install myplugin + $ fonoster plugins:install https://github.com/someuser/someplugin + $ fonoster plugins:install someuser/someplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/install.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.11/src/commands/plugins/install.ts)_ -## `fonos plugins:link PLUGIN` +## `fonoster plugins:link PLUGIN` links a plugin into the CLI for development ``` USAGE - $ fonos plugins:link PLUGIN + $ fonoster plugins:link PLUGIN ARGUMENTS PATH [default: .] path to plugin @@ -460,18 +466,18 @@ DESCRIPTION command will override the user-installed or core plugin implementation. This is useful for development work. EXAMPLE - $ fonos plugins:link myplugin + $ fonoster plugins:link myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/link.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.11/src/commands/plugins/link.ts)_ -## `fonos plugins:uninstall PLUGIN...` +## `fonoster plugins:uninstall PLUGIN...` removes a plugin from the CLI ``` USAGE - $ fonos plugins:uninstall PLUGIN... + $ fonoster plugins:uninstall PLUGIN... ARGUMENTS PLUGIN plugin to uninstall @@ -481,101 +487,190 @@ OPTIONS -v, --verbose ALIASES - $ fonos plugins:unlink - $ fonos plugins:remove + $ fonoster plugins:unlink + $ fonoster plugins:remove ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/uninstall.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.11/src/commands/plugins/uninstall.ts)_ -## `fonos plugins:update` +## `fonoster plugins:update` update installed plugins ``` USAGE - $ fonos plugins:update + $ fonoster plugins:update OPTIONS -h, --help show CLI help -v, --verbose ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/update.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.11/src/commands/plugins/update.ts)_ -## `fonos providers:create` +## `fonoster projects:create` -creates a new provider resource +create a new Fonoster Project ``` USAGE - $ fonos providers:create + $ fonoster projects:create DESCRIPTION ... - Creates a new Provider in the SIP Proxy subsystem + Create a new Fonoster Project ``` -_See code: [dist/commands/providers/create.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/providers/create.js)_ +_See code: [dist/commands/projects/create.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/projects/create.js)_ -## `fonos providers:delete [REF]` +## `fonoster projects:delete [REF]` -removes a provider from a Fonos deployment +delete a Fonoster Project ``` USAGE - $ fonos providers:delete [REF] + $ fonoster projects:delete [REF] ALIASES - $ fonos providers:del - $ fonos providers:rm + $ fonoster projects:del + $ fonoster projects:rm ``` -_See code: [dist/commands/providers/delete.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/providers/delete.js)_ +_See code: [dist/commands/projects/delete.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/projects/delete.js)_ -## `fonos providers:get [REF]` +## `fonoster projects:get [REF]` -get information about an existing provider +get a Fonoster Project ``` USAGE - $ fonos providers:get [REF] + $ fonoster projects:get [REF] ``` -_See code: [dist/commands/providers/get.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/providers/get.js)_ +_See code: [dist/commands/projects/get.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/projects/get.js)_ -## `fonos providers:list` +## `fonoster projects:list` -list registered providers +list all Fonoster Projects you have access to ``` USAGE - $ fonos providers:list + $ fonoster projects:list + +DESCRIPTION + ... + List all Fonoster Projects you have access to + +ALIASES + $ fonoster projects:ls +``` + +_See code: [dist/commands/projects/list.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/projects/list.js)_ + +## `fonoster projects:renew [REF]` + +renew the credentials of a Fonoster Project + +``` +USAGE + $ fonoster projects:renew [REF] + +DESCRIPTION + ... + Renew the credentials of a Fonoster Project +``` + +_See code: [dist/commands/projects/renew.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/projects/renew.js)_ + +## `fonoster projects:use [REF]` + +set a default Fonoster Project + +``` +USAGE + $ fonoster projects:use [REF] + +DESCRIPTION + ... + Set a default Fonoster Project +``` + +_See code: [dist/commands/projects/use.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/projects/use.js)_ + +## `fonoster providers:create` + +create a new Fonoster Provider (trunk) + +``` +USAGE + $ fonoster providers:create + +DESCRIPTION + ... + Create a new Fonoster Provider +``` + +_See code: [dist/commands/providers/create.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/providers/create.js)_ + +## `fonoster providers:delete [REF]` + +delete a Fonoster Provider + +``` +USAGE + $ fonoster providers:delete [REF] + +ALIASES + $ fonoster providers:del + $ fonoster providers:rm +``` + +_See code: [dist/commands/providers/delete.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/providers/delete.js)_ + +## `fonoster providers:get [REF]` + +get a Fonoster Provider + +``` +USAGE + $ fonoster providers:get [REF] +``` + +_See code: [dist/commands/providers/get.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/providers/get.js)_ + +## `fonoster providers:list` + +list all Fonoster Providers you have access to + +``` +USAGE + $ fonoster providers:list OPTIONS -s, --size=size [default: 25] provider of result per page DESCRIPTION ... - List the registered providers + List all Fonoster Providers you have access to ALIASES - $ fonos providers:ls + $ fonoster providers:ls ``` -_See code: [dist/commands/providers/list.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/providers/list.js)_ +_See code: [dist/commands/providers/list.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/providers/list.js)_ -## `fonos providers:update [REF]` +## `fonoster providers:update [REF]` -updates a provider at the SIP Proxy subsystem +update a Fonoster Provider ``` USAGE - $ fonos providers:update [REF] + $ fonoster providers:update [REF] DESCRIPTION ... - Updates a provider at the SIP Proxy subsystem + Update a Fonoster Provider ``` -_See code: [dist/commands/providers/update.js](https://github.com/fonoster/fonos/blob/v0.1.20-alpha.0/dist/commands/providers/update.js)_ +_See code: [dist/commands/providers/update.js](https://github.com/fonoster/fonoster/blob/v0.2.40/dist/commands/providers/update.js)_ diff --git a/mods/ctl/package.json b/mods/ctl/package.json index 531ce56e8..b9dcbdc86 100644 --- a/mods/ctl/package.json +++ b/mods/ctl/package.json @@ -1,17 +1,17 @@ { - "name": "@fonos/ctl", - "version": "0.1.20-alpha.0", - "description": "Command-Line for Fonos", + "name": "@fonoster/ctl", + "version": "0.2.40", + "description": "Command-Line for Fonoster", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index.js", "types": "dist/index.js", "bin": { - "fonos": "./bin/run" + "fonoster": "./bin/run" }, "engines": { - "node": ">=8.0.0" + "node": ">=14.16.0" }, "scripts": { "prebuild": "rimraf ./dist tsconfig.tsbuildinfo", @@ -33,33 +33,35 @@ ], "oclif": { "commands": "./dist/commands", - "bin": "fonos", + "bin": "fonoster", "plugins": [ "@oclif/plugin-help", "@oclif/plugin-plugins", "@oclif/plugin-not-found", "@oclif/plugin-warn-if-update-available" ], - "helpClass": "./dist/help", "warn-if-update-available": { "timeoutInDays": 1, "message": "<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>." }, "topics": { "domains": { - "description": "manage sip domains" + "description": "manage Domains" }, "agents": { - "description": "manage sip agents" + "description": "manage Agents" }, "numbers": { - "description": "manage sip numbers" + "description": "manage Numbers" }, "providers": { - "description": "manage sip providers" + "description": "manage Providers" }, "auth": { - "description": "manage fonos credentials" + "description": "manage User credentials" + }, + "projects": { + "description": "manage Projects" } } }, @@ -68,17 +70,18 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/agents": "^0.1.20-alpha.0", - "@fonos/domains": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@fonos/numbers": "^0.1.20-alpha.0", - "@fonos/providers": "^0.1.20-alpha.0", + "@fonoster/agents": "^0.2.40", + "@fonoster/domains": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/numbers": "^0.2.40", + "@fonoster/projects": "^0.2.40", + "@fonoster/providers": "^0.2.40", "@oclif/command": "^1.8.0", "@oclif/config": "^1.17.0", "@oclif/errors": "^1.3.4", diff --git a/mods/ctl/src/commands/agents/create.ts b/mods/ctl/src/commands/agents/create.ts index f6f1bc9e7..7ab6f9a34 100644 --- a/mods/ctl/src/commands/agents/create.ts +++ b/mods/ctl/src/commands/agents/create.ts @@ -1,26 +1,31 @@ import "../../config"; -import Agents from "@fonos/agents"; -import Domains from "@fonos/domains"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; +import {getProjectConfig, hasProjectConfig} from "../../config"; +const Agents = require("@fonoster/agents"); +const Domains = require("@fonoster/domains"); const inquirer = require("inquirer"); export default class extends Command { - static description = `creates a new agent resource + static description = `create a new Fonoster Agent ... - Creates a new Agent in the SIP Proxy subsystem + Create a new Fonoster Agent `; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } console.log("This utility will help you create a new Agent"); console.log("Press ^C at any time to quit."); // TODO: Consider using the autocomplete plugin - const response = await new Domains().listDomains({ + const response = await new Domains(getProjectConfig()).listDomains({ pageSize: 25, pageToken: "1" }); + const domains = response.domains.map((app: any) => app.domainUri); if (domains.length === 0) { @@ -28,6 +33,12 @@ export default class extends Command { } const answers: any = await inquirer.prompt([ + { + name: "domain", + message: "domain", + type: "list", + choices: domains + }, { name: "name", message: "friendly name", @@ -44,12 +55,6 @@ export default class extends Command { type: "password", mask: true }, - { - name: "domain", - message: "domain", - type: "list", - choices: domains - }, { name: "privacy", message: "privacy", @@ -71,7 +76,7 @@ export default class extends Command { } else { try { cli.action.start(`Creating agent ${answers.name}`); - const agents = new Agents(); + const agents = new Agents(getProjectConfig()); const agent = await agents.createAgent(answers); await cli.wait(1000); cli.action.stop(agent.ref); diff --git a/mods/ctl/src/commands/agents/delete.ts b/mods/ctl/src/commands/agents/delete.ts index dda16b96a..74cf6e888 100644 --- a/mods/ctl/src/commands/agents/delete.ts +++ b/mods/ctl/src/commands/agents/delete.ts @@ -1,12 +1,17 @@ import Command from "../../base/delete"; -import Agents from "@fonos/agents"; +import {getProjectConfig, hasProjectConfig} from "../../config"; +import {CLIError} from "@oclif/errors"; +const Agents = require("@fonoster/agents"); export default class extends Command { - static description = "remove agent from a Fonos deployment"; + static description = "delete a Fonoster Agent"; static args = [{name: "ref"}]; static aliases = ["agents:del", "agents:rm"]; async run() { - await super.deleteResource(new Agents(), "deleteAgent"); + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } + await super.deleteResource(new Agents(getProjectConfig()), "deleteAgent"); } } diff --git a/mods/ctl/src/commands/agents/get.ts b/mods/ctl/src/commands/agents/get.ts index e9a826ae7..3e1937d87 100644 --- a/mods/ctl/src/commands/agents/get.ts +++ b/mods/ctl/src/commands/agents/get.ts @@ -1,22 +1,25 @@ import "../../config"; -import Agents from "@fonos/agents"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; import {render} from "prettyjson"; - +import {getProjectConfig, hasProjectConfig} from "../../config"; +const Agents = require("@fonoster/agents"); const moment = require("moment"); export default class GetCommand extends Command { - static description = `get information about an existing agent`; + static description = `get a Fonoster Agent`; static args = [{name: "ref"}]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {args} = this.parse(GetCommand); try { - const agents = new Agents(); - cli.action.start(`Getting agent ${args.ref}`); + const agents = new Agents(getProjectConfig()); + cli.action.start(`Getting Agent ${args.ref}`); const agent = await agents.getAgent(args.ref); const jsonObj = { diff --git a/mods/ctl/src/commands/agents/list.ts b/mods/ctl/src/commands/agents/list.ts index 911d7a3c8..d36eb38a5 100644 --- a/mods/ctl/src/commands/agents/list.ts +++ b/mods/ctl/src/commands/agents/list.ts @@ -1,16 +1,17 @@ import "../../config"; -import Agents from "@fonos/agents"; import {CLIError} from "@oclif/errors"; import {Command, flags as oclifFlags} from "@oclif/command"; -import {CommonPB} from "@fonos/agents"; +import {CommonPB} from "@fonoster/agents"; import {cli} from "cli-ux"; -import {Agent} from "@fonos/agents/src/client/types"; +import {Agent} from "@fonoster/agents/src/client/types"; +import {getProjectConfig, hasProjectConfig} from "../../config"; +const Agents = require("@fonoster/agents"); const inquirer = require("inquirer"); export default class ListCommand extends Command { - static description = `list registered agents + static description = `list all Fonoster Agents you have access to ... - List the registered agents + List all Fonoster Agents you have access to `; static flags = { size: oclifFlags.integer({ @@ -22,9 +23,12 @@ export default class ListCommand extends Command { static aliases = ["agents:ls"]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {flags} = this.parse(ListCommand); try { - const agents = new Agents(); + const agents = new Agents(getProjectConfig()); let firstBatch = true; let pageToken = "1"; const pageSize = flags.size; diff --git a/mods/ctl/src/commands/agents/update.ts b/mods/ctl/src/commands/agents/update.ts index 91d155435..2334b6a38 100644 --- a/mods/ctl/src/commands/agents/update.ts +++ b/mods/ctl/src/commands/agents/update.ts @@ -1,22 +1,26 @@ import "../../config"; -import Agents from "@fonos/agents"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; +import {getProjectConfig, hasProjectConfig} from "../../config"; +const Agents = require("@fonoster/agents"); const inquirer = require("inquirer"); export default class UpdateCommand extends Command { static args = [{name: "ref"}]; - static description = `updates a agent at the SIP Proxy subsystem + static description = `update a Fonoster Agent ... - Updates a agent at the SIP Proxy subsystem + Update a Fonoster Agent `; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } console.log("This utility will help you update an existing Agent"); console.log("Press ^C at any time to quit."); const {args} = this.parse(UpdateCommand); - const agents = new Agents(); + const agents = new Agents(getProjectConfig()); const agent = await agents.getAgent(args.ref); const answers = await inquirer.prompt([ diff --git a/mods/ctl/src/commands/auth/login.ts b/mods/ctl/src/commands/auth/login.ts index cb2007d8b..af2d217b3 100644 --- a/mods/ctl/src/commands/auth/login.ts +++ b/mods/ctl/src/commands/auth/login.ts @@ -1,21 +1,17 @@ import "../../config"; -import Agents from "@fonos/agents"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; -import fs from "promise-fs"; -import {join} from "path"; -import {homedir} from "os"; +import {setConfig} from "../../config"; -const BASE_DIR = join(homedir(), ".fonos"); -const PATH_TO_CONFIG = join(BASE_DIR, "config"); +const Projects = require("@fonoster/projects"); const inquirer = require("inquirer"); export default class extends Command { - static description = `log in to a fonos deployment`; + static description = `log in to a Fonoster deployment`; async run() { - console.log("Access your Fonos infrastructure"); + console.log("Access your Fonoster infrastructure"); console.log("Press ^C at any time to quit."); const answers: any = await inquirer.prompt([ @@ -50,17 +46,14 @@ export default class extends Command { cli.action.start(`Accessing endpoint ${answers.endpoint}`); try { - await fs.rmdir(BASE_DIR, {recursive: true}); - - const agents = new Agents(answers); - await agents.listAgents({pageSize: 20, pageToken: "1", view: 0}); + const projects = new Projects(answers); + await projects.listProjects(); answers.confirm = void 0; - await fs.mkdir(BASE_DIR, {recursive: true}); - await fs.writeFile(PATH_TO_CONFIG, JSON.stringify(answers)); - + setConfig(answers); await cli.wait(1000); cli.action.stop("Done"); } catch (e) { + console.log(e); await cli.wait(1000); cli.action.stop("Invalid credentials or endpoint"); } diff --git a/mods/ctl/src/commands/auth/logout.ts b/mods/ctl/src/commands/auth/logout.ts index 481579b7d..39435e826 100644 --- a/mods/ctl/src/commands/auth/logout.ts +++ b/mods/ctl/src/commands/auth/logout.ts @@ -2,21 +2,20 @@ import "../../config"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; -import fs from "promise-fs"; import {join} from "path"; import {homedir} from "os"; -const BASE_DIR = join(homedir(), ".fonos"); -const PATH_TO_CONFIG = join(BASE_DIR, "config"); +const BASE_DIR = join(homedir(), ".fonoster"); +const fs = require("fs"); export default class extends Command { - static description = `log out from a fonos deployment`; + static description = `log out from a fonoster deployment`; async run() { cli.action.start(`Login out`); try { - await fs.rmdir(BASE_DIR, {recursive: true}); + fs.rmSync(BASE_DIR, {recursive: true}); await cli.wait(1000); cli.action.stop("Done"); } catch (e) { diff --git a/mods/ctl/src/commands/bug.ts b/mods/ctl/src/commands/bug.ts index 9e883fae2..5ddcbb391 100644 --- a/mods/ctl/src/commands/bug.ts +++ b/mods/ctl/src/commands/bug.ts @@ -10,7 +10,7 @@ export default class extends Command { async run() { await cli.open( - "https://github.com/fonoster/fonos/issues/new?assignees=&labels=&template=bug_report.md&title=" + "https://github.com/fonoster/fonoster/issues/new?assignees=&labels=&template=bug_report.md&title=" ); } } diff --git a/mods/ctl/src/commands/domains/create.ts b/mods/ctl/src/commands/domains/create.ts index ead6ffca8..8d878d68b 100644 --- a/mods/ctl/src/commands/domains/create.ts +++ b/mods/ctl/src/commands/domains/create.ts @@ -1,25 +1,29 @@ import "../../config"; -import Domains from "@fonos/domains"; -import Numbers from "@fonos/numbers"; -import {CommonPB} from "@fonos/domains"; +import {CommonPB} from "@fonoster/domains"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; +import {getProjectConfig, hasProjectConfig} from "../../config"; +const Numbers = require("@fonoster/numbers"); +const Domains = require("@fonoster/domains"); const inquirer = require("inquirer"); const view: CommonPB.View = CommonPB.View.BASIC; export default class CreateCommand extends Command { - static description = `creates a new domain resource + static description = `create a new Fonoster Domain ... - Creates a new Domain in the SIP Proxy subsystem + Create a new Fonoster Domain `; async run() { - console.log("This utility will help you create a new Domain"); + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } + console.log("This utility will help you create a new Fonoster Domain"); console.log("Press ^C at any time to quit."); - const numbers = new Numbers(); + const numbers = new Numbers(getProjectConfig()); const result = await numbers.listNumbers({ pageSize: 20, pageToken: "1", @@ -44,7 +48,7 @@ export default class CreateCommand extends Command { }, { name: "domainUri", - message: "domain uri (e.g acme.com)", + message: "domain uri (e.g acme)", type: "input" }, { @@ -91,9 +95,9 @@ export default class CreateCommand extends Command { delete answers.egressNumberRef; } - cli.action.start(`Creating domain ${answers.name}`); + cli.action.start(`Creating Domain ${answers.name}`); - const domains = new Domains(); + const domains = new Domains(getProjectConfig()); const domain = await domains.createDomain(answers); await cli.wait(1000); diff --git a/mods/ctl/src/commands/domains/delete.ts b/mods/ctl/src/commands/domains/delete.ts index 47e7028a5..ad8af0e43 100644 --- a/mods/ctl/src/commands/domains/delete.ts +++ b/mods/ctl/src/commands/domains/delete.ts @@ -1,19 +1,27 @@ import Command from "../../base/delete"; -import Domains from "@fonos/domains"; import {CLIError} from "@oclif/errors"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Domains = require("@fonoster/domains"); export default class DeleteCommand extends Command { - static description = "remove a domain from a Fonos deployment"; + static description = "delete a Fonoster Domain"; static args = [{name: "ref"}]; static aliases = ["domains:del", "domains:rm"]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } try { - await super.deleteResource(new Domains(), "deleteDomain"); + await super.deleteResource( + new Domains(getProjectConfig()), + "deleteDomain" + ); } catch (e) { if (e.code === 9) { throw new CLIError( - "Unable to remove! First ensure there are no Agents under this Domain" + "unable to delete: first ensure there are no Agents under this Fonoster Domain" ); } else { throw new CLIError(e.message); diff --git a/mods/ctl/src/commands/domains/get.ts b/mods/ctl/src/commands/domains/get.ts index 19cb038f6..2a0562d24 100644 --- a/mods/ctl/src/commands/domains/get.ts +++ b/mods/ctl/src/commands/domains/get.ts @@ -1,20 +1,25 @@ import "../../config"; -import Domains from "@fonos/domains"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; import {render} from "prettyjson"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Domains = require("@fonoster/domains"); const moment = require("moment"); export default class GetCommand extends Command { - static description = "get information about an existing domain"; + static description = `get a Fonoster Domain`; static args = [{name: "ref"}]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {args} = this.parse(GetCommand); try { - const domains = new Domains(); + const domains = new Domains(getProjectConfig()); cli.action.start(`Getting domain ${args.ref}`); const domain = await domains.getDomain(args.ref); console.log("geting domain: "); diff --git a/mods/ctl/src/commands/domains/list.ts b/mods/ctl/src/commands/domains/list.ts index 5a3956e35..a47011362 100644 --- a/mods/ctl/src/commands/domains/list.ts +++ b/mods/ctl/src/commands/domains/list.ts @@ -1,15 +1,18 @@ import "../../config"; -import Domains, {CommonPB} from "@fonos/domains"; +import {CommonPB} from "@fonoster/domains"; import {CLIError} from "@oclif/errors"; import {Command, flags as oclifFlags} from "@oclif/command"; import {cli} from "cli-ux"; -import {Domain} from "@fonos/domains/src/client/types"; +import {Domain} from "@fonoster/domains/src/client/types"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Domains = require("@fonoster/domains"); const inquirer = require("inquirer"); export default class ListCommand extends Command { - static description = `list registered domains + static description = `list all Fonoster Domains you have access to ... - List the registered domains + List all Fonoster Domains you have access to `; static flags = { size: oclifFlags.integer({ @@ -21,9 +24,12 @@ export default class ListCommand extends Command { static aliases = ["domains:ls"]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {flags} = this.parse(ListCommand); try { - const domains = new Domains(); + const domains = new Domains(getProjectConfig()); let firstBatch = true; let pageToken = "1"; const pageSize = flags.size; diff --git a/mods/ctl/src/commands/domains/update.ts b/mods/ctl/src/commands/domains/update.ts index d60c6c285..2564f6e64 100644 --- a/mods/ctl/src/commands/domains/update.ts +++ b/mods/ctl/src/commands/domains/update.ts @@ -1,28 +1,36 @@ import "../../config"; -import Domains from "@fonos/domains"; -import {CommonPB} from "@fonos/domains"; +import {CommonPB} from "@fonoster/domains"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; -import Numbers from "@fonos/numbers"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Numbers = require("@fonoster/numbers"); +const Domains = require("@fonoster/domains"); const inquirer = require("inquirer"); const view: CommonPB.View = CommonPB.View.BASIC; export default class UpdateCommand extends Command { static args = [{name: "ref"}]; - static description = `updates a domain at the SIP Proxy subsystem + static description = `update a Fonoster Domain ... - Updates a domain at the SIP Proxy subsystem + Update a Fonoster Domain `; async run() { - console.log("This utility will help you create a basic voice application"); + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } + console.log( + "This utility will help you update an existing Fonoster Domain" + ); console.log("to help you get start quickly. Press ^C at any time to quit."); const {args} = this.parse(UpdateCommand); - const domains = new Domains(); + const domains = new Domains(getProjectConfig()); + const numbers = new Numbers(getProjectConfig()); + const domain = await domains.getDomain(args.ref); - const numbers = new Numbers(); const result = await numbers.listNumbers({ pageSize: 20, diff --git a/mods/ctl/src/commands/feedback.ts b/mods/ctl/src/commands/feedback.ts index dfd63d255..3238c47c3 100644 --- a/mods/ctl/src/commands/feedback.ts +++ b/mods/ctl/src/commands/feedback.ts @@ -3,7 +3,7 @@ import cli from "cli-ux"; import {Command} from "@oclif/command"; export default class extends Command { - static description = `let'us know how we're doing + static description = `let us know how we're doing ... Help us improve by providing some feedback `; diff --git a/mods/ctl/src/commands/numbers/create.ts b/mods/ctl/src/commands/numbers/create.ts index a392761fb..158b84564 100644 --- a/mods/ctl/src/commands/numbers/create.ts +++ b/mods/ctl/src/commands/numbers/create.ts @@ -1,26 +1,31 @@ import "../../config"; -import Providers from "@fonos/providers"; -import Numbers from "@fonos/numbers"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; -import {CommonPB} from "@fonos/numbers"; -import {Provider} from "@fonos/providers/src/types"; +import {CommonPB} from "@fonoster/numbers"; +import {Provider} from "@fonoster/providers/src/client/types"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Providers = require("@fonoster/providers"); +const Numbers = require("@fonoster/numbers"); const inquirer = require("inquirer"); export default class CreateCommand extends Command { - static description = `creates a new number resource + static description = `create a new Fonoster Number ... - Creates a new Number in the SIP Proxy subsystem + Create a new Fonoster Number `; async run() { - console.log("This utility will help you create a new Number"); + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } + console.log("This utility will help you create a new Fonoster Number"); console.log("Press ^C at any time to quit."); const view: CommonPB.View = CommonPB.View.BASIC; try { - const response = await new Providers().listProviders({ + const response = await new Providers(getProjectConfig()).listProviders({ pageSize: 25, pageToken: "1" }); @@ -38,7 +43,9 @@ export default class CreateCommand extends Command { }); if (providers.length === 0) { - throw new Error("you must create a provider before adding a number"); + throw new Error( + "before adding a Number you must create a Provider (trunk)" + ); } const answers: any = await inquirer.prompt([ @@ -55,7 +62,7 @@ export default class CreateCommand extends Command { }, { name: "aorLink", - message: "aor link", + message: "address of record", type: "input", default: null } @@ -88,8 +95,8 @@ export default class CreateCommand extends Command { if (!answers.confirm) { console.log("Aborted"); } else { - cli.action.start(`Creating number ${answers.e164Number}`); - const numbers = new Numbers(); + cli.action.start(`Creating Number ${answers.e164Number}`); + const numbers = new Numbers(getProjectConfig()); const result = await numbers.createNumber(answers); await cli.wait(1000); cli.action.stop(result.ref); diff --git a/mods/ctl/src/commands/numbers/delete.ts b/mods/ctl/src/commands/numbers/delete.ts index a0c4faf07..ad2b9f46e 100644 --- a/mods/ctl/src/commands/numbers/delete.ts +++ b/mods/ctl/src/commands/numbers/delete.ts @@ -1,19 +1,27 @@ import Command from "../../base/delete"; -import Numbers from "@fonos/numbers"; import {CLIError} from "@oclif/errors"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Numbers = require("@fonoster/numbers"); export default class DeleteCommand extends Command { - static description = "remove a number from a Fonos deployment"; + static description = "delete a Fonoster Number"; static args = [{name: "ref"}]; static aliases = ["numbers:del", "numbers:rm"]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } try { - await super.deleteResource(new Numbers(), "deleteNumber"); + await super.deleteResource( + new Numbers(getProjectConfig()), + "deleteNumber" + ); } catch (e) { if (e.code === 9) { throw new CLIError( - "Unable to remove! Please ensure no Domain is using this Number" + "unable to delete: please ensure no Domain is using this Fonoster Number" ); } else { throw new CLIError(e.message); diff --git a/mods/ctl/src/commands/numbers/get.ts b/mods/ctl/src/commands/numbers/get.ts index 38fb81feb..94c9e9b0a 100644 --- a/mods/ctl/src/commands/numbers/get.ts +++ b/mods/ctl/src/commands/numbers/get.ts @@ -1,20 +1,25 @@ import "../../config"; -import Numbers from "@fonos/numbers"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; import {render} from "prettyjson"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Numbers = require("@fonoster/numbers"); const moment = require("moment"); export default class GetCommand extends Command { - static description = "get information about an existing number"; + static description = `get a Fonoster Number`; static args = [{name: "ref"}]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {args} = this.parse(GetCommand); try { - const numbers = new Numbers(); + const numbers = new Numbers(getProjectConfig()); cli.action.start(`Getting number ${args.ref}`); const number = await numbers.getNumber(args.ref); @@ -22,7 +27,7 @@ export default class GetCommand extends Command { Ref: number.ref, "Provider Ref": number.providerRef, "E164 Number": number.e164Number, - "AOR Link": number.aorLink ? number.aorLink : "--", + "Address of Record": number.aorLink ? number.aorLink : "--", Webhook: number.ingressInfo ? number.ingressInfo.webhook : "--", Created: moment(number.createTime).fromNow(), Updated: moment(number.updateTime).fromNow() diff --git a/mods/ctl/src/commands/numbers/list.ts b/mods/ctl/src/commands/numbers/list.ts index 3dcff2a41..d2c43b1cd 100644 --- a/mods/ctl/src/commands/numbers/list.ts +++ b/mods/ctl/src/commands/numbers/list.ts @@ -1,18 +1,19 @@ import "../../config"; -import Numbers from "@fonos/numbers"; import {CLIError} from "@oclif/errors"; import {Command, flags as oclifFlags} from "@oclif/command"; -import {CommonPB} from "@fonos/numbers"; +import {CommonPB} from "@fonoster/numbers"; import {cli} from "cli-ux"; -import {Number} from "@fonos/numbers/src/client/types"; +import {Number} from "@fonoster/numbers/src/client/types"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Numbers = require("@fonoster/numbers"); const inquirer = require("inquirer"); export default class ListCommand extends Command { - static description = `list registered numbers + static description = `list all Fonoster Numbers you have access to ... - List the registered numbers + List all Fonoster Numbers you have access to `; - static flags = { size: oclifFlags.integer({ char: "s", @@ -24,9 +25,12 @@ export default class ListCommand extends Command { static aliases = ["numbers:ls"]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {flags} = this.parse(ListCommand); try { - const numbers = new Numbers(); + const numbers = new Numbers(getProjectConfig()); let firstBatch = true; let pageToken = "1"; const pageSize = flags.size; @@ -59,7 +63,7 @@ export default class ListCommand extends Command { providerRef: {header: "Provider Ref", minWidth: 15}, e164Number: {header: "E164 Number", minWidth: 15}, aorLink: { - header: "AOR Link", + header: "Address of Record", minWidth: 15, get: (row) => (row["aorLink"] ? row["aorLink"] : "--") }, diff --git a/mods/ctl/src/commands/numbers/update.ts b/mods/ctl/src/commands/numbers/update.ts index 627cf35dc..74d7e1d15 100644 --- a/mods/ctl/src/commands/numbers/update.ts +++ b/mods/ctl/src/commands/numbers/update.ts @@ -1,31 +1,36 @@ import "../../config"; -import Numbers from "@fonos/numbers"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; -import {CommonPB} from "@fonos/numbers"; +import {getProjectConfig, hasProjectConfig} from "../../config"; +const Numbers = require("@fonoster/numbers"); const inquirer = require("inquirer"); export class UpdateCommand extends Command { - static description = `updates a number at the SIP Proxy subsystem + static description = `update a Fonoster Number ... - Updates a number at the SIP Proxy subsystem + Update a Fonoster Number `; static args = [{name: "ref"}]; async run() { - console.log("This utility will help you update an existing Number"); + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } + console.log( + "This utility will help you update an existing Fonoster Number" + ); console.log("Press ^C at any time to quit."); const {args} = this.parse(UpdateCommand); - const numbers = new Numbers(); + const numbers = new Numbers(getProjectConfig()); const answers = await inquirer.prompt([ { name: "aorLink", - message: "aor link", + message: "address of record", type: "input", default: null } diff --git a/mods/ctl/src/commands/projects/create.ts b/mods/ctl/src/commands/projects/create.ts new file mode 100644 index 000000000..b304ca3a6 --- /dev/null +++ b/mods/ctl/src/commands/projects/create.ts @@ -0,0 +1,55 @@ +import "../../config"; +const Projects = require("@fonoster/projects"); +import {CLIError} from "@oclif/errors"; +import {Command} from "@oclif/command"; +import {cli} from "cli-ux"; +const inquirer = require("inquirer"); + +export default class extends Command { + static description = `create a new Fonoster Project + ... + Create a new Fonoster Project + `; + + async run() { + console.log("This utility will help you create a new Fonoster Project"); + console.log("Press ^C at any time to quit."); + + const answers: any = await inquirer.prompt([ + { + name: "name", + message: "friendly name", + type: "input" + }, + { + name: "allowExperiments", + message: "enable experimental APIs", + type: "confirm" + }, + { + name: "confirm", + message: "ready?", + type: "confirm" + } + ]); + + if (!answers.confirm) { + console.log("Aborted"); + } else { + try { + cli.action.start(`Creating Project ${answers.name}`); + const projects = new Projects(); + const project = await projects.createProject(answers); + await cli.wait(1000); + cli.action.stop(project.ref); + } catch (e) { + cli.action.stop(); + if (e.code === 9) { + throw new CLIError("This Project already exist"); + } else { + throw new CLIError(e); + } + } + } + } +} diff --git a/mods/ctl/src/commands/projects/delete.ts b/mods/ctl/src/commands/projects/delete.ts new file mode 100644 index 000000000..a2304df78 --- /dev/null +++ b/mods/ctl/src/commands/projects/delete.ts @@ -0,0 +1,16 @@ +import Command from "../../base/delete"; +const Projects = require("@fonoster/projects"); +import {isDefaultProject, unsetDefaultProject} from "../../config"; + +export default class extends Command { + static description = "delete a Fonoster Project"; + static args = [{name: "ref"}]; + static aliases = ["projects:del", "projects:rm"]; + + async run() { + await super.deleteResource(new Projects(), "deleteProject"); + if (isDefaultProject(this.ref)) { + unsetDefaultProject(); + } + } +} diff --git a/mods/ctl/src/commands/projects/get.ts b/mods/ctl/src/commands/projects/get.ts new file mode 100644 index 000000000..64792245b --- /dev/null +++ b/mods/ctl/src/commands/projects/get.ts @@ -0,0 +1,39 @@ +import "../../config"; +import {CLIError} from "@oclif/errors"; +import {Command} from "@oclif/command"; +import {cli} from "cli-ux"; +import {render} from "prettyjson"; + +const Projects = require("@fonoster/projects"); +const moment = require("moment"); + +export default class GetCommand extends Command { + static description = `get a Fonoster Project`; + static args = [{name: "ref"}]; + + async run() { + const {args} = this.parse(GetCommand); + + try { + const projects = new Projects(); + cli.action.start(`Getting Project ${args.ref}`); + const p = await projects.getProject(args.ref); + + const jsonObj = { + Name: p.name, + Ref: p.ref, + "Access Key Id": p.accessKeyId, + "Access Key Secret": p.accessKeySecret, + "Allow Experiments": p.allowExperiments, + Created: moment(p.createTime).fromNow(), + Updated: moment(p.updateTime).fromNow() + }; + + await cli.wait(1000); + cli.action.stop(""); + console.log(render(jsonObj, {noColor: true})); + } catch (e) { + throw new CLIError(e.message); + } + } +} diff --git a/mods/ctl/src/commands/projects/list.ts b/mods/ctl/src/commands/projects/list.ts new file mode 100644 index 000000000..3ec7fd237 --- /dev/null +++ b/mods/ctl/src/commands/projects/list.ts @@ -0,0 +1,27 @@ +import "../../config"; +import {CLIError} from "@oclif/errors"; +import {Command} from "@oclif/command"; +import {cli} from "cli-ux"; +const Projects = require("@fonoster/projects"); + +export default class ListCommand extends Command { + static description = `list all Fonoster Projects you have access to + ... + List all Fonoster Projects you have access to + `; + static aliases = ["projects:ls"]; + + async run() { + try { + const projects = new Projects(); + // Gets the list + const result = await projects.listProjects({}); + cli.table(result.projects, { + accessKeyId: {header: "Ref / Access Key Id", minWidth: 30}, + name: {header: "Name", minWidth: 12} + }); + } catch (e) { + throw new CLIError(e.message); + } + } +} diff --git a/mods/ctl/src/commands/projects/renew.ts b/mods/ctl/src/commands/projects/renew.ts new file mode 100644 index 000000000..850303e96 --- /dev/null +++ b/mods/ctl/src/commands/projects/renew.ts @@ -0,0 +1,28 @@ +import "../../config"; +import {CLIError} from "@oclif/errors"; +import {Command} from "@oclif/command"; +import {cli} from "cli-ux"; +const Projects = require("@fonoster/projects"); + +export default class UpdateCommand extends Command { + static args = [{name: "ref"}]; + static description = `renew the credentials of a Fonoster Project + ... + Renew the credentials of a Fonoster Project + `; + async run() { + const {args} = this.parse(UpdateCommand); + + try { + const projects = new Projects(); + const project = await projects.renewAccessKeySecret({ref: args.ref}); + cli.action.start(`Renewing credentials for ${args.ref}`); + await cli.wait(1000); + + cli.action.stop(project.accessKeySecret); + } catch (e) { + cli.action.stop(); + throw new CLIError(e.message); + } + } +} diff --git a/mods/ctl/src/commands/projects/use.ts b/mods/ctl/src/commands/projects/use.ts new file mode 100644 index 000000000..e82d4bbe0 --- /dev/null +++ b/mods/ctl/src/commands/projects/use.ts @@ -0,0 +1,42 @@ +import "../../config"; +import {CLIError} from "@oclif/errors"; +import {Command} from "@oclif/command"; +import {cli} from "cli-ux"; +import {getConfig, setConfig} from "../../config"; + +const Projects = require("@fonoster/projects"); + +export default class UpdateCommand extends Command { + static args = [{name: "ref"}]; + static description = `set a default Fonoster Project + ... + Set a default Fonoster Project + `; + async run() { + const {args} = this.parse(UpdateCommand); + try { + const projects = new Projects(); + const project = await projects.getProject(args.ref); + cli.action.start(`Setting default Project to ${args.ref}`); + + const config = getConfig(); + const {accessKeyId, accessKeySecret, endpoint} = config; + setConfig({ + endpoint, + accessKeyId, + accessKeySecret, + defaultProject: { + name: project.name, + accessKeyId: project.accessKeyId, + accessKeySecret: project.accessKeySecret + } + }); + + await cli.wait(1000); + cli.action.stop("Done"); + } catch (e) { + cli.action.stop(); + throw new CLIError(e.message); + } + } +} diff --git a/mods/ctl/src/commands/providers/create.ts b/mods/ctl/src/commands/providers/create.ts index 9a5df3bb3..1ae1d424e 100644 --- a/mods/ctl/src/commands/providers/create.ts +++ b/mods/ctl/src/commands/providers/create.ts @@ -1,18 +1,23 @@ import "../../config"; -import Providers from "@fonos/providers"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Providers = require("@fonoster/providers"); const inquirer = require("inquirer"); export default class CreateCommand extends Command { - static description = `creates a new provider resource + static description = `create a new Fonoster Provider (trunk) ... - Creates a new Provider in the SIP Proxy subsystem + Create a new Fonoster Provider `; async run() { - console.log("This utility will help you create a new Provider"); + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } + console.log("This utility will help you create a new Fonoster Provider"); console.log("Press ^C at any time to quit."); const answers = await inquirer.prompt([ @@ -46,7 +51,7 @@ export default class CreateCommand extends Command { }, { name: "expires", - message: "expire", + message: "sip registration refresh (in seconds)", type: "input", validate: (answer: number) => { if (isNaN(answer)) { @@ -67,9 +72,9 @@ export default class CreateCommand extends Command { console.log("Aborted"); } else { try { - cli.action.start(`Creating provider ${answers.name}`); + cli.action.start(`Creating Provider ${answers.name}`); - const providers = new Providers(); + const providers = new Providers(getProjectConfig()); const provider = await providers.createProvider(answers); await cli.wait(1000); diff --git a/mods/ctl/src/commands/providers/delete.ts b/mods/ctl/src/commands/providers/delete.ts index 744095422..e11cc620d 100644 --- a/mods/ctl/src/commands/providers/delete.ts +++ b/mods/ctl/src/commands/providers/delete.ts @@ -1,19 +1,27 @@ import Command from "../../base/delete"; -import Providers from "@fonos/providers"; import {CLIError} from "@oclif/errors"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Providers = require("@fonoster/providers"); export default class DeleteCommand extends Command { - static description = "removes a provider from a Fonos deployment"; + static description = "delete a Fonoster Provider"; static args = [{name: "ref"}]; static aliases = ["providers:del", "providers:rm"]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } try { - await super.deleteResource(new Providers(), "deleteProvider"); + await super.deleteResource( + new Providers(getProjectConfig()), + "deleteProvider" + ); } catch (e) { if (e.code === 9) { throw new CLIError( - "Unable to remove! First ensure there are no Numbers under this Provider" + "unable to delete: first ensure there are no Numbers under this Fonoster Provider" ); } else { throw new CLIError(e.message); diff --git a/mods/ctl/src/commands/providers/get.ts b/mods/ctl/src/commands/providers/get.ts index 37d9442ec..06bfeb292 100644 --- a/mods/ctl/src/commands/providers/get.ts +++ b/mods/ctl/src/commands/providers/get.ts @@ -1,20 +1,26 @@ import "../../config"; -import Providers from "@fonos/providers"; + import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; import {render} from "prettyjson"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Providers = require("@fonoster/providers"); const moment = require("moment"); export default class GetCommand extends Command { - static description = "get information about an existing provider"; + static description = `get a Fonoster Provider`; static args = [{name: "ref"}]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {args} = this.parse(GetCommand); try { - const providers = new Providers(); + const providers = new Providers(getProjectConfig()); cli.action.start(`getting provider ${args.ref}`); const provider = await providers.getProvider(args.ref); @@ -24,7 +30,7 @@ export default class GetCommand extends Command { Username: provider.username || "(static)", Host: provider.host, Transport: provider.transport, - Expires: provider.expires, + "SIP Registration Refresh": provider.expires, Created: moment(provider.createTime).fromNow(), Updated: moment(provider.updateTime).fromNow() }; diff --git a/mods/ctl/src/commands/providers/list.ts b/mods/ctl/src/commands/providers/list.ts index 185d643cb..91d16a532 100644 --- a/mods/ctl/src/commands/providers/list.ts +++ b/mods/ctl/src/commands/providers/list.ts @@ -1,16 +1,18 @@ import "../../config"; -import Providers from "@fonos/providers"; import {CLIError} from "@oclif/errors"; import {Command, flags as oclifFlags} from "@oclif/command"; -import {CommonPB} from "@fonos/providers"; +import {CommonPB} from "@fonoster/providers"; import {cli} from "cli-ux"; -import {Provider} from "@fonos/providers/src/types"; +import {Provider} from "@fonoster/providers/src/client/types"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Providers = require("@fonoster/providers"); const inquirer = require("inquirer"); export default class ListCommand extends Command { - static description = `list registered providers + static description = `list all Fonoster Providers you have access to ... - List the registered providers + List all Fonoster Providers you have access to `; static flags = { size: oclifFlags.integer({ @@ -23,9 +25,12 @@ export default class ListCommand extends Command { static aliases = ["providers:ls"]; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {flags} = this.parse(ListCommand); try { - const providers = new Providers(); + const providers = new Providers(getProjectConfig()); let firstBatch = true; let pageToken = "1"; const pageSize = flags.size; @@ -62,8 +67,8 @@ export default class ListCommand extends Command { get: (row) => row.username || "(static)" }, host: {header: "Host", minWidth: 18}, - transport: {header: "Transport", minWidth: 13}, - expires: {header: "Expires", minWidth: 13} + transport: {header: "Transport", minWidth: 13} + //expires: {header: "SIP Registration Refresh", minWidth: 13} }, {"no-header": !showHeader} ); diff --git a/mods/ctl/src/commands/providers/update.ts b/mods/ctl/src/commands/providers/update.ts index cb24f055f..4ddb418ee 100644 --- a/mods/ctl/src/commands/providers/update.ts +++ b/mods/ctl/src/commands/providers/update.ts @@ -1,26 +1,34 @@ import "../../config"; -import Providers from "@fonos/providers"; import {CLIError} from "@oclif/errors"; import {Command} from "@oclif/command"; import {cli} from "cli-ux"; +import {getProjectConfig, hasProjectConfig} from "../../config"; + +const Providers = require("@fonoster/providers"); const inquirer = require("inquirer"); export default class UpdateCommand extends Command { static args = [{name: "ref"}]; - static description = `updates a provider at the SIP Proxy subsystem + static description = `update a Fonoster Provider ... - Updates a provider at the SIP Proxy subsystem + Update a Fonoster Provider `; async run() { + if (!hasProjectConfig()) { + throw new CLIError("you must set a default project"); + } const {args} = this.parse(UpdateCommand); - if (!args.ref) throw new Error("Please provide reference number"); + if (!args.ref) + throw new Error("please provide the reference of your Fonoster Provider"); - console.log("This utility will help you update an existing Provider"); + console.log( + "This utility will help you update an existing Fonoster Provider" + ); console.log("Press ^C at any time to quit."); - const providers = new Providers(); + const providers = new Providers(getProjectConfig()); const provider = await providers.getProvider(args.ref); const answers: any = await inquirer.prompt([ @@ -57,7 +65,7 @@ export default class UpdateCommand extends Command { }, { name: "expires", - message: "expire", + message: "sip registration refresh (in seconds)", type: "input", default: provider.expires }, @@ -74,7 +82,7 @@ export default class UpdateCommand extends Command { console.log("Aborted"); } else { try { - cli.action.start(`Updating provider ${answers.name}`); + cli.action.start(`Updating Provider ${answers.name}`); await providers.updateProvider(answers); await cli.wait(1000); diff --git a/mods/ctl/src/config.ts b/mods/ctl/src/config.ts index e2f6fea5d..08530080a 100644 --- a/mods/ctl/src/config.ts +++ b/mods/ctl/src/config.ts @@ -1,2 +1,69 @@ -import {mute} from "@fonos/logger"; +import {mute} from "@fonoster/logger"; +import {join} from "path"; +import {homedir} from "os"; +const BASE_DIR = join(homedir(), ".fonoster"); +const PATH_TO_CONFIG = join(BASE_DIR, "config"); +const fs = require("fs"); + mute(); + +export interface ProjectConfig { + endpoint: string; + accessKeyId: string; + accessKeySecret: string; +} + +export interface Config { + endpoint: string; + accessKeyId: string; + accessKeySecret: string; + defaultProject?: { + name: string; + accessKeyId: string; + accessKeySecret: string; + }; +} + +export function getConfig(): Config { + if (!fs.existsSync(BASE_DIR)) { + throw new Error("no config found"); + } + try { + return JSON.parse(fs.readFileSync(PATH_TO_CONFIG)); + } catch (e) { + throw new Error("malformed config: " + e); + } +} + +export function getProjectConfig() { + const {endpoint, defaultProject} = getConfig(); + return { + endpoint, + accessKeyId: defaultProject.accessKeyId, + accessKeySecret: defaultProject.accessKeySecret + }; +} + +export function setConfig(config: Config) { + if (fs.existsSync(BASE_DIR)) { + fs.rmSync(BASE_DIR, {recursive: true}); + } + fs.mkdirSync(BASE_DIR, {recursive: true}); + fs.writeFileSync(PATH_TO_CONFIG, JSON.stringify(config, null, " ")); +} + +export function unsetDefaultProject() { + const config = getConfig(); + config.defaultProject = void 0; + setConfig(config); +} + +export function isDefaultProject(ref: string) { + const config = getConfig(); + return config.defaultProject && config.defaultProject.accessKeyId === ref; +} + +export function hasProjectConfig() { + const config = getConfig(); + return config.defaultProject; +} diff --git a/mods/ctl/src/help.ts b/mods/ctl/src/help.ts index 41a073dd7..7098a4ece 100644 --- a/mods/ctl/src/help.ts +++ b/mods/ctl/src/help.ts @@ -1,4 +1,4 @@ -import Help from "@oclif/plugin-help"; +import {Help} from "@oclif/plugin-help"; const figlet = require("figlet"); export default class MyHelpClass extends Help { @@ -10,9 +10,9 @@ export default class MyHelpClass extends Help { (args.length === 1 && (args[0].includes("help") || args[0].includes("-h"))) ) { - console.log("\x1b[33m"); + console.log("\x1b[32m"); console.log( - figlet.textSync("Project Fonos", { + figlet.textSync("Fonoster", { horizontalLayout: "default", verticalLayout: "default", width: 60, @@ -21,6 +21,6 @@ export default class MyHelpClass extends Help { ); console.log("\x1b[0m"); } - super.showHelp(args); + //super.showHelp(args); } } diff --git a/mods/dispatcher/.lerna-changed-buster-7825 b/mods/dispatcher/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/dispatcher/package-lock.json b/mods/dispatcher/package-lock.json index 3a04e3c9d..fce529ba2 100644 --- a/mods/dispatcher/package-lock.json +++ b/mods/dispatcher/package-lock.json @@ -1,2164 +1,6447 @@ { - "name": "@fonos/dispatcher", - "version": "0.1.20-alpha.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@fonos/dispatcher", - "version": "0.1.15-alpha.0", - "license": "MIT", - "dependencies": { - "@fonos/auth": "^0.1.14-alpha.0", - "@fonos/logger": "^0.1.11-alpha.3", - "@fonos/numbers": "^0.1.14-alpha.0", - "@fonos/storage": "^0.1.14-alpha.0", - "ari-client": "^2.2.0", - "axios": "^0.21.1", - "wait-port": "^0.2.9", - "ws": "^6.2.2" - }, - "bin": { - "run": "dist/dispatcher.js" - }, - "devDependencies": { - "@types/ws": "^7.4.7" - }, - "optionalDependencies": { - "bufferutil": "^4.0.3", - "utf-8-validate": "^5.0.5" - } - }, - "../auth": { - "name": "@fonos/auth", - "version": "0.1.14-alpha.0", - "license": "MIT", - "dependencies": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "express": "^4.17.1", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "jsonwebtoken": "^8.5.1" - }, - "bin": { - "healthcheck_auth": "dist/service/healthcheck.js", - "run_auth": "dist/service/runner.js" - }, - "devDependencies": { - "@types/jsonwebtoken": "^8.5.0" - } - }, - "../auth/node_modules/@fonos/certs": { - "resolved": "../certs", - "link": true - }, - "../auth/node_modules/@fonos/common": { - "resolved": "../common", - "link": true - }, - "../auth/node_modules/@fonos/errors": { - "resolved": "../errors", - "link": true - }, - "../auth/node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "../certs": { - "name": "@fonos/certs", - "version": "0.1.11-alpha.3", - "license": "MIT", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "../common": { - "name": "@fonos/common", - "version": "0.1.14-alpha.0", - "license": "MIT", - "dependencies": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "../common/node_modules/@fonos/certs": { - "resolved": "../certs", - "link": true - }, - "../common/node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "../core": { - "name": "@fonos/core", - "version": "0.1.14-alpha.0", - "license": "MIT", - "dependencies": { - "@fonos/auth": "^0.1.14-alpha.0", - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "atob": "^2.1.2", - "axios": "^0.21.1", - "btoa": "^1.2.1", - "deepmerge": "^4.2.2", - "grpc-ts-health-check": "^2.0.6", - "ioredis": "^4.16.0", - "nanoid": "^3.1.23", - "phone": "^2.4.21" - }, - "devDependencies": { - "@types/btoa": "^1.2.3", - "@types/ioredis": "^4.16.5" - } - }, - "../core/node_modules/@fonos/auth": { - "resolved": "../auth", - "link": true - }, - "../core/node_modules/@fonos/certs": { - "resolved": "../certs", - "link": true - }, - "../core/node_modules/@fonos/common": { - "resolved": "../common", - "link": true - }, - "../core/node_modules/@fonos/errors": { - "resolved": "../errors", - "link": true - }, - "../core/node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "../errors": { - "name": "@fonos/errors", - "version": "0.1.11-alpha.3", - "license": "MIT" - }, - "../logger": { - "name": "@fonos/logger", - "version": "0.1.11-alpha.3", - "license": "MIT", - "dependencies": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - }, - "devDependencies": { - "rimraf": "^3.0.2" - } - }, - "../numbers": { - "name": "@fonos/numbers", - "version": "0.1.14-alpha.0", - "license": "MIT", - "dependencies": { - "@fonos/auth": "^0.1.14-alpha.0", - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/core": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0" - }, - "bin": { - "healthcheck_numbers": "dist/service/healthcheck.js", - "run_numbers": "dist/service/runner.js" - } - }, - "../numbers/node_modules/@fonos/auth": { - "resolved": "../auth", - "link": true - }, - "../numbers/node_modules/@fonos/certs": { - "resolved": "../certs", - "link": true - }, - "../numbers/node_modules/@fonos/common": { - "resolved": "../common", - "link": true - }, - "../numbers/node_modules/@fonos/core": { - "resolved": "../core", - "link": true - }, - "../numbers/node_modules/@fonos/errors": { - "resolved": "../errors", - "link": true - }, - "../numbers/node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "../storage": { - "name": "@fonos/storage", - "version": "0.1.14-alpha.0", - "license": "MIT", - "dependencies": { - "@fonos/auth": "^0.1.14-alpha.0", - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/core": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "minio": "^7.0.18", - "objectid": "^3.2.1", - "sync": "^0.2.5", - "tar": "^6.1.0", - "walk": "^2.3.14" - }, - "bin": { - "healthcheck_storage": "dist/service/healthcheck.js", - "run_storage": "dist/service/runner.js" - } - }, - "../storage/node_modules/@fonos/auth": { - "resolved": "../auth", - "link": true - }, - "../storage/node_modules/@fonos/certs": { - "resolved": "../certs", - "link": true - }, - "../storage/node_modules/@fonos/common": { - "resolved": "../common", - "link": true - }, - "../storage/node_modules/@fonos/core": { - "resolved": "../core", - "link": true - }, - "../storage/node_modules/@fonos/errors": { - "resolved": "../errors", - "link": true - }, - "../storage/node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "node_modules/@fonos/auth": { - "resolved": "../auth", - "link": true - }, - "node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "node_modules/@fonos/numbers": { - "resolved": "../numbers", - "link": true - }, - "node_modules/@fonos/storage": { - "resolved": "../storage", - "link": true - }, - "node_modules/@types/node": { - "version": "16.7.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.2.tgz", - "integrity": "sha512-TbG4TOx9hng8FKxaVrCisdaxKxqEwJ3zwHoCWXZ0Jw6mnvTInpaB99/2Cy4+XxpXtjNv9/TgfGSvZFyfV/t8Fw==", - "dev": true - }, - "node_modules/@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/ari-client": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ari-client/-/ari-client-2.2.0.tgz", - "integrity": "sha512-DPz+vC/dZyvy5HqBrEzYpNH6X2hDb+AIyRith6f8IVLHyveRWaHPO0S7rF1Q91qry/U8G+504KUZfeaBPwzIVQ==", - "dependencies": { - "backoff-func": "^0.1.2", - "bluebird": "^3.5.2", - "lodash": "^4.17.10", - "request": "^2.34.0", - "swagger-client": "2.0.26", - "uuid": "^3.0.0", - "ws": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dependencies": { - "safer-buffer": "~2.1.0" - } - }, - "node_modules/assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "node_modules/aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "engines": { - "node": "*" - } - }, - "node_modules/aws4": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - }, - "node_modules/ax": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/ax/-/ax-0.1.8.tgz", - "integrity": "sha1-J8qac/pMeKR41i2CfK2GCiT91Jc=" - }, - "node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "dependencies": { - "follow-redirects": "^1.10.0" - } - }, - "node_modules/backoff-func": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/backoff-func/-/backoff-func-0.1.2.tgz", - "integrity": "sha1-VMP64rreWHI0utXbh+NBLJ+ph4M=" - }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dependencies": { - "tweetnacl": "^0.14.3" - } - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/btoa": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.1.tgz", - "integrity": "sha1-J8gQYmMQjp3UH/L6qtKhcEXjXro=", - "bin": { - "btoa": "bin/btoa.js" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/bufferutil": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz", - "integrity": "sha512-yEYTwGndELGvfXsImMBLop58eaGW+YdONi1fNjTINSY98tmMmFijBG6WXgdkfuLNt4imzQNtIE+eBp1PVpMCSw==", - "hasInstallScript": true, - "optional": true, - "dependencies": { - "node-gyp-build": "^4.2.0" - } - }, - "node_modules/caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/commander": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", - "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" - }, - "node_modules/cookiejar": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-1.3.1.tgz", - "integrity": "sha1-wEsEj2iPgBYjrNkM1YSMK/iJGhc=" - }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "node_modules/dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dependencies": { - "assert-plus": "^1.0.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dependencies": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "node_modules/extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "engines": [ - "node >=0.6.0" - ] - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "node_modules/follow-redirects": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.2.tgz", - "integrity": "sha512-yLR6WaE2lbF0x4K2qE2p9PEXKLDjUjnR/xmjS3wHAYxtlsI9MLLBJUZirAHKzUZDGLxje7w/cXR49WOUo4rbsA==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "engines": { - "node": "*" - } - }, - "node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dependencies": { - "assert-plus": "^1.0.0" - } - }, - "node_modules/har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "engines": { - "node": ">=4" - } - }, - "node_modules/har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "deprecated": "this library is no longer supported", - "dependencies": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "dependencies": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - }, - "engines": { - "node": ">=0.8", - "npm": ">=1.3.7" - } - }, - "node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, - "node_modules/isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "node_modules/jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, - "node_modules/json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "node_modules/jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "engines": [ - "node >=0.6.0" - ], - "dependencies": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "dependencies": { - "mime-db": "1.49.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/node-gyp-build": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz", - "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==", - "optional": true, - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" - } - }, - "node_modules/oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "engines": { - "node": "*" - } - }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, - "node_modules/psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" - }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "engines": { - "node": ">=6" - } - }, - "node_modules/qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/shred": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/shred/-/shred-0.8.10.tgz", - "integrity": "sha1-zxz+gPeb9TE9Ltw7kSJ4/RB6hxc=", - "dependencies": { - "ax": "0.1.8", - "cookiejar": "1.3.1", - "iconv-lite": ">= 0.1.2", - "sprintf": "0.1.1" - } - }, - "node_modules/sprintf": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/sprintf/-/sprintf-0.1.1.tgz", - "integrity": "sha1-6JJfyYlOGqaJnpCRx/KhITC3DeU=", - "deprecated": "The sprintf package is deprecated in favor of sprintf-js.", - "engines": { - "node": ">=0.2.4" - } - }, - "node_modules/sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "dependencies": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/swagger-client": { - "version": "2.0.26", - "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-2.0.26.tgz", - "integrity": "sha1-c/FQk/be82nzG5ZwxtlkWzMWPk0=", - "deprecated": "No longer maintained, please upgrade to swagger-client@3.", - "dependencies": { - "btoa": "1.1.1", - "shred": "0.8.10" - }, - "engines": { - "node": ">= 0.6.6" - } - }, - "node_modules/tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/utf-8-validate": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.5.tgz", - "integrity": "sha512-+pnxRYsS/axEpkrrEpzYfNZGXp0IjC/9RIxwM5gntY4Koi8SHmUGSfxfWqxZdRxrtaoVstuOzUp/rbs3JSPELQ==", - "hasInstallScript": true, - "optional": true, - "dependencies": { - "node-gyp-build": "^4.2.0" - } - }, - "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "bin": { - "uuid": "bin/uuid" - } - }, - "node_modules/verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "engines": [ - "node >=0.6.0" - ], - "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "node_modules/wait-port": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-0.2.9.tgz", - "integrity": "sha512-hQ/cVKsNqGZ/UbZB/oakOGFqic00YAMM5/PEj3Bt4vKarv2jWIWzDbqlwT94qMs/exAQAsvMOq99sZblV92zxQ==", - "dependencies": { - "chalk": "^2.4.2", - "commander": "^3.0.2", - "debug": "^4.1.1" - }, - "bin": { - "wait-port": "bin/wait-port.js" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", - "dependencies": { - "async-limiter": "~1.0.0" - } - } - }, - "dependencies": { - "@fonos/auth": { - "version": "file:../auth", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@types/jsonwebtoken": "^8.5.0", - "express": "^4.17.1", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "jsonwebtoken": "^8.5.1" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - }, - "@fonos/numbers": { - "version": "file:../numbers", - "requires": { - "@fonos/auth": "^0.1.14-alpha.0", - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/core": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0" - }, - "dependencies": { - "@fonos/auth": { - "version": "file:../auth", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@types/jsonwebtoken": "^8.5.0", - "express": "^4.17.1", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "jsonwebtoken": "^8.5.1" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/core": { - "version": "file:../core", - "requires": { - "@fonos/auth": "^0.1.14-alpha.0", - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@types/btoa": "^1.2.3", - "@types/ioredis": "^4.16.5", - "atob": "^2.1.2", - "axios": "^0.21.1", - "btoa": "^1.2.1", - "deepmerge": "^4.2.2", - "grpc-ts-health-check": "^2.0.6", - "ioredis": "^4.16.0", - "nanoid": "^3.1.23", - "phone": "^2.4.21" - }, - "dependencies": { - "@fonos/auth": { - "version": "file:../auth", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@types/jsonwebtoken": "^8.5.0", - "express": "^4.17.1", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "jsonwebtoken": "^8.5.1" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/storage": { - "version": "file:../storage", - "requires": { - "@fonos/auth": "^0.1.14-alpha.0", - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/core": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "minio": "^7.0.18", - "objectid": "^3.2.1", - "sync": "^0.2.5", - "tar": "^6.1.0", - "walk": "^2.3.14" - }, - "dependencies": { - "@fonos/auth": { - "version": "file:../auth", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@types/jsonwebtoken": "^8.5.0", - "express": "^4.17.1", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "jsonwebtoken": "^8.5.1" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/core": { - "version": "file:../core", - "requires": { - "@fonos/auth": "^0.1.14-alpha.0", - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@types/btoa": "^1.2.3", - "@types/ioredis": "^4.16.5", - "atob": "^2.1.2", - "axios": "^0.21.1", - "btoa": "^1.2.1", - "deepmerge": "^4.2.2", - "grpc-ts-health-check": "^2.0.6", - "ioredis": "^4.16.0", - "nanoid": "^3.1.23", - "phone": "^2.4.21" - }, - "dependencies": { - "@fonos/auth": { - "version": "file:../auth", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/common": "^0.1.14-alpha.0", - "@fonos/errors": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@types/jsonwebtoken": "^8.5.0", - "express": "^4.17.1", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "jsonwebtoken": "^8.5.1" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "file:../common", - "requires": { - "@fonos/certs": "^0.1.11-alpha.3", - "@fonos/logger": "^0.1.11-alpha.3", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - }, - "dependencies": { - "@fonos/certs": { - "version": "file:../certs", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@fonos/errors": { - "version": "file:../errors" - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - } - } - }, - "@types/node": { - "version": "16.7.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.2.tgz", - "integrity": "sha512-TbG4TOx9hng8FKxaVrCisdaxKxqEwJ3zwHoCWXZ0Jw6mnvTInpaB99/2Cy4+XxpXtjNv9/TgfGSvZFyfV/t8Fw==", - "dev": true - }, - "@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "ari-client": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ari-client/-/ari-client-2.2.0.tgz", - "integrity": "sha512-DPz+vC/dZyvy5HqBrEzYpNH6X2hDb+AIyRith6f8IVLHyveRWaHPO0S7rF1Q91qry/U8G+504KUZfeaBPwzIVQ==", - "requires": { - "backoff-func": "^0.1.2", - "bluebird": "^3.5.2", - "lodash": "^4.17.10", - "request": "^2.34.0", - "swagger-client": "2.0.26", - "uuid": "^3.0.0", - "ws": "^6.0.0" - } - }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "requires": { - "safer-buffer": "~2.1.0" - } - }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" - }, - "aws4": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - }, - "ax": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/ax/-/ax-0.1.8.tgz", - "integrity": "sha1-J8qac/pMeKR41i2CfK2GCiT91Jc=" - }, - "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "requires": { - "follow-redirects": "^1.10.0" - } - }, - "backoff-func": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/backoff-func/-/backoff-func-0.1.2.tgz", - "integrity": "sha1-VMP64rreWHI0utXbh+NBLJ+ph4M=" - }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "requires": { - "tweetnacl": "^0.14.3" - } - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "btoa": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.1.tgz", - "integrity": "sha1-J8gQYmMQjp3UH/L6qtKhcEXjXro=" - }, - "bufferutil": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz", - "integrity": "sha512-yEYTwGndELGvfXsImMBLop58eaGW+YdONi1fNjTINSY98tmMmFijBG6WXgdkfuLNt4imzQNtIE+eBp1PVpMCSw==", - "optional": true, - "requires": { - "node-gyp-build": "^4.2.0" - } - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "commander": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", - "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" - }, - "cookiejar": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-1.3.1.tgz", - "integrity": "sha1-wEsEj2iPgBYjrNkM1YSMK/iJGhc=" - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "requires": { - "assert-plus": "^1.0.0" - } - }, - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "requires": { - "ms": "2.1.2" - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "follow-redirects": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.2.tgz", - "integrity": "sha512-yLR6WaE2lbF0x4K2qE2p9PEXKLDjUjnR/xmjS3wHAYxtlsI9MLLBJUZirAHKzUZDGLxje7w/cXR49WOUo4rbsA==" - }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" - }, - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "requires": { - "assert-plus": "^1.0.0" - } - }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" - }, - "har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "requires": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" - }, - "mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "requires": { - "mime-db": "1.49.0" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node-gyp-build": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz", - "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==", - "optional": true - }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" - }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, - "psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" - }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" - }, - "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" - }, - "request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "shred": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/shred/-/shred-0.8.10.tgz", - "integrity": "sha1-zxz+gPeb9TE9Ltw7kSJ4/RB6hxc=", - "requires": { - "ax": "0.1.8", - "cookiejar": "1.3.1", - "iconv-lite": ">= 0.1.2", - "sprintf": "0.1.1" - } - }, - "sprintf": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/sprintf/-/sprintf-0.1.1.tgz", - "integrity": "sha1-6JJfyYlOGqaJnpCRx/KhITC3DeU=" - }, - "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - }, - "swagger-client": { - "version": "2.0.26", - "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-2.0.26.tgz", - "integrity": "sha1-c/FQk/be82nzG5ZwxtlkWzMWPk0=", - "requires": { - "btoa": "1.1.1", - "shred": "0.8.10" - } - }, - "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - }, - "uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "requires": { - "punycode": "^2.1.0" - } - }, - "utf-8-validate": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.5.tgz", - "integrity": "sha512-+pnxRYsS/axEpkrrEpzYfNZGXp0IjC/9RIxwM5gntY4Koi8SHmUGSfxfWqxZdRxrtaoVstuOzUp/rbs3JSPELQ==", - "optional": true, - "requires": { - "node-gyp-build": "^4.2.0" - } - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" - }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "wait-port": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-0.2.9.tgz", - "integrity": "sha512-hQ/cVKsNqGZ/UbZB/oakOGFqic00YAMM5/PEj3Bt4vKarv2jWIWzDbqlwT94qMs/exAQAsvMOq99sZblV92zxQ==", - "requires": { - "chalk": "^2.4.2", - "commander": "^3.0.2", - "debug": "^4.1.1" - } - }, - "ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", - "requires": { - "async-limiter": "~1.0.0" - } - } - } + "name": "@fonoster/dispatcher", + "version": "0.2.40", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@fonoster/dispatcher", + "version": "0.2.40", + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/numbers": "^0.2.40", + "@fonoster/storage": "^0.2.40", + "ari-client": "^2.2.0", + "pick-port": "^1.0.0", + "wait-port": "^0.2.9", + "ws": "^6.2.2" + }, + "bin": { + "run": "dist/dispatcher.js" + }, + "devDependencies": { + "@types/ws": "^7.4.7" + }, + "optionalDependencies": { + "bufferutil": "^4.0.3", + "utf-8-validate": "^5.0.5" + } + }, + "../auth": { + "name": "@fonoster/auth", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/common": "^0.2.29", + "@fonoster/errors": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "bin": { + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + }, + "devDependencies": { + "@types/jsonwebtoken": "^8.5.0" + } + }, + "../certs": { + "name": "@fonoster/certs", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "../common": { + "name": "@fonoster/common", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "../core": { + "name": "@fonoster/core", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "axios": "^0.21.1" + } + }, + "../errors": { + "name": "@fonoster/errors", + "version": "0.2.29", + "extraneous": true, + "license": "MIT" + }, + "../logger": { + "name": "@fonoster/logger", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } + }, + "../numbers": { + "name": "@fonoster/numbers", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.29", + "@fonoster/certs": "^0.2.29", + "@fonoster/common": "^0.2.29", + "@fonoster/core": "^0.2.29", + "@fonoster/errors": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0" + }, + "bin": { + "healthcheck_numbers": "dist/service/healthcheck.js", + "run_numbers": "dist/service/runner.js" + } + }, + "../storage": { + "name": "@fonoster/storage", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.29", + "@fonoster/certs": "^0.2.29", + "@fonoster/common": "^0.2.29", + "@fonoster/core": "^0.2.29", + "@fonoster/errors": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "minio": "^7.0.18", + "objectid": "^3.2.1", + "sync": "^0.2.5", + "tar": "^6.1.0", + "walk": "^2.3.14" + }, + "bin": { + "healthcheck_storage": "dist/service/healthcheck.js", + "run_storage": "dist/service/runner.js" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "node_modules/@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", + "dependencies": { + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "bin": { + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "node_modules/@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "dependencies": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "node_modules/@fonoster/core": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/core/-/core-0.2.43.tgz", + "integrity": "sha512-ceCtPPXKkBleJyqY4b9Olx9VUpx/Ib6K/HvLza2M4yMJo1MVbAEAD5bwg6l8z0XmtcNLWzQAizXKFA7v+TLYyg==", + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + } + }, + "node_modules/@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==" + }, + "node_modules/@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "node_modules/@fonoster/numbers": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/numbers/-/numbers-0.2.43.tgz", + "integrity": "sha512-eKm4vm9eQcLx6exCgrr7SS0pv0xV2kZt32RXD64cV0jPalZYLlZpMdhwIUTxIJ/Ab3Jc4Midkm2KQ76LuKIPOg==", + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0" + }, + "bin": { + "healthcheck_numbers": "dist/service/healthcheck.js", + "run_numbers": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/storage": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/storage/-/storage-0.2.43.tgz", + "integrity": "sha512-oA414q6S9c+Ravr/aekNZ0AybHt8yo0IVmuPymQV8jefDqvrBh4X279m4DldeAaeCiRgeA2HIMZpSgOX43lWjg==", + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "minio": "^7.0.18", + "objectid": "^3.2.1", + "sync": "^0.2.5", + "tar": "^6.1.0", + "walk": "^2.3.14" + }, + "bin": { + "healthcheck_storage": "dist/service/healthcheck.js", + "run_storage": "dist/service/runner.js" + } + }, + "node_modules/@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "dependencies": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "node_modules/@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "dependencies": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + }, + "peerDependencies": { + "@grpc/grpc-js": "^1.3.7" + } + }, + "node_modules/@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "node_modules/@types/node": { + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" + }, + "node_modules/@types/ws": { + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@zxing/text-encoding": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", + "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", + "optional": true + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "dependencies": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ari-client": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ari-client/-/ari-client-2.2.0.tgz", + "integrity": "sha512-DPz+vC/dZyvy5HqBrEzYpNH6X2hDb+AIyRith6f8IVLHyveRWaHPO0S7rF1Q91qry/U8G+504KUZfeaBPwzIVQ==", + "dependencies": { + "backoff-func": "^0.1.2", + "bluebird": "^3.5.2", + "lodash": "^4.17.10", + "request": "^2.34.0", + "swagger-client": "2.0.26", + "uuid": "^3.0.0", + "ws": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "node_modules/asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/asn1.js/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "engines": { + "node": "*" + } + }, + "node_modules/async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "node_modules/async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + }, + "node_modules/ax": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/ax/-/ax-0.1.8.tgz", + "integrity": "sha1-J8qac/pMeKR41i2CfK2GCiT91Jc=" + }, + "node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, + "node_modules/backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" + }, + "node_modules/backoff-func": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/backoff-func/-/backoff-func-0.1.2.tgz", + "integrity": "sha1-VMP64rreWHI0utXbh+NBLJ+ph4M=" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/block-stream2": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", + "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", + "dependencies": { + "readable-stream": "^3.4.0" + } + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "node_modules/bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, + "node_modules/body-parser": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "dependencies": { + "bytes": "3.1.1", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "node_modules/browser-or-node": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-1.3.0.tgz", + "integrity": "sha512-0F2z/VSnLbmEeBcUrSuDH5l0HxTXdQQzLjkmBR4cYfvg1zJrKSlmIZFqyFR8oX0NrwPhy3c3HQ6i3OxMbew4Tg==" + }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "dependencies": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "node_modules/browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "dependencies": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "node_modules/bson": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", + "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", + "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", + "hasInstallScript": true, + "engines": { + "node": ">=0.6.19" + } + }, + "node_modules/btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + }, + "node_modules/bufferutil": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.6.tgz", + "integrity": "sha512-jduaYOYtnio4aIAyc6UbvPCVcgq7nYpVnucyxr6eCYg/Woad9Hf/oxxBRDnGGjPfjUm6j5O/uBWhIu4iLebFaw==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "node_modules/bytes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "node_modules/chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "engines": { + "node": "*" + } + }, + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/cluster-key-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", + "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "node_modules/color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", + "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "node_modules/cookiejar": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-1.3.1.tgz", + "integrity": "sha1-wEsEj2iPgBYjrNkM1YSMK/iJGhc=" + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "node_modules/create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "node_modules/create-ecdh/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dependencies": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + }, + "engines": { + "node": "*" + } + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/denque": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dependencies": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/diffie-hellman/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/express": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", + "dependencies": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "engines": [ + "node >=0.6.0" + ] + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fast-xml-parser": { + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.21.1.tgz", + "integrity": "sha512-FTFVjYoBOZTJekiUsawGsSYV9QL0A+zDYCRj7y34IO6Jg+2IMYEtQa+bbictpdpV8dHxXywqU7C0gRDEOFtBFg==", + "dependencies": { + "strnum": "^1.0.4" + }, + "bin": { + "xml2js": "cli.js" + }, + "funding": { + "type": "paypal", + "url": "https://paypal.me/naturalintelligence" + } + }, + "node_modules/fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + }, + "node_modules/fibers": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", + "hasInstallScript": true, + "dependencies": { + "detect-libc": "^1.0.3" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "dependencies": { + "msgpack-lite": "*" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + }, + "node_modules/follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" + }, + "node_modules/foreachasync": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", + "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=" + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "engines": { + "node": "*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/google-protobuf": { + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==" + }, + "node_modules/grpc-boom": { + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" + }, + "node_modules/grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + }, + "node_modules/grpc-ts-health-check": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", + "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", + "dependencies": { + "google-protobuf": "^3.12.2", + "grpc-boom": "^1.0.28" + } + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" + }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ioredis": { + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "dependencies": { + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.1", + "denque": "^1.1.0", + "lodash.defaults": "^4.2.0", + "lodash.flatten": "^4.4.0", + "lodash.isarguments": "^3.1.0", + "p-map": "^2.1.0", + "redis-commands": "1.7.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + } + }, + "node_modules/ipaddr.js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", + "engines": { + "node": ">= 10" + } + }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", + "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-stream/-/json-stream-1.0.0.tgz", + "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "node_modules/jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=4", + "npm": ">=1.4.28" + } + }, + "node_modules/jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" + }, + "node_modules/lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "node_modules/lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "node_modules/logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/miller-rabin/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "dependencies": { + "mime-db": "1.51.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, + "node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "node_modules/minio": { + "version": "7.0.26", + "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.26.tgz", + "integrity": "sha512-knutnEZZMIUB/Xln6psVDrqObFKXDcF9m4IfFIX+zgDHYg3AlcF88DY1wdgg7bUkf+uU8iHkzP2q5CXAhia73w==", + "dependencies": { + "async": "^3.1.0", + "block-stream2": "^2.0.0", + "browser-or-node": "^1.3.0", + "crypto-browserify": "^3.12.0", + "es6-error": "^4.1.1", + "fast-xml-parser": "^3.17.5", + "ipaddr.js": "^2.0.1", + "json-stream": "^1.0.0", + "lodash": "^4.17.21", + "mime-types": "^2.1.14", + "mkdirp": "^0.5.1", + "querystring": "0.2.0", + "through2": "^3.0.1", + "web-encoding": "^1.1.5", + "xml": "^1.0.0", + "xml2js": "^0.4.15" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/minipass": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", + "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "dependencies": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + }, + "bin": { + "msgpack": "bin/msgpack" + } + }, + "node_modules/nanoid": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", + "bin": { + "network-address": "cli.js" + } + }, + "node_modules/node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, + "node_modules/node-fetch/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==", + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-gyp-build": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", + "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==", + "optional": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "engines": { + "node": "*" + } + }, + "node_modules/object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/objectid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", + "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", + "dependencies": { + "bson": "^0.1.9" + } + }, + "node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "node_modules/p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "dependencies": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "engines": { + "node": "*" + } + }, + "node_modules/pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "node_modules/phone": { + "version": "2.4.22", + "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", + "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==", + "engines": { + "node": ">=6.10.0" + } + }, + "node_modules/pick-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pick-port/-/pick-port-1.0.0.tgz", + "integrity": "sha512-8h9ShAAM5z691zpibEAIyQWiGjjxh5AsP62qI9ptceTDxsSy6bJEXxNpHmdFSwIVNtI2+k3DEhDX+1fYxFHHEA==", + "dependencies": { + "debug": "^4.1.1" + } + }, + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/proxy-addr/node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "node_modules/public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/public-encrypt/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dependencies": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "dependencies": { + "bytes": "3.1.1", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/redis-commands": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + }, + "node_modules/redis-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", + "integrity": "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=", + "engines": { + "node": ">=4" + } + }, + "node_modules/redis-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", + "integrity": "sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ=", + "dependencies": { + "redis-errors": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/request/node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==", + "engines": { + "node": ">=10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, + "node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "dependencies": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, + "node_modules/shred": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/shred/-/shred-0.8.10.tgz", + "integrity": "sha1-zxz+gPeb9TE9Ltw7kSJ4/RB6hxc=", + "dependencies": { + "ax": "0.1.8", + "cookiejar": "1.3.1", + "iconv-lite": ">= 0.1.2", + "sprintf": "0.1.1" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/sprintf": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/sprintf/-/sprintf-0.1.1.tgz", + "integrity": "sha1-6JJfyYlOGqaJnpCRx/KhITC3DeU=", + "deprecated": "The sprintf package is deprecated in favor of sprintf-js.", + "engines": { + "node": ">=0.2.4" + } + }, + "node_modules/sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", + "engines": { + "node": "*" + } + }, + "node_modules/standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + }, + "node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/swagger-client": { + "version": "2.0.26", + "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-2.0.26.tgz", + "integrity": "sha1-c/FQk/be82nzG5ZwxtlkWzMWPk0=", + "deprecated": "No longer maintained, please upgrade to swagger-client@3.", + "dependencies": { + "btoa": "1.1.1", + "shred": "0.8.10" + }, + "engines": { + "node": ">= 0.6.6" + } + }, + "node_modules/swagger-client/node_modules/btoa": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.1.tgz", + "integrity": "sha1-J8gQYmMQjp3UH/L6qtKhcEXjXro=", + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/sync": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", + "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "dependencies": { + "fibers": ">=0.6" + }, + "engines": { + "node": ">=0.5.2" + } + }, + "node_modules/tar": { + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + }, + "node_modules/through2": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/utf-8-validate": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.8.tgz", + "integrity": "sha512-k4dW/Qja1BYDl2qD4tOMB9PFVha/UJtxTc1cXYOe3WwA/2m0Yn4qB7wLMpJyLJ/7DR0XnTut3HsCSzDT4ZvKgA==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "node_modules/util": { + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", + "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "dependencies": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "safe-buffer": "^5.1.2", + "which-typed-array": "^1.1.2" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/wait-port": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-0.2.9.tgz", + "integrity": "sha512-hQ/cVKsNqGZ/UbZB/oakOGFqic00YAMM5/PEj3Bt4vKarv2jWIWzDbqlwT94qMs/exAQAsvMOq99sZblV92zxQ==", + "dependencies": { + "chalk": "^2.4.2", + "commander": "^3.0.2", + "debug": "^4.1.1" + }, + "bin": { + "wait-port": "bin/wait-port.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/walk": { + "version": "2.3.15", + "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.15.tgz", + "integrity": "sha512-4eRTBZljBfIISK1Vnt69Gvr2w/wc3U6Vtrw7qiN5iqYJPH7LElcYh/iU4XWhdCy2dZqv1ToMyYlybDylfG/5Vg==", + "dependencies": { + "foreachasync": "^3.0.0" + } + }, + "node_modules/web-encoding": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.5.tgz", + "integrity": "sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==", + "dependencies": { + "util": "^0.12.3" + }, + "optionalDependencies": { + "@zxing/text-encoding": "0.9.0" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", + "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "dependencies": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/ws": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "dependencies": { + "async-limiter": "~1.0.0" + } + }, + "node_modules/xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=" + }, + "node_modules/xml2js": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", + "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } + }, + "node_modules/zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "dependencies": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "node_modules/zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "dependencies": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + } + } + }, + "dependencies": { + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==" + }, + "@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "requires": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", + "requires": { + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "requires": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "@fonoster/core": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/core/-/core-0.2.43.tgz", + "integrity": "sha512-ceCtPPXKkBleJyqY4b9Olx9VUpx/Ib6K/HvLza2M4yMJo1MVbAEAD5bwg6l8z0XmtcNLWzQAizXKFA7v+TLYyg==", + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + } + }, + "@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==" + }, + "@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "requires": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "@fonoster/numbers": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/numbers/-/numbers-0.2.43.tgz", + "integrity": "sha512-eKm4vm9eQcLx6exCgrr7SS0pv0xV2kZt32RXD64cV0jPalZYLlZpMdhwIUTxIJ/Ab3Jc4Midkm2KQ76LuKIPOg==", + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0" + } + }, + "@fonoster/storage": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/storage/-/storage-0.2.43.tgz", + "integrity": "sha512-oA414q6S9c+Ravr/aekNZ0AybHt8yo0IVmuPymQV8jefDqvrBh4X279m4DldeAaeCiRgeA2HIMZpSgOX43lWjg==", + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "minio": "^7.0.18", + "objectid": "^3.2.1", + "sync": "^0.2.5", + "tar": "^6.1.0", + "walk": "^2.3.14" + } + }, + "@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "requires": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + } + }, + "@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "requires": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + } + }, + "@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "requires": { + "@types/node": "*" + } + }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "@types/node": { + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" + }, + "@types/ws": { + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@zxing/text-encoding": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", + "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", + "optional": true + }, + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "requires": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "ari-client": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ari-client/-/ari-client-2.2.0.tgz", + "integrity": "sha512-DPz+vC/dZyvy5HqBrEzYpNH6X2hDb+AIyRith6f8IVLHyveRWaHPO0S7rF1Q91qry/U8G+504KUZfeaBPwzIVQ==", + "requires": { + "backoff-func": "^0.1.2", + "bluebird": "^3.5.2", + "lodash": "^4.17.10", + "request": "^2.34.0", + "swagger-client": "2.0.26", + "uuid": "^3.0.0", + "ws": "^6.0.0" + } + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" + }, + "async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" + }, + "available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + }, + "ax": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/ax/-/ax-0.1.8.tgz", + "integrity": "sha1-J8qac/pMeKR41i2CfK2GCiT91Jc=" + }, + "axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "requires": { + "follow-redirects": "^1.14.0" + } + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" + }, + "backoff-func": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/backoff-func/-/backoff-func-0.1.2.tgz", + "integrity": "sha1-VMP64rreWHI0utXbh+NBLJ+ph4M=" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "block-stream2": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", + "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", + "requires": { + "readable-stream": "^3.4.0" + } + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, + "body-parser": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "requires": { + "bytes": "3.1.1", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "browser-or-node": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-1.3.0.tgz", + "integrity": "sha512-0F2z/VSnLbmEeBcUrSuDH5l0HxTXdQQzLjkmBR4cYfvg1zJrKSlmIZFqyFR8oX0NrwPhy3c3HQ6i3OxMbew4Tg==" + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "bson": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", + "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" + }, + "btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" + }, + "buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + }, + "bufferutil": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.6.tgz", + "integrity": "sha512-jduaYOYtnio4aIAyc6UbvPCVcgq7nYpVnucyxr6eCYg/Woad9Hf/oxxBRDnGGjPfjUm6j5O/uBWhIu4iLebFaw==", + "optional": true, + "requires": { + "node-gyp-build": "^4.3.0" + } + }, + "bytes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==" + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" + }, + "chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "cluster-key-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", + "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==" + }, + "color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "requires": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "requires": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "requires": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", + "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" + }, + "content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "requires": { + "safe-buffer": "5.2.1" + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" + }, + "cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "cookiejar": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-1.3.1.tgz", + "integrity": "sha1-wEsEj2iPgBYjrNkM1YSMK/iJGhc=" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "requires": { + "type-detect": "^4.0.0" + } + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "requires": { + "object-keys": "^1.0.12" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "denque": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==" + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, + "encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "requires": { + "iconv-lite": "^0.6.2" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + }, + "event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "express": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", + "requires": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "fast-xml-parser": { + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.21.1.tgz", + "integrity": "sha512-FTFVjYoBOZTJekiUsawGsSYV9QL0A+zDYCRj7y34IO6Jg+2IMYEtQa+bbictpdpV8dHxXywqU7C0gRDEOFtBFg==", + "requires": { + "strnum": "^1.0.4" + } + }, + "fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + }, + "fibers": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "requires": { + "msgpack-lite": "*" + } + }, + "fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + }, + "follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==" + }, + "foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" + }, + "foreachasync": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", + "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=" + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" + }, + "fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "requires": { + "minipass": "^3.0.0" + } + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" + }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "google-protobuf": { + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==" + }, + "grpc-boom": { + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" + }, + "grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + }, + "grpc-ts-health-check": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", + "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", + "requires": { + "google-protobuf": "^3.12.2", + "grpc-boom": "^1.0.28" + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" + }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "ioredis": { + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "requires": { + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.1", + "denque": "^1.1.0", + "lodash.defaults": "^4.2.0", + "lodash.flatten": "^4.4.0", + "lodash.isarguments": "^3.1.0", + "p-map": "^2.1.0", + "redis-commands": "1.7.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + } + }, + "ipaddr.js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==" + }, + "is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==" + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" + }, + "is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==" + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typed-array": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", + "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "requires": { + "call-bind": "^1.0.2" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "json-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-stream/-/json-stream-1.0.0.tgz", + "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "requires": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + } + }, + "jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, + "jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "requires": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" + }, + "lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" + }, + "lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" + }, + "lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "requires": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "requires": { + "get-func-name": "^2.0.0" + } + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" + }, + "mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "requires": { + "mime-db": "1.51.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "minio": { + "version": "7.0.26", + "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.26.tgz", + "integrity": "sha512-knutnEZZMIUB/Xln6psVDrqObFKXDcF9m4IfFIX+zgDHYg3AlcF88DY1wdgg7bUkf+uU8iHkzP2q5CXAhia73w==", + "requires": { + "async": "^3.1.0", + "block-stream2": "^2.0.0", + "browser-or-node": "^1.3.0", + "crypto-browserify": "^3.12.0", + "es6-error": "^4.1.1", + "fast-xml-parser": "^3.17.5", + "ipaddr.js": "^2.0.1", + "json-stream": "^1.0.0", + "lodash": "^4.17.21", + "mime-types": "^2.1.14", + "mkdirp": "^0.5.1", + "querystring": "0.2.0", + "through2": "^3.0.1", + "web-encoding": "^1.1.5", + "xml": "^1.0.0", + "xml2js": "^0.4.15" + } + }, + "minipass": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", + "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", + "requires": { + "yallist": "^4.0.0" + } + }, + "minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "requires": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + } + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "requires": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + } + }, + "nanoid": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==" + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" + }, + "network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" + }, + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + }, + "dependencies": { + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + } + } + }, + "node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==" + }, + "node-gyp-build": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", + "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==", + "optional": true + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + }, + "object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "objectid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", + "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", + "requires": { + "bson": "^0.1.9" + } + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "requires": { + "ee-first": "1.1.1" + } + }, + "one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "requires": { + "fn.name": "1.x.x" + } + }, + "p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==" + }, + "parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" + }, + "pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "phone": { + "version": "2.4.22", + "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", + "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==" + }, + "pick-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pick-port/-/pick-port-1.0.0.tgz", + "integrity": "sha512-8h9ShAAM5z691zpibEAIyQWiGjjxh5AsP62qI9ptceTDxsSy6bJEXxNpHmdFSwIVNtI2+k3DEhDX+1fYxFHHEA==", + "requires": { + "debug": "^4.1.1" + } + }, + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } + }, + "proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "requires": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "dependencies": { + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + } + } + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + }, + "raw-body": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "requires": { + "bytes": "3.1.1", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "redis-commands": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + }, + "redis-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", + "integrity": "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=" + }, + "redis-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", + "integrity": "sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ=", + "requires": { + "redis-errors": "^1.0.0" + } + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" + } + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + } + } + }, + "serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + } + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "shred": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/shred/-/shred-0.8.10.tgz", + "integrity": "sha1-zxz+gPeb9TE9Ltw7kSJ4/RB6hxc=", + "requires": { + "ax": "0.1.8", + "cookiejar": "1.3.1", + "iconv-lite": ">= 0.1.2", + "sprintf": "0.1.1" + } + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "requires": { + "is-arrayish": "^0.3.1" + } + }, + "sprintf": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/sprintf/-/sprintf-0.1.1.tgz", + "integrity": "sha1-6JJfyYlOGqaJnpCRx/KhITC3DeU=" + }, + "sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" + }, + "standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + }, + "swagger-client": { + "version": "2.0.26", + "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-2.0.26.tgz", + "integrity": "sha1-c/FQk/be82nzG5ZwxtlkWzMWPk0=", + "requires": { + "btoa": "1.1.1", + "shred": "0.8.10" + }, + "dependencies": { + "btoa": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.1.tgz", + "integrity": "sha1-J8gQYmMQjp3UH/L6qtKhcEXjXro=" + } + } + }, + "sync": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", + "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "requires": { + "fibers": ">=0.6" + } + }, + "tar": { + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "requires": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "dependencies": { + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + } + } + }, + "text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + }, + "through2": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "requires": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "requires": { + "punycode": "^2.1.0" + } + }, + "utf-8-validate": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.8.tgz", + "integrity": "sha512-k4dW/Qja1BYDl2qD4tOMB9PFVha/UJtxTc1cXYOe3WwA/2m0Yn4qB7wLMpJyLJ/7DR0XnTut3HsCSzDT4ZvKgA==", + "optional": true, + "requires": { + "node-gyp-build": "^4.3.0" + } + }, + "util": { + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", + "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "requires": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "safe-buffer": "^5.1.2", + "which-typed-array": "^1.1.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "wait-port": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-0.2.9.tgz", + "integrity": "sha512-hQ/cVKsNqGZ/UbZB/oakOGFqic00YAMM5/PEj3Bt4vKarv2jWIWzDbqlwT94qMs/exAQAsvMOq99sZblV92zxQ==", + "requires": { + "chalk": "^2.4.2", + "commander": "^3.0.2", + "debug": "^4.1.1" + } + }, + "walk": { + "version": "2.3.15", + "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.15.tgz", + "integrity": "sha512-4eRTBZljBfIISK1Vnt69Gvr2w/wc3U6Vtrw7qiN5iqYJPH7LElcYh/iU4XWhdCy2dZqv1ToMyYlybDylfG/5Vg==", + "requires": { + "foreachasync": "^3.0.0" + } + }, + "web-encoding": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.5.tgz", + "integrity": "sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==", + "requires": { + "@zxing/text-encoding": "0.9.0", + "util": "^0.12.3" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-typed-array": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", + "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.7" + } + }, + "winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "requires": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + } + }, + "winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "requires": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } + } + }, + "ws": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "requires": { + "async-limiter": "~1.0.0" + } + }, + "xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=" + }, + "xml2js": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", + "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + } + }, + "xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + }, + "zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "requires": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "requires": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + } + } + } } diff --git a/mods/dispatcher/package.json b/mods/dispatcher/package.json index afbcd3912..428d72429 100644 --- a/mods/dispatcher/package.json +++ b/mods/dispatcher/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/dispatcher", - "version": "0.1.20-alpha.0", - "description": "Application Router for Fonos", + "name": "@fonoster/dispatcher", + "version": "0.2.40", + "description": "Application Router for Fonoster", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/dispatcher", "types": "dist/dispatcher", @@ -36,18 +36,19 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@fonos/numbers": "^0.1.20-alpha.0", - "@fonos/storage": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/numbers": "^0.2.40", + "@fonoster/storage": "^0.2.40", "ari-client": "^2.2.0", - "axios": "^0.21.1", + "pick-port": "^1.0.0", "wait-port": "^0.2.9", "ws": "^6.2.2" }, diff --git a/mods/dispatcher/src/dispatcher.ts b/mods/dispatcher/src/dispatcher.ts index cfabd704e..7aa57a7fa 100644 --- a/mods/dispatcher/src/dispatcher.ts +++ b/mods/dispatcher/src/dispatcher.ts @@ -1,9 +1,9 @@ #!/usr/bin/env node /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -19,7 +19,7 @@ */ import ari from "ari-client"; import wait from "wait-port"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import events from "./events_handler"; // First try the short env but fallback to the cannonical env @@ -40,7 +40,11 @@ const connection = { wait(connection) .then((open) => { if (open) { - ari.connect(ariHost, ariUsername, ariSecret, events); + // Give time to Media Server to publish the API endpoint + setTimeout( + () => ari.connect(ariHost, ariUsername, ariSecret, events), + 10000 + ) return; } diff --git a/mods/dispatcher/src/events_handler.ts b/mods/dispatcher/src/events_handler.ts index 6bab96e96..37da4af1a 100644 --- a/mods/dispatcher/src/events_handler.ts +++ b/mods/dispatcher/src/events_handler.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,9 +16,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import Auth from "@fonos/auth"; -import Numbers from "@fonos/numbers"; -import logger from "@fonos/logger"; +import Auth from "@fonoster/auth"; +import Numbers from "@fonoster/numbers"; +import logger from "@fonoster/logger"; +import WebSocket from "ws"; import {CallRequest} from "./types"; import {sendCallRequest} from "./utils/send_call_request"; import {getChannelVar, getChannelVarAsJson} from "./utils/channel_variable"; @@ -28,9 +29,13 @@ import {playbackFinishedHandler} from "./handlers/playback_finished"; import {recordFinishHandler} from "./handlers/record_finished"; import {uploadRecording} from "./utils/upload_recording"; import {recordFailedHandler} from "./handlers/record_failed"; -import {destroyBridge, hangup} from "./utils/destroy_channel"; +import {hangup, hangupExternalChannel} from "./utils/destroy_channel"; import {channelTalkingHandler} from "./handlers/channel_talking"; -import WebSocket from "ws"; +import {sendDtmf} from "./handlers/send_dtmf"; +import {answer} from "./utils/answer_channel"; +import {dial} from "./handlers/dial"; +import { ulogger, ULogType } from "@fonoster/logger/src/logger"; + const wsConnections = new Map(); // First try the short env but fallback to the cannonical version @@ -48,7 +53,7 @@ export default function (err: any, ari: any) { if (!didInfo) { // If DID_INFO is not set we need to ignore the event logger.silly( - `@fonos/dispatcher DID_INFO variable not found [ignoring event]` + `@fonoster/dispatcher DID_INFO variable not found [ignoring event]` ); return; } @@ -68,7 +73,7 @@ export default function (err: any, ari: any) { const metadata = await getChannelVarAsJson(channel, "METADATA"); logger.verbose( - `@fonos/dispatcher stasis start [ + `@fonoster/dispatcher stasis start [ \r sessionId = ${channel.id} \r e164Number = ${didInfo} \r webhook = ${webhook} @@ -90,11 +95,11 @@ export default function (err: any, ari: any) { callerId: event.channel.caller.name, callerNumber: event.channel.caller.number, selfEndpoint: webhook, - metadata: metadata + metadata: metadata || {} }; logger.verbose( - `@fonos/dispatcher sending request to mediacontroller [request = ${JSON.stringify( + `@fonoster/dispatcher sending request to mediacontroller [request = ${JSON.stringify( request, null, " " @@ -105,15 +110,21 @@ export default function (err: any, ari: any) { ws.on("open", async () => { wsConnections.set(sessionId, ws); - await sendCallRequest(webhook, request); + sendCallRequest(webhook, request); }); ws.on("error", async (e: Error) => { + const error = `Error communicating with your Webhook: Unable to connect with Webhook ${webhook}` logger.error( - `@fonos/dispatcher cannot connect with voiceapp [webhook = ${webhook}]` + `@fonoster/dispatcher cannot connect with voiceapp [webhook = ${webhook}]` ); - logger.silly(e); - await channel.hangup(); + ulogger({ + accessKeyId: request.accessKeyId, + eventType: ULogType.APP, + level: "error", + message: error + }) + channel.hangup(); }); channel.on("ChannelTalkingStarted", async (event: any, channel: any) => { @@ -123,11 +134,31 @@ export default function (err: any, ari: any) { channel.on("ChannelTalkingFinished", async (event: any, channel: any) => { channelTalkingHandler(wsConnections.get(channel.id), channel.id, false); }); + + channel.on("ChannelLeftBridge", async (event: any, resources: any) => { + logger.verbose( + `@fonoster/dispatcher channel left bridge [bridgeId = ${resources.bridge.id}, channelId = ${resources.channel.id}]` + ); + try { + await channel.hangup(); + } catch (e) { + /* Ignore because because channel might not exist anymore */ + } + try { + await resources.bridge.destroy(); + } catch (e) { + /* Ignore because the bridge might not exist anymore */ + } + }); }); ari.on("ChannelUserevent", async (event: any) => { logger.verbose( - `@fonos/dispatcher [got user event = ${JSON.stringify(event, null, " ")}]` + `@fonoster/dispatcher [got user event = ${JSON.stringify( + event, + null, + " " + )}]` ); const wsClient = wsConnections.get(event.userevent.sessionId); @@ -136,7 +167,7 @@ export default function (err: any, ari: any) { await externalMediaHandler(wsClient, ari, event); break; case "StopExternalMedia": - destroyBridge(ari, event.userevent.sessionId); + await hangupExternalChannel(ari, event.userevent.sessionId); break; case "UploadRecording": await uploadRecording( @@ -144,12 +175,21 @@ export default function (err: any, ari: any) { event.userevent.filename ); break; + case "SendDtmf": + await sendDtmf(wsClient, ari, event); + break; case "Hangup": - await hangup(ari, event.userevent.sessionId, false); + await hangup(ari, event.userevent.sessionId); + break; + case "Answer": + await answer(wsClient, ari, event.userevent.sessionId); + break; + case "Dial": + await dial(wsClient, ari, event, event.userevent.accessKeyId); break; default: logger.error( - `@fonos/dispatcher unknown user ever [name = ${event.eventname}]` + `@fonoster/dispatcher unknown user event [name = ${event.eventname}]` ); } }); @@ -161,16 +201,14 @@ export default function (err: any, ari: any) { ari.on("PlaybackFinished", async (event: any, playback: any) => { playbackFinishedHandler( wsConnections.get(event.playback.target_uri.split(":")[1]), - event, playback ); }); ari.on("RecordingFinished", (event: any) => { - recordFinishHandler( - wsConnections.get(event.recording.target_uri.split(":")[1]), - event - ); + const conn = wsConnections.get(event.recording.name); + // Connection could be null if recording a dialed channel + conn && recordFinishHandler(conn, event); }); ari.on("RecordingFailed", (event: any) => { @@ -180,8 +218,21 @@ export default function (err: any, ari: any) { ); }); - ari.on("StasisEnd", (event: any, channel: any) => { - logger.verbose(`@fonos/dispatcher stasis end [sessionId = ${channel.id}]`); + ari.on("StasisEnd", async (event: any, channel: any) => { + logger.verbose( + `@fonoster/dispatcher stasis end [sessionId = ${channel.id}]` + ); + const ws = wsConnections.get(channel.id); + // The external channels don't have ws connections + if (ws) { + ws.send( + JSON.stringify({ + type: "SessionClosed", + sessionId: channel.id + }) + ); + wsConnections.delete(channel.id); + } }); ari.start("mediacontroller"); diff --git a/mods/dispatcher/src/handlers/channel_talking.ts b/mods/dispatcher/src/handlers/channel_talking.ts index e62ea61cb..7e658afd6 100644 --- a/mods/dispatcher/src/handlers/channel_talking.ts +++ b/mods/dispatcher/src/handlers/channel_talking.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import WebSocket from "ws"; export const channelTalkingHandler = ( @@ -24,10 +24,12 @@ export const channelTalkingHandler = ( sessionId: string, onOff: boolean ) => { - logger.verbose(`@fonos/dispatcher channel talking [on = ${onOff}]`); + logger.verbose(`@fonoster/dispatcher channel talking [on = ${onOff}]`); if (!ws || ws.readyState !== WebSocket.OPEN) { - logger.warn(`@fonos/dispatcher ignoring socket request on lost connection`); + logger.warn( + `@fonoster/dispatcher ignoring socket request on lost connection` + ); return; } diff --git a/mods/dispatcher/src/handlers/dial.ts b/mods/dispatcher/src/handlers/dial.ts new file mode 100644 index 000000000..554450db2 --- /dev/null +++ b/mods/dispatcher/src/handlers/dial.ts @@ -0,0 +1,198 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebSocket from "ws"; +import logger from "@fonoster/logger"; +import {routr} from "@fonoster/core"; +import {uploadRecording} from "../utils/upload_recording"; +import { getChannelVar } from "../utils/channel_variable"; + +const getDomainByNumber = async (e164Number: string) => { + await routr.connect(); + return await routr.getDomainUriFromNumber(e164Number); +}; + +const numberNotInList = (number) => + `the number '${number}' is not assigned to one of your domains. Make sure the number exist and is assigned to a Domain`; + +export const dial = async ( + ws: WebSocket, + ari: any, + event: any, + accessKeyId: string +) => { + const {number, destination, timeout, record, sessionId} = event.userevent; + + logger.verbose( + `@fonoster/dispatcher dialing [request: ${JSON.stringify( + event.userevent, + null, + " " + )}` + ); + + if (ws.readyState !== WebSocket.OPEN) { + logger.warn( + `@fonoster/dispatcher ignoring socket request on lost connection` + ); + return; + } + + // Which Domain has this number assigned to for outbound + const domain = await getDomainByNumber(number); + + if (!domain) { + ws.send( + JSON.stringify({ + type: "DialFailed", + sessionId, + error: numberNotInList(number) + }) + ); + return; + } + + const domainUri = domain.spec.context.domainUri; + + logger.verbose( + `@fonoster/dispatcher dialing [endpoint = sip:${destination}@${domainUri}]` + ); + + const channel = await ari.channels.get({channelId: sessionId}); + const bridgeId = await getChannelVar(channel, "CURRENT_BRIDGE"); + let bridge = await ari.bridges.get({bridgeId: bridgeId}); + + if(!bridge) { + bridge = await ari.bridges.create({ + type: "mixing" + }); + } + + const dialed = ari.Channel(); + + await dialed.originate({ + app: "mediacontroller", + endpoint: `PJSIP/routr/sip:${destination}@${domainUri}`, + timeout + }); + + dialed.on("StasisStart", async (event: any, channel: any) => { + try { + if (bridgeId) { + await bridge.addChannel({channel: dialed.id}); + } else { + // Is a new bridge so we need to add both channels + await bridge.addChannel({channel: [sessionId, dialed.id]}); + } + + if (record) { + if (record.direction === "in" || record.direction === "both") { + const channel = await ari.channels.snoopChannel({ + app: "mediacontroller", + channelId: sessionId, + spy: "in" + }); + await ari.channels.record({ + channelId: channel.id, + format: "wav", + name: `${sessionId}_in`, + ifExists: "overwrite" + }); + } + + if (record.direction === "out" || record.direction === "both") { + const channel = await ari.channels.snoopChannel({ + app: "mediacontroller", + channelId: dialed.id, + spy: "in" + }); + await ari.channels.record({ + channelId: channel.id, + format: "wav", + name: `${sessionId}_out`, + ifExists: "overwrite" + }); + } + } + } catch (e) { + logger.warn(e); + // It is possible that the originating side was already closed + await dialed.hangup(); + } + }); + + dialed.on("ChannelLeftBridge", async (event: any, resources: any) => { + logger.verbose( + `@fonoster/dispatcher dialed channel left bridge [bridgeId = ${resources.bridge.id}, channelId = ${resources.channel.id}]` + ); + try { + dialed.hangup(); + } catch (e) { /** We can only try */ } + + try { + await resources.bridge.destroy(); + } catch (e) { + /* Ignore because the bridge might not exist anymore */ + } + }); + + dialed.on("StasisEnd", async (event: any, channel: any) => { + if (record) { + if (record.direction === "in" || record.direction === "both") { + await uploadRecording(accessKeyId, `${sessionId}_in.wav`); + } + + if (record.direction === "out" || record.direction === "both") { + await uploadRecording(accessKeyId, `${sessionId}_out.wav`); + } + } + }); + + // TODO: Make all the values into variables + dialed.on("Dial", async (event: any, channel: any) => { + let status = event.dialstatus.toLowerCase(); + if ( + !["cancel", "answer", "busy", "progress", "noanswer"].includes(status) + ) { + return; + } else if (status === "chanunavail" || status === "congestion") { + status = "failed"; + } + + ws.send( + JSON.stringify({ + type: "DialStatusChanged", + sessionId, + data: { + status + } + }) + ); + }); + + ws.send( + JSON.stringify({ + type: "DialStatusChanged", + sessionId, + data: { + status: "trying", + destination + } + }) + ); +}; diff --git a/mods/dispatcher/src/handlers/dtmf_received.ts b/mods/dispatcher/src/handlers/dtmf_received.ts index c8b77c968..0f91131ba 100644 --- a/mods/dispatcher/src/handlers/dtmf_received.ts +++ b/mods/dispatcher/src/handlers/dtmf_received.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import WebSocket from "ws"; export const dtmfReceivedHandler = ( @@ -25,11 +25,13 @@ export const dtmfReceivedHandler = ( channel: any ) => { logger.verbose( - `@fonos/dispatcher sending dtmf event [digit: ${event.digit}, channel=${channel.id}]` + `@fonoster/dispatcher sending dtmf event [digit: ${event.digit}, channel=${channel.id}]` ); if (!ws || ws.readyState !== WebSocket.OPEN) { - logger.warn(`@fonos/dispatcher ignoring socket request on lost connection`); + logger.warn( + `@fonoster/dispatcher ignoring socket request on lost connection` + ); return; } diff --git a/mods/dispatcher/src/handlers/external_media.ts b/mods/dispatcher/src/handlers/external_media.ts index 5527be6f0..353e70176 100644 --- a/mods/dispatcher/src/handlers/external_media.ts +++ b/mods/dispatcher/src/handlers/external_media.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,8 +18,9 @@ */ import WebSocket from "ws"; import UDPMediaReceiver from "../udp_media_receiver"; -import logger from "@fonos/logger"; -import {getRandomPort, sendData, streamConfig} from "../utils/udp_server_utils"; +import logger from "@fonoster/logger"; +import {sendData, streamConfig} from "../utils/udp_server_utils"; +import pickPort from "pick-port"; export const externalMediaHandler = async ( ws: WebSocket, @@ -27,11 +28,13 @@ export const externalMediaHandler = async ( event: any ) => { if (!ws || ws.readyState !== WebSocket.OPEN) { - logger.warn(`@fonos/dispatcher ignoring socket request on lost connection`); + logger.warn( + `@fonoster/dispatcher ignoring socket request on lost connection` + ); return; } - // WARNING: We should check if the port was taken - const address = `0.0.0.0:${getRandomPort()}`; + const port = await pickPort(); + const address = `0.0.0.0:${port}`; const udpServer = new UDPMediaReceiver(address, true); const bridge = ari.Bridge(); const externalChannel = ari.Channel(); @@ -45,6 +48,24 @@ export const externalMediaHandler = async ( bridge.addChannel({channel: channel.id}) ); + externalChannel.on("StasisEnd", () => { + try { + udpServer.close(); + } catch (e) { + console.warn(e); + } + }); + + externalChannel.on( + "ChannelLeftBridge", + async (event: any, resources: any) => { + logger.verbose( + `@fonoster/dispatcher external channel left bridge [bridgeId = ${resources.bridge.id}, channelId = ${resources.channel.id}]` + ); + await resources.channel.hangup(); + } + ); + // We save the bridge id as channel bar and later use the info // to destroy the bridge ari.channels.setChannelVar({ @@ -53,9 +74,18 @@ export const externalMediaHandler = async ( value: bridge.id }); + // We save the bridge id as channel bar and later use the info + // to destroy the bridge + ari.channels.setChannelVar({ + channelId: sessionId, + variable: "EXTERNAL_CHANNEL", + value: externalChannel.id + }); + // Collecting and forwarding media udpServer .getServer() .on("data", (data: Buffer) => sendData(ws, data, sessionId)); + await externalChannel.externalMedia(streamConfig(address)); }; diff --git a/mods/dispatcher/src/handlers/playback_finished.ts b/mods/dispatcher/src/handlers/playback_finished.ts index a7d25e33d..eee6f7248 100644 --- a/mods/dispatcher/src/handlers/playback_finished.ts +++ b/mods/dispatcher/src/handlers/playback_finished.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,19 +17,17 @@ * limitations under the License. */ import WebSocket from "ws"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; -export const playbackFinishedHandler = ( - ws: WebSocket, - event: any, - playback: any -) => { +export const playbackFinishedHandler = (ws: WebSocket, playback: any) => { logger.verbose( - `@fonos/dispatcher sending playback finished event [playbackId: ${playback.id}]` + `@fonoster/dispatcher sending playback finished event [playbackId: ${playback.id}]` ); if (ws.readyState !== WebSocket.OPEN) { - logger.warn(`@fonos/dispatcher ignoring socket request on lost connection`); + logger.warn( + `@fonoster/dispatcher ignoring socket request on lost connection` + ); return; } diff --git a/mods/dispatcher/src/handlers/record_failed.ts b/mods/dispatcher/src/handlers/record_failed.ts index d8c400825..934077b80 100644 --- a/mods/dispatcher/src/handlers/record_failed.ts +++ b/mods/dispatcher/src/handlers/record_failed.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,11 +17,11 @@ * limitations under the License. */ import WebSocket from "ws"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export const recordFailedHandler = (ws: WebSocket, event: any) => { logger.verbose( - `@fonos/dispatcher sending recording failed event [filename: ${event.recording.name}]` + `@fonoster/dispatcher sending recording failed event [filename: ${event.recording.name}]` ); ws.send( diff --git a/mods/dispatcher/src/handlers/record_finished.ts b/mods/dispatcher/src/handlers/record_finished.ts index 83480dbfc..978bcdb04 100644 --- a/mods/dispatcher/src/handlers/record_finished.ts +++ b/mods/dispatcher/src/handlers/record_finished.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,15 +17,17 @@ * limitations under the License. */ import WebSocket from "ws"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export const recordFinishHandler = (ws: WebSocket, event: any) => { logger.verbose( - `@fonos/dispatcher sending recording finished event [filename: ${event.recording.name}]` + `@fonoster/dispatcher sending recording finished event [filename: ${event.recording.name}]` ); if (ws.readyState !== WebSocket.OPEN) { - logger.warn(`@fonos/dispatcher ignoring socket request on lost connection`); + logger.warn( + `@fonoster/dispatcher ignoring socket request on lost connection` + ); return; } diff --git a/mods/dispatcher/src/handlers/send_dtmf.ts b/mods/dispatcher/src/handlers/send_dtmf.ts new file mode 100644 index 000000000..dffd5fe60 --- /dev/null +++ b/mods/dispatcher/src/handlers/send_dtmf.ts @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebSocket from "ws"; +import logger from "@fonoster/logger"; + +export const sendDtmf = async (ws: WebSocket, ari: any, event: any) => { + logger.verbose( + `@fonoster/dispatcher sending dtmf tones [sesionId: ${event.userevent.sessionId}, tones: ${event.userevent.dtmf}]` + ); + + const channel = await ari.channels.get({ + channelId: event.userevent.sessionId + }); + + if (ws.readyState !== WebSocket.OPEN) { + logger.warn( + `@fonoster/dispatcher ignoring socket request on lost connection` + ); + return; + } + + await channel.sendDTMF({ + dtmf: event.userevent.dtmf + }); + + ws.send( + JSON.stringify({ + type: "SendDtmfFinished", + sessionId: event.userevent.sessionId + }) + ); +}; diff --git a/mods/dispatcher/src/types.ts b/mods/dispatcher/src/types.ts index 0311ac75d..288a7e1ba 100644 --- a/mods/dispatcher/src/types.ts +++ b/mods/dispatcher/src/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/dispatcher/src/udp_media_receiver.ts b/mods/dispatcher/src/udp_media_receiver.ts index 03a658a53..d0d79456e 100644 --- a/mods/dispatcher/src/udp_media_receiver.ts +++ b/mods/dispatcher/src/udp_media_receiver.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ */ import fs from "fs"; import dgram from "dgram"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; const pipe = require("stream").prototype.pipe; export default class UDPMediaReceiver { @@ -28,7 +28,12 @@ export default class UDPMediaReceiver { address: string; port: number; fileStream: fs.WriteStream; + // Timeout to close the udp receiver. It feels hacky, but it works + timeToAutoClose: number = 120000; constructor(host: string, swap16?: boolean, alsoWritePath?: string) { + let timer = setTimeout(() => { + this.close(); + }, this.timeToAutoClose); this.server = dgram.createSocket("udp4"); // Add the Stream.pipe() method to the socket this.server.pipe = pipe; @@ -45,7 +50,9 @@ export default class UDPMediaReceiver { } this.server.on("error", (err) => { - logger.error(`@fonos/dispatcher udpServer [server error:\n${err.stack}]`); + logger.error( + `@fonoster/dispatcher udpServer [server error:\n${err.stack}]` + ); this.server.close(); if (this.fileStream) { this.fileStream.close(); @@ -53,7 +60,7 @@ export default class UDPMediaReceiver { }); this.server.on("close", (err) => { - logger.verbose(`@fonos/dispatcher udpServer [server socket closed]`); + logger.verbose(`@fonoster/dispatcher udpServer [server socket closed]`); if (this.fileStream) { this.fileStream.close(); } @@ -69,12 +76,18 @@ export default class UDPMediaReceiver { this.fileStream.write(buf); } this.server.emit("data", buf); + + // WARNING: Hack to automatically close the port + clearTimeout(timer); + timer = setTimeout(() => { + this.close(); + }, this.timeToAutoClose); }); this.server.on("listening", () => { const address = this.server.address(); logger.verbose( - `@fonos/dispatcher udpServer [address = ${address.address}:${address.port}]` + `@fonoster/dispatcher udpServer [address = ${address.address}:${address.port}]` ); }); @@ -86,7 +99,9 @@ export default class UDPMediaReceiver { } close() { - logger.verbose(`@fonos/dispatcher udpServer [closing server]`); - this.server.close(); + logger.verbose(`@fonoster/dispatcher udpServer [closing server socket]`); + try { + this.server.close(); + } catch(e) { /** We can only try */} } } diff --git a/mods/dispatcher/src/utils/answer_channel.ts b/mods/dispatcher/src/utils/answer_channel.ts new file mode 100644 index 000000000..29a8d94ba --- /dev/null +++ b/mods/dispatcher/src/utils/answer_channel.ts @@ -0,0 +1,40 @@ +import logger from "@fonoster/logger"; +import WebSocket from "ws"; +import {getChannelVar} from "./channel_variable"; + +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export async function answer(ws: WebSocket, ari: any, sessionId: string) { + try { + logger.verbose( + `@fonoster/dispatcher acepting call request [session = ${sessionId}]` + ); + + await ari.channels.answer({channelId: sessionId}); + + ws.send( + JSON.stringify({ + type: "SessionOpen", + sessionId + }) + ); + } catch (e) { + logger.error(e); + } +} diff --git a/mods/dispatcher/src/utils/channel_variable.ts b/mods/dispatcher/src/utils/channel_variable.ts index 162694257..740341dcf 100644 --- a/mods/dispatcher/src/utils/channel_variable.ts +++ b/mods/dispatcher/src/utils/channel_variable.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,14 +16,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export async function getChannelVar( channel: any, variable: string ): Promise { logger.verbose( - `@fonos/dispatcher get var [variable "${variable}" @ session "${channel.id}"]` + `@fonoster/dispatcher get var [variable "${variable}" @ session "${channel.id}"]` ); try { const channelVar = await channel.getChannelVar({ diff --git a/mods/dispatcher/src/utils/destroy_channel.ts b/mods/dispatcher/src/utils/destroy_channel.ts index 0349ecd4c..1b9785793 100644 --- a/mods/dispatcher/src/utils/destroy_channel.ts +++ b/mods/dispatcher/src/utils/destroy_channel.ts @@ -1,11 +1,12 @@ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; +import WebSocket from "ws"; import {getChannelVar} from "./channel_variable"; /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -19,45 +20,43 @@ import {getChannelVar} from "./channel_variable"; * See the License for the specific language governing permissions and * limitations under the License. */ -export async function hangup( - ari: any, - sessionId: string, - destroyBridge = false -) { +export async function hangup(ari: any, sessionId: string) { try { const channel = await ari.channels.get({channelId: sessionId}); + const externalChannelId = await getChannelVar(channel, "EXTERNAL_CHANNEL"); const bridgeId = await getChannelVar(channel, "CURRENT_BRIDGE"); logger.verbose( - `@fonos/dispatcher hangup and destroy bridge [session = ${sessionId}, bridge = ${bridgeId}]` + `@fonoster/dispatcher hangup and destroy bridge [session = ${sessionId}, bridge = ${bridgeId}]` ); - if (bridgeId && destroyBridge) { + if (bridgeId) { await ari.bridges.removeChannel({bridgeId, channel: sessionId}); + await ari.bridges.removeChannel({bridgeId, channel: externalChannelId}); await ari.bridges.destroy({bridgeId}); } - await channel.destroy(); + channel.hangup(); } catch (e) { /** We can only try because the channel might be already closed */ } } -export async function destroyBridge(ari: any, sessionId: string) { +export async function hangupExternalChannel(ari: any, sessionId: string) { try { const channel = await ari.channels.get({channelId: sessionId}); + const externalChannelId = await getChannelVar(channel, "EXTERNAL_CHANNEL"); const bridgeId = await getChannelVar(channel, "CURRENT_BRIDGE"); logger.verbose( - `@fonos/dispatcher remove channel and destroy bridge [session = ${sessionId}, bridge = ${bridgeId}]` + `@fonoster/dispatcher remove external media channel [session = ${sessionId}, bridge = ${bridgeId}]` ); - if (bridgeId) { - await ari.bridges.removeChannel({bridgeId, channel: sessionId}); - await ari.bridges.destroy({bridgeId}); + if (bridgeId && externalChannelId) { + await ari.bridges.removeChannel({bridgeId, channel: externalChannelId}); return; } logger.warning( - `@fonos/dispatcher no bridge found [sessionId = ${sessionId}]` + `@fonoster/dispatcher no bridge or external chanel found [sessionId = ${sessionId}]` ); } catch (e) { /** We can only try because the channel might be already closed */ diff --git a/mods/dispatcher/src/utils/send_call_request.ts b/mods/dispatcher/src/utils/send_call_request.ts index d596bacfd..9a5b8ea13 100644 --- a/mods/dispatcher/src/utils/send_call_request.ts +++ b/mods/dispatcher/src/utils/send_call_request.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,7 +16,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; +import { ulogger, ULogType } from "@fonoster/logger/src/logger"; import axios from "axios"; import {CallRequest} from "../types"; @@ -24,11 +25,18 @@ export const sendCallRequest = async (url: string, request: CallRequest) => { try { const response = await axios.post(url, request); logger.verbose( - `@fonos/dispatcher mediacontroller [response = ${ + `@fonoster/dispatcher mediacontroller [response = ${ response.data ? response.data.data : "no response" }]` ); } catch (e) { - logger.error(`Unable to send request to voice app at [url = ${url}]`); + const error = `Error communicating with your Voice application: Unable to connect with ${url}` + logger.error(error); + ulogger({ + accessKeyId: request.accessKeyId, + eventType: ULogType.APP, + level: "error", + message: error + }) } }; diff --git a/mods/dispatcher/src/utils/udp_server_utils.ts b/mods/dispatcher/src/utils/udp_server_utils.ts index 8be59c4e6..1c76c39ca 100644 --- a/mods/dispatcher/src/utils/udp_server_utils.ts +++ b/mods/dispatcher/src/utils/udp_server_utils.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,9 +18,6 @@ */ import WebSocket from "ws"; -export const getRandomPort = () => - Math.floor(Math.random() * (6000 - 5060)) + 10000; - export function sendData(ws: WebSocket, data: Buffer, sessionId: string) { try { ws.send( @@ -39,6 +36,6 @@ export function streamConfig(address: string) { return { app: "mediacontroller", external_host: address, - ormat: "slin16" + format: "slin16" }; } diff --git a/mods/dispatcher/src/utils/upload_recording.ts b/mods/dispatcher/src/utils/upload_recording.ts index 6afe5cd97..794f95e5c 100644 --- a/mods/dispatcher/src/utils/upload_recording.ts +++ b/mods/dispatcher/src/utils/upload_recording.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,23 +16,28 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import Auth from "@fonos/auth"; -import Storage from "@fonos/storage"; -import logger from "@fonos/logger"; +import Auth from "@fonoster/auth"; +import Storage from "@fonoster/storage"; +import logger from "@fonoster/logger"; export const uploadRecording = async ( accessKeyId: string, filename: string ) => { logger.verbose( - `@fonos/dispatcher creating short-life token [accessKeyId = ${accessKeyId}]` + `@fonoster/dispatcher creating short-life token [accessKeyId = ${accessKeyId}]` ); const auth = new Auth(); - const access = await auth.createToken({accessKeyId}); + // Creates a PROJECT level token with 10 minutes expiration + const access = await auth.createToken({ + accessKeyId, + expiration: "10m", + roleName: "PROJECT" + }); const storage = new Storage({accessKeyId, accessKeySecret: access.token}); logger.verbose( - `@fonos/dispatcher uploading file to storage subsystem [filename = ${filename}]` + `@fonoster/dispatcher uploading file to storage subsystem [filename = ${filename}]` ); if (!process.env.RECORDINGS_PATH) { @@ -40,7 +45,7 @@ export const uploadRecording = async ( } await storage.uploadObject({ - // WARNING: Hardcoded value + // TODO: Place bucket name on a constant bucket: "recordings", filename: `${process.env.RECORDINGS_PATH}/${filename}` }); diff --git a/mods/dispatcher/test/dispatcher.unit.test.ts b/mods/dispatcher/test/dispatcher.unit.test.ts index 3598498e7..ba932dbdb 100644 --- a/mods/dispatcher/test/dispatcher.unit.test.ts +++ b/mods/dispatcher/test/dispatcher.unit.test.ts @@ -1,4 +1,4 @@ // No much to test here -describe("@fonos/dispatcher", () => { +describe("@fonoster/dispatcher", () => { it("needs tests"); }); diff --git a/mods/domains/.lerna-changed-buster-7825 b/mods/domains/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/domains/Dockerfile b/mods/domains/Dockerfile index a5300a4e5..86eb29f1e 100644 --- a/mods/domains/Dockerfile +++ b/mods/domains/Dockerfile @@ -3,7 +3,7 @@ COPY . /scripts RUN ./install.sh RUN link /usr/bin/run_domains /usr/bin/run \ && link /usr/bin/healthcheck_domains /usr/bin/healthcheck -USER fonos +USER fonoster HEALTHCHECK --interval=30s \ --timeout=30s \ --start-period=5s \ diff --git a/mods/domains/package.json b/mods/domains/package.json index bc00e1bc0..820c17b36 100644 --- a/mods/domains/package.json +++ b/mods/domains/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/domains", - "version": "0.1.20-alpha.0", + "name": "@fonoster/domains", + "version": "0.2.40", "description": "VoIP Domains", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/client/domains", "types": "dist/client/domains", @@ -37,16 +37,16 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "google-protobuf": "^3.17.0", "grpc-promise": "^1.4.0", diff --git a/mods/domains/src/client/domains.ts b/mods/domains/src/client/domains.ts index 15d85e8b7..ba32f636b 100644 --- a/mods/domains/src/client/domains.ts +++ b/mods/domains/src/client/domains.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -24,38 +24,39 @@ import { ListDomainsRequest, ListDomainsResponse, GetDomainResponse, - DeleteDomainResponse + DeleteDomainResponse, + IDomainsClient } from "./types"; -import {FonosService, ServiceOptions} from "@fonos/common"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {DomainsClient} from "../service/protos/domains_grpc_pb"; import DomainsPB from "../service/protos/domains_pb"; import CommonPB from "../service/protos/common_pb"; import {promisifyAll} from "grpc-promise"; /** - * @classdesc Use Fonos Domains, a capability of Fonos SIP Proxy Subsystem, + * @classdesc Use Fonoster Domains, a capability of Fonoster SIP Proxy Subsystem, * to create, update, get and delete Domains. The API requires of a running - * Fonos deployment. + *Fonoster deployment. * - * @extends FonosService + * @extends APIClient * @example * - * const Fonos = require("@fonos/sdk"); - * const domains = new Fonos.Domains(); + * const Fonoster = require("@fonoster/sdk"); + * const domains = new Fonoster.Domains(); * * domains.createDomain({name: "Local Domain", domainUri: "sip.local"...}) * .then(result => { * console.log(result) // successful response * }).catch(e => console.error(e)); // an error occurred */ -export default class Domains extends FonosService { +export default class Domains extends APIClient implements IDomainsClient { /** * Constructs a new Domains object. * - * @param {ServiceOptions} options - Options to indicate the objects endpoint - * @see module:core:FonosService + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(DomainsClient, options); super.init(); promisifyAll(super.getService(), {metadata: super.getMeta()}); @@ -96,16 +97,13 @@ export default class Domains extends FonosService { async createDomain( request: CreateDomainRequest ): Promise { - const domain = new DomainsPB.Domain(); - domain.setName(request.name); - domain.setDomainUri(request.domainUri); - domain.setEgressRule(request.egressRule); - domain.setEgressNumberRef(request.egressNumberRef); - domain.setAccessDenyList(request.accessDeny); - domain.setAccessAllowList(request.accessAllow); - const outRequest = new DomainsPB.CreateDomainRequest(); - outRequest.setDomain(domain); + outRequest.setName(request.name); + outRequest.setDomainUri(request.domainUri); + outRequest.setEgressRule(request.egressRule); + outRequest.setEgressNumberRef(request.egressNumberRef); + outRequest.setAccessDenyList(request.accessDeny); + outRequest.setAccessAllowList(request.accessAllow); const res = await super.getService().createDomain().sendMessage(outRequest); @@ -189,25 +187,18 @@ export default class Domains extends FonosService { async updateDomain( request: UpdateDomainRequest ): Promise { - const getDomainRequest = new DomainsPB.GetDomainRequest(); - getDomainRequest.setRef(request.ref); - const domain = await super - .getService() - .getDomain() - .sendMessage(getDomainRequest); + const outRequest = new DomainsPB.UpdateDomainRequest(); + outRequest.setRef(request.ref); - if (request.name) domain.setName(request.name); - if (request.egressRule) domain.setEgressRule(request.egressRule); + if (request.name) outRequest.setName(request.name); + if (request.egressRule) outRequest.setEgressRule(request.egressRule); if (request.egressNumberRef) { - domain.setEgressNumberRef(request.egressNumberRef); + outRequest.setEgressNumberRef(request.egressNumberRef); } - if (request.accessDeny) domain.setAccessDenyList(request.accessDeny); - if (request.accessAllow) domain.setAccessAllowList(request.accessAllow); - - const req = new DomainsPB.UpdateDomainRequest(); - req.setDomain(domain); + if (request.accessDeny) outRequest.setAccessDenyList(request.accessDeny); + if (request.accessAllow) outRequest.setAccessAllowList(request.accessAllow); - const res = await super.getService().updateDomain().sendMessage(req); + const res = await super.getService().updateDomain().sendMessage(outRequest); return { ref: res.getRef() @@ -215,7 +206,7 @@ export default class Domains extends FonosService { } /** - * List the Domains registered in Fonos SIP Proxy subsystem. + * List the Domains registered in Fonoster SIP Proxy subsystem. * * @param {ListDomainsRequest} request - Optional parameter with size and * token for the request @@ -283,7 +274,7 @@ export default class Domains extends FonosService { } } -export {DomainsPB, CommonPB}; +export {DomainsPB, CommonPB, IDomainsClient}; // WARNING: Workaround for support to commonjs clients module.exports = Domains; diff --git a/mods/domains/src/client/types.ts b/mods/domains/src/client/types.ts index 674c3861a..1f8b2fecc 100644 --- a/mods/domains/src/client/types.ts +++ b/mods/domains/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +export interface IDomainsClient { + createDomain(request: CreateDomainRequest): Promise; + getDomain(ref: string): Promise; + updateDomain(request: UpdateDomainRequest): Promise; + listDomains(request: ListDomainsRequest): Promise; + deleteDomain(ref: string): Promise; +} + export interface Domain { ref: string; name: string; @@ -29,7 +37,6 @@ export interface Domain { } export interface CreateDomainRequest { - ref?: string; name: string; domainUri: string; egressRule?: string; diff --git a/mods/domains/src/protos/domains.proto b/mods/domains/src/protos/domains.proto index 5b775bb37..ab7b42cc3 100644 --- a/mods/domains/src/protos/domains.proto +++ b/mods/domains/src/protos/domains.proto @@ -1,73 +1,116 @@ /** * MIT License - * Copyright (c) 2020 Fonoster Inc + * Copyright (c) 2021 Fonoster Inc * * The Domains proto contains the artificats for domains administration */ syntax = "proto3"; -package fonos.domains.v1beta1; +package fonoster.domains.v1beta1; -import "common.proto"; +option go_package = "github.com/fonoster/fonoster/mods/domains/fonoster/services/protos/domains"; +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "common.proto"; + service Domains { // Lists domains from the SIP Proxy subsystem rpc ListDomains (ListDomainsRequest) returns (ListDomainsResponse) {}; - // Creates a new Domain resource. - rpc CreateDomain (CreateDomainRequest) returns (Domain) {}; - // Gets Domain using its reference - rpc GetDomain (GetDomainRequest) returns (Domain) {}; + // Creates a new Domain resource + rpc CreateDomain (CreateDomainRequest) returns (Domain) { + option (google.api.http) = { + post: "/v1beta1/domains" + body: "*" + }; + }; + // Gets a Domain by reference + rpc GetDomain (GetDomainRequest) returns (Domain) { + option (google.api.http) = { get: "/v1beta1/domains/{ref}" }; + }; // Change or update fields in a resource - rpc UpdateDomain (UpdateDomainRequest) returns (Domain) {}; + rpc UpdateDomain (UpdateDomainRequest) returns (Domain) { + option (google.api.http) = { + put: "/v1beta1/domains/{ref}" + body: "*" + }; + }; // Hard delete of a domain resource - rpc DeleteDomain (DeleteDomainRequest) returns (fonos.common.v1beta1.Empty) {}; + rpc DeleteDomain (DeleteDomainRequest) returns (fonoster.common.v1beta1.Empty) { + option (google.api.http) = { + delete: "/v1beta1/domains/{ref}" + }; + }; } message ListDomainsRequest { - // The maximum number of items to return. + // The maximum number of items to return int32 page_size = 1; - // The next_page_token value returned from a previous List request, if any. + // The next_page_token value returned from the previous request, if any string page_token = 2; - // Level of detail of the individual entities - fonos.common.v1beta1.View view = 3; + // Level of detail of the individual entities (reserved) + fonoster.common.v1beta1.View view = 3; } message ListDomainsResponse { - // There will be a maximum number of items returned based on the page_size field - // in the request. + // List of Domains repeated Domain domains = 1; - // Token to retrieve the next page of results, or empty if there are no - // more results in the list. + // Token to retrieve the next page of results, or empty if there are no more results in the list string next_page_token = 2; } message CreateDomainRequest { - Domain domain = 1; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"Acme Corp\", \"domainUri\": \"sip.acme.com\", \"egressRule\": \".*\", \"egressNumberRef\": \"1yyB170ozd\"}" + }; + string name = 1 [(google.api.field_behavior) = REQUIRED]; + string domain_uri = 2 [(google.api.field_behavior) = REQUIRED]; + string egress_rule = 3; + string egress_number_ref = 4; + repeated string access_deny = 5; + repeated string access_allow = 6; } message UpdateDomainRequest { - Domain domain = 1; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"egressNumberRef\": \"1yyB170ozd\"}" + }; + // Domain's reference + string ref = 1 [(google.api.field_behavior) = REQUIRED]; + string name = 2; + string egress_rule = 3; + string egress_number_ref = 4; + repeated string access_deny = 5; + repeated string access_allow = 6; } message GetDomainRequest { + // Domain's reference string ref = 1; } message DeleteDomainRequest { + // Domain's reference string ref = 1; } message Domain { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"ref\": \"tyyB1z0tgj\", \"name\": \"Acme Corp\", \"domainUri\": \"sip.acme.com\", \"egressRule\": \".*\", \"egressNumberRef\": \"1yyB170ozd\", \"createTime\": \"2021-10-05T13:23:07.221Z\", \"updateTime\": \"2021-10-05T13:23:07.221Z\"}" + }; + // Domain's reference string ref = 1; - string name = 2; - string domain_uri = 3; - string egress_rule = 4; + string name = 2 [(google.api.field_behavior) = REQUIRED]; + string domain_uri = 3 [(google.api.field_behavior) = REQUIRED]; + string egress_rule = 4 ; string egress_number_ref = 5; repeated string access_deny = 6; repeated string access_allow = 7; - string create_time = 8; - string update_time = 9; + string create_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + string update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } + diff --git a/mods/domains/src/service/domains.ts b/mods/domains/src/service/domains.ts index 22849e67f..2c6f1b07c 100644 --- a/mods/domains/src/service/domains.ts +++ b/mods/domains/src/service/domains.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -41,7 +41,7 @@ import { Kind, ResourceBuilder, updateResource -} from "@fonos/core"; +} from "@fonoster/core"; import unmarshalDomain from "./decoder"; import decoder from "./decoder"; import isValidDomain from "is-valid-domain"; @@ -66,11 +66,11 @@ class DomainsServer implements IDomainsServer { call: grpc.ServerUnaryCall, callback: grpc.sendUnaryData ) { - const domain = call.request.getDomain(); + const request = call.request; const domainUri = process.env.GLOBAL_SIP_DOMAIN - ? `${domain.getDomainUri()}.${process.env.GLOBAL_SIP_DOMAIN}` - : domain.getDomainUri(); + ? `${request.getDomainUri()}.${process.env.GLOBAL_SIP_DOMAIN}` + : request.getDomainUri(); if (isValidDomain(domainUri) == false) { callback( @@ -80,19 +80,15 @@ class DomainsServer implements IDomainsServer { return; } - if (!domain.getEgressRule) { + if (request.getEgressNumberRef() && !request.getEgressRule()) { callback(new Error("Egress Rule can't be null"), null); return; } try { - const resource = new ResourceBuilder( - Kind.DOMAIN, - domain.getName(), - domain.getRef() - ) + const resource = new ResourceBuilder(Kind.DOMAIN, request.getName(), null) .withDomainUri(domainUri) - .withEgressPolicy(domain.getEgressRule(), domain.getEgressNumberRef()) - .withACL(domain.getAccessAllowList(), domain.getAccessDenyList()) + .withEgressPolicy(request.getEgressRule(), request.getEgressNumberRef()) + .withACL(request.getAccessAllowList(), request.getAccessDenyList()) .withMetadata({accessKeyId: getAccessKeyId(call)}) .build(); @@ -107,24 +103,29 @@ class DomainsServer implements IDomainsServer { call: grpc.ServerUnaryCall, callback: grpc.sendUnaryData ) { - const domain = call.request.getDomain(); - if (!domain.getEgressRule) { + const request = call.request; + if (request.getEgressNumberRef() && !request.getEgressRule()) { callback(new Error("Egress Rule can't be null"), null); return; } try { + const domain = (await ResourceServer.getResource( + Kind.DOMAIN, + call + )) as any; + + console.log("test-> " + domain); + const resource = new ResourceBuilder( Kind.DOMAIN, - domain.getName(), - domain.getRef() + request.getName(), + request.getRef() ) .withMetadata({ - createdOn: domain.getCreateTime(), - modifiedOn: domain.getUpdateTime() + createdOn: domain.metadata.createdOn }) - .withDomainUri(domain.getDomainUri()) - .withEgressPolicy(domain.getEgressRule(), domain.getEgressNumberRef()) - .withACL(domain.getAccessAllowList(), domain.getAccessDenyList()) + .withEgressPolicy(request.getEgressRule(), request.getEgressNumberRef()) + .withACL(request.getAccessAllowList(), request.getAccessDenyList()) .build(); const result = await updateResource({ diff --git a/mods/domains/src/service/healthcheck.ts b/mods/domains/src/service/healthcheck.ts index 03ef418cd..c024ae500 100644 --- a/mods/domains/src/service/healthcheck.ts +++ b/mods/domains/src/service/healthcheck.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; //healthcheck(); diff --git a/mods/domains/src/service/protos/common_pb.d.ts b/mods/domains/src/service/protos/common_pb.d.ts index 5311b1717..f8b5fb810 100644 --- a/mods/domains/src/service/protos/common_pb.d.ts +++ b/mods/domains/src/service/protos/common_pb.d.ts @@ -1,42 +1,49 @@ -// package: fonos.common.v1beta1 +// package: fonoster.common.v1beta1 // file: common.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; -export class Error extends jspb.Message { +export class Empty extends jspb.Message { serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Error.AsObject; - static toObject(includeInstance: boolean, msg: Error): Error.AsObject; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Error; - static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; } -export namespace Error { +export namespace Empty { export type AsObject = { } } -export class Empty extends jspb.Message { +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Empty.AsObject; - static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Empty; - static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; } -export namespace Empty { +export namespace ErrorResponse { export type AsObject = { + status: number, + message: string, } } diff --git a/mods/domains/src/service/protos/common_pb.js b/mods/domains/src/service/protos/common_pb.js index 4efc688db..b7f99c7ea 100644 --- a/mods/domains/src/service/protos/common_pb.js +++ b/mods/domains/src/service/protos/common_pb.js @@ -15,9 +15,11 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.common.v1beta1.Empty', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.Error', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -28,16 +30,16 @@ goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Error = function(opt_data) { +proto.fonoster.common.v1beta1.Empty = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Error, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Error.displayName = 'proto.fonos.common.v1beta1.Error'; + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; } /** * Generated by JsPbCodeGenerator. @@ -49,16 +51,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Empty = function(opt_data) { +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Empty, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Empty.displayName = 'proto.fonos.common.v1beta1.Empty'; + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; } @@ -76,8 +78,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Error.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); }; @@ -86,11 +88,11 @@ proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Error} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -106,23 +108,23 @@ proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Error; - return proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Error} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -142,9 +144,9 @@ proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Error.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -152,11 +154,11 @@ proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Error} message + * @param {!proto.fonoster.common.v1beta1.Empty} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -177,8 +179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Empty.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); }; @@ -187,13 +189,14 @@ proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Empty} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { var f, obj = { - + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -207,29 +210,37 @@ proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Empty; - return proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; default: reader.skipField(); break; @@ -243,9 +254,9 @@ proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -253,22 +264,72 @@ proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Empty} message + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** * @enum {number} */ -proto.fonos.common.v1beta1.View = { +proto.fonoster.common.v1beta1.View = { BASIC: 0, STANDARD: 1, FULL: 2 }; -goog.object.extend(exports, proto.fonos.common.v1beta1); +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/domains/src/service/protos/domains_grpc_pb.d.ts b/mods/domains/src/service/protos/domains_grpc_pb.d.ts index 544ac5ab4..e9da2ba9f 100644 --- a/mods/domains/src/service/protos/domains_grpc_pb.d.ts +++ b/mods/domains/src/service/protos/domains_grpc_pb.d.ts @@ -1,11 +1,14 @@ -// package: fonos.domains.v1beta1 +// package: fonoster.domains.v1beta1 // file: domains.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as domains_pb from "./domains_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; import * as common_pb from "./common_pb"; interface IDomainsService extends grpc.ServiceDefinition { @@ -17,7 +20,7 @@ interface IDomainsService extends grpc.ServiceDefinition { - path: "/fonos.domains.v1beta1.Domains/ListDomains"; + path: "/fonoster.domains.v1beta1.Domains/ListDomains"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -26,7 +29,7 @@ interface IDomainsService_IListDomains extends grpc.MethodDefinition; } interface IDomainsService_ICreateDomain extends grpc.MethodDefinition { - path: "/fonos.domains.v1beta1.Domains/CreateDomain"; + path: "/fonoster.domains.v1beta1.Domains/CreateDomain"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -35,7 +38,7 @@ interface IDomainsService_ICreateDomain extends grpc.MethodDefinition; } interface IDomainsService_IGetDomain extends grpc.MethodDefinition { - path: "/fonos.domains.v1beta1.Domains/GetDomain"; + path: "/fonoster.domains.v1beta1.Domains/GetDomain"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -44,7 +47,7 @@ interface IDomainsService_IGetDomain extends grpc.MethodDefinition; } interface IDomainsService_IUpdateDomain extends grpc.MethodDefinition { - path: "/fonos.domains.v1beta1.Domains/UpdateDomain"; + path: "/fonoster.domains.v1beta1.Domains/UpdateDomain"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -53,7 +56,7 @@ interface IDomainsService_IUpdateDomain extends grpc.MethodDefinition; } interface IDomainsService_IDeleteDomain extends grpc.MethodDefinition { - path: "/fonos.domains.v1beta1.Domains/DeleteDomain"; + path: "/fonoster.domains.v1beta1.Domains/DeleteDomain"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; diff --git a/mods/domains/src/service/protos/domains_grpc_pb.js b/mods/domains/src/service/protos/domains_grpc_pb.js index 4e42aed4f..40d10ac78 100644 --- a/mods/domains/src/service/protos/domains_grpc_pb.js +++ b/mods/domains/src/service/protos/domains_grpc_pb.js @@ -3,99 +3,102 @@ // Original file comments: // * // MIT License -// Copyright (c) 2020 Fonoster Inc +// Copyright (c) 2021 Fonoster Inc // // The Domains proto contains the artificats for domains administration 'use strict'; var grpc = require('@grpc/grpc-js'); var domains_pb = require('./domains_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); var common_pb = require('./common_pb.js'); -function serialize_fonos_common_v1beta1_Empty(arg) { +function serialize_fonoster_common_v1beta1_Empty(arg) { if (!(arg instanceof common_pb.Empty)) { - throw new Error('Expected argument of type fonos.common.v1beta1.Empty'); + throw new Error('Expected argument of type fonoster.common.v1beta1.Empty'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_common_v1beta1_Empty(buffer_arg) { +function deserialize_fonoster_common_v1beta1_Empty(buffer_arg) { return common_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_domains_v1beta1_CreateDomainRequest(arg) { +function serialize_fonoster_domains_v1beta1_CreateDomainRequest(arg) { if (!(arg instanceof domains_pb.CreateDomainRequest)) { - throw new Error('Expected argument of type fonos.domains.v1beta1.CreateDomainRequest'); + throw new Error('Expected argument of type fonoster.domains.v1beta1.CreateDomainRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_domains_v1beta1_CreateDomainRequest(buffer_arg) { +function deserialize_fonoster_domains_v1beta1_CreateDomainRequest(buffer_arg) { return domains_pb.CreateDomainRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_domains_v1beta1_DeleteDomainRequest(arg) { +function serialize_fonoster_domains_v1beta1_DeleteDomainRequest(arg) { if (!(arg instanceof domains_pb.DeleteDomainRequest)) { - throw new Error('Expected argument of type fonos.domains.v1beta1.DeleteDomainRequest'); + throw new Error('Expected argument of type fonoster.domains.v1beta1.DeleteDomainRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_domains_v1beta1_DeleteDomainRequest(buffer_arg) { +function deserialize_fonoster_domains_v1beta1_DeleteDomainRequest(buffer_arg) { return domains_pb.DeleteDomainRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_domains_v1beta1_Domain(arg) { +function serialize_fonoster_domains_v1beta1_Domain(arg) { if (!(arg instanceof domains_pb.Domain)) { - throw new Error('Expected argument of type fonos.domains.v1beta1.Domain'); + throw new Error('Expected argument of type fonoster.domains.v1beta1.Domain'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_domains_v1beta1_Domain(buffer_arg) { +function deserialize_fonoster_domains_v1beta1_Domain(buffer_arg) { return domains_pb.Domain.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_domains_v1beta1_GetDomainRequest(arg) { +function serialize_fonoster_domains_v1beta1_GetDomainRequest(arg) { if (!(arg instanceof domains_pb.GetDomainRequest)) { - throw new Error('Expected argument of type fonos.domains.v1beta1.GetDomainRequest'); + throw new Error('Expected argument of type fonoster.domains.v1beta1.GetDomainRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_domains_v1beta1_GetDomainRequest(buffer_arg) { +function deserialize_fonoster_domains_v1beta1_GetDomainRequest(buffer_arg) { return domains_pb.GetDomainRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_domains_v1beta1_ListDomainsRequest(arg) { +function serialize_fonoster_domains_v1beta1_ListDomainsRequest(arg) { if (!(arg instanceof domains_pb.ListDomainsRequest)) { - throw new Error('Expected argument of type fonos.domains.v1beta1.ListDomainsRequest'); + throw new Error('Expected argument of type fonoster.domains.v1beta1.ListDomainsRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_domains_v1beta1_ListDomainsRequest(buffer_arg) { +function deserialize_fonoster_domains_v1beta1_ListDomainsRequest(buffer_arg) { return domains_pb.ListDomainsRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_domains_v1beta1_ListDomainsResponse(arg) { +function serialize_fonoster_domains_v1beta1_ListDomainsResponse(arg) { if (!(arg instanceof domains_pb.ListDomainsResponse)) { - throw new Error('Expected argument of type fonos.domains.v1beta1.ListDomainsResponse'); + throw new Error('Expected argument of type fonoster.domains.v1beta1.ListDomainsResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_domains_v1beta1_ListDomainsResponse(buffer_arg) { +function deserialize_fonoster_domains_v1beta1_ListDomainsResponse(buffer_arg) { return domains_pb.ListDomainsResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_domains_v1beta1_UpdateDomainRequest(arg) { +function serialize_fonoster_domains_v1beta1_UpdateDomainRequest(arg) { if (!(arg instanceof domains_pb.UpdateDomainRequest)) { - throw new Error('Expected argument of type fonos.domains.v1beta1.UpdateDomainRequest'); + throw new Error('Expected argument of type fonoster.domains.v1beta1.UpdateDomainRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_domains_v1beta1_UpdateDomainRequest(buffer_arg) { +function deserialize_fonoster_domains_v1beta1_UpdateDomainRequest(buffer_arg) { return domains_pb.UpdateDomainRequest.deserializeBinary(new Uint8Array(buffer_arg)); } @@ -103,63 +106,63 @@ function deserialize_fonos_domains_v1beta1_UpdateDomainRequest(buffer_arg) { var DomainsService = exports.DomainsService = { // Lists domains from the SIP Proxy subsystem listDomains: { - path: '/fonos.domains.v1beta1.Domains/ListDomains', + path: '/fonoster.domains.v1beta1.Domains/ListDomains', requestStream: false, responseStream: false, requestType: domains_pb.ListDomainsRequest, responseType: domains_pb.ListDomainsResponse, - requestSerialize: serialize_fonos_domains_v1beta1_ListDomainsRequest, - requestDeserialize: deserialize_fonos_domains_v1beta1_ListDomainsRequest, - responseSerialize: serialize_fonos_domains_v1beta1_ListDomainsResponse, - responseDeserialize: deserialize_fonos_domains_v1beta1_ListDomainsResponse, + requestSerialize: serialize_fonoster_domains_v1beta1_ListDomainsRequest, + requestDeserialize: deserialize_fonoster_domains_v1beta1_ListDomainsRequest, + responseSerialize: serialize_fonoster_domains_v1beta1_ListDomainsResponse, + responseDeserialize: deserialize_fonoster_domains_v1beta1_ListDomainsResponse, }, - // Creates a new Domain resource. + // Creates a new Domain resource createDomain: { - path: '/fonos.domains.v1beta1.Domains/CreateDomain', + path: '/fonoster.domains.v1beta1.Domains/CreateDomain', requestStream: false, responseStream: false, requestType: domains_pb.CreateDomainRequest, responseType: domains_pb.Domain, - requestSerialize: serialize_fonos_domains_v1beta1_CreateDomainRequest, - requestDeserialize: deserialize_fonos_domains_v1beta1_CreateDomainRequest, - responseSerialize: serialize_fonos_domains_v1beta1_Domain, - responseDeserialize: deserialize_fonos_domains_v1beta1_Domain, + requestSerialize: serialize_fonoster_domains_v1beta1_CreateDomainRequest, + requestDeserialize: deserialize_fonoster_domains_v1beta1_CreateDomainRequest, + responseSerialize: serialize_fonoster_domains_v1beta1_Domain, + responseDeserialize: deserialize_fonoster_domains_v1beta1_Domain, }, - // Gets Domain using its reference + // Gets a Domain by reference getDomain: { - path: '/fonos.domains.v1beta1.Domains/GetDomain', + path: '/fonoster.domains.v1beta1.Domains/GetDomain', requestStream: false, responseStream: false, requestType: domains_pb.GetDomainRequest, responseType: domains_pb.Domain, - requestSerialize: serialize_fonos_domains_v1beta1_GetDomainRequest, - requestDeserialize: deserialize_fonos_domains_v1beta1_GetDomainRequest, - responseSerialize: serialize_fonos_domains_v1beta1_Domain, - responseDeserialize: deserialize_fonos_domains_v1beta1_Domain, + requestSerialize: serialize_fonoster_domains_v1beta1_GetDomainRequest, + requestDeserialize: deserialize_fonoster_domains_v1beta1_GetDomainRequest, + responseSerialize: serialize_fonoster_domains_v1beta1_Domain, + responseDeserialize: deserialize_fonoster_domains_v1beta1_Domain, }, // Change or update fields in a resource updateDomain: { - path: '/fonos.domains.v1beta1.Domains/UpdateDomain', + path: '/fonoster.domains.v1beta1.Domains/UpdateDomain', requestStream: false, responseStream: false, requestType: domains_pb.UpdateDomainRequest, responseType: domains_pb.Domain, - requestSerialize: serialize_fonos_domains_v1beta1_UpdateDomainRequest, - requestDeserialize: deserialize_fonos_domains_v1beta1_UpdateDomainRequest, - responseSerialize: serialize_fonos_domains_v1beta1_Domain, - responseDeserialize: deserialize_fonos_domains_v1beta1_Domain, + requestSerialize: serialize_fonoster_domains_v1beta1_UpdateDomainRequest, + requestDeserialize: deserialize_fonoster_domains_v1beta1_UpdateDomainRequest, + responseSerialize: serialize_fonoster_domains_v1beta1_Domain, + responseDeserialize: deserialize_fonoster_domains_v1beta1_Domain, }, // Hard delete of a domain resource deleteDomain: { - path: '/fonos.domains.v1beta1.Domains/DeleteDomain', + path: '/fonoster.domains.v1beta1.Domains/DeleteDomain', requestStream: false, responseStream: false, requestType: domains_pb.DeleteDomainRequest, responseType: common_pb.Empty, - requestSerialize: serialize_fonos_domains_v1beta1_DeleteDomainRequest, - requestDeserialize: deserialize_fonos_domains_v1beta1_DeleteDomainRequest, - responseSerialize: serialize_fonos_common_v1beta1_Empty, - responseDeserialize: deserialize_fonos_common_v1beta1_Empty, + requestSerialize: serialize_fonoster_domains_v1beta1_DeleteDomainRequest, + requestDeserialize: deserialize_fonoster_domains_v1beta1_DeleteDomainRequest, + responseSerialize: serialize_fonoster_common_v1beta1_Empty, + responseDeserialize: deserialize_fonoster_common_v1beta1_Empty, }, }; diff --git a/mods/domains/src/service/protos/domains_pb.d.ts b/mods/domains/src/service/protos/domains_pb.d.ts index 6cc2991bf..b210d61bf 100644 --- a/mods/domains/src/service/protos/domains_pb.d.ts +++ b/mods/domains/src/service/protos/domains_pb.d.ts @@ -1,10 +1,12 @@ -// package: fonos.domains.v1beta1 +// package: fonoster.domains.v1beta1 // file: domains.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; import * as common_pb from "./common_pb"; export class ListDomainsRequest extends jspb.Message { @@ -59,11 +61,22 @@ export namespace ListDomainsResponse { } export class CreateDomainRequest extends jspb.Message { - - hasDomain(): boolean; - clearDomain(): void; - getDomain(): Domain | undefined; - setDomain(value?: Domain): CreateDomainRequest; + getName(): string; + setName(value: string): CreateDomainRequest; + getDomainUri(): string; + setDomainUri(value: string): CreateDomainRequest; + getEgressRule(): string; + setEgressRule(value: string): CreateDomainRequest; + getEgressNumberRef(): string; + setEgressNumberRef(value: string): CreateDomainRequest; + clearAccessDenyList(): void; + getAccessDenyList(): Array; + setAccessDenyList(value: Array): CreateDomainRequest; + addAccessDeny(value: string, index?: number): string; + clearAccessAllowList(): void; + getAccessAllowList(): Array; + setAccessAllowList(value: Array): CreateDomainRequest; + addAccessAllow(value: string, index?: number): string; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateDomainRequest.AsObject; @@ -77,16 +90,32 @@ export class CreateDomainRequest extends jspb.Message { export namespace CreateDomainRequest { export type AsObject = { - domain?: Domain.AsObject, + name: string, + domainUri: string, + egressRule: string, + egressNumberRef: string, + accessDenyList: Array, + accessAllowList: Array, } } export class UpdateDomainRequest extends jspb.Message { - - hasDomain(): boolean; - clearDomain(): void; - getDomain(): Domain | undefined; - setDomain(value?: Domain): UpdateDomainRequest; + getRef(): string; + setRef(value: string): UpdateDomainRequest; + getName(): string; + setName(value: string): UpdateDomainRequest; + getEgressRule(): string; + setEgressRule(value: string): UpdateDomainRequest; + getEgressNumberRef(): string; + setEgressNumberRef(value: string): UpdateDomainRequest; + clearAccessDenyList(): void; + getAccessDenyList(): Array; + setAccessDenyList(value: Array): UpdateDomainRequest; + addAccessDeny(value: string, index?: number): string; + clearAccessAllowList(): void; + getAccessAllowList(): Array; + setAccessAllowList(value: Array): UpdateDomainRequest; + addAccessAllow(value: string, index?: number): string; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateDomainRequest.AsObject; @@ -100,7 +129,12 @@ export class UpdateDomainRequest extends jspb.Message { export namespace UpdateDomainRequest { export type AsObject = { - domain?: Domain.AsObject, + ref: string, + name: string, + egressRule: string, + egressNumberRef: string, + accessDenyList: Array, + accessAllowList: Array, } } diff --git a/mods/domains/src/service/protos/domains_pb.js b/mods/domains/src/service/protos/domains_pb.js index 82ec449c1..ebc67ac53 100644 --- a/mods/domains/src/service/protos/domains_pb.js +++ b/mods/domains/src/service/protos/domains_pb.js @@ -15,15 +15,21 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +goog.object.extend(proto, google_api_field_behavior_pb); var common_pb = require('./common_pb.js'); goog.object.extend(proto, common_pb); -goog.exportSymbol('proto.fonos.domains.v1beta1.CreateDomainRequest', null, global); -goog.exportSymbol('proto.fonos.domains.v1beta1.DeleteDomainRequest', null, global); -goog.exportSymbol('proto.fonos.domains.v1beta1.Domain', null, global); -goog.exportSymbol('proto.fonos.domains.v1beta1.GetDomainRequest', null, global); -goog.exportSymbol('proto.fonos.domains.v1beta1.ListDomainsRequest', null, global); -goog.exportSymbol('proto.fonos.domains.v1beta1.ListDomainsResponse', null, global); -goog.exportSymbol('proto.fonos.domains.v1beta1.UpdateDomainRequest', null, global); +goog.exportSymbol('proto.fonoster.domains.v1beta1.CreateDomainRequest', null, global); +goog.exportSymbol('proto.fonoster.domains.v1beta1.DeleteDomainRequest', null, global); +goog.exportSymbol('proto.fonoster.domains.v1beta1.Domain', null, global); +goog.exportSymbol('proto.fonoster.domains.v1beta1.GetDomainRequest', null, global); +goog.exportSymbol('proto.fonoster.domains.v1beta1.ListDomainsRequest', null, global); +goog.exportSymbol('proto.fonoster.domains.v1beta1.ListDomainsResponse', null, global); +goog.exportSymbol('proto.fonoster.domains.v1beta1.UpdateDomainRequest', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -34,16 +40,16 @@ goog.exportSymbol('proto.fonos.domains.v1beta1.UpdateDomainRequest', null, globa * @extends {jspb.Message} * @constructor */ -proto.fonos.domains.v1beta1.ListDomainsRequest = function(opt_data) { +proto.fonoster.domains.v1beta1.ListDomainsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.domains.v1beta1.ListDomainsRequest, jspb.Message); +goog.inherits(proto.fonoster.domains.v1beta1.ListDomainsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.domains.v1beta1.ListDomainsRequest.displayName = 'proto.fonos.domains.v1beta1.ListDomainsRequest'; + proto.fonoster.domains.v1beta1.ListDomainsRequest.displayName = 'proto.fonoster.domains.v1beta1.ListDomainsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -55,16 +61,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.domains.v1beta1.ListDomainsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.domains.v1beta1.ListDomainsResponse.repeatedFields_, null); +proto.fonoster.domains.v1beta1.ListDomainsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.domains.v1beta1.ListDomainsResponse.repeatedFields_, null); }; -goog.inherits(proto.fonos.domains.v1beta1.ListDomainsResponse, jspb.Message); +goog.inherits(proto.fonoster.domains.v1beta1.ListDomainsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.domains.v1beta1.ListDomainsResponse.displayName = 'proto.fonos.domains.v1beta1.ListDomainsResponse'; + proto.fonoster.domains.v1beta1.ListDomainsResponse.displayName = 'proto.fonoster.domains.v1beta1.ListDomainsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -76,16 +82,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.domains.v1beta1.CreateDomainRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.fonoster.domains.v1beta1.CreateDomainRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.domains.v1beta1.CreateDomainRequest.repeatedFields_, null); }; -goog.inherits(proto.fonos.domains.v1beta1.CreateDomainRequest, jspb.Message); +goog.inherits(proto.fonoster.domains.v1beta1.CreateDomainRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.domains.v1beta1.CreateDomainRequest.displayName = 'proto.fonos.domains.v1beta1.CreateDomainRequest'; + proto.fonoster.domains.v1beta1.CreateDomainRequest.displayName = 'proto.fonoster.domains.v1beta1.CreateDomainRequest'; } /** * Generated by JsPbCodeGenerator. @@ -97,16 +103,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.domains.v1beta1.UpdateDomainRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.fonoster.domains.v1beta1.UpdateDomainRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.domains.v1beta1.UpdateDomainRequest.repeatedFields_, null); }; -goog.inherits(proto.fonos.domains.v1beta1.UpdateDomainRequest, jspb.Message); +goog.inherits(proto.fonoster.domains.v1beta1.UpdateDomainRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.domains.v1beta1.UpdateDomainRequest.displayName = 'proto.fonos.domains.v1beta1.UpdateDomainRequest'; + proto.fonoster.domains.v1beta1.UpdateDomainRequest.displayName = 'proto.fonoster.domains.v1beta1.UpdateDomainRequest'; } /** * Generated by JsPbCodeGenerator. @@ -118,16 +124,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.domains.v1beta1.GetDomainRequest = function(opt_data) { +proto.fonoster.domains.v1beta1.GetDomainRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.domains.v1beta1.GetDomainRequest, jspb.Message); +goog.inherits(proto.fonoster.domains.v1beta1.GetDomainRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.domains.v1beta1.GetDomainRequest.displayName = 'proto.fonos.domains.v1beta1.GetDomainRequest'; + proto.fonoster.domains.v1beta1.GetDomainRequest.displayName = 'proto.fonoster.domains.v1beta1.GetDomainRequest'; } /** * Generated by JsPbCodeGenerator. @@ -139,16 +145,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.domains.v1beta1.DeleteDomainRequest = function(opt_data) { +proto.fonoster.domains.v1beta1.DeleteDomainRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.domains.v1beta1.DeleteDomainRequest, jspb.Message); +goog.inherits(proto.fonoster.domains.v1beta1.DeleteDomainRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.domains.v1beta1.DeleteDomainRequest.displayName = 'proto.fonos.domains.v1beta1.DeleteDomainRequest'; + proto.fonoster.domains.v1beta1.DeleteDomainRequest.displayName = 'proto.fonoster.domains.v1beta1.DeleteDomainRequest'; } /** * Generated by JsPbCodeGenerator. @@ -160,16 +166,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.domains.v1beta1.Domain = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.domains.v1beta1.Domain.repeatedFields_, null); +proto.fonoster.domains.v1beta1.Domain = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.domains.v1beta1.Domain.repeatedFields_, null); }; -goog.inherits(proto.fonos.domains.v1beta1.Domain, jspb.Message); +goog.inherits(proto.fonoster.domains.v1beta1.Domain, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.domains.v1beta1.Domain.displayName = 'proto.fonos.domains.v1beta1.Domain'; + proto.fonoster.domains.v1beta1.Domain.displayName = 'proto.fonoster.domains.v1beta1.Domain'; } @@ -187,8 +193,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.domains.v1beta1.ListDomainsRequest.toObject(opt_includeInstance, this); +proto.fonoster.domains.v1beta1.ListDomainsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.domains.v1beta1.ListDomainsRequest.toObject(opt_includeInstance, this); }; @@ -197,11 +203,11 @@ proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.domains.v1beta1.ListDomainsRequest} msg The msg instance to transform. + * @param {!proto.fonoster.domains.v1beta1.ListDomainsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.ListDomainsRequest.toObject = function(includeInstance, msg) { +proto.fonoster.domains.v1beta1.ListDomainsRequest.toObject = function(includeInstance, msg) { var f, obj = { pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0), pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -219,23 +225,23 @@ proto.fonos.domains.v1beta1.ListDomainsRequest.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.domains.v1beta1.ListDomainsRequest} + * @return {!proto.fonoster.domains.v1beta1.ListDomainsRequest} */ -proto.fonos.domains.v1beta1.ListDomainsRequest.deserializeBinary = function(bytes) { +proto.fonoster.domains.v1beta1.ListDomainsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.domains.v1beta1.ListDomainsRequest; - return proto.fonos.domains.v1beta1.ListDomainsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.domains.v1beta1.ListDomainsRequest; + return proto.fonoster.domains.v1beta1.ListDomainsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.domains.v1beta1.ListDomainsRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.domains.v1beta1.ListDomainsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.domains.v1beta1.ListDomainsRequest} + * @return {!proto.fonoster.domains.v1beta1.ListDomainsRequest} */ -proto.fonos.domains.v1beta1.ListDomainsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.domains.v1beta1.ListDomainsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -251,7 +257,7 @@ proto.fonos.domains.v1beta1.ListDomainsRequest.deserializeBinaryFromReader = fun msg.setPageToken(value); break; case 3: - var value = /** @type {!proto.fonos.common.v1beta1.View} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.common.v1beta1.View} */ (reader.readEnum()); msg.setView(value); break; default: @@ -267,9 +273,9 @@ proto.fonos.domains.v1beta1.ListDomainsRequest.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.serializeBinary = function() { +proto.fonoster.domains.v1beta1.ListDomainsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.domains.v1beta1.ListDomainsRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.domains.v1beta1.ListDomainsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -277,11 +283,11 @@ proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.domains.v1beta1.ListDomainsRequest} message + * @param {!proto.fonoster.domains.v1beta1.ListDomainsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.ListDomainsRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.domains.v1beta1.ListDomainsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPageSize(); if (f !== 0) { @@ -311,16 +317,16 @@ proto.fonos.domains.v1beta1.ListDomainsRequest.serializeBinaryToWriter = functio * optional int32 page_size = 1; * @return {number} */ -proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.getPageSize = function() { +proto.fonoster.domains.v1beta1.ListDomainsRequest.prototype.getPageSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.fonos.domains.v1beta1.ListDomainsRequest} returns this + * @return {!proto.fonoster.domains.v1beta1.ListDomainsRequest} returns this */ -proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.setPageSize = function(value) { +proto.fonoster.domains.v1beta1.ListDomainsRequest.prototype.setPageSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -329,34 +335,34 @@ proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.setPageSize = function( * optional string page_token = 2; * @return {string} */ -proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.getPageToken = function() { +proto.fonoster.domains.v1beta1.ListDomainsRequest.prototype.getPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.ListDomainsRequest} returns this + * @return {!proto.fonoster.domains.v1beta1.ListDomainsRequest} returns this */ -proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.setPageToken = function(value) { +proto.fonoster.domains.v1beta1.ListDomainsRequest.prototype.setPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional fonos.common.v1beta1.View view = 3; - * @return {!proto.fonos.common.v1beta1.View} + * optional fonoster.common.v1beta1.View view = 3; + * @return {!proto.fonoster.common.v1beta1.View} */ -proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.getView = function() { - return /** @type {!proto.fonos.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.fonoster.domains.v1beta1.ListDomainsRequest.prototype.getView = function() { + return /** @type {!proto.fonoster.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!proto.fonos.common.v1beta1.View} value - * @return {!proto.fonos.domains.v1beta1.ListDomainsRequest} returns this + * @param {!proto.fonoster.common.v1beta1.View} value + * @return {!proto.fonoster.domains.v1beta1.ListDomainsRequest} returns this */ -proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.setView = function(value) { +proto.fonoster.domains.v1beta1.ListDomainsRequest.prototype.setView = function(value) { return jspb.Message.setProto3EnumField(this, 3, value); }; @@ -367,7 +373,7 @@ proto.fonos.domains.v1beta1.ListDomainsRequest.prototype.setView = function(valu * @private {!Array} * @const */ -proto.fonos.domains.v1beta1.ListDomainsResponse.repeatedFields_ = [1]; +proto.fonoster.domains.v1beta1.ListDomainsResponse.repeatedFields_ = [1]; @@ -384,8 +390,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.domains.v1beta1.ListDomainsResponse.toObject(opt_includeInstance, this); +proto.fonoster.domains.v1beta1.ListDomainsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.domains.v1beta1.ListDomainsResponse.toObject(opt_includeInstance, this); }; @@ -394,14 +400,14 @@ proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.domains.v1beta1.ListDomainsResponse} msg The msg instance to transform. + * @param {!proto.fonoster.domains.v1beta1.ListDomainsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.ListDomainsResponse.toObject = function(includeInstance, msg) { +proto.fonoster.domains.v1beta1.ListDomainsResponse.toObject = function(includeInstance, msg) { var f, obj = { domainsList: jspb.Message.toObjectList(msg.getDomainsList(), - proto.fonos.domains.v1beta1.Domain.toObject, includeInstance), + proto.fonoster.domains.v1beta1.Domain.toObject, includeInstance), nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; @@ -416,23 +422,23 @@ proto.fonos.domains.v1beta1.ListDomainsResponse.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.domains.v1beta1.ListDomainsResponse} + * @return {!proto.fonoster.domains.v1beta1.ListDomainsResponse} */ -proto.fonos.domains.v1beta1.ListDomainsResponse.deserializeBinary = function(bytes) { +proto.fonoster.domains.v1beta1.ListDomainsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.domains.v1beta1.ListDomainsResponse; - return proto.fonos.domains.v1beta1.ListDomainsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.domains.v1beta1.ListDomainsResponse; + return proto.fonoster.domains.v1beta1.ListDomainsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.domains.v1beta1.ListDomainsResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.domains.v1beta1.ListDomainsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.domains.v1beta1.ListDomainsResponse} + * @return {!proto.fonoster.domains.v1beta1.ListDomainsResponse} */ -proto.fonos.domains.v1beta1.ListDomainsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.domains.v1beta1.ListDomainsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -440,8 +446,8 @@ proto.fonos.domains.v1beta1.ListDomainsResponse.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.domains.v1beta1.Domain; - reader.readMessage(value,proto.fonos.domains.v1beta1.Domain.deserializeBinaryFromReader); + var value = new proto.fonoster.domains.v1beta1.Domain; + reader.readMessage(value,proto.fonoster.domains.v1beta1.Domain.deserializeBinaryFromReader); msg.addDomains(value); break; case 2: @@ -461,9 +467,9 @@ proto.fonos.domains.v1beta1.ListDomainsResponse.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.serializeBinary = function() { +proto.fonoster.domains.v1beta1.ListDomainsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.domains.v1beta1.ListDomainsResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.domains.v1beta1.ListDomainsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -471,18 +477,18 @@ proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.domains.v1beta1.ListDomainsResponse} message + * @param {!proto.fonoster.domains.v1beta1.ListDomainsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.ListDomainsResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.domains.v1beta1.ListDomainsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDomainsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.fonos.domains.v1beta1.Domain.serializeBinaryToWriter + proto.fonoster.domains.v1beta1.Domain.serializeBinaryToWriter ); } f = message.getNextPageToken(); @@ -497,38 +503,38 @@ proto.fonos.domains.v1beta1.ListDomainsResponse.serializeBinaryToWriter = functi /** * repeated Domain domains = 1; - * @return {!Array} + * @return {!Array} */ -proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.getDomainsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.fonos.domains.v1beta1.Domain, 1)); +proto.fonoster.domains.v1beta1.ListDomainsResponse.prototype.getDomainsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.fonoster.domains.v1beta1.Domain, 1)); }; /** - * @param {!Array} value - * @return {!proto.fonos.domains.v1beta1.ListDomainsResponse} returns this + * @param {!Array} value + * @return {!proto.fonoster.domains.v1beta1.ListDomainsResponse} returns this */ -proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.setDomainsList = function(value) { +proto.fonoster.domains.v1beta1.ListDomainsResponse.prototype.setDomainsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.fonos.domains.v1beta1.Domain=} opt_value + * @param {!proto.fonoster.domains.v1beta1.Domain=} opt_value * @param {number=} opt_index - * @return {!proto.fonos.domains.v1beta1.Domain} + * @return {!proto.fonoster.domains.v1beta1.Domain} */ -proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.addDomains = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonos.domains.v1beta1.Domain, opt_index); +proto.fonoster.domains.v1beta1.ListDomainsResponse.prototype.addDomains = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.domains.v1beta1.Domain, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.domains.v1beta1.ListDomainsResponse} returns this + * @return {!proto.fonoster.domains.v1beta1.ListDomainsResponse} returns this */ -proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.clearDomainsList = function() { +proto.fonoster.domains.v1beta1.ListDomainsResponse.prototype.clearDomainsList = function() { return this.setDomainsList([]); }; @@ -537,21 +543,28 @@ proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.clearDomainsList = fun * optional string next_page_token = 2; * @return {string} */ -proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.getNextPageToken = function() { +proto.fonoster.domains.v1beta1.ListDomainsResponse.prototype.getNextPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.ListDomainsResponse} returns this + * @return {!proto.fonoster.domains.v1beta1.ListDomainsResponse} returns this */ -proto.fonos.domains.v1beta1.ListDomainsResponse.prototype.setNextPageToken = function(value) { +proto.fonoster.domains.v1beta1.ListDomainsResponse.prototype.setNextPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.repeatedFields_ = [5,6]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -567,8 +580,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.domains.v1beta1.CreateDomainRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.domains.v1beta1.CreateDomainRequest.toObject(opt_includeInstance, this); +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.domains.v1beta1.CreateDomainRequest.toObject(opt_includeInstance, this); }; @@ -577,13 +590,18 @@ proto.fonos.domains.v1beta1.CreateDomainRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.domains.v1beta1.CreateDomainRequest} msg The msg instance to transform. + * @param {!proto.fonoster.domains.v1beta1.CreateDomainRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.CreateDomainRequest.toObject = function(includeInstance, msg) { +proto.fonoster.domains.v1beta1.CreateDomainRequest.toObject = function(includeInstance, msg) { var f, obj = { - domain: (f = msg.getDomain()) && proto.fonos.domains.v1beta1.Domain.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + domainUri: jspb.Message.getFieldWithDefault(msg, 2, ""), + egressRule: jspb.Message.getFieldWithDefault(msg, 3, ""), + egressNumberRef: jspb.Message.getFieldWithDefault(msg, 4, ""), + accessDenyList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + accessAllowList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -597,23 +615,23 @@ proto.fonos.domains.v1beta1.CreateDomainRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.domains.v1beta1.CreateDomainRequest} + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} */ -proto.fonos.domains.v1beta1.CreateDomainRequest.deserializeBinary = function(bytes) { +proto.fonoster.domains.v1beta1.CreateDomainRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.domains.v1beta1.CreateDomainRequest; - return proto.fonos.domains.v1beta1.CreateDomainRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.domains.v1beta1.CreateDomainRequest; + return proto.fonoster.domains.v1beta1.CreateDomainRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.domains.v1beta1.CreateDomainRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.domains.v1beta1.CreateDomainRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.domains.v1beta1.CreateDomainRequest} + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} */ -proto.fonos.domains.v1beta1.CreateDomainRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.domains.v1beta1.CreateDomainRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -621,9 +639,28 @@ proto.fonos.domains.v1beta1.CreateDomainRequest.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.domains.v1beta1.Domain; - reader.readMessage(value,proto.fonos.domains.v1beta1.Domain.deserializeBinaryFromReader); - msg.setDomain(value); + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDomainUri(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEgressRule(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setEgressNumberRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addAccessDeny(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addAccessAllow(value); break; default: reader.skipField(); @@ -638,9 +675,9 @@ proto.fonos.domains.v1beta1.CreateDomainRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.domains.v1beta1.CreateDomainRequest.prototype.serializeBinary = function() { +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.domains.v1beta1.CreateDomainRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.domains.v1beta1.CreateDomainRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -648,60 +685,210 @@ proto.fonos.domains.v1beta1.CreateDomainRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.domains.v1beta1.CreateDomainRequest} message + * @param {!proto.fonoster.domains.v1beta1.CreateDomainRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.CreateDomainRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.domains.v1beta1.CreateDomainRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getDomain(); - if (f != null) { - writer.writeMessage( + f = message.getName(); + if (f.length > 0) { + writer.writeString( 1, - f, - proto.fonos.domains.v1beta1.Domain.serializeBinaryToWriter + f + ); + } + f = message.getDomainUri(); + if (f.length > 0) { + writer.writeString( + 2, + f ); } + f = message.getEgressRule(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getEgressNumberRef(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getAccessDenyList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } + f = message.getAccessAllowList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * optional Domain domain = 1; - * @return {?proto.fonos.domains.v1beta1.Domain} + * @param {string} value + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this */ -proto.fonos.domains.v1beta1.CreateDomainRequest.prototype.getDomain = function() { - return /** @type{?proto.fonos.domains.v1beta1.Domain} */ ( - jspb.Message.getWrapperField(this, proto.fonos.domains.v1beta1.Domain, 1)); +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * @param {?proto.fonos.domains.v1beta1.Domain|undefined} value - * @return {!proto.fonos.domains.v1beta1.CreateDomainRequest} returns this -*/ -proto.fonos.domains.v1beta1.CreateDomainRequest.prototype.setDomain = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * optional string domain_uri = 2; + * @return {string} + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.getDomainUri = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.setDomainUri = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string egress_rule = 3; + * @return {string} + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.getEgressRule = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.setEgressRule = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string egress_number_ref = 4; + * @return {string} + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.getEgressNumberRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.setEgressNumberRef = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated string access_deny = 5; + * @return {!Array} + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.getAccessDenyList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** - * Clears the message field making it undefined. - * @return {!proto.fonos.domains.v1beta1.CreateDomainRequest} returns this + * @param {!Array} value + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this */ -proto.fonos.domains.v1beta1.CreateDomainRequest.prototype.clearDomain = function() { - return this.setDomain(undefined); +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.setAccessDenyList = function(value) { + return jspb.Message.setField(this, 5, value || []); }; /** - * Returns whether this field is set. - * @return {boolean} + * @param {string} value + * @param {number=} opt_index + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this */ -proto.fonos.domains.v1beta1.CreateDomainRequest.prototype.hasDomain = function() { - return jspb.Message.getField(this, 1) != null; +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.addAccessDeny = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.clearAccessDenyList = function() { + return this.setAccessDenyList([]); }; +/** + * repeated string access_allow = 6; + * @return {!Array} + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.getAccessAllowList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.setAccessAllowList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.addAccessAllow = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.fonoster.domains.v1beta1.CreateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.CreateDomainRequest.prototype.clearAccessAllowList = function() { + return this.setAccessAllowList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.repeatedFields_ = [5,6]; @@ -718,8 +905,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.domains.v1beta1.UpdateDomainRequest.toObject(opt_includeInstance, this); +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.domains.v1beta1.UpdateDomainRequest.toObject(opt_includeInstance, this); }; @@ -728,13 +915,18 @@ proto.fonos.domains.v1beta1.UpdateDomainRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.domains.v1beta1.UpdateDomainRequest} msg The msg instance to transform. + * @param {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.toObject = function(includeInstance, msg) { +proto.fonoster.domains.v1beta1.UpdateDomainRequest.toObject = function(includeInstance, msg) { var f, obj = { - domain: (f = msg.getDomain()) && proto.fonos.domains.v1beta1.Domain.toObject(includeInstance, f) + ref: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + egressRule: jspb.Message.getFieldWithDefault(msg, 3, ""), + egressNumberRef: jspb.Message.getFieldWithDefault(msg, 4, ""), + accessDenyList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + accessAllowList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -748,23 +940,23 @@ proto.fonos.domains.v1beta1.UpdateDomainRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.domains.v1beta1.UpdateDomainRequest} + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.deserializeBinary = function(bytes) { +proto.fonoster.domains.v1beta1.UpdateDomainRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.domains.v1beta1.UpdateDomainRequest; - return proto.fonos.domains.v1beta1.UpdateDomainRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.domains.v1beta1.UpdateDomainRequest; + return proto.fonoster.domains.v1beta1.UpdateDomainRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.domains.v1beta1.UpdateDomainRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.domains.v1beta1.UpdateDomainRequest} + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.domains.v1beta1.UpdateDomainRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -772,9 +964,28 @@ proto.fonos.domains.v1beta1.UpdateDomainRequest.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.domains.v1beta1.Domain; - reader.readMessage(value,proto.fonos.domains.v1beta1.Domain.deserializeBinaryFromReader); - msg.setDomain(value); + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEgressRule(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setEgressNumberRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addAccessDeny(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addAccessAllow(value); break; default: reader.skipField(); @@ -789,9 +1000,9 @@ proto.fonos.domains.v1beta1.UpdateDomainRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.prototype.serializeBinary = function() { +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.domains.v1beta1.UpdateDomainRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.domains.v1beta1.UpdateDomainRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -799,57 +1010,200 @@ proto.fonos.domains.v1beta1.UpdateDomainRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.domains.v1beta1.UpdateDomainRequest} message + * @param {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.domains.v1beta1.UpdateDomainRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getDomain(); - if (f != null) { - writer.writeMessage( + f = message.getRef(); + if (f.length > 0) { + writer.writeString( 1, - f, - proto.fonos.domains.v1beta1.Domain.serializeBinaryToWriter + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f ); } + f = message.getEgressRule(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getEgressNumberRef(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getAccessDenyList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } + f = message.getAccessAllowList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * optional Domain domain = 1; - * @return {?proto.fonos.domains.v1beta1.Domain} + * @param {string} value + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.prototype.getDomain = function() { - return /** @type{?proto.fonos.domains.v1beta1.Domain} */ ( - jspb.Message.getWrapperField(this, proto.fonos.domains.v1beta1.Domain, 1)); +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * @param {?proto.fonos.domains.v1beta1.Domain|undefined} value - * @return {!proto.fonos.domains.v1beta1.UpdateDomainRequest} returns this -*/ -proto.fonos.domains.v1beta1.UpdateDomainRequest.prototype.setDomain = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * optional string name = 2; + * @return {string} + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string egress_rule = 3; + * @return {string} + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.getEgressRule = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.setEgressRule = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string egress_number_ref = 4; + * @return {string} + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.getEgressNumberRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.setEgressNumberRef = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated string access_deny = 5; + * @return {!Array} + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.getAccessDenyList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** - * Clears the message field making it undefined. - * @return {!proto.fonos.domains.v1beta1.UpdateDomainRequest} returns this + * @param {!Array} value + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.prototype.clearDomain = function() { - return this.setDomain(undefined); +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.setAccessDenyList = function(value) { + return jspb.Message.setField(this, 5, value || []); }; /** - * Returns whether this field is set. - * @return {boolean} + * @param {string} value + * @param {number=} opt_index + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.addAccessDeny = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this */ -proto.fonos.domains.v1beta1.UpdateDomainRequest.prototype.hasDomain = function() { - return jspb.Message.getField(this, 1) != null; +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.clearAccessDenyList = function() { + return this.setAccessDenyList([]); +}; + + +/** + * repeated string access_allow = 6; + * @return {!Array} + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.getAccessAllowList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.setAccessAllowList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.addAccessAllow = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.fonoster.domains.v1beta1.UpdateDomainRequest} returns this + */ +proto.fonoster.domains.v1beta1.UpdateDomainRequest.prototype.clearAccessAllowList = function() { + return this.setAccessAllowList([]); }; @@ -869,8 +1223,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.domains.v1beta1.GetDomainRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.domains.v1beta1.GetDomainRequest.toObject(opt_includeInstance, this); +proto.fonoster.domains.v1beta1.GetDomainRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.domains.v1beta1.GetDomainRequest.toObject(opt_includeInstance, this); }; @@ -879,11 +1233,11 @@ proto.fonos.domains.v1beta1.GetDomainRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.domains.v1beta1.GetDomainRequest} msg The msg instance to transform. + * @param {!proto.fonoster.domains.v1beta1.GetDomainRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.GetDomainRequest.toObject = function(includeInstance, msg) { +proto.fonoster.domains.v1beta1.GetDomainRequest.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -899,23 +1253,23 @@ proto.fonos.domains.v1beta1.GetDomainRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.domains.v1beta1.GetDomainRequest} + * @return {!proto.fonoster.domains.v1beta1.GetDomainRequest} */ -proto.fonos.domains.v1beta1.GetDomainRequest.deserializeBinary = function(bytes) { +proto.fonoster.domains.v1beta1.GetDomainRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.domains.v1beta1.GetDomainRequest; - return proto.fonos.domains.v1beta1.GetDomainRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.domains.v1beta1.GetDomainRequest; + return proto.fonoster.domains.v1beta1.GetDomainRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.domains.v1beta1.GetDomainRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.domains.v1beta1.GetDomainRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.domains.v1beta1.GetDomainRequest} + * @return {!proto.fonoster.domains.v1beta1.GetDomainRequest} */ -proto.fonos.domains.v1beta1.GetDomainRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.domains.v1beta1.GetDomainRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -939,9 +1293,9 @@ proto.fonos.domains.v1beta1.GetDomainRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.domains.v1beta1.GetDomainRequest.prototype.serializeBinary = function() { +proto.fonoster.domains.v1beta1.GetDomainRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.domains.v1beta1.GetDomainRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.domains.v1beta1.GetDomainRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -949,11 +1303,11 @@ proto.fonos.domains.v1beta1.GetDomainRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.domains.v1beta1.GetDomainRequest} message + * @param {!proto.fonoster.domains.v1beta1.GetDomainRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.GetDomainRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.domains.v1beta1.GetDomainRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -969,16 +1323,16 @@ proto.fonos.domains.v1beta1.GetDomainRequest.serializeBinaryToWriter = function( * optional string ref = 1; * @return {string} */ -proto.fonos.domains.v1beta1.GetDomainRequest.prototype.getRef = function() { +proto.fonoster.domains.v1beta1.GetDomainRequest.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.GetDomainRequest} returns this + * @return {!proto.fonoster.domains.v1beta1.GetDomainRequest} returns this */ -proto.fonos.domains.v1beta1.GetDomainRequest.prototype.setRef = function(value) { +proto.fonoster.domains.v1beta1.GetDomainRequest.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -999,8 +1353,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.domains.v1beta1.DeleteDomainRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.domains.v1beta1.DeleteDomainRequest.toObject(opt_includeInstance, this); +proto.fonoster.domains.v1beta1.DeleteDomainRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.domains.v1beta1.DeleteDomainRequest.toObject(opt_includeInstance, this); }; @@ -1009,11 +1363,11 @@ proto.fonos.domains.v1beta1.DeleteDomainRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.domains.v1beta1.DeleteDomainRequest} msg The msg instance to transform. + * @param {!proto.fonoster.domains.v1beta1.DeleteDomainRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.DeleteDomainRequest.toObject = function(includeInstance, msg) { +proto.fonoster.domains.v1beta1.DeleteDomainRequest.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1029,23 +1383,23 @@ proto.fonos.domains.v1beta1.DeleteDomainRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.domains.v1beta1.DeleteDomainRequest} + * @return {!proto.fonoster.domains.v1beta1.DeleteDomainRequest} */ -proto.fonos.domains.v1beta1.DeleteDomainRequest.deserializeBinary = function(bytes) { +proto.fonoster.domains.v1beta1.DeleteDomainRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.domains.v1beta1.DeleteDomainRequest; - return proto.fonos.domains.v1beta1.DeleteDomainRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.domains.v1beta1.DeleteDomainRequest; + return proto.fonoster.domains.v1beta1.DeleteDomainRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.domains.v1beta1.DeleteDomainRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.domains.v1beta1.DeleteDomainRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.domains.v1beta1.DeleteDomainRequest} + * @return {!proto.fonoster.domains.v1beta1.DeleteDomainRequest} */ -proto.fonos.domains.v1beta1.DeleteDomainRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.domains.v1beta1.DeleteDomainRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1069,9 +1423,9 @@ proto.fonos.domains.v1beta1.DeleteDomainRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.domains.v1beta1.DeleteDomainRequest.prototype.serializeBinary = function() { +proto.fonoster.domains.v1beta1.DeleteDomainRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.domains.v1beta1.DeleteDomainRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.domains.v1beta1.DeleteDomainRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1079,11 +1433,11 @@ proto.fonos.domains.v1beta1.DeleteDomainRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.domains.v1beta1.DeleteDomainRequest} message + * @param {!proto.fonoster.domains.v1beta1.DeleteDomainRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.DeleteDomainRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.domains.v1beta1.DeleteDomainRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1099,16 +1453,16 @@ proto.fonos.domains.v1beta1.DeleteDomainRequest.serializeBinaryToWriter = functi * optional string ref = 1; * @return {string} */ -proto.fonos.domains.v1beta1.DeleteDomainRequest.prototype.getRef = function() { +proto.fonoster.domains.v1beta1.DeleteDomainRequest.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.DeleteDomainRequest} returns this + * @return {!proto.fonoster.domains.v1beta1.DeleteDomainRequest} returns this */ -proto.fonos.domains.v1beta1.DeleteDomainRequest.prototype.setRef = function(value) { +proto.fonoster.domains.v1beta1.DeleteDomainRequest.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1119,7 +1473,7 @@ proto.fonos.domains.v1beta1.DeleteDomainRequest.prototype.setRef = function(valu * @private {!Array} * @const */ -proto.fonos.domains.v1beta1.Domain.repeatedFields_ = [6,7]; +proto.fonoster.domains.v1beta1.Domain.repeatedFields_ = [6,7]; @@ -1136,8 +1490,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.domains.v1beta1.Domain.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.domains.v1beta1.Domain.toObject(opt_includeInstance, this); +proto.fonoster.domains.v1beta1.Domain.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.domains.v1beta1.Domain.toObject(opt_includeInstance, this); }; @@ -1146,11 +1500,11 @@ proto.fonos.domains.v1beta1.Domain.prototype.toObject = function(opt_includeInst * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.domains.v1beta1.Domain} msg The msg instance to transform. + * @param {!proto.fonoster.domains.v1beta1.Domain} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.Domain.toObject = function(includeInstance, msg) { +proto.fonoster.domains.v1beta1.Domain.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1174,23 +1528,23 @@ proto.fonos.domains.v1beta1.Domain.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.domains.v1beta1.Domain} + * @return {!proto.fonoster.domains.v1beta1.Domain} */ -proto.fonos.domains.v1beta1.Domain.deserializeBinary = function(bytes) { +proto.fonoster.domains.v1beta1.Domain.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.domains.v1beta1.Domain; - return proto.fonos.domains.v1beta1.Domain.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.domains.v1beta1.Domain; + return proto.fonoster.domains.v1beta1.Domain.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.domains.v1beta1.Domain} msg The message object to deserialize into. + * @param {!proto.fonoster.domains.v1beta1.Domain} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.domains.v1beta1.Domain} + * @return {!proto.fonoster.domains.v1beta1.Domain} */ -proto.fonos.domains.v1beta1.Domain.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.domains.v1beta1.Domain.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1246,9 +1600,9 @@ proto.fonos.domains.v1beta1.Domain.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.domains.v1beta1.Domain.prototype.serializeBinary = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.domains.v1beta1.Domain.serializeBinaryToWriter(this, writer); + proto.fonoster.domains.v1beta1.Domain.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1256,11 +1610,11 @@ proto.fonos.domains.v1beta1.Domain.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.domains.v1beta1.Domain} message + * @param {!proto.fonoster.domains.v1beta1.Domain} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.domains.v1beta1.Domain.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.domains.v1beta1.Domain.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1332,16 +1686,16 @@ proto.fonos.domains.v1beta1.Domain.serializeBinaryToWriter = function(message, w * optional string ref = 1; * @return {string} */ -proto.fonos.domains.v1beta1.Domain.prototype.getRef = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setRef = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1350,16 +1704,16 @@ proto.fonos.domains.v1beta1.Domain.prototype.setRef = function(value) { * optional string name = 2; * @return {string} */ -proto.fonos.domains.v1beta1.Domain.prototype.getName = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setName = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1368,16 +1722,16 @@ proto.fonos.domains.v1beta1.Domain.prototype.setName = function(value) { * optional string domain_uri = 3; * @return {string} */ -proto.fonos.domains.v1beta1.Domain.prototype.getDomainUri = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getDomainUri = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setDomainUri = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setDomainUri = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1386,16 +1740,16 @@ proto.fonos.domains.v1beta1.Domain.prototype.setDomainUri = function(value) { * optional string egress_rule = 4; * @return {string} */ -proto.fonos.domains.v1beta1.Domain.prototype.getEgressRule = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getEgressRule = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setEgressRule = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setEgressRule = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -1404,16 +1758,16 @@ proto.fonos.domains.v1beta1.Domain.prototype.setEgressRule = function(value) { * optional string egress_number_ref = 5; * @return {string} */ -proto.fonos.domains.v1beta1.Domain.prototype.getEgressNumberRef = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getEgressNumberRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setEgressNumberRef = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setEgressNumberRef = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; @@ -1422,16 +1776,16 @@ proto.fonos.domains.v1beta1.Domain.prototype.setEgressNumberRef = function(value * repeated string access_deny = 6; * @return {!Array} */ -proto.fonos.domains.v1beta1.Domain.prototype.getAccessDenyList = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getAccessDenyList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); }; /** * @param {!Array} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setAccessDenyList = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setAccessDenyList = function(value) { return jspb.Message.setField(this, 6, value || []); }; @@ -1439,18 +1793,18 @@ proto.fonos.domains.v1beta1.Domain.prototype.setAccessDenyList = function(value) /** * @param {string} value * @param {number=} opt_index - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.addAccessDeny = function(value, opt_index) { +proto.fonoster.domains.v1beta1.Domain.prototype.addAccessDeny = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 6, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.clearAccessDenyList = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.clearAccessDenyList = function() { return this.setAccessDenyList([]); }; @@ -1459,16 +1813,16 @@ proto.fonos.domains.v1beta1.Domain.prototype.clearAccessDenyList = function() { * repeated string access_allow = 7; * @return {!Array} */ -proto.fonos.domains.v1beta1.Domain.prototype.getAccessAllowList = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getAccessAllowList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); }; /** * @param {!Array} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setAccessAllowList = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setAccessAllowList = function(value) { return jspb.Message.setField(this, 7, value || []); }; @@ -1476,18 +1830,18 @@ proto.fonos.domains.v1beta1.Domain.prototype.setAccessAllowList = function(value /** * @param {string} value * @param {number=} opt_index - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.addAccessAllow = function(value, opt_index) { +proto.fonoster.domains.v1beta1.Domain.prototype.addAccessAllow = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 7, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.clearAccessAllowList = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.clearAccessAllowList = function() { return this.setAccessAllowList([]); }; @@ -1496,16 +1850,16 @@ proto.fonos.domains.v1beta1.Domain.prototype.clearAccessAllowList = function() { * optional string create_time = 8; * @return {string} */ -proto.fonos.domains.v1beta1.Domain.prototype.getCreateTime = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getCreateTime = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setCreateTime = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setCreateTime = function(value) { return jspb.Message.setProto3StringField(this, 8, value); }; @@ -1514,18 +1868,18 @@ proto.fonos.domains.v1beta1.Domain.prototype.setCreateTime = function(value) { * optional string update_time = 9; * @return {string} */ -proto.fonos.domains.v1beta1.Domain.prototype.getUpdateTime = function() { +proto.fonoster.domains.v1beta1.Domain.prototype.getUpdateTime = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value - * @return {!proto.fonos.domains.v1beta1.Domain} returns this + * @return {!proto.fonoster.domains.v1beta1.Domain} returns this */ -proto.fonos.domains.v1beta1.Domain.prototype.setUpdateTime = function(value) { +proto.fonoster.domains.v1beta1.Domain.prototype.setUpdateTime = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; -goog.object.extend(exports, proto.fonos.domains.v1beta1); +goog.object.extend(exports, proto.fonoster.domains.v1beta1); diff --git a/mods/domains/src/service/protos/google/api/annotations_grpc_pb.js b/mods/domains/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/domains/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/domains/src/service/protos/google/api/annotations_pb.d.ts b/mods/domains/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/domains/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/domains/src/service/protos/google/api/annotations_pb.js b/mods/domains/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/domains/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/domains/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/domains/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/domains/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/domains/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/domains/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/domains/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/domains/src/service/protos/google/api/field_behavior_pb.js b/mods/domains/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/domains/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/domains/src/service/protos/google/api/http_grpc_pb.js b/mods/domains/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/domains/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/domains/src/service/protos/google/api/http_pb.d.ts b/mods/domains/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/domains/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/domains/src/service/protos/google/api/http_pb.js b/mods/domains/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/domains/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/domains/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/domains/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/domains/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/domains/src/service/protos/google/api/httpbody_pb.d.ts b/mods/domains/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/domains/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/domains/src/service/protos/google/api/httpbody_pb.js b/mods/domains/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/domains/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/domains/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/domains/src/service/runner.ts b/mods/domains/src/service/runner.ts index 2166d5800..faf0d3b40 100644 --- a/mods/domains/src/service/runner.ts +++ b/mods/domains/src/service/runner.ts @@ -1,9 +1,9 @@ #!/usr/bin/env node import DomainsServer from "./domains"; import {DomainsService} from "./protos/domains_grpc_pb"; -import {AuthMiddleware} from "@fonos/auth"; -import {getSalt} from "@fonos/certs"; -import {runServices} from "@fonos/common"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; const services = [ { diff --git a/mods/domains/test/domains.unit.test.ts b/mods/domains/test/domains.unit.test.ts index beba85006..d1da67785 100644 --- a/mods/domains/test/domains.unit.test.ts +++ b/mods/domains/test/domains.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -21,7 +21,7 @@ import sinon from "sinon"; import sinonChai from "sinon-chai"; import Domains from "../src/client/domains"; import chaiAsPromised from "chai-as-promised"; -import {FonosService} from "@fonos/common"; +import {APIClient} from "@fonoster/common"; import DomainsPB from "../src/service/protos/domains_pb"; import domainDecoder from "../src/service/decoder"; @@ -30,7 +30,7 @@ chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@Fonos/domains", () => { +describe("@fonoster/domains", () => { const domainObj = new DomainsPB.Domain(); domainObj.setRef("Nx05y-ldZa"); domainObj.setName("Acme Corp"); @@ -45,9 +45,9 @@ describe("@Fonos/domains", () => { afterEach(() => sandbox.restore()); it("should create a domain", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ createDomain: () => { return { @@ -86,9 +86,9 @@ describe("@Fonos/domains", () => { }); it("should get a domain", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ getDomain: () => { return { @@ -121,9 +121,9 @@ describe("@Fonos/domains", () => { }); it("should delete a Domain", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ deleteDomain: () => { return { @@ -140,9 +140,9 @@ describe("@Fonos/domains", () => { }); it("should list domains", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ listDomains: () => { return { @@ -190,9 +190,9 @@ describe("@Fonos/domains", () => { name: domainObj.getName() }; - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const updateDomainStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ updateDomain: () => { return { @@ -210,7 +210,7 @@ describe("@Fonos/domains", () => { const domainsAPI = new Domains(); const result = await domainsAPI.updateDomain(request); expect(result).to.have.property("ref").to.be.equal(domainObj.getRef()); - expect(updateDomainStub).to.be.calledThrice; + expect(updateDomainStub).to.be.calledTwice; }); context("domain decoder", () => { diff --git a/mods/errors/.lerna-changed-buster-7825 b/mods/errors/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/errors/package.json b/mods/errors/package.json index 02bd53ffe..0a9fce13d 100644 --- a/mods/errors/package.json +++ b/mods/errors/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/errors", - "version": "0.1.20-alpha.0", - "description": "Handles Fonos errors", + "name": "@fonoster/errors", + "version": "0.2.40", + "description": "Handles Fonoster errors", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,10 +23,10 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" } diff --git a/mods/errors/src/auth_error.ts b/mods/errors/src/auth_error.ts index bbcc62c6d..08eeed8dd 100644 --- a/mods/errors/src/auth_error.ts +++ b/mods/errors/src/auth_error.ts @@ -1,7 +1,7 @@ -import FonosError from "./error"; +import FonosterError from "./error"; import {UNAUTHENTICATED} from "./codes"; -export default class extends FonosError { +export default class extends FonosterError { constructor(message?: string) { super(message, UNAUTHENTICATED); } diff --git a/mods/errors/src/codes.ts b/mods/errors/src/codes.ts index 395d813ae..40c9a638a 100644 --- a/mods/errors/src/codes.ts +++ b/mods/errors/src/codes.ts @@ -1,4 +1,5 @@ const UNAUTHENTICATED = 16; +const PERMISSION_DENIED = 7; const UNKNOWN = 2; const FAILED_PRECONDITION = 9; const INVALID_ARGUMENT = 3; @@ -6,14 +7,17 @@ const INTERNAL = 13; const ENTITY_ALREADY_EXIST = 6; const UNIMPLEMENTED = 12; const NOT_FOUND = 5; +const ALREADY_EXISTS = 6; export { UNAUTHENTICATED, + PERMISSION_DENIED, UNKNOWN, FAILED_PRECONDITION, INVALID_ARGUMENT, INTERNAL, ENTITY_ALREADY_EXIST, UNIMPLEMENTED, - NOT_FOUND + NOT_FOUND, + ALREADY_EXISTS }; diff --git a/mods/errors/src/error.ts b/mods/errors/src/error.ts index 34a05c893..9238fd7d4 100644 --- a/mods/errors/src/error.ts +++ b/mods/errors/src/error.ts @@ -4,7 +4,7 @@ export default class extends Error { code: any; constructor(message: string, code = UNKNOWN) { super(message); - this.name = "FonosError"; + this.name = "FonosterError"; this.code = code; if (Error.captureStackTrace) { diff --git a/mods/errors/src/failed_precondition.ts b/mods/errors/src/failed_precondition.ts index 01cfe3690..cf91e4153 100644 --- a/mods/errors/src/failed_precondition.ts +++ b/mods/errors/src/failed_precondition.ts @@ -1,7 +1,7 @@ -import FonosError from "./error"; +import FonosterError from "./error"; import {FAILED_PRECONDITION} from "./codes"; -export default class extends FonosError { +export default class extends FonosterError { constructor(message?: string) { super(message, FAILED_PRECONDITION); } diff --git a/mods/errors/src/index.ts b/mods/errors/src/index.ts index b13c31251..eebd8a9f9 100644 --- a/mods/errors/src/index.ts +++ b/mods/errors/src/index.ts @@ -1,15 +1,15 @@ -import FonosError from "./error"; -import FonosAuthError from "./auth_error"; -import FonosInvalidArgument from "./invalid_argument"; -import FonosFailedPrecondition from "./failed_precondition"; -import FonosSubsysUnavailable from "./subsys_unavailable"; +import FonosterError from "./error"; +import FonosterAuthError from "./auth_error"; +import FonosterInvalidArgument from "./invalid_argument"; +import FonosterFailedPrecondition from "./failed_precondition"; +import FonosterSubsysUnavailable from "./subsys_unavailable"; import * as ErrorCodes from "./codes"; export { - FonosError, - FonosAuthError, - FonosInvalidArgument, - FonosFailedPrecondition, - FonosSubsysUnavailable, + FonosterError, + FonosterAuthError, + FonosterInvalidArgument, + FonosterFailedPrecondition, + FonosterSubsysUnavailable, ErrorCodes }; diff --git a/mods/errors/src/invalid_argument.ts b/mods/errors/src/invalid_argument.ts index 00471f697..e83a16b68 100644 --- a/mods/errors/src/invalid_argument.ts +++ b/mods/errors/src/invalid_argument.ts @@ -1,7 +1,7 @@ -import FonosError from "./error"; +import FonosterError from "./error"; import {INVALID_ARGUMENT} from "./codes"; -export default class extends FonosError { +export default class extends FonosterError { constructor(message?: string) { super(message, INVALID_ARGUMENT); this.name = "FonosInvalidArgument"; diff --git a/mods/errors/src/subsys_unavailable.ts b/mods/errors/src/subsys_unavailable.ts index 71c00bc62..6397cb1a8 100644 --- a/mods/errors/src/subsys_unavailable.ts +++ b/mods/errors/src/subsys_unavailable.ts @@ -1,7 +1,7 @@ -import FonosError from "./error"; +import FonosterError from "./error"; import {INTERNAL} from "./codes"; -export default class extends FonosError { +export default class extends FonosterError { constructor(message?: string) { super(message, INTERNAL); } diff --git a/mods/errors/test/errors.unit.test.ts b/mods/errors/test/errors.unit.test.ts index bbfc73ee3..bb26e695b 100644 --- a/mods/errors/test/errors.unit.test.ts +++ b/mods/errors/test/errors.unit.test.ts @@ -3,7 +3,7 @@ import sinon from "sinon"; import sinonChai from "sinon-chai"; import chaiAsPromised from "chai-as-promised"; import {join} from "path"; -import FonosError from "../src/error"; +import FonosterError from "../src/error"; import FonosInvalidArgument from "../src/invalid_argument"; import {INVALID_ARGUMENT} from "../src/codes"; @@ -16,15 +16,15 @@ if (process.env.NODE_ENV === "dev") { require("dotenv").config({path: join(__dirname, "..", "..", ".env")}); } -describe("@fonos/errors", () => { +describe("@fonoster/errors", () => { afterEach(() => sandbox.restore()); it("has correct constructor name and message", () => { - expect(new FonosError("test")) + expect(new FonosterError("test")) .to.have.property("name") - .to.be.equal("FonosError"); + .to.be.equal("FonosterError"); expect(() => { - throw new FonosError("my message"); + throw new FonosterError("my message"); }).to.throw("my message"); }); diff --git a/mods/events/.lerna-changed-buster-7825 b/mods/events/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/events/package.json b/mods/events/package.json index dd57b3332..11c25aa5d 100644 --- a/mods/events/package.json +++ b/mods/events/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/events", - "version": "0.1.20-alpha.0", - "description": "Fonos events managment", + "name": "@fonoster/events", + "version": "0.2.40", + "description": "Fonoster events managment", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,13 +23,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/logger": "^0.2.40", "amqp-connection-manager": "^3.2.2", "amqplib": "^0.8.0" }, diff --git a/mods/events/src/events_recvr.ts b/mods/events/src/events_recvr.ts index 21122e891..f5bd33812 100644 --- a/mods/events/src/events_recvr.ts +++ b/mods/events/src/events_recvr.ts @@ -1,5 +1,5 @@ import RabbitQConnector from "./rabbitq_connector"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export default class EventsRecvr extends RabbitQConnector { constructor(address: string[], q: string) { diff --git a/mods/events/src/events_sender.ts b/mods/events/src/events_sender.ts index 1b64a7cd7..45e14df86 100644 --- a/mods/events/src/events_sender.ts +++ b/mods/events/src/events_sender.ts @@ -1,5 +1,5 @@ import RabbitQConnector from "./rabbitq_connector"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export default class EventsSender extends RabbitQConnector { constructor(address: string[], q: string) { @@ -9,7 +9,7 @@ export default class EventsSender extends RabbitQConnector { async sendToQ(payload: any) { if (process.env.EVENTS_ENABLED !== "true") { logger.verbose( - "@fonos/events rabbitq connector [ignoring event: events service is disabled]" + "@fonoster/events rabbitq connector [ignoring event: events service is disabled]" ); return; } diff --git a/mods/events/src/rabbitq_connector.ts b/mods/events/src/rabbitq_connector.ts index 29899ee49..be75c6b33 100644 --- a/mods/events/src/rabbitq_connector.ts +++ b/mods/events/src/rabbitq_connector.ts @@ -1,5 +1,5 @@ import amqp from "amqp-connection-manager"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export default class RabbitQConnector { address: string[]; @@ -12,16 +12,16 @@ export default class RabbitQConnector { connect() { if (process.env.EVENTS_ENABLED !== "true") { - logger.info("@fonos/events rabbitq connector [disabled]"); + logger.info("@fonoster/events rabbitq connector [disabled]"); return; } - logger.info("@fonos/events rabbitq connector [connecting to rabbitq]"); + logger.info("@fonoster/events rabbitq connector [connecting to rabbitq]"); const connection = amqp.connect(this.address); this.channelWrapper = connection.createChannel({ json: true, setup: (channel: any) => { logger.info( - `@fonos/events rabbitq connector [setting up q => ${this.q}, durable => false]` + `@fonoster/events rabbitq connector [setting up q => ${this.q}, durable => false]` ); return channel.assertQueue(this.q, {durable: false}); } diff --git a/mods/funcs/.lerna-changed-buster-7825 b/mods/funcs/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/funcs/package-lock.json b/mods/funcs/package-lock.json index fdd518a05..6b0e74b54 100644 --- a/mods/funcs/package-lock.json +++ b/mods/funcs/package-lock.json @@ -1,23 +1,22 @@ { - "name": "@fonos/funcs", - "version": "0.1.20-alpha.0", + "name": "@fonoster/funcs", + "version": "0.2.40", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@fonos/funcs", - "version": "0.1.20-alpha.0", + "name": "@fonoster/funcs", + "version": "0.2.40", "license": "MIT", "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@fonos/storage": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/storage": "^0.2.40", "@grpc/grpc-js": "^1.3.6", - "axios": "^0.21.1", "btoa": "^1.2.1", "container-image-builder": "^3.2.0", "cron-validate": "^1.4.3", @@ -42,10 +41,114 @@ "@types/tar": "^4.0.3" } }, + "../auth": { + "name": "@fonoster/auth", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/common": "^0.2.29", + "@fonoster/errors": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "bin": { + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + }, + "devDependencies": { + "@types/jsonwebtoken": "^8.5.0" + } + }, + "../certs": { + "name": "@fonoster/certs", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "../common": { + "name": "@fonoster/common", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "../core": { + "name": "@fonoster/core", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "axios": "^0.21.1" + } + }, + "../errors": { + "name": "@fonoster/errors", + "version": "0.2.29", + "extraneous": true, + "license": "MIT" + }, + "../logger": { + "name": "@fonoster/logger", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } + }, + "../storage": { + "name": "@fonoster/storage", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.29", + "@fonoster/certs": "^0.2.29", + "@fonoster/common": "^0.2.29", + "@fonoster/core": "^0.2.29", + "@fonoster/errors": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "minio": "^7.0.18", + "objectid": "^3.2.1", + "sync": "^0.2.5", + "tar": "^6.1.0", + "walk": "^2.3.14" + }, + "bin": { + "healthcheck_storage": "dist/service/healthcheck.js", + "run_storage": "dist/service/runner.js" + } + }, "node_modules/@babel/runtime": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz", - "integrity": "sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==", + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.2.tgz", + "integrity": "sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==", "dependencies": { "regenerator-runtime": "^0.13.4" }, @@ -53,25 +156,33 @@ "node": ">=6.9.0" } }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", "dependencies": { "colorspace": "1.1.x", "enabled": "2.0.x", "kuler": "^2.0.0" } }, - "node_modules/@fonos/auth": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/auth/-/auth-0.1.20-alpha.0.tgz", - "integrity": "sha512-H2kVRYGulBvaMPvU60YZqAJLfmJZOsux+VYarSF3AwMZjgxWOtRIF/h7sYnbpI6tM1bezNjCi0B6ahFDLjMz2g==", + "node_modules/@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "express": "^4.17.1", "google-protobuf": "^3.17.0", @@ -83,10 +194,10 @@ "run_auth": "dist/service/runner.js" } }, - "node_modules/@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", + "node_modules/@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", "dependencies": { "@types/jsonwebtoken": "^8.5.0", "acme-client": "^4.1.3", @@ -94,32 +205,31 @@ "jsonwebtoken": "^8.5.1" } }, - "node_modules/@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", + "node_modules/@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "@speedymonster/grpc-interceptors": "^0.2.5", "atob": "^2.1.2", "deepmerge": "^4.2.2" } }, - "node_modules/@fonos/core": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/core/-/core-0.1.20-alpha.0.tgz", - "integrity": "sha512-8EeRYLHPNAXhfdfgfpAd1+ZAYDNCbILW7pKLat14jG+50OmBpVQlV7QioQBbHnr3iXq/YNb3CYp586ypScTJ9w==", + "node_modules/@fonoster/core": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/core/-/core-0.2.43.tgz", + "integrity": "sha512-ceCtPPXKkBleJyqY4b9Olx9VUpx/Ib6K/HvLza2M4yMJo1MVbAEAD5bwg6l8z0XmtcNLWzQAizXKFA7v+TLYyg==", "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "atob": "^2.1.2", - "axios": "^0.21.1", "btoa": "^1.2.1", "deepmerge": "^4.2.2", "grpc-ts-health-check": "^2.0.6", @@ -128,31 +238,31 @@ "phone": "^2.4.21" } }, - "node_modules/@fonos/errors": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/errors/-/errors-0.1.20-alpha.0.tgz", - "integrity": "sha512-gJGYliwGRoO5E46/+6V2mvDIUg7HWx77KUuP3qhH7bg4c1586LAiPhy1YWewa3sWGA0YL/x6w+I3TO9ln46DXg==" + "node_modules/@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==" }, - "node_modules/@fonos/logger": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.20-alpha.0.tgz", - "integrity": "sha512-2pxbetpP/Ff5bzVOUsfNY9/yfoLzkUzBG9uM+FSYzqeZUGkCesaSLqR20R3Xr2QxFA4mQEhpAI4z4daKqzsrDQ==", + "node_modules/@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", "dependencies": { "fluent-logger": "^3.4.1", "winston": "^3.3.3" } }, - "node_modules/@fonos/storage": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/storage/-/storage-0.1.20-alpha.0.tgz", - "integrity": "sha512-JZaRvZktsfHKwQoOxBQIgHubdtEN/oqJtOM43i9EhdxVcCum3SbrOuV0plr9Wyucau9HUAOGnYT4MLECXeBsSw==", + "node_modules/@fonoster/storage": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/storage/-/storage-0.2.43.tgz", + "integrity": "sha512-oA414q6S9c+Ravr/aekNZ0AybHt8yo0IVmuPymQV8jefDqvrBh4X279m4DldeAaeCiRgeA2HIMZpSgOX43lWjg==", "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "google-protobuf": "^3.17.0", "grpc-promise": "^1.4.0", @@ -168,16 +278,89 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", "dependencies": { + "@grpc/proto-loader": "^0.6.4", "@types/node": ">=12.12.47" }, "engines": { "node": "^8.13.0 || >=10.10.0" } }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, "node_modules/@speedymonster/grpc-interceptors": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", @@ -197,46 +380,51 @@ "dev": true }, "node_modules/@types/fs-extra": { - "version": "9.0.12", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.12.tgz", - "integrity": "sha512-I+bsBr67CurCGnSenZZ7v94gd3tc3+Aj2taxMT4yu4ABLuOgOjeFxX3dokG24ztSRg5tnT00sL8BszO7gSMoIw==", + "version": "9.0.13", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.13.tgz", + "integrity": "sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/google-protobuf": { - "version": "3.15.3", - "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.3.tgz", - "integrity": "sha512-MDpu7lit927cdLtBzTPUFjXGANFUnu5ThPqjygY8XmCyI/oDlIA0jAi4sffGOxYaLK2CCxAuU9wGxsgAQbA6FQ==", + "version": "3.15.5", + "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.5.tgz", + "integrity": "sha512-6bgv24B+A2bo9AfzReeg5StdiijKzwwnRflA8RLd1V4Yv995LeTmo0z69/MPbBDFSiZWdZHQygLo/ccXhMEDgw==", "dev": true }, "node_modules/@types/jsonwebtoken": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", - "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", "dependencies": { "@types/node": "*" } }, "node_modules/@types/lodash": { - "version": "4.14.171", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.171.tgz", - "integrity": "sha512-7eQ2xYLLI/LsicL2nejW9Wyko3lcpN6O/z0ZLHrEQsg280zIdCv1t/0m6UtBjUHokCGBQ3gYTbHzDkZ1xOBwwg==" + "version": "4.14.178", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.178.tgz", + "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==" + }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" }, "node_modules/@types/minipass": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@types/minipass/-/minipass-2.2.1.tgz", - "integrity": "sha512-0bI74UwEJ+JjGqzkyoiCxLVGK5C3Vy5MYdDB6VCtUAulcrulHvqhIrQP9lh/gvMgaNzvvJljMW97rRHVvbTe8Q==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@types/minipass/-/minipass-3.1.2.tgz", + "integrity": "sha512-foLGjgrJkUjLG/o2t2ymlZGEoBNBa/TfoUZ7oCTkOjP1T43UGBJspovJou/l3ZuHvye2ewR5cZNtp2zyWgILMA==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/node": { - "version": "16.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.0.3.tgz", - "integrity": "sha512-QhhSbE1wJMbh+lDsb9G6UFmyojhEgoO7dFVDBkli80sp3sPFojGh6TJXsht9Qbe2VWi91pbj08+1Kvue61RwsQ==" + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" }, "node_modules/@types/tar": { "version": "4.0.5", @@ -248,6 +436,12 @@ "@types/node": "*" } }, + "node_modules/@zxing/text-encoding": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", + "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", + "optional": true + }, "node_modules/abort-controller": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", @@ -260,40 +454,32 @@ } }, "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" + "mime-types": "~2.1.34", + "negotiator": "0.6.3" }, "engines": { "node": ">= 0.6" } }, "node_modules/acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", "dependencies": { - "axios": "0.21.1", + "axios": "0.21.4", "backo2": "^1.0.0", "bluebird": "^3.5.0", "debug": "^4.1.1", - "node-forge": "^0.10.0" + "node-forge": "^1.2.0" }, "engines": { "node": ">= 10" } }, - "node_modules/acme-client/node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", - "engines": { - "node": ">= 6.0.0" - } - }, "node_modules/agent-base": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", @@ -320,6 +506,44 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ansi-styles/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, "node_modules/arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -366,13 +590,29 @@ } }, "node_modules/asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", "dependencies": { "safer-buffer": "~2.1.0" } }, + "node_modules/asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/asn1.js/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "node_modules/assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", @@ -398,9 +638,9 @@ } }, "node_modules/async": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", - "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" }, "node_modules/asynckit": { "version": "0.4.0", @@ -418,6 +658,17 @@ "node": ">= 4.5.0" } }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", @@ -432,11 +683,11 @@ "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" }, "node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "dependencies": { - "follow-redirects": "^1.10.0" + "follow-redirects": "^1.14.0" } }, "node_modules/backo2": { @@ -500,9 +751,9 @@ } }, "node_modules/bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", + "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==", "engines": { "node": "*" } @@ -530,21 +781,26 @@ "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" }, + "node_modules/bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", "dependencies": { - "bytes": "3.1.0", + "bytes": "3.1.1", "content-type": "~1.0.4", "debug": "2.6.9", "depd": "~1.1.2", - "http-errors": "1.7.2", + "http-errors": "1.8.1", "iconv-lite": "0.4.24", "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" }, "engines": { "node": ">= 0.8" @@ -563,14 +819,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, "node_modules/braces": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", @@ -610,6 +858,75 @@ "node": ">=0.10.0" } }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "node_modules/browser-or-node": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-1.3.0.tgz", + "integrity": "sha512-0F2z/VSnLbmEeBcUrSuDH5l0HxTXdQQzLjkmBR4cYfvg1zJrKSlmIZFqyFR8oX0NrwPhy3c3HQ6i3OxMbew4Tg==" + }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "dependencies": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "node_modules/browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "dependencies": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, "node_modules/bson": { "version": "0.1.9", "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", @@ -659,10 +976,15 @@ "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + }, "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==", "engines": { "node": ">= 0.8" } @@ -686,20 +1008,33 @@ "node": ">=0.10.0" } }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "node_modules/chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", "dependencies": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", "deep-eql": "^3.0.1", "get-func-name": "^2.0.0", + "loupe": "^2.3.1", "pathval": "^1.1.1", "type-detect": "^4.0.5" }, @@ -723,6 +1058,15 @@ "node": ">=10" } }, + "node_modules/cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, "node_modules/class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", @@ -813,6 +1157,16 @@ "node": ">=0.10.0" } }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, "node_modules/cluster-key-slot": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", @@ -834,12 +1188,12 @@ } }, "node_modules/color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", "dependencies": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" + "color-convert": "^1.9.3", + "color-string": "^1.6.0" } }, "node_modules/color-convert": { @@ -856,28 +1210,20 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "node_modules/color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" } }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "engines": { - "node": ">=0.1.90" - } - }, "node_modules/colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", "dependencies": { - "color": "3.0.x", + "color": "^3.1.3", "text-hex": "1.0.x" } }, @@ -940,50 +1286,34 @@ "minipass": "^2.9.0" } }, - "node_modules/container-image-builder/node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, "node_modules/container-image-builder/node_modules/tar": { - "version": "4.4.13", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", - "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", "dependencies": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" }, "engines": { "node": ">=4.5" } }, "node_modules/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "dependencies": { - "safe-buffer": "5.1.2" + "safe-buffer": "5.2.1" }, "engines": { "node": ">= 0.6" } }, - "node_modules/content-disposition/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, "node_modules/content-type": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", @@ -993,9 +1323,9 @@ } }, "node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", "engines": { "node": ">= 0.6" } @@ -1018,6 +1348,58 @@ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, + "node_modules/cpu-features": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.2.tgz", + "integrity": "sha512-/2yieBqvMcRj8McNzkycjW2v3OIUOibBfd2dLEJ0nWts8NobAxwiyw9phVNS6oDL8x8tz9F7uNVFEVpJncQpeA==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "nan": "^2.14.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "node_modules/create-ecdh/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, "node_modules/cron-validate": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/cron-validate/-/cron-validate-1.4.3.tgz", @@ -1039,6 +1421,27 @@ "node": ">= 8" } }, + "node_modules/crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dependencies": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + }, + "engines": { + "node": "*" + } + }, "node_modules/dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", @@ -1051,9 +1454,9 @@ } }, "node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", "dependencies": { "ms": "2.1.2" }, @@ -1093,6 +1496,17 @@ "node": ">=0.10.0" } }, + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -1114,9 +1528,9 @@ } }, "node_modules/denque": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz", - "integrity": "sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", "engines": { "node": ">=0.10" } @@ -1129,6 +1543,15 @@ "node": ">= 0.6" } }, + "node_modules/des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, "node_modules/destroy": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", @@ -1145,24 +1568,39 @@ "node": ">=0.10" } }, - "node_modules/docker-modem": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.0.tgz", - "integrity": "sha512-WwFajJ8I5geZ/dDZ5FDMDA6TBkWa76xWwGIGw8uzUjNUGCN0to83wJ8Oi1AxrJTC0JBn+7fvIxUctnawtlwXeg==", + "node_modules/diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", "dependencies": { - "debug": "^4.1.1", + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/diffie-hellman/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/docker-modem": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.3.tgz", + "integrity": "sha512-Tgkn2a+yiNP9FoZgMa/D9Wk+D2Db///0KOyKSYZRJa8w4+DzKyzQMkczKSdR/adQ0x46BOpeNkoyEOKjPhCzjw==", + "dependencies": { + "debug": "^4.1.1", "readable-stream": "^3.5.0", "split-ca": "^1.0.1", - "ssh2": "^0.8.7" + "ssh2": "^1.4.0" }, "engines": { "node": ">= 8.0" } }, "node_modules/dockerode": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.0.tgz", - "integrity": "sha512-St08lfOjpYCOXEM8XA0VLu3B3hRjtddODphNW5GFoA0AS3JHgoPQKOz0Qmdzg3P+hUPxhb02g1o1Cu1G+U3lRg==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.1.tgz", + "integrity": "sha512-AS2mr8Lp122aa5n6d99HkuTNdRV1wkkhHwBdcnY6V0+28D3DSYwhxAk85/mM9XwD3RMliTxyr63iuvn5ZblFYQ==", "dependencies": { "docker-modem": "^3.0.0", "tar-fs": "~2.0.1" @@ -1193,6 +1631,30 @@ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, + "node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "node_modules/enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", @@ -1233,11 +1695,68 @@ "once": "^1.4.0" } }, + "node_modules/es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, "node_modules/escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", @@ -1264,6 +1783,15 @@ "node": ">=6" } }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, "node_modules/expand-brackets": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", @@ -1390,16 +1918,16 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "node_modules/express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", "dependencies": { "accepts": "~1.3.7", "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.4.0", + "cookie": "0.4.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "~1.1.2", @@ -1413,13 +1941,13 @@ "on-finished": "~2.3.0", "parseurl": "~1.3.3", "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", "statuses": "~1.5.0", "type-is": "~1.6.18", "utils-merge": "1.0.1", @@ -1442,19 +1970,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, - "node_modules/express/node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/express/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, "node_modules/extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", @@ -1538,20 +2053,18 @@ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" }, - "node_modules/fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, "node_modules/fast-text-encoding": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" }, "node_modules/fast-xml-parser": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz", - "integrity": "sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==", + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.21.1.tgz", + "integrity": "sha512-FTFVjYoBOZTJekiUsawGsSYV9QL0A+zDYCRj7y34IO6Jg+2IMYEtQa+bbictpdpV8dHxXywqU7C0gRDEOFtBFg==", + "dependencies": { + "strnum": "^1.0.4" + }, "bin": { "xml2js": "cli.js" }, @@ -1566,9 +2079,9 @@ "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" }, "node_modules/fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", "hasInstallScript": true, "dependencies": { "detect-libc": "^1.0.3" @@ -1657,9 +2170,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "node_modules/follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==", + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", "funding": [ { "type": "individual", @@ -1683,6 +2196,11 @@ "node": ">=0.10.0" } }, + "node_modules/foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" + }, "node_modules/foreachasync": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", @@ -1765,6 +2283,11 @@ "node": ">= 8" } }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, "node_modules/gaxios": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", @@ -1792,6 +2315,14 @@ "node": ">=8.10.0" } }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, "node_modules/get-func-name": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", @@ -1800,6 +2331,34 @@ "node": "*" } }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/get-value": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", @@ -1836,11 +2395,11 @@ } }, "node_modules/google-p12-pem": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.4.tgz", - "integrity": "sha512-S4blHBQWZRnEW44OcR7TL9WR+QCqByRvhNDZ/uuQfpxywfupikf/miba8js1jZi6ZOGv5slgSuoshCWh6EMDzg==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.5.tgz", + "integrity": "sha512-7RLkxwSsMsYh9wQ5Vb2zRtkAHvqPvfoMGag+nugl1noYO7gf0844Yr9TIFA5NEBMAeVt2Z+Imu7CQMp3oNatzQ==", "dependencies": { - "node-forge": "^0.9.0" + "node-forge": "^0.10.0" }, "bin": { "gp12-pem": "build/src/bin/gp12-pem.js" @@ -1849,20 +2408,28 @@ "node": ">=8.10.0" } }, + "node_modules/google-p12-pem/node_modules/node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "engines": { + "node": ">= 6.0.0" + } + }, "node_modules/google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==" }, "node_modules/graceful-fs": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", - "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" }, "node_modules/grpc-boom": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.28.tgz", - "integrity": "sha512-hX9x67axsZtDRpzspAxD+UEQK9efx2Qo3j90pWQxxY89Pox/P+KI29offfxtIGJA48pUMfx9qc2QwkdBZzM4pg==" + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" }, "node_modules/grpc-promise": { "version": "1.4.0", @@ -1913,6 +2480,50 @@ "node": ">=6" } }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/has-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", @@ -1949,26 +2560,53 @@ "node": ">=0.10.0" } }, + "node_modules/hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", "dependencies": { "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" + "toidentifier": "1.0.1" }, "engines": { "node": ">= 0.6" } }, - "node_modules/http-errors/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, "node_modules/http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", @@ -2035,10 +2673,23 @@ "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/ioredis": { - "version": "4.27.7", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.27.7.tgz", - "integrity": "sha512-lqvFFmUyGIHlrNyDvBoakzy1+ioJzNyoP6CP97GWtdTjWq9IOAnv6l0HUTsqhvd/z9etGgtrDHZ4kWCMAwNkug==", + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", "dependencies": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -2061,11 +2712,11 @@ } }, "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", "engines": { - "node": ">= 0.10" + "node": ">= 10" } }, "node_modules/is-accessor-descriptor": { @@ -2079,16 +2730,68 @@ "node": ">=0.10.0" } }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-arrayish": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", @@ -2100,6 +2803,20 @@ "node": ">=0.10.0" } }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", @@ -2124,6 +2841,39 @@ "node": ">=0.10.0" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-number": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", @@ -2135,6 +2885,20 @@ "node": ">=0.10.0" } }, + "node_modules/is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-number/node_modules/kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -2162,12 +2926,84 @@ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", + "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-typedarray": { @@ -2175,6 +3011,17 @@ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", @@ -2220,9 +3067,9 @@ } }, "node_modules/json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" }, "node_modules/json-schema-traverse": { "version": "0.4.1", @@ -2287,26 +3134,18 @@ "safe-buffer": "^5.0.1" } }, - "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, "node_modules/jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "engines": [ - "node >=0.6.0" - ], + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", "dependencies": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", - "json-schema": "0.2.3", + "json-schema": "0.4.0", "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" } }, "node_modules/jwa": { @@ -2351,6 +3190,11 @@ "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, "node_modules/lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", @@ -2402,17 +3246,30 @@ "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" }, "node_modules/logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", "dependencies": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", + "@colors/colors": "1.5.0", "fecha": "^4.2.0", "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", "triple-beam": "^1.3.0" } }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -2440,6 +3297,16 @@ "node": ">=0.10.0" } }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -2484,10 +3351,27 @@ "node": ">=0.10.0" } }, + "node_modules/miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/miller-rabin/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "node_modules/mime": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", - "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", "bin": { "mime": "cli.js" }, @@ -2496,75 +3380,69 @@ } }, "node_modules/mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", "dependencies": { - "mime-db": "1.48.0" + "mime-db": "1.51.0" }, "engines": { "node": ">= 0.6" } }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, "node_modules/minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" }, "node_modules/minio": { - "version": "7.0.18", - "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.18.tgz", - "integrity": "sha512-jVRjkw8A5Spf+ETY5OXQUcQckHriuUA3u2+MAcX36btLT8EytlOVivxIseXvyFf9cNn3dy5w1F1UyjMvHU+nqg==", - "dependencies": { - "async": "^3.1.0", - "block-stream2": "^2.0.0", - "es6-error": "^4.1.1", - "fast-xml-parser": "^3.17.5", - "json-stream": "^1.0.0", - "lodash": "^4.17.20", - "mime-types": "^2.1.14", - "mkdirp": "^0.5.1", - "querystring": "0.2.0", - "through2": "^3.0.1", - "xml": "^1.0.0", - "xml2js": "^0.4.15" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/minio/node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/minio/node_modules/through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "version": "7.0.26", + "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.26.tgz", + "integrity": "sha512-knutnEZZMIUB/Xln6psVDrqObFKXDcF9m4IfFIX+zgDHYg3AlcF88DY1wdgg7bUkf+uU8iHkzP2q5CXAhia73w==", "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" + "async": "^3.1.0", + "block-stream2": "^2.0.0", + "browser-or-node": "^1.3.0", + "crypto-browserify": "^3.12.0", + "es6-error": "^4.1.1", + "fast-xml-parser": "^3.17.5", + "ipaddr.js": "^2.0.1", + "json-stream": "^1.0.0", + "lodash": "^4.17.21", + "mime-types": "^2.1.14", + "mkdirp": "^0.5.1", + "querystring": "0.2.0", + "through2": "^3.0.1", + "web-encoding": "^1.1.5", + "xml": "^1.0.0", + "xml2js": "^0.4.15" + }, + "engines": { + "node": ">= 4" } }, "node_modules/minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", + "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", "dependencies": { "yallist": "^4.0.0" }, @@ -2607,14 +3485,14 @@ } }, "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dependencies": { + "minimist": "^1.2.5" + }, "bin": { "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" } }, "node_modules/mkdirp-classic": { @@ -2641,15 +3519,21 @@ "msgpack": "bin/msgpack" } }, + "node_modules/nan": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", + "optional": true + }, "node_modules/nanoclone": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz", "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==" }, "node_modules/nanoid": { - "version": "3.1.23", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", - "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -2696,10 +3580,18 @@ "node": ">=10" } }, + "node_modules/ndjson/node_modules/through2": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", + "dependencies": { + "readable-stream": "3" + } + }, "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "engines": { "node": ">= 0.6" } @@ -2713,19 +3605,30 @@ } }, "node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, "engines": { "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } } }, "node_modules/node-forge": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.9.2.tgz", - "integrity": "sha512-naKSScof4Wn+aoHU6HBsifh92Zeicm1GDQKd1vp3Y/kOi8ub0DozCa9KpvYNCXslFHYRmLNiqRopGdTGwNLpNw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==", "engines": { - "node": ">= 4.5.0" + "node": ">= 6.13.0" } }, "node_modules/oauth-sign": { @@ -2814,6 +3717,22 @@ "node": ">=0.10.0" } }, + "node_modules/object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -2825,6 +3744,23 @@ "node": ">=0.10.0" } }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -2900,6 +3836,18 @@ "node": ">=6" } }, + "node_modules/parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "dependencies": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -2937,6 +3885,21 @@ "node": "*" } }, + "node_modules/pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, "node_modules/performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -2958,15 +3921,35 @@ "node": ">=0.10.0" } }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, "node_modules/property-expr": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.4.tgz", - "integrity": "sha512-sFPkHQjVKheDNnPvotjQmm3KD3uk1fWKUN7CrpdbwmUx3CrG3QiM8QpTSimvig5vTXmTvjz7+TDvXOI9+4rkcg==" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.5.tgz", + "integrity": "sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==" + }, + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } }, "node_modules/proxy-addr": { "version": "2.0.7", @@ -2980,11 +3963,37 @@ "node": ">= 0.10" } }, + "node_modules/proxy-addr/node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, "node_modules/psl": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" }, + "node_modules/public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/public-encrypt/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -3003,11 +4012,14 @@ } }, "node_modules/qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", "engines": { "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/querystring": { @@ -3019,6 +4031,23 @@ "node": ">=0.4.x" } }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dependencies": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, "node_modules/range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", @@ -3028,12 +4057,12 @@ } }, "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", + "bytes": "3.1.1", + "http-errors": "1.8.1", "iconv-lite": "0.4.24", "unpipe": "1.0.0" }, @@ -3079,9 +4108,9 @@ } }, "node_modules/regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" }, "node_modules/regex-not": { "version": "1.0.2", @@ -3142,6 +4171,22 @@ "node": ">= 6" } }, + "node_modules/request/node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -3164,6 +4209,15 @@ "node": ">= 4" } }, + "node_modules/ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -3191,6 +4245,14 @@ "ret": "~0.1.10" } }, + "node_modules/safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==", + "engines": { + "node": ">=10" + } + }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -3201,10 +4263,18 @@ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" }, + "node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, "node_modules/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", "dependencies": { "debug": "2.6.9", "depd": "~1.1.2", @@ -3213,9 +4283,9 @@ "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "~1.7.2", + "http-errors": "1.8.1", "mime": "1.6.0", - "ms": "2.1.1", + "ms": "2.1.3", "on-finished": "~2.3.0", "range-parser": "~1.2.1", "statuses": "~1.5.0" @@ -3249,19 +4319,19 @@ } }, "node_modules/send/node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", "dependencies": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.17.1" + "send": "0.17.2" }, "engines": { "node": ">= 0.8.0" @@ -3301,9 +4371,21 @@ } }, "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } }, "node_modules/shebang-command": { "version": "2.0.0", @@ -3324,6 +4406,19 @@ "node": ">=8" } }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/simple-swizzle": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", @@ -3516,6 +4611,7 @@ "version": "0.5.3", "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", "dependencies": { "atob": "^2.1.2", "decode-uri-component": "^0.2.0", @@ -3527,7 +4623,8 @@ "node_modules/source-map-url": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==" + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", + "deprecated": "See https://github.com/lydell/source-map-url#deprecated" }, "node_modules/split-ca": { "version": "1.0.1", @@ -3554,33 +4651,26 @@ } }, "node_modules/ssh2": { - "version": "0.8.9", - "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-0.8.9.tgz", - "integrity": "sha512-GmoNPxWDMkVpMFa9LVVzQZHF6EW3WKmBwL+4/GeILf2hFmix5Isxm7Amamo8o7bHiU0tC+wXsGcUXOxp8ChPaw==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.6.0.tgz", + "integrity": "sha512-lxc+uvXqOxyQ99N2M7k5o4pkYDO5GptOTYduWw7hIM41icxvoBcCNHcj+LTKrjkL0vFcAl+qfZekthoSFRJn2Q==", + "hasInstallScript": true, "dependencies": { - "ssh2-streams": "~0.4.10" + "asn1": "^0.2.4", + "bcrypt-pbkdf": "^1.0.2" }, "engines": { - "node": ">=5.2.0" - } - }, - "node_modules/ssh2-streams": { - "version": "0.4.10", - "resolved": "https://registry.npmjs.org/ssh2-streams/-/ssh2-streams-0.4.10.tgz", - "integrity": "sha512-8pnlMjvnIZJvmTzUIIA5nT4jr2ZWNNVHwyXfMGdRJbug9TpI3kd99ffglgfSWqujVv/0gxwMsDn9j9RVst8yhQ==", - "dependencies": { - "asn1": "~0.2.0", - "bcrypt-pbkdf": "^1.0.2", - "streamsearch": "~0.1.2" + "node": ">=10.16.0" }, - "engines": { - "node": ">=5.2.0" + "optionalDependencies": { + "cpu-features": "0.0.2", + "nan": "^2.15.0" } }, "node_modules/sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", "dependencies": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -3710,14 +4800,6 @@ "node": ">= 0.6" } }, - "node_modules/streamsearch": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz", - "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=", - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -3726,6 +4808,59 @@ "safe-buffer": "~5.2.0" } }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + }, "node_modules/sync": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", @@ -3738,9 +4873,9 @@ } }, "node_modules/tar": { - "version": "6.1.9", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.9.tgz", - "integrity": "sha512-XjLaMNl76o07zqZC/aW4lwegdY07baOH1T8w3AEfrHAdyg/oYO4ctjzEBq9Gy9fEP9oHqLIgvx6zuGDGe+bc8Q==", + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -3784,6 +4919,17 @@ "node": ">=6" } }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/tar/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -3795,11 +4941,12 @@ "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" }, "node_modules/through2": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "dependencies": { - "readable-stream": "3" + "inherits": "^2.0.4", + "readable-stream": "2 || 3" } }, "node_modules/to-object-path": { @@ -3851,9 +4998,9 @@ } }, "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "engines": { "node": ">=0.6" } @@ -3875,6 +5022,11 @@ "node": ">=0.8" } }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" + }, "node_modules/triple-beam": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", @@ -3917,9 +5069,9 @@ } }, "node_modules/typescript": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", - "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", + "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -3928,6 +5080,20 @@ "node": ">=4.2.0" } }, + "node_modules/unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -4032,6 +5198,19 @@ "node": ">=0.10.0" } }, + "node_modules/util": { + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", + "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "dependencies": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "safe-buffer": "^5.1.2", + "which-typed-array": "^1.1.2" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -4076,9 +5255,9 @@ } }, "node_modules/walk": { - "version": "2.3.14", - "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.14.tgz", - "integrity": "sha512-5skcWAUmySj6hkBdH6B6+3ddMjVQYH5Qy9QGbPmN8kVmLteXk+yVXg+yfk1nbX30EYakahLrr8iPcCxJQSCBeg==", + "version": "2.3.15", + "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.15.tgz", + "integrity": "sha512-4eRTBZljBfIISK1Vnt69Gvr2w/wc3U6Vtrw7qiN5iqYJPH7LElcYh/iU4XWhdCy2dZqv1ToMyYlybDylfG/5Vg==", "dependencies": { "foreachasync": "^3.0.0" } @@ -4091,6 +5270,31 @@ "node": ">=6.0.0" } }, + "node_modules/web-encoding": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.5.tgz", + "integrity": "sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==", + "dependencies": { + "util": "^0.12.3" + }, + "optionalDependencies": { + "@zxing/text-encoding": "0.9.0" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -4105,62 +5309,87 @@ "node": ">= 8" } }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", + "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", "dependencies": { "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", + "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.2.0", + "logform": "^2.4.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" + "winston-transport": "^4.5.0" }, "engines": { - "node": ">= 6.4.0" + "node": ">= 12.0.0" } }, "node_modules/winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", "dependencies": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" }, "engines": { "node": ">= 6.4.0" } }, - "node_modules/winston-transport/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/winston-transport/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/winston-transport/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dependencies": { - "safe-buffer": "~5.1.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, "node_modules/wrappy": { @@ -4193,11 +5422,44 @@ "node": ">=4.0" } }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, "node_modules/yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } + }, "node_modules/yup": { "version": "0.32.9", "resolved": "https://registry.npmjs.org/yup/-/yup-0.32.9.tgz", @@ -4254,32 +5516,37 @@ }, "dependencies": { "@babel/runtime": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz", - "integrity": "sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==", + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.2.tgz", + "integrity": "sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==", "requires": { "regenerator-runtime": "^0.13.4" } }, + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==" + }, "@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", "requires": { "colorspace": "1.1.x", "enabled": "2.0.x", "kuler": "^2.0.0" } }, - "@fonos/auth": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/auth/-/auth-0.1.20-alpha.0.tgz", - "integrity": "sha512-H2kVRYGulBvaMPvU60YZqAJLfmJZOsux+VYarSF3AwMZjgxWOtRIF/h7sYnbpI6tM1bezNjCi0B6ahFDLjMz2g==", + "@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", "requires": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "express": "^4.17.1", "google-protobuf": "^3.17.0", @@ -4287,10 +5554,10 @@ "jsonwebtoken": "^8.5.1" } }, - "@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", + "@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", "requires": { "@types/jsonwebtoken": "^8.5.0", "acme-client": "^4.1.3", @@ -4298,32 +5565,31 @@ "jsonwebtoken": "^8.5.1" } }, - "@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", + "@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", "requires": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "@speedymonster/grpc-interceptors": "^0.2.5", "atob": "^2.1.2", "deepmerge": "^4.2.2" } }, - "@fonos/core": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/core/-/core-0.1.20-alpha.0.tgz", - "integrity": "sha512-8EeRYLHPNAXhfdfgfpAd1+ZAYDNCbILW7pKLat14jG+50OmBpVQlV7QioQBbHnr3iXq/YNb3CYp586ypScTJ9w==", + "@fonoster/core": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/core/-/core-0.2.43.tgz", + "integrity": "sha512-ceCtPPXKkBleJyqY4b9Olx9VUpx/Ib6K/HvLza2M4yMJo1MVbAEAD5bwg6l8z0XmtcNLWzQAizXKFA7v+TLYyg==", "requires": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "atob": "^2.1.2", - "axios": "^0.21.1", "btoa": "^1.2.1", "deepmerge": "^4.2.2", "grpc-ts-health-check": "^2.0.6", @@ -4332,31 +5598,31 @@ "phone": "^2.4.21" } }, - "@fonos/errors": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/errors/-/errors-0.1.20-alpha.0.tgz", - "integrity": "sha512-gJGYliwGRoO5E46/+6V2mvDIUg7HWx77KUuP3qhH7bg4c1586LAiPhy1YWewa3sWGA0YL/x6w+I3TO9ln46DXg==" + "@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==" }, - "@fonos/logger": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.20-alpha.0.tgz", - "integrity": "sha512-2pxbetpP/Ff5bzVOUsfNY9/yfoLzkUzBG9uM+FSYzqeZUGkCesaSLqR20R3Xr2QxFA4mQEhpAI4z4daKqzsrDQ==", + "@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", "requires": { "fluent-logger": "^3.4.1", "winston": "^3.3.3" } }, - "@fonos/storage": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/storage/-/storage-0.1.20-alpha.0.tgz", - "integrity": "sha512-JZaRvZktsfHKwQoOxBQIgHubdtEN/oqJtOM43i9EhdxVcCum3SbrOuV0plr9Wyucau9HUAOGnYT4MLECXeBsSw==", + "@fonoster/storage": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/storage/-/storage-0.2.43.tgz", + "integrity": "sha512-oA414q6S9c+Ravr/aekNZ0AybHt8yo0IVmuPymQV8jefDqvrBh4X279m4DldeAaeCiRgeA2HIMZpSgOX43lWjg==", "requires": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", "@grpc/grpc-js": "^1.3.6", "google-protobuf": "^3.17.0", "grpc-promise": "^1.4.0", @@ -4368,13 +5634,80 @@ } }, "@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", "requires": { + "@grpc/proto-loader": "^0.6.4", "@types/node": ">=12.12.47" } }, + "@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, "@speedymonster/grpc-interceptors": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", @@ -4391,46 +5724,51 @@ "dev": true }, "@types/fs-extra": { - "version": "9.0.12", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.12.tgz", - "integrity": "sha512-I+bsBr67CurCGnSenZZ7v94gd3tc3+Aj2taxMT4yu4ABLuOgOjeFxX3dokG24ztSRg5tnT00sL8BszO7gSMoIw==", + "version": "9.0.13", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.13.tgz", + "integrity": "sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==", "dev": true, "requires": { "@types/node": "*" } }, "@types/google-protobuf": { - "version": "3.15.3", - "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.3.tgz", - "integrity": "sha512-MDpu7lit927cdLtBzTPUFjXGANFUnu5ThPqjygY8XmCyI/oDlIA0jAi4sffGOxYaLK2CCxAuU9wGxsgAQbA6FQ==", + "version": "3.15.5", + "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.5.tgz", + "integrity": "sha512-6bgv24B+A2bo9AfzReeg5StdiijKzwwnRflA8RLd1V4Yv995LeTmo0z69/MPbBDFSiZWdZHQygLo/ccXhMEDgw==", "dev": true }, "@types/jsonwebtoken": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", - "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", "requires": { "@types/node": "*" } }, "@types/lodash": { - "version": "4.14.171", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.171.tgz", - "integrity": "sha512-7eQ2xYLLI/LsicL2nejW9Wyko3lcpN6O/z0ZLHrEQsg280zIdCv1t/0m6UtBjUHokCGBQ3gYTbHzDkZ1xOBwwg==" + "version": "4.14.178", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.178.tgz", + "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==" + }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" }, "@types/minipass": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@types/minipass/-/minipass-2.2.1.tgz", - "integrity": "sha512-0bI74UwEJ+JjGqzkyoiCxLVGK5C3Vy5MYdDB6VCtUAulcrulHvqhIrQP9lh/gvMgaNzvvJljMW97rRHVvbTe8Q==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@types/minipass/-/minipass-3.1.2.tgz", + "integrity": "sha512-foLGjgrJkUjLG/o2t2ymlZGEoBNBa/TfoUZ7oCTkOjP1T43UGBJspovJou/l3ZuHvye2ewR5cZNtp2zyWgILMA==", "dev": true, "requires": { "@types/node": "*" } }, "@types/node": { - "version": "16.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.0.3.tgz", - "integrity": "sha512-QhhSbE1wJMbh+lDsb9G6UFmyojhEgoO7dFVDBkli80sp3sPFojGh6TJXsht9Qbe2VWi91pbj08+1Kvue61RwsQ==" + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" }, "@types/tar": { "version": "4.0.5", @@ -4442,6 +5780,12 @@ "@types/node": "*" } }, + "@zxing/text-encoding": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", + "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", + "optional": true + }, "abort-controller": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", @@ -4451,31 +5795,24 @@ } }, "accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "requires": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" + "mime-types": "~2.1.34", + "negotiator": "0.6.3" } }, "acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", "requires": { - "axios": "0.21.1", + "axios": "0.21.4", "backo2": "^1.0.0", "bluebird": "^3.5.0", "debug": "^4.1.1", - "node-forge": "^0.10.0" - }, - "dependencies": { - "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" - } + "node-forge": "^1.2.0" } }, "agent-base": { @@ -4497,6 +5834,34 @@ "uri-js": "^4.2.2" } }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + }, + "dependencies": { + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } + } + }, "arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -4528,13 +5893,31 @@ "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" }, "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", "requires": { "safer-buffer": "~2.1.0" } }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, "assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", @@ -4551,9 +5934,9 @@ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=" }, "async": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", - "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" }, "asynckit": { "version": "0.4.0", @@ -4565,6 +5948,11 @@ "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" }, + "available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + }, "aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", @@ -4576,11 +5964,11 @@ "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" }, "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "requires": { - "follow-redirects": "^1.10.0" + "follow-redirects": "^1.14.0" } }, "backo2": { @@ -4626,9 +6014,9 @@ } }, "bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==" + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", + "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==" }, "bl": { "version": "4.1.0", @@ -4653,21 +6041,26 @@ "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", "requires": { - "bytes": "3.1.0", + "bytes": "3.1.1", "content-type": "~1.0.4", "debug": "2.6.9", "depd": "~1.1.2", - "http-errors": "1.7.2", + "http-errors": "1.8.1", "iconv-lite": "0.4.24", "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" }, "dependencies": { "debug": { @@ -4682,11 +6075,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" } } }, @@ -4722,6 +6110,75 @@ } } }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "browser-or-node": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-1.3.0.tgz", + "integrity": "sha512-0F2z/VSnLbmEeBcUrSuDH5l0HxTXdQQzLjkmBR4cYfvg1zJrKSlmIZFqyFR8oX0NrwPhy3c3HQ6i3OxMbew4Tg==" + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, "bson": { "version": "0.1.9", "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", @@ -4746,10 +6203,15 @@ "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + }, "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==" }, "cache-base": { "version": "1.0.1", @@ -4767,20 +6229,30 @@ "unset-value": "^1.0.0" } }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", "requires": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", "deep-eql": "^3.0.1", "get-func-name": "^2.0.0", + "loupe": "^2.3.1", "pathval": "^1.1.1", "type-detect": "^4.0.5" } @@ -4795,6 +6267,15 @@ "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, "class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", @@ -4867,6 +6348,16 @@ } } }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, "cluster-key-slot": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", @@ -4882,12 +6373,12 @@ } }, "color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" + "color-convert": "^1.9.3", + "color-string": "^1.6.0" } }, "color-convert": { @@ -4904,25 +6395,20 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", "requires": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" } }, - "colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" - }, "colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", "requires": { - "color": "3.0.x", + "color": "^3.1.3", "text-hex": "1.0.x" } }, @@ -4982,43 +6468,28 @@ "minipass": "^2.9.0" } }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" - } - }, "tar": { - "version": "4.4.13", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", - "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", "requires": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" } } } }, "content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "requires": { - "safe-buffer": "5.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } + "safe-buffer": "5.2.1" } }, "content-type": { @@ -5027,9 +6498,9 @@ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" }, "cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" }, "cookie-signature": { "version": "1.0.6", @@ -5046,6 +6517,56 @@ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, + "cpu-features": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.2.tgz", + "integrity": "sha512-/2yieBqvMcRj8McNzkycjW2v3OIUOibBfd2dLEJ0nWts8NobAxwiyw9phVNS6oDL8x8tz9F7uNVFEVpJncQpeA==", + "optional": true, + "requires": { + "nan": "^2.14.1" + } + }, + "create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, "cron-validate": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/cron-validate/-/cron-validate-1.4.3.tgz", @@ -5064,6 +6585,24 @@ "which": "^2.0.1" } }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", @@ -5073,9 +6612,9 @@ } }, "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", "requires": { "ms": "2.1.2" } @@ -5098,6 +6637,14 @@ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "requires": { + "object-keys": "^1.0.12" + } + }, "define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -5113,15 +6660,24 @@ "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" }, "denque": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz", - "integrity": "sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==" + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==" }, "depd": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" }, + "des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, "destroy": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", @@ -5132,21 +6688,38 @@ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, "docker-modem": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.0.tgz", - "integrity": "sha512-WwFajJ8I5geZ/dDZ5FDMDA6TBkWa76xWwGIGw8uzUjNUGCN0to83wJ8Oi1AxrJTC0JBn+7fvIxUctnawtlwXeg==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.3.tgz", + "integrity": "sha512-Tgkn2a+yiNP9FoZgMa/D9Wk+D2Db///0KOyKSYZRJa8w4+DzKyzQMkczKSdR/adQ0x46BOpeNkoyEOKjPhCzjw==", "requires": { "debug": "^4.1.1", "readable-stream": "^3.5.0", "split-ca": "^1.0.1", - "ssh2": "^0.8.7" + "ssh2": "^1.4.0" } }, "dockerode": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.0.tgz", - "integrity": "sha512-St08lfOjpYCOXEM8XA0VLu3B3hRjtddODphNW5GFoA0AS3JHgoPQKOz0Qmdzg3P+hUPxhb02g1o1Cu1G+U3lRg==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.1.tgz", + "integrity": "sha512-AS2mr8Lp122aa5n6d99HkuTNdRV1wkkhHwBdcnY6V0+28D3DSYwhxAk85/mM9XwD3RMliTxyr63iuvn5ZblFYQ==", "requires": { "docker-modem": "^3.0.0", "tar-fs": "~2.0.1" @@ -5174,6 +6747,32 @@ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", @@ -5210,11 +6809,53 @@ "once": "^1.4.0" } }, + "es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, "es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, "escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", @@ -5235,6 +6876,15 @@ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, "expand-brackets": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", @@ -5337,16 +6987,16 @@ } }, "express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", "requires": { "accepts": "~1.3.7", "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.4.0", + "cookie": "0.4.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "~1.1.2", @@ -5360,13 +7010,13 @@ "on-finished": "~2.3.0", "parseurl": "~1.3.3", "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", "statuses": "~1.5.0", "type-is": "~1.6.18", "utils-merge": "1.0.1", @@ -5385,16 +7035,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" } } }, @@ -5465,20 +7105,18 @@ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" }, - "fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, "fast-text-encoding": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" }, "fast-xml-parser": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz", - "integrity": "sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==" + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.21.1.tgz", + "integrity": "sha512-FTFVjYoBOZTJekiUsawGsSYV9QL0A+zDYCRj7y34IO6Jg+2IMYEtQa+bbictpdpV8dHxXywqU7C0gRDEOFtBFg==", + "requires": { + "strnum": "^1.0.4" + } }, "fecha": { "version": "4.2.1", @@ -5486,9 +7124,9 @@ "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" }, "fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", "requires": { "detect-libc": "^1.0.3" } @@ -5562,15 +7200,20 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==" + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==" }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" }, + "foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" + }, "foreachasync": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", @@ -5632,6 +7275,11 @@ "minipass": "^3.0.0" } }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, "gaxios": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", @@ -5653,11 +7301,35 @@ "json-bigint": "^0.3.0" } }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, "get-func-name": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, "get-value": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", @@ -5688,27 +7360,34 @@ } }, "google-p12-pem": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.4.tgz", - "integrity": "sha512-S4blHBQWZRnEW44OcR7TL9WR+QCqByRvhNDZ/uuQfpxywfupikf/miba8js1jZi6ZOGv5slgSuoshCWh6EMDzg==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.5.tgz", + "integrity": "sha512-7RLkxwSsMsYh9wQ5Vb2zRtkAHvqPvfoMGag+nugl1noYO7gf0844Yr9TIFA5NEBMAeVt2Z+Imu7CQMp3oNatzQ==", "requires": { - "node-forge": "^0.9.0" + "node-forge": "^0.10.0" + }, + "dependencies": { + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" + } } }, "google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==" }, "graceful-fs": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", - "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" }, "grpc-boom": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.28.tgz", - "integrity": "sha512-hX9x67axsZtDRpzspAxD+UEQK9efx2Qo3j90pWQxxY89Pox/P+KI29offfxtIGJA48pUMfx9qc2QwkdBZzM4pg==" + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" }, "grpc-promise": { "version": "1.4.0", @@ -5749,6 +7428,32 @@ "har-schema": "^2.0.0" } }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==" + }, + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "requires": { + "has-symbols": "^1.0.2" + } + }, "has-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", @@ -5778,23 +7483,45 @@ } } }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", "requires": { "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - } + "toidentifier": "1.0.1" } }, "http-signature": { @@ -5839,10 +7566,20 @@ "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, "ioredis": { - "version": "4.27.7", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.27.7.tgz", - "integrity": "sha512-lqvFFmUyGIHlrNyDvBoakzy1+ioJzNyoP6CP97GWtdTjWq9IOAnv6l0HUTsqhvd/z9etGgtrDHZ4kWCMAwNkug==", + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", "requires": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -5858,9 +7595,9 @@ } }, "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==" }, "is-accessor-descriptor": { "version": "1.0.0", @@ -5870,16 +7607,47 @@ "kind-of": "^6.0.0" } }, + "is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, "is-arrayish": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, + "is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==" + }, "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", @@ -5888,6 +7656,14 @@ "kind-of": "^6.0.0" } }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", @@ -5906,6 +7682,24 @@ "is-plain-object": "^2.0.4" } }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" + }, "is-number": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", @@ -5924,6 +7718,14 @@ } } }, + "is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -5937,16 +7739,66 @@ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==" + }, "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typed-array": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", + "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0" + } }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "requires": { + "call-bind": "^1.0.2" + } + }, "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", @@ -5986,9 +7838,9 @@ } }, "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" }, "json-schema-traverse": { "version": "0.4.1", @@ -6048,22 +7900,17 @@ "jwa": "^1.4.1", "safe-buffer": "^5.0.1" } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" } } }, "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", "requires": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", - "json-schema": "0.2.3", + "json-schema": "0.4.0", "verror": "1.10.0" } }, @@ -6106,6 +7953,11 @@ "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, "lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", @@ -6157,17 +8009,30 @@ "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" }, "logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", "requires": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", + "@colors/colors": "1.5.0", "fecha": "^4.2.0", "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", "triple-beam": "^1.3.0" } }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "requires": { + "get-func-name": "^2.0.0" + } + }, "lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -6189,6 +8054,16 @@ "object-visit": "^1.0.0" } }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, "media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -6224,71 +8099,82 @@ "to-regex": "^3.0.2" } }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, "mime": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", - "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==" + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==" }, "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" }, "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", "requires": { - "mime-db": "1.48.0" + "mime-db": "1.51.0" } }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, "minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" }, "minio": { - "version": "7.0.18", - "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.18.tgz", - "integrity": "sha512-jVRjkw8A5Spf+ETY5OXQUcQckHriuUA3u2+MAcX36btLT8EytlOVivxIseXvyFf9cNn3dy5w1F1UyjMvHU+nqg==", + "version": "7.0.26", + "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.26.tgz", + "integrity": "sha512-knutnEZZMIUB/Xln6psVDrqObFKXDcF9m4IfFIX+zgDHYg3AlcF88DY1wdgg7bUkf+uU8iHkzP2q5CXAhia73w==", "requires": { "async": "^3.1.0", "block-stream2": "^2.0.0", + "browser-or-node": "^1.3.0", + "crypto-browserify": "^3.12.0", "es6-error": "^4.1.1", "fast-xml-parser": "^3.17.5", + "ipaddr.js": "^2.0.1", "json-stream": "^1.0.0", - "lodash": "^4.17.20", + "lodash": "^4.17.21", "mime-types": "^2.1.14", "mkdirp": "^0.5.1", "querystring": "0.2.0", "through2": "^3.0.1", + "web-encoding": "^1.1.5", "xml": "^1.0.0", "xml2js": "^0.4.15" - }, - "dependencies": { - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" - } - }, - "through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } - } } }, "minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", + "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", "requires": { "yallist": "^4.0.0" }, @@ -6326,9 +8212,12 @@ } }, "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } }, "mkdirp-classic": { "version": "0.5.3", @@ -6351,15 +8240,21 @@ "isarray": "^1.0.0" } }, + "nan": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", + "optional": true + }, "nanoclone": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz", "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==" }, "nanoid": { - "version": "3.1.23", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", - "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==" + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==" }, "nanomatch": { "version": "1.2.13", @@ -6389,12 +8284,22 @@ "readable-stream": "^3.6.0", "split2": "^3.0.0", "through2": "^4.0.0" + }, + "dependencies": { + "through2": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", + "requires": { + "readable-stream": "3" + } + } } }, "negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" }, "network-address": { "version": "1.1.2", @@ -6402,14 +8307,17 @@ "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" }, "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "requires": { + "whatwg-url": "^5.0.0" + } }, "node-forge": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.9.2.tgz", - "integrity": "sha512-naKSScof4Wn+aoHU6HBsifh92Zeicm1GDQKd1vp3Y/kOi8ub0DozCa9KpvYNCXslFHYRmLNiqRopGdTGwNLpNw==" + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==" }, "oauth-sign": { "version": "0.9.0", @@ -6477,6 +8385,16 @@ } } }, + "object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, "object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -6485,6 +8403,17 @@ "isobject": "^3.0.0" } }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, "object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -6548,6 +8477,18 @@ "retry": "^0.12.0" } }, + "parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, "parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -6573,6 +8514,18 @@ "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" }, + "pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -6588,15 +8541,30 @@ "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, "property-expr": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.4.tgz", - "integrity": "sha512-sFPkHQjVKheDNnPvotjQmm3KD3uk1fWKUN7CrpdbwmUx3CrG3QiM8QpTSimvig5vTXmTvjz7+TDvXOI9+4rkcg==" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.5.tgz", + "integrity": "sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==" + }, + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } }, "proxy-addr": { "version": "2.0.7", @@ -6605,6 +8573,13 @@ "requires": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" + }, + "dependencies": { + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + } } }, "psl": { @@ -6612,6 +8587,26 @@ "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -6627,27 +8622,44 @@ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" }, "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" }, "querystring": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, "range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" }, "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", + "bytes": "3.1.1", + "http-errors": "1.8.1", "iconv-lite": "0.4.24", "unpipe": "1.0.0" } @@ -6681,9 +8693,9 @@ } }, "regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" }, "regex-not": { "version": "1.0.2", @@ -6729,8 +8741,20 @@ "tough-cookie": "~2.5.0", "tunnel-agent": "^0.6.0", "uuid": "^3.3.2" + }, + "dependencies": { + "qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" + } } }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -6746,6 +8770,15 @@ "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=" }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -6759,6 +8792,11 @@ "ret": "~0.1.10" } }, + "safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==" + }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -6769,10 +8807,15 @@ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, "send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", "requires": { "debug": "2.6.9", "depd": "~1.1.2", @@ -6781,9 +8824,9 @@ "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "~1.7.2", + "http-errors": "1.8.1", "mime": "1.6.0", - "ms": "2.1.1", + "ms": "2.1.3", "on-finished": "~2.3.0", "range-parser": "~1.2.1", "statuses": "~1.5.0" @@ -6810,21 +8853,21 @@ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" }, "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" } } }, "serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", "requires": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.17.1" + "send": "0.17.2" } }, "set-value": { @@ -6854,9 +8897,18 @@ } }, "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } }, "shebang-command": { "version": "2.0.0", @@ -6871,6 +8923,16 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, "simple-swizzle": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", @@ -7063,27 +9125,20 @@ } }, "ssh2": { - "version": "0.8.9", - "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-0.8.9.tgz", - "integrity": "sha512-GmoNPxWDMkVpMFa9LVVzQZHF6EW3WKmBwL+4/GeILf2hFmix5Isxm7Amamo8o7bHiU0tC+wXsGcUXOxp8ChPaw==", - "requires": { - "ssh2-streams": "~0.4.10" - } - }, - "ssh2-streams": { - "version": "0.4.10", - "resolved": "https://registry.npmjs.org/ssh2-streams/-/ssh2-streams-0.4.10.tgz", - "integrity": "sha512-8pnlMjvnIZJvmTzUIIA5nT4jr2ZWNNVHwyXfMGdRJbug9TpI3kd99ffglgfSWqujVv/0gxwMsDn9j9RVst8yhQ==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.6.0.tgz", + "integrity": "sha512-lxc+uvXqOxyQ99N2M7k5o4pkYDO5GptOTYduWw7hIM41icxvoBcCNHcj+LTKrjkL0vFcAl+qfZekthoSFRJn2Q==", "requires": { - "asn1": "~0.2.0", + "asn1": "^0.2.4", "bcrypt-pbkdf": "^1.0.2", - "streamsearch": "~0.1.2" + "cpu-features": "0.0.2", + "nan": "^2.15.0" } }, "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -7181,11 +9236,6 @@ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" }, - "streamsearch": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz", - "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=" - }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -7194,6 +9244,47 @@ "safe-buffer": "~5.2.0" } }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + }, "sync": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", @@ -7203,9 +9294,9 @@ } }, "tar": { - "version": "6.1.9", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.9.tgz", - "integrity": "sha512-XjLaMNl76o07zqZC/aW4lwegdY07baOH1T8w3AEfrHAdyg/oYO4ctjzEBq9Gy9fEP9oHqLIgvx6zuGDGe+bc8Q==", + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", "requires": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -7215,6 +9306,11 @@ "yallist": "^4.0.0" }, "dependencies": { + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -7258,11 +9354,12 @@ "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" }, "through2": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "requires": { - "readable-stream": "3" + "inherits": "^2.0.4", + "readable-stream": "2 || 3" } }, "to-object-path": { @@ -7304,9 +9401,9 @@ } }, "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" }, "toposort": { "version": "2.0.2", @@ -7322,6 +9419,11 @@ "punycode": "^2.1.1" } }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" + }, "triple-beam": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", @@ -7355,9 +9457,20 @@ } }, "typescript": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", - "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==" + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", + "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==" + }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } }, "union-value": { "version": "1.0.1", @@ -7441,6 +9554,19 @@ "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, + "util": { + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", + "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "requires": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "safe-buffer": "^5.1.2", + "which-typed-array": "^1.1.2" + } + }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -7472,9 +9598,9 @@ } }, "walk": { - "version": "2.3.14", - "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.14.tgz", - "integrity": "sha512-5skcWAUmySj6hkBdH6B6+3ddMjVQYH5Qy9QGbPmN8kVmLteXk+yVXg+yfk1nbX30EYakahLrr8iPcCxJQSCBeg==", + "version": "2.3.15", + "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.15.tgz", + "integrity": "sha512-4eRTBZljBfIISK1Vnt69Gvr2w/wc3U6Vtrw7qiN5iqYJPH7LElcYh/iU4XWhdCy2dZqv1ToMyYlybDylfG/5Vg==", "requires": { "foreachasync": "^3.0.0" } @@ -7484,6 +9610,29 @@ "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz", "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==" }, + "web-encoding": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.5.tgz", + "integrity": "sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==", + "requires": { + "@zxing/text-encoding": "0.9.0", + "util": "^0.12.3" + } + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7492,58 +9641,66 @@ "isexe": "^2.0.0" } }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-typed-array": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", + "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.7" + } + }, "winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", "requires": { "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", + "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.2.0", + "logform": "^2.4.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" + "winston-transport": "^4.5.0" } }, "winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", "requires": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" } }, "wrappy": { @@ -7570,11 +9727,35 @@ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, "yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + }, "yup": { "version": "0.32.9", "resolved": "https://registry.npmjs.org/yup/-/yup-0.32.9.tgz", diff --git a/mods/funcs/package.json b/mods/funcs/package.json index 172ca98b5..0bba88889 100644 --- a/mods/funcs/package.json +++ b/mods/funcs/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/funcs", - "version": "0.1.20-alpha.0", + "name": "@fonoster/funcs", + "version": "0.2.40", "description": "Fonoster functions support", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/client/funcs", "types": "dist/client/funcs", @@ -37,21 +37,20 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@fonos/storage": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/storage": "^0.2.40", "@grpc/grpc-js": "^1.3.6", - "axios": "^0.21.1", "btoa": "^1.2.1", "container-image-builder": "^3.2.0", "cron-validate": "^1.4.3", diff --git a/mods/funcs/src/client/funcs.ts b/mods/funcs/src/client/funcs.ts index 0fe1bd17a..2335f94f9 100644 --- a/mods/funcs/src/client/funcs.ts +++ b/mods/funcs/src/client/funcs.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,8 +16,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import Storage from "@fonos/storage"; -import {FonosService, ServiceOptions} from "@fonos/common"; +import Storage from "@fonoster/storage"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {FuncsClient} from "../service/protos/funcs_grpc_pb"; import FuncsPB from "../service/protos/funcs_pb"; import CommonPB from "../service/protos/common_pb"; @@ -28,6 +28,7 @@ import { GetFuncLogsRequest, GetFuncRequest, GetFuncResponse, + IFuncsClient, ListFuncsRequest, ListFuncsResponse } from "./types"; @@ -39,11 +40,11 @@ import { import {DeployStream, LogsStream} from "./stream_wrappers"; /** - * @classdesc Use Fonos Funcs, a capability of FaaS subsystem, - * to deploy, update, get and delete functions. Fonos Funcs requires of a - * running Fonos deployment and FaaS. + * @classdesc Use Fonoster Funcs, a capability of FaaS subsystem, + * to deploy, update, get and delete functions. Fonoster Funcs requires of a + * running Fonoster deployment and FaaS. * - * @extends FonosService + * @extends APIClient * @example * * const request = { @@ -58,14 +59,14 @@ import {DeployStream, LogsStream} from "./stream_wrappers"; * stream.onError(e => console.error(e)) * }).catch(e => console.error(e)); // an error occurred */ -export default class Funcs extends FonosService { +export default class Funcs extends APIClient implements IFuncsClient { storage: any; /** * Constructs a new Funcs object. - * @param {ServiceOptions} options - Options to indicate the objects endpoint - * @see module:core:FonosService + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(FuncsClient, options); super.init(); this.storage = new Storage(super.getOptions()); @@ -85,8 +86,8 @@ export default class Funcs extends FonosService { * @return {Promise} * @example * - * const Fonos = require("@fonos/sdk"); - * const funcs = new Fonos.Funcs(); + * const Fonoster = require("@fonoster/sdk"); + * const funcs = new Fonoster.Funcs(); * * const request = { * name: "function1", @@ -258,8 +259,8 @@ export default class Funcs extends FonosService { * @return {Promise} * @example * - * const Fonos = require("@fonos/sdk"); - * const funcs = new Fonos.Funcs(); + * const Fonoster = require("@fonoster/sdk"); + * const funcs = new Fonoster.Funcs(); * * const request = { * name: "function1", @@ -286,7 +287,7 @@ export default class Funcs extends FonosService { } } -export {FuncsPB, CommonPB, buildDeployFuncRequest}; +export {FuncsPB, CommonPB, buildDeployFuncRequest, IFuncsClient}; // WARNING: Workaround to support commonjs clients module.exports = Funcs; diff --git a/mods/funcs/src/client/stream_wrappers.ts b/mods/funcs/src/client/stream_wrappers.ts index 9b472bb61..6142b4dd2 100644 --- a/mods/funcs/src/client/stream_wrappers.ts +++ b/mods/funcs/src/client/stream_wrappers.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/funcs/src/client/types.ts b/mods/funcs/src/client/types.ts index 5e68cdd50..35dd049f3 100644 --- a/mods/funcs/src/client/types.ts +++ b/mods/funcs/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,6 +17,15 @@ * limitations under the License. */ import FuncPB from "../service/protos/funcs_pb"; +import {DeployStream, LogsStream} from "./stream_wrappers"; + +export interface IFuncsClient { + deployFunc(request: DeployFuncRequest): Promise; + getFunc(request: GetFuncRequest): Promise; + deleteFunc(request: DeleteFuncRequest): Promise; + listFuncs(request: ListFuncsRequest): Promise; + getFuncLogs(request: GetFuncLogsRequest): Promise; +} enum View { BASIC = 0, diff --git a/mods/funcs/src/protos/funcs.proto b/mods/funcs/src/protos/funcs.proto index 6b3f32001..829607631 100644 --- a/mods/funcs/src/protos/funcs.proto +++ b/mods/funcs/src/protos/funcs.proto @@ -7,43 +7,67 @@ */ syntax = "proto3"; -package fonos.funcs.v1beta1; +package fonoster.funcs.v1beta1; +option go_package = "github.com/fonoster/fonoster/mods/funcs/fonoster/services/protos/funcs"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; import "common.proto"; service Funcs { // Shows a list of user functions - rpc ListFuncs (ListFuncsRequest) returns (ListFuncsResponse) {}; - // Gets a function by namem - rpc GetFunc (GetFuncRequest) returns (Func) {}; + rpc ListFuncs (ListFuncsRequest) returns (ListFuncsResponse) { + option (google.api.http) = { get: "/v1beta1/funcs" }; + }; + // Gets a function by name + rpc GetFunc (GetFuncRequest) returns (Func) { + option (google.api.http) = { get: "/v1beta1/funcs/{name}" }; + }; // Orders the functions subsystem to download and deploy a function rpc DeployFunc (DeployFuncRequest) returns (stream DeployStream) {}; // Peforms a hard delete of the function - rpc DeleteFunc (DeleteFuncRequest) returns (fonos.common.v1beta1.Empty) {}; - // Peforms a hard delete of the function - rpc GetFuncLogs (GetFuncLogsRequest) returns (stream FuncLog) {}; + rpc DeleteFunc (DeleteFuncRequest) returns (fonoster.common.v1beta1.Empty) { + option (google.api.http) = { + delete: "/v1beta1/funcs/{name}" + }; + }; + // Gets a stream of logs + rpc GetFuncLogs (GetFuncLogsRequest) returns (stream FuncLog) { + option (google.api.http) = { get: "/v1beta1/funcs/{name}/logs" }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + responses: { + key: "200"; + value: { + description: "Stream of logs"; + schema: { + json_schema: { + ref: "FuncLog"; + } + } + } + } + }; + }; // Creates a one time scoped token for access to the registry rpc CreateRegistryToken (CreateRegistryTokenRequest) returns (CreateRegistryTokenResponse); } message ListFuncsRequest { - // The maximum number of items to return. + // The maximum number of items in the list int32 page_size = 1; - // The next_page_token value returned from a previous List request, if any. + // The next_page_token value returned from the previous request, if any string page_token = 2; // Level of detail of the individual entities - fonos.common.v1beta1.View view = 3; + fonoster.common.v1beta1.View view = 3; } message ListFuncsResponse { - // There will be a maximum number of items returned based on the page_size field - // in the request. + // List of Functions repeated Func funcs = 1; - - // Token to retrieve the next page of results, or empty if there are no - // more results in the list. + // Token to retrieve the next page of results, or empty if there are no more results in the list string next_page_token = 2; } @@ -58,7 +82,7 @@ message GetFuncLogsRequest { message GetFuncRequest { string name = 1; // Requested level of detail - fonos.common.v1beta1.View view = 2; + fonoster.common.v1beta1.View view = 2; } message DeployFuncRequest { @@ -82,6 +106,9 @@ message CreateRegistryTokenResponse { } message Func { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"testfunc\", \"image\": \"functions/nodeinfo:latest\", \"invocationCount\": 20, \"replicas\": 1, \"availableReplicas\": 1, \"limit\": { \"memory\": \"128M\", \"cpu\": \"0.01\" }, \"requests\": { \"memory\": \"128M\", \"cpu\": \"0.01\" }}" + }; string name = 1; string image = 2; int32 invocation_count = 3; diff --git a/mods/funcs/src/service/funcs.ts b/mods/funcs/src/service/funcs.ts index e8d465598..c3c7928d0 100644 --- a/mods/funcs/src/service/funcs.ts +++ b/mods/funcs/src/service/funcs.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -33,9 +33,13 @@ import { ListFuncsResponse } from "./protos/funcs_pb"; import {HttpBasicAuth, DefaultApi as FaaS} from "openfaas-client"; -import logger from "@fonos/logger"; -import {ErrorCodes, FonosError, FonosSubsysUnavailable} from "@fonos/errors"; -import {getAccessKeyId} from "@fonos/core"; +import logger from "@fonoster/logger"; +import { + ErrorCodes, + FonosterError, + FonosterSubsysUnavailable +} from "@fonoster/errors"; +import {getAccessKeyId} from "@fonoster/core"; import axios from "axios"; import { rawFuncToFunc, @@ -97,14 +101,14 @@ const publish = async ( serverStream ); - logger.verbose("@fonos/funcs publish [publishing to funcs subsystem]"); + logger.verbose("@fonoster/funcs publish [publishing to funcs subsystem]"); const attempts = [1, 2, 3]; let index; for (index in attempts) { // Sometime the image is not inmediatly available so we try a few times logger.verbose( - `@fonos/funcs publish [publishing to functions subsystem (try #${attempts[index]})` + `@fonoster/funcs publish [publishing to functions subsystem (try #${attempts[index]})` ); serverStream.write("wating for image to be ready"); serverStream.write( @@ -113,11 +117,11 @@ const publish = async ( await sleep(20000); try { // If the function already exist this will fail - logger.verbose("@fonos/funcs publish [first trying post]"); + logger.verbose("@fonoster/funcs publish [first trying post]"); await faas.systemFunctionsPost(parameters); break; } catch (e) { - logger.verbose("@fonos/funcs publish [now trying put]"); + logger.verbose("@fonoster/funcs publish [now trying put]"); try { await faas.systemFunctionsPut(parameters); break; @@ -150,7 +154,7 @@ export default class FuncsServer implements IFuncsServer { // response.setNextPageToken() callback(null, response); } catch (e) { - logger.error(`@fonos/funcs list [${e}]`); + logger.error(`@fonoster/funcs list [${e}]`); } } @@ -167,14 +171,14 @@ export default class FuncsServer implements IFuncsServer { )[0]; if (!rawFunction) - throw new FonosError( + throw new FonosterError( `function name "${call.request.getName()}" doesn't exist`, ErrorCodes.NOT_FOUND ); callback(null, rawFuncToFunc(rawFunction)); } catch (e) { - logger.error(`@fonos/funcs get [${e}]`); + logger.error(`@fonoster/funcs get [${e}]`); callback(e, null); } } @@ -194,27 +198,27 @@ export default class FuncsServer implements IFuncsServer { serverStream.write("your function will be available shortly"); call.end(); } catch (e) { - logger.error(`@fonos/funcs deploy [${e}]`); + logger.error(`@fonoster/funcs deploy [${e}]`); if (!e.response) { - call.emit("error", new FonosError(e, ErrorCodes.UNKNOWN)); + call.emit("error", new FonosterError(e, ErrorCodes.UNKNOWN)); return; } if (e.response.statusCode === 400) { call.emit( "error", - new FonosError(e.response.body, ErrorCodes.INVALID_ARGUMENT) + new FonosterError(e.response.body, ErrorCodes.INVALID_ARGUMENT) ); } else if (e.response.statusCode === 401) { call.emit( "error", - new FonosSubsysUnavailable("Functions subsystem unavailable") + new FonosterSubsysUnavailable("Functions subsystem unavailable") ); } else if (e.response.statusCode === 404) { call.emit( "error", - new FonosError(e.response.body, ErrorCodes.NOT_FOUND) + new FonosterError(e.response.body, ErrorCodes.NOT_FOUND) ); } } @@ -231,10 +235,10 @@ export default class FuncsServer implements IFuncsServer { await faas.systemFunctionsDelete({functionName}); callback(null, new Empty()); } catch (e) { - logger.error(`@fonos/funcs delete [${e}]`); + logger.error(`@fonoster/funcs delete [${e}]`); if (e.response.statusCode === 404) { callback( - new FonosError( + new FonosterError( `Function name "${call.request.getName()}" doesn't exist`, ErrorCodes.NOT_FOUND ), @@ -278,33 +282,33 @@ export default class FuncsServer implements IFuncsServer { }) .on("error", (e) => { logger.error( - `@fonos/funcs system logs [error while receiving data: ${e}]` + `@fonoster/funcs system logs [error while receiving data: ${e}]` ); call.end(); }) .on("end", () => { - logger.verbose("@fonos/funcs system logs [done receiving data]"); + logger.verbose("@fonoster/funcs system logs [done receiving data]"); call.end(); }); } catch (e) { - logger.error(`@fonos/funcs deploy [${e}]`); + logger.error(`@fonoster/funcs deploy [${e}]`); if (e.response.statusCode === 400) { call.emit( "error", - new FonosError(e.response.body, ErrorCodes.INVALID_ARGUMENT) + new FonosterError(e.response.body, ErrorCodes.INVALID_ARGUMENT) ); } else if (e.response.statusCode === 401) { call.emit( "error", - new FonosSubsysUnavailable("Functions subsystem unavailable") + new FonosterSubsysUnavailable("Functions subsystem unavailable") ); } else if (e.response.statusCode === 404) { call.emit( "error", - new FonosError(e.response.body, ErrorCodes.NOT_FOUND) + new FonosterError(e.response.body, ErrorCodes.NOT_FOUND) ); } - call.emit("error", new FonosError(e, ErrorCodes.NOT_FOUND)); + call.emit("error", new FonosterError(e, ErrorCodes.NOT_FOUND)); } } @@ -323,7 +327,7 @@ export default class FuncsServer implements IFuncsServer { ) { try { if (!call.request.getFuncName()) - throw new FonosError( + throw new FonosterError( "Missing function name", ErrorCodes.INVALID_ARGUMENT ); @@ -346,7 +350,7 @@ export default class FuncsServer implements IFuncsServer { res.setImage(image); callback(null, res); } catch (e) { - callback(new FonosError(e), null); + callback(new FonosterError(e), null); } } } diff --git a/mods/funcs/src/service/healthcheck.ts b/mods/funcs/src/service/healthcheck.ts index 03ef418cd..c024ae500 100644 --- a/mods/funcs/src/service/healthcheck.ts +++ b/mods/funcs/src/service/healthcheck.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; //healthcheck(); diff --git a/mods/funcs/src/service/protos/common_pb.d.ts b/mods/funcs/src/service/protos/common_pb.d.ts index 5311b1717..f8b5fb810 100644 --- a/mods/funcs/src/service/protos/common_pb.d.ts +++ b/mods/funcs/src/service/protos/common_pb.d.ts @@ -1,42 +1,49 @@ -// package: fonos.common.v1beta1 +// package: fonoster.common.v1beta1 // file: common.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; -export class Error extends jspb.Message { +export class Empty extends jspb.Message { serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Error.AsObject; - static toObject(includeInstance: boolean, msg: Error): Error.AsObject; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Error; - static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; } -export namespace Error { +export namespace Empty { export type AsObject = { } } -export class Empty extends jspb.Message { +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Empty.AsObject; - static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Empty; - static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; } -export namespace Empty { +export namespace ErrorResponse { export type AsObject = { + status: number, + message: string, } } diff --git a/mods/funcs/src/service/protos/common_pb.js b/mods/funcs/src/service/protos/common_pb.js index 4efc688db..b7f99c7ea 100644 --- a/mods/funcs/src/service/protos/common_pb.js +++ b/mods/funcs/src/service/protos/common_pb.js @@ -15,9 +15,11 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.common.v1beta1.Empty', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.Error', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -28,16 +30,16 @@ goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Error = function(opt_data) { +proto.fonoster.common.v1beta1.Empty = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Error, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Error.displayName = 'proto.fonos.common.v1beta1.Error'; + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; } /** * Generated by JsPbCodeGenerator. @@ -49,16 +51,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Empty = function(opt_data) { +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Empty, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Empty.displayName = 'proto.fonos.common.v1beta1.Empty'; + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; } @@ -76,8 +78,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Error.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); }; @@ -86,11 +88,11 @@ proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Error} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -106,23 +108,23 @@ proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Error; - return proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Error} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -142,9 +144,9 @@ proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Error.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -152,11 +154,11 @@ proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Error} message + * @param {!proto.fonoster.common.v1beta1.Empty} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -177,8 +179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Empty.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); }; @@ -187,13 +189,14 @@ proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Empty} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { var f, obj = { - + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -207,29 +210,37 @@ proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Empty; - return proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; default: reader.skipField(); break; @@ -243,9 +254,9 @@ proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -253,22 +264,72 @@ proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Empty} message + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** * @enum {number} */ -proto.fonos.common.v1beta1.View = { +proto.fonoster.common.v1beta1.View = { BASIC: 0, STANDARD: 1, FULL: 2 }; -goog.object.extend(exports, proto.fonos.common.v1beta1); +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/funcs/src/service/protos/funcs_grpc_pb.d.ts b/mods/funcs/src/service/protos/funcs_grpc_pb.d.ts index 009986902..9b194a768 100644 --- a/mods/funcs/src/service/protos/funcs_grpc_pb.d.ts +++ b/mods/funcs/src/service/protos/funcs_grpc_pb.d.ts @@ -1,11 +1,13 @@ -// package: fonos.funcs.v1beta1 +// package: fonoster.funcs.v1beta1 // file: funcs.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as funcs_pb from "./funcs_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; import * as common_pb from "./common_pb"; interface IFuncsService extends grpc.ServiceDefinition { @@ -18,7 +20,7 @@ interface IFuncsService extends grpc.ServiceDefinition { - path: "/fonos.funcs.v1beta1.Funcs/ListFuncs"; + path: "/fonoster.funcs.v1beta1.Funcs/ListFuncs"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -27,7 +29,7 @@ interface IFuncsService_IListFuncs extends grpc.MethodDefinition; } interface IFuncsService_IGetFunc extends grpc.MethodDefinition { - path: "/fonos.funcs.v1beta1.Funcs/GetFunc"; + path: "/fonoster.funcs.v1beta1.Funcs/GetFunc"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -36,7 +38,7 @@ interface IFuncsService_IGetFunc extends grpc.MethodDefinition; } interface IFuncsService_IDeployFunc extends grpc.MethodDefinition { - path: "/fonos.funcs.v1beta1.Funcs/DeployFunc"; + path: "/fonoster.funcs.v1beta1.Funcs/DeployFunc"; requestStream: false; responseStream: true; requestSerialize: grpc.serialize; @@ -45,7 +47,7 @@ interface IFuncsService_IDeployFunc extends grpc.MethodDefinition; } interface IFuncsService_IDeleteFunc extends grpc.MethodDefinition { - path: "/fonos.funcs.v1beta1.Funcs/DeleteFunc"; + path: "/fonoster.funcs.v1beta1.Funcs/DeleteFunc"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -54,7 +56,7 @@ interface IFuncsService_IDeleteFunc extends grpc.MethodDefinition; } interface IFuncsService_IGetFuncLogs extends grpc.MethodDefinition { - path: "/fonos.funcs.v1beta1.Funcs/GetFuncLogs"; + path: "/fonoster.funcs.v1beta1.Funcs/GetFuncLogs"; requestStream: false; responseStream: true; requestSerialize: grpc.serialize; @@ -63,7 +65,7 @@ interface IFuncsService_IGetFuncLogs extends grpc.MethodDefinition; } interface IFuncsService_ICreateRegistryToken extends grpc.MethodDefinition { - path: "/fonos.funcs.v1beta1.Funcs/CreateRegistryToken"; + path: "/fonoster.funcs.v1beta1.Funcs/CreateRegistryToken"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; diff --git a/mods/funcs/src/service/protos/funcs_grpc_pb.js b/mods/funcs/src/service/protos/funcs_grpc_pb.js index ac3dab5e1..595b64f34 100644 --- a/mods/funcs/src/service/protos/funcs_grpc_pb.js +++ b/mods/funcs/src/service/protos/funcs_grpc_pb.js @@ -10,137 +10,139 @@ 'use strict'; var grpc = require('@grpc/grpc-js'); var funcs_pb = require('./funcs_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); var common_pb = require('./common_pb.js'); -function serialize_fonos_common_v1beta1_Empty(arg) { +function serialize_fonoster_common_v1beta1_Empty(arg) { if (!(arg instanceof common_pb.Empty)) { - throw new Error('Expected argument of type fonos.common.v1beta1.Empty'); + throw new Error('Expected argument of type fonoster.common.v1beta1.Empty'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_common_v1beta1_Empty(buffer_arg) { +function deserialize_fonoster_common_v1beta1_Empty(buffer_arg) { return common_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_CreateRegistryTokenRequest(arg) { +function serialize_fonoster_funcs_v1beta1_CreateRegistryTokenRequest(arg) { if (!(arg instanceof funcs_pb.CreateRegistryTokenRequest)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.CreateRegistryTokenRequest'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.CreateRegistryTokenRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_CreateRegistryTokenRequest(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_CreateRegistryTokenRequest(buffer_arg) { return funcs_pb.CreateRegistryTokenRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_CreateRegistryTokenResponse(arg) { +function serialize_fonoster_funcs_v1beta1_CreateRegistryTokenResponse(arg) { if (!(arg instanceof funcs_pb.CreateRegistryTokenResponse)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.CreateRegistryTokenResponse'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.CreateRegistryTokenResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_CreateRegistryTokenResponse(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_CreateRegistryTokenResponse(buffer_arg) { return funcs_pb.CreateRegistryTokenResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_DeleteFuncRequest(arg) { +function serialize_fonoster_funcs_v1beta1_DeleteFuncRequest(arg) { if (!(arg instanceof funcs_pb.DeleteFuncRequest)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.DeleteFuncRequest'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.DeleteFuncRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_DeleteFuncRequest(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_DeleteFuncRequest(buffer_arg) { return funcs_pb.DeleteFuncRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_DeployFuncRequest(arg) { +function serialize_fonoster_funcs_v1beta1_DeployFuncRequest(arg) { if (!(arg instanceof funcs_pb.DeployFuncRequest)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.DeployFuncRequest'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.DeployFuncRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_DeployFuncRequest(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_DeployFuncRequest(buffer_arg) { return funcs_pb.DeployFuncRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_DeployStream(arg) { +function serialize_fonoster_funcs_v1beta1_DeployStream(arg) { if (!(arg instanceof funcs_pb.DeployStream)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.DeployStream'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.DeployStream'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_DeployStream(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_DeployStream(buffer_arg) { return funcs_pb.DeployStream.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_Func(arg) { +function serialize_fonoster_funcs_v1beta1_Func(arg) { if (!(arg instanceof funcs_pb.Func)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.Func'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.Func'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_Func(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_Func(buffer_arg) { return funcs_pb.Func.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_FuncLog(arg) { +function serialize_fonoster_funcs_v1beta1_FuncLog(arg) { if (!(arg instanceof funcs_pb.FuncLog)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.FuncLog'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.FuncLog'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_FuncLog(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_FuncLog(buffer_arg) { return funcs_pb.FuncLog.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_GetFuncLogsRequest(arg) { +function serialize_fonoster_funcs_v1beta1_GetFuncLogsRequest(arg) { if (!(arg instanceof funcs_pb.GetFuncLogsRequest)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.GetFuncLogsRequest'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.GetFuncLogsRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_GetFuncLogsRequest(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_GetFuncLogsRequest(buffer_arg) { return funcs_pb.GetFuncLogsRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_GetFuncRequest(arg) { +function serialize_fonoster_funcs_v1beta1_GetFuncRequest(arg) { if (!(arg instanceof funcs_pb.GetFuncRequest)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.GetFuncRequest'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.GetFuncRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_GetFuncRequest(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_GetFuncRequest(buffer_arg) { return funcs_pb.GetFuncRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_ListFuncsRequest(arg) { +function serialize_fonoster_funcs_v1beta1_ListFuncsRequest(arg) { if (!(arg instanceof funcs_pb.ListFuncsRequest)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.ListFuncsRequest'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.ListFuncsRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_ListFuncsRequest(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_ListFuncsRequest(buffer_arg) { return funcs_pb.ListFuncsRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_funcs_v1beta1_ListFuncsResponse(arg) { +function serialize_fonoster_funcs_v1beta1_ListFuncsResponse(arg) { if (!(arg instanceof funcs_pb.ListFuncsResponse)) { - throw new Error('Expected argument of type fonos.funcs.v1beta1.ListFuncsResponse'); + throw new Error('Expected argument of type fonoster.funcs.v1beta1.ListFuncsResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_funcs_v1beta1_ListFuncsResponse(buffer_arg) { +function deserialize_fonoster_funcs_v1beta1_ListFuncsResponse(buffer_arg) { return funcs_pb.ListFuncsResponse.deserializeBinary(new Uint8Array(buffer_arg)); } @@ -148,75 +150,75 @@ function deserialize_fonos_funcs_v1beta1_ListFuncsResponse(buffer_arg) { var FuncsService = exports.FuncsService = { // Shows a list of user functions listFuncs: { - path: '/fonos.funcs.v1beta1.Funcs/ListFuncs', + path: '/fonoster.funcs.v1beta1.Funcs/ListFuncs', requestStream: false, responseStream: false, requestType: funcs_pb.ListFuncsRequest, responseType: funcs_pb.ListFuncsResponse, - requestSerialize: serialize_fonos_funcs_v1beta1_ListFuncsRequest, - requestDeserialize: deserialize_fonos_funcs_v1beta1_ListFuncsRequest, - responseSerialize: serialize_fonos_funcs_v1beta1_ListFuncsResponse, - responseDeserialize: deserialize_fonos_funcs_v1beta1_ListFuncsResponse, + requestSerialize: serialize_fonoster_funcs_v1beta1_ListFuncsRequest, + requestDeserialize: deserialize_fonoster_funcs_v1beta1_ListFuncsRequest, + responseSerialize: serialize_fonoster_funcs_v1beta1_ListFuncsResponse, + responseDeserialize: deserialize_fonoster_funcs_v1beta1_ListFuncsResponse, }, - // Gets a function by namem + // Gets a function by name getFunc: { - path: '/fonos.funcs.v1beta1.Funcs/GetFunc', + path: '/fonoster.funcs.v1beta1.Funcs/GetFunc', requestStream: false, responseStream: false, requestType: funcs_pb.GetFuncRequest, responseType: funcs_pb.Func, - requestSerialize: serialize_fonos_funcs_v1beta1_GetFuncRequest, - requestDeserialize: deserialize_fonos_funcs_v1beta1_GetFuncRequest, - responseSerialize: serialize_fonos_funcs_v1beta1_Func, - responseDeserialize: deserialize_fonos_funcs_v1beta1_Func, + requestSerialize: serialize_fonoster_funcs_v1beta1_GetFuncRequest, + requestDeserialize: deserialize_fonoster_funcs_v1beta1_GetFuncRequest, + responseSerialize: serialize_fonoster_funcs_v1beta1_Func, + responseDeserialize: deserialize_fonoster_funcs_v1beta1_Func, }, // Orders the functions subsystem to download and deploy a function deployFunc: { - path: '/fonos.funcs.v1beta1.Funcs/DeployFunc', + path: '/fonoster.funcs.v1beta1.Funcs/DeployFunc', requestStream: false, responseStream: true, requestType: funcs_pb.DeployFuncRequest, responseType: funcs_pb.DeployStream, - requestSerialize: serialize_fonos_funcs_v1beta1_DeployFuncRequest, - requestDeserialize: deserialize_fonos_funcs_v1beta1_DeployFuncRequest, - responseSerialize: serialize_fonos_funcs_v1beta1_DeployStream, - responseDeserialize: deserialize_fonos_funcs_v1beta1_DeployStream, + requestSerialize: serialize_fonoster_funcs_v1beta1_DeployFuncRequest, + requestDeserialize: deserialize_fonoster_funcs_v1beta1_DeployFuncRequest, + responseSerialize: serialize_fonoster_funcs_v1beta1_DeployStream, + responseDeserialize: deserialize_fonoster_funcs_v1beta1_DeployStream, }, // Peforms a hard delete of the function deleteFunc: { - path: '/fonos.funcs.v1beta1.Funcs/DeleteFunc', + path: '/fonoster.funcs.v1beta1.Funcs/DeleteFunc', requestStream: false, responseStream: false, requestType: funcs_pb.DeleteFuncRequest, responseType: common_pb.Empty, - requestSerialize: serialize_fonos_funcs_v1beta1_DeleteFuncRequest, - requestDeserialize: deserialize_fonos_funcs_v1beta1_DeleteFuncRequest, - responseSerialize: serialize_fonos_common_v1beta1_Empty, - responseDeserialize: deserialize_fonos_common_v1beta1_Empty, + requestSerialize: serialize_fonoster_funcs_v1beta1_DeleteFuncRequest, + requestDeserialize: deserialize_fonoster_funcs_v1beta1_DeleteFuncRequest, + responseSerialize: serialize_fonoster_common_v1beta1_Empty, + responseDeserialize: deserialize_fonoster_common_v1beta1_Empty, }, - // Peforms a hard delete of the function + // Gets a stream of logs getFuncLogs: { - path: '/fonos.funcs.v1beta1.Funcs/GetFuncLogs', + path: '/fonoster.funcs.v1beta1.Funcs/GetFuncLogs', requestStream: false, responseStream: true, requestType: funcs_pb.GetFuncLogsRequest, responseType: funcs_pb.FuncLog, - requestSerialize: serialize_fonos_funcs_v1beta1_GetFuncLogsRequest, - requestDeserialize: deserialize_fonos_funcs_v1beta1_GetFuncLogsRequest, - responseSerialize: serialize_fonos_funcs_v1beta1_FuncLog, - responseDeserialize: deserialize_fonos_funcs_v1beta1_FuncLog, + requestSerialize: serialize_fonoster_funcs_v1beta1_GetFuncLogsRequest, + requestDeserialize: deserialize_fonoster_funcs_v1beta1_GetFuncLogsRequest, + responseSerialize: serialize_fonoster_funcs_v1beta1_FuncLog, + responseDeserialize: deserialize_fonoster_funcs_v1beta1_FuncLog, }, // Creates a one time scoped token for access to the registry createRegistryToken: { - path: '/fonos.funcs.v1beta1.Funcs/CreateRegistryToken', + path: '/fonoster.funcs.v1beta1.Funcs/CreateRegistryToken', requestStream: false, responseStream: false, requestType: funcs_pb.CreateRegistryTokenRequest, responseType: funcs_pb.CreateRegistryTokenResponse, - requestSerialize: serialize_fonos_funcs_v1beta1_CreateRegistryTokenRequest, - requestDeserialize: deserialize_fonos_funcs_v1beta1_CreateRegistryTokenRequest, - responseSerialize: serialize_fonos_funcs_v1beta1_CreateRegistryTokenResponse, - responseDeserialize: deserialize_fonos_funcs_v1beta1_CreateRegistryTokenResponse, + requestSerialize: serialize_fonoster_funcs_v1beta1_CreateRegistryTokenRequest, + requestDeserialize: deserialize_fonoster_funcs_v1beta1_CreateRegistryTokenRequest, + responseSerialize: serialize_fonoster_funcs_v1beta1_CreateRegistryTokenResponse, + responseDeserialize: deserialize_fonoster_funcs_v1beta1_CreateRegistryTokenResponse, }, }; diff --git a/mods/funcs/src/service/protos/funcs_pb.d.ts b/mods/funcs/src/service/protos/funcs_pb.d.ts index c30f552d5..24bb92d97 100644 --- a/mods/funcs/src/service/protos/funcs_pb.d.ts +++ b/mods/funcs/src/service/protos/funcs_pb.d.ts @@ -1,10 +1,11 @@ -// package: fonos.funcs.v1beta1 +// package: fonoster.funcs.v1beta1 // file: funcs.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; import * as common_pb from "./common_pb"; export class ListFuncsRequest extends jspb.Message { diff --git a/mods/funcs/src/service/protos/funcs_pb.js b/mods/funcs/src/service/protos/funcs_pb.js index 8de6a935f..0ebaa1bed 100644 --- a/mods/funcs/src/service/protos/funcs_pb.js +++ b/mods/funcs/src/service/protos/funcs_pb.js @@ -15,20 +15,24 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); var common_pb = require('./common_pb.js'); goog.object.extend(proto, common_pb); -goog.exportSymbol('proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.DeleteFuncRequest', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.DeployFuncRequest', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.DeployStream', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.Func', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.FuncLog', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.GetFuncLogsRequest', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.GetFuncRequest', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.ListFuncsRequest', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.ListFuncsResponse', null, global); -goog.exportSymbol('proto.fonos.funcs.v1beta1.Resource', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.DeleteFuncRequest', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.DeployFuncRequest', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.DeployStream', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.Func', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.FuncLog', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.GetFuncLogsRequest', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.GetFuncRequest', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.ListFuncsRequest', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.ListFuncsResponse', null, global); +goog.exportSymbol('proto.fonoster.funcs.v1beta1.Resource', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -39,16 +43,16 @@ goog.exportSymbol('proto.fonos.funcs.v1beta1.Resource', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.ListFuncsRequest = function(opt_data) { +proto.fonoster.funcs.v1beta1.ListFuncsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.ListFuncsRequest, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.ListFuncsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.ListFuncsRequest.displayName = 'proto.fonos.funcs.v1beta1.ListFuncsRequest'; + proto.fonoster.funcs.v1beta1.ListFuncsRequest.displayName = 'proto.fonoster.funcs.v1beta1.ListFuncsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -60,16 +64,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.ListFuncsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.funcs.v1beta1.ListFuncsResponse.repeatedFields_, null); +proto.fonoster.funcs.v1beta1.ListFuncsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.funcs.v1beta1.ListFuncsResponse.repeatedFields_, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.ListFuncsResponse, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.ListFuncsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.ListFuncsResponse.displayName = 'proto.fonos.funcs.v1beta1.ListFuncsResponse'; + proto.fonoster.funcs.v1beta1.ListFuncsResponse.displayName = 'proto.fonoster.funcs.v1beta1.ListFuncsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -81,16 +85,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest = function(opt_data) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.GetFuncLogsRequest, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.GetFuncLogsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.GetFuncLogsRequest.displayName = 'proto.fonos.funcs.v1beta1.GetFuncLogsRequest'; + proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.displayName = 'proto.fonoster.funcs.v1beta1.GetFuncLogsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -102,16 +106,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.GetFuncRequest = function(opt_data) { +proto.fonoster.funcs.v1beta1.GetFuncRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.GetFuncRequest, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.GetFuncRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.GetFuncRequest.displayName = 'proto.fonos.funcs.v1beta1.GetFuncRequest'; + proto.fonoster.funcs.v1beta1.GetFuncRequest.displayName = 'proto.fonoster.funcs.v1beta1.GetFuncRequest'; } /** * Generated by JsPbCodeGenerator. @@ -123,16 +127,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.DeployFuncRequest = function(opt_data) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.DeployFuncRequest, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.DeployFuncRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.DeployFuncRequest.displayName = 'proto.fonos.funcs.v1beta1.DeployFuncRequest'; + proto.fonoster.funcs.v1beta1.DeployFuncRequest.displayName = 'proto.fonoster.funcs.v1beta1.DeployFuncRequest'; } /** * Generated by JsPbCodeGenerator. @@ -144,16 +148,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest = function(opt_data) { +proto.fonoster.funcs.v1beta1.DeleteFuncRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.DeleteFuncRequest, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.DeleteFuncRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.DeleteFuncRequest.displayName = 'proto.fonos.funcs.v1beta1.DeleteFuncRequest'; + proto.fonoster.funcs.v1beta1.DeleteFuncRequest.displayName = 'proto.fonoster.funcs.v1beta1.DeleteFuncRequest'; } /** * Generated by JsPbCodeGenerator. @@ -165,16 +169,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest = function(opt_data) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.displayName = 'proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest'; + proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.displayName = 'proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest'; } /** * Generated by JsPbCodeGenerator. @@ -186,16 +190,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse = function(opt_data) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.displayName = 'proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse'; + proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.displayName = 'proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse'; } /** * Generated by JsPbCodeGenerator. @@ -207,16 +211,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.Func = function(opt_data) { +proto.fonoster.funcs.v1beta1.Func = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.Func, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.Func, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.Func.displayName = 'proto.fonos.funcs.v1beta1.Func'; + proto.fonoster.funcs.v1beta1.Func.displayName = 'proto.fonoster.funcs.v1beta1.Func'; } /** * Generated by JsPbCodeGenerator. @@ -228,16 +232,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.Resource = function(opt_data) { +proto.fonoster.funcs.v1beta1.Resource = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.Resource, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.Resource, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.Resource.displayName = 'proto.fonos.funcs.v1beta1.Resource'; + proto.fonoster.funcs.v1beta1.Resource.displayName = 'proto.fonoster.funcs.v1beta1.Resource'; } /** * Generated by JsPbCodeGenerator. @@ -249,16 +253,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.FuncLog = function(opt_data) { +proto.fonoster.funcs.v1beta1.FuncLog = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.FuncLog, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.FuncLog, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.FuncLog.displayName = 'proto.fonos.funcs.v1beta1.FuncLog'; + proto.fonoster.funcs.v1beta1.FuncLog.displayName = 'proto.fonoster.funcs.v1beta1.FuncLog'; } /** * Generated by JsPbCodeGenerator. @@ -270,16 +274,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.funcs.v1beta1.DeployStream = function(opt_data) { +proto.fonoster.funcs.v1beta1.DeployStream = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.funcs.v1beta1.DeployStream, jspb.Message); +goog.inherits(proto.fonoster.funcs.v1beta1.DeployStream, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.funcs.v1beta1.DeployStream.displayName = 'proto.fonos.funcs.v1beta1.DeployStream'; + proto.fonoster.funcs.v1beta1.DeployStream.displayName = 'proto.fonoster.funcs.v1beta1.DeployStream'; } @@ -297,8 +301,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.ListFuncsRequest.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.ListFuncsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.ListFuncsRequest.toObject(opt_includeInstance, this); }; @@ -307,11 +311,11 @@ proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.ListFuncsRequest} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.ListFuncsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.toObject = function(includeInstance, msg) { var f, obj = { pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0), pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -329,23 +333,23 @@ proto.fonos.funcs.v1beta1.ListFuncsRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.ListFuncsRequest} + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsRequest} */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.ListFuncsRequest; - return proto.fonos.funcs.v1beta1.ListFuncsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.ListFuncsRequest; + return proto.fonoster.funcs.v1beta1.ListFuncsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.ListFuncsRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.ListFuncsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.ListFuncsRequest} + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsRequest} */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -361,7 +365,7 @@ proto.fonos.funcs.v1beta1.ListFuncsRequest.deserializeBinaryFromReader = functio msg.setPageToken(value); break; case 3: - var value = /** @type {!proto.fonos.common.v1beta1.View} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.common.v1beta1.View} */ (reader.readEnum()); msg.setView(value); break; default: @@ -377,9 +381,9 @@ proto.fonos.funcs.v1beta1.ListFuncsRequest.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.ListFuncsRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.ListFuncsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -387,11 +391,11 @@ proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.ListFuncsRequest} message + * @param {!proto.fonoster.funcs.v1beta1.ListFuncsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPageSize(); if (f !== 0) { @@ -421,16 +425,16 @@ proto.fonos.funcs.v1beta1.ListFuncsRequest.serializeBinaryToWriter = function(me * optional int32 page_size = 1; * @return {number} */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.getPageSize = function() { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.prototype.getPageSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.fonos.funcs.v1beta1.ListFuncsRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsRequest} returns this */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.setPageSize = function(value) { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.prototype.setPageSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -439,34 +443,34 @@ proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.setPageSize = function(valu * optional string page_token = 2; * @return {string} */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.getPageToken = function() { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.prototype.getPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.ListFuncsRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsRequest} returns this */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.setPageToken = function(value) { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.prototype.setPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional fonos.common.v1beta1.View view = 3; - * @return {!proto.fonos.common.v1beta1.View} + * optional fonoster.common.v1beta1.View view = 3; + * @return {!proto.fonoster.common.v1beta1.View} */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.getView = function() { - return /** @type {!proto.fonos.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.fonoster.funcs.v1beta1.ListFuncsRequest.prototype.getView = function() { + return /** @type {!proto.fonoster.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!proto.fonos.common.v1beta1.View} value - * @return {!proto.fonos.funcs.v1beta1.ListFuncsRequest} returns this + * @param {!proto.fonoster.common.v1beta1.View} value + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsRequest} returns this */ -proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.setView = function(value) { +proto.fonoster.funcs.v1beta1.ListFuncsRequest.prototype.setView = function(value) { return jspb.Message.setProto3EnumField(this, 3, value); }; @@ -477,7 +481,7 @@ proto.fonos.funcs.v1beta1.ListFuncsRequest.prototype.setView = function(value) { * @private {!Array} * @const */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.repeatedFields_ = [1]; +proto.fonoster.funcs.v1beta1.ListFuncsResponse.repeatedFields_ = [1]; @@ -494,8 +498,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.ListFuncsResponse.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.ListFuncsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.ListFuncsResponse.toObject(opt_includeInstance, this); }; @@ -504,14 +508,14 @@ proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.ListFuncsResponse} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.ListFuncsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.toObject = function(includeInstance, msg) { var f, obj = { funcsList: jspb.Message.toObjectList(msg.getFuncsList(), - proto.fonos.funcs.v1beta1.Func.toObject, includeInstance), + proto.fonoster.funcs.v1beta1.Func.toObject, includeInstance), nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; @@ -526,23 +530,23 @@ proto.fonos.funcs.v1beta1.ListFuncsResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.ListFuncsResponse} + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsResponse} */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.ListFuncsResponse; - return proto.fonos.funcs.v1beta1.ListFuncsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.ListFuncsResponse; + return proto.fonoster.funcs.v1beta1.ListFuncsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.ListFuncsResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.ListFuncsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.ListFuncsResponse} + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsResponse} */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -550,8 +554,8 @@ proto.fonos.funcs.v1beta1.ListFuncsResponse.deserializeBinaryFromReader = functi var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.funcs.v1beta1.Func; - reader.readMessage(value,proto.fonos.funcs.v1beta1.Func.deserializeBinaryFromReader); + var value = new proto.fonoster.funcs.v1beta1.Func; + reader.readMessage(value,proto.fonoster.funcs.v1beta1.Func.deserializeBinaryFromReader); msg.addFuncs(value); break; case 2: @@ -571,9 +575,9 @@ proto.fonos.funcs.v1beta1.ListFuncsResponse.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.ListFuncsResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.ListFuncsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -581,18 +585,18 @@ proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.ListFuncsResponse} message + * @param {!proto.fonoster.funcs.v1beta1.ListFuncsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFuncsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.fonos.funcs.v1beta1.Func.serializeBinaryToWriter + proto.fonoster.funcs.v1beta1.Func.serializeBinaryToWriter ); } f = message.getNextPageToken(); @@ -607,38 +611,38 @@ proto.fonos.funcs.v1beta1.ListFuncsResponse.serializeBinaryToWriter = function(m /** * repeated Func funcs = 1; - * @return {!Array} + * @return {!Array} */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.getFuncsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.fonos.funcs.v1beta1.Func, 1)); +proto.fonoster.funcs.v1beta1.ListFuncsResponse.prototype.getFuncsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.fonoster.funcs.v1beta1.Func, 1)); }; /** - * @param {!Array} value - * @return {!proto.fonos.funcs.v1beta1.ListFuncsResponse} returns this + * @param {!Array} value + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsResponse} returns this */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.setFuncsList = function(value) { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.prototype.setFuncsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.fonos.funcs.v1beta1.Func=} opt_value + * @param {!proto.fonoster.funcs.v1beta1.Func=} opt_value * @param {number=} opt_index - * @return {!proto.fonos.funcs.v1beta1.Func} + * @return {!proto.fonoster.funcs.v1beta1.Func} */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.addFuncs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonos.funcs.v1beta1.Func, opt_index); +proto.fonoster.funcs.v1beta1.ListFuncsResponse.prototype.addFuncs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.funcs.v1beta1.Func, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.funcs.v1beta1.ListFuncsResponse} returns this + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsResponse} returns this */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.clearFuncsList = function() { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.prototype.clearFuncsList = function() { return this.setFuncsList([]); }; @@ -647,16 +651,16 @@ proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.clearFuncsList = function( * optional string next_page_token = 2; * @return {string} */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.getNextPageToken = function() { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.prototype.getNextPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.ListFuncsResponse} returns this + * @return {!proto.fonoster.funcs.v1beta1.ListFuncsResponse} returns this */ -proto.fonos.funcs.v1beta1.ListFuncsResponse.prototype.setNextPageToken = function(value) { +proto.fonoster.funcs.v1beta1.ListFuncsResponse.prototype.setNextPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -677,8 +681,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.GetFuncLogsRequest.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.toObject(opt_includeInstance, this); }; @@ -687,11 +691,11 @@ proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), since: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -710,23 +714,23 @@ proto.fonos.funcs.v1beta1.GetFuncLogsRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} + * @return {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.GetFuncLogsRequest; - return proto.fonos.funcs.v1beta1.GetFuncLogsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.GetFuncLogsRequest; + return proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} + * @return {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -762,9 +766,9 @@ proto.fonos.funcs.v1beta1.GetFuncLogsRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.GetFuncLogsRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -772,11 +776,11 @@ proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} message + * @param {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -813,16 +817,16 @@ proto.fonos.funcs.v1beta1.GetFuncLogsRequest.serializeBinaryToWriter = function( * optional string name = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.getName = function() { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} returns this */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.setName = function(value) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -831,16 +835,16 @@ proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.setName = function(value) * optional string since = 2; * @return {string} */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.getSince = function() { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.getSince = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} returns this */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.setSince = function(value) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.setSince = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -849,16 +853,16 @@ proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.setSince = function(value * optional int32 tail = 3; * @return {number} */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.getTail = function() { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.getTail = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} returns this */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.setTail = function(value) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.setTail = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; @@ -867,16 +871,16 @@ proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.setTail = function(value) * optional bool follow = 4; * @return {boolean} */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.getFollow = function() { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.getFollow = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.fonos.funcs.v1beta1.GetFuncLogsRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.GetFuncLogsRequest} returns this */ -proto.fonos.funcs.v1beta1.GetFuncLogsRequest.prototype.setFollow = function(value) { +proto.fonoster.funcs.v1beta1.GetFuncLogsRequest.prototype.setFollow = function(value) { return jspb.Message.setProto3BooleanField(this, 4, value); }; @@ -897,8 +901,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.GetFuncRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.GetFuncRequest.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.GetFuncRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.GetFuncRequest.toObject(opt_includeInstance, this); }; @@ -907,11 +911,11 @@ proto.fonos.funcs.v1beta1.GetFuncRequest.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.GetFuncRequest} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.GetFuncRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.GetFuncRequest.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.GetFuncRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), view: jspb.Message.getFieldWithDefault(msg, 2, 0) @@ -928,23 +932,23 @@ proto.fonos.funcs.v1beta1.GetFuncRequest.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.GetFuncRequest} + * @return {!proto.fonoster.funcs.v1beta1.GetFuncRequest} */ -proto.fonos.funcs.v1beta1.GetFuncRequest.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.GetFuncRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.GetFuncRequest; - return proto.fonos.funcs.v1beta1.GetFuncRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.GetFuncRequest; + return proto.fonoster.funcs.v1beta1.GetFuncRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.GetFuncRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.GetFuncRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.GetFuncRequest} + * @return {!proto.fonoster.funcs.v1beta1.GetFuncRequest} */ -proto.fonos.funcs.v1beta1.GetFuncRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.GetFuncRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -956,7 +960,7 @@ proto.fonos.funcs.v1beta1.GetFuncRequest.deserializeBinaryFromReader = function( msg.setName(value); break; case 2: - var value = /** @type {!proto.fonos.common.v1beta1.View} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.common.v1beta1.View} */ (reader.readEnum()); msg.setView(value); break; default: @@ -972,9 +976,9 @@ proto.fonos.funcs.v1beta1.GetFuncRequest.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.GetFuncRequest.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.GetFuncRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.GetFuncRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.GetFuncRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -982,11 +986,11 @@ proto.fonos.funcs.v1beta1.GetFuncRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.GetFuncRequest} message + * @param {!proto.fonoster.funcs.v1beta1.GetFuncRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.GetFuncRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.GetFuncRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -1009,34 +1013,34 @@ proto.fonos.funcs.v1beta1.GetFuncRequest.serializeBinaryToWriter = function(mess * optional string name = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.GetFuncRequest.prototype.getName = function() { +proto.fonoster.funcs.v1beta1.GetFuncRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.GetFuncRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.GetFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.GetFuncRequest.prototype.setName = function(value) { +proto.fonoster.funcs.v1beta1.GetFuncRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional fonos.common.v1beta1.View view = 2; - * @return {!proto.fonos.common.v1beta1.View} + * optional fonoster.common.v1beta1.View view = 2; + * @return {!proto.fonoster.common.v1beta1.View} */ -proto.fonos.funcs.v1beta1.GetFuncRequest.prototype.getView = function() { - return /** @type {!proto.fonos.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.fonoster.funcs.v1beta1.GetFuncRequest.prototype.getView = function() { + return /** @type {!proto.fonoster.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.fonos.common.v1beta1.View} value - * @return {!proto.fonos.funcs.v1beta1.GetFuncRequest} returns this + * @param {!proto.fonoster.common.v1beta1.View} value + * @return {!proto.fonoster.funcs.v1beta1.GetFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.GetFuncRequest.prototype.setView = function(value) { +proto.fonoster.funcs.v1beta1.GetFuncRequest.prototype.setView = function(value) { return jspb.Message.setProto3EnumField(this, 2, value); }; @@ -1057,8 +1061,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.DeployFuncRequest.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.DeployFuncRequest.toObject(opt_includeInstance, this); }; @@ -1067,16 +1071,16 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.DeployFuncRequest} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), schedule: jspb.Message.getFieldWithDefault(msg, 2, ""), - limits: (f = msg.getLimits()) && proto.fonos.funcs.v1beta1.Resource.toObject(includeInstance, f), - requests: (f = msg.getRequests()) && proto.fonos.funcs.v1beta1.Resource.toObject(includeInstance, f) + limits: (f = msg.getLimits()) && proto.fonoster.funcs.v1beta1.Resource.toObject(includeInstance, f), + requests: (f = msg.getRequests()) && proto.fonoster.funcs.v1beta1.Resource.toObject(includeInstance, f) }; if (includeInstance) { @@ -1090,23 +1094,23 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.DeployFuncRequest} + * @return {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.DeployFuncRequest; - return proto.fonos.funcs.v1beta1.DeployFuncRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.DeployFuncRequest; + return proto.fonoster.funcs.v1beta1.DeployFuncRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.DeployFuncRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.DeployFuncRequest} + * @return {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1122,13 +1126,13 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.deserializeBinaryFromReader = functi msg.setSchedule(value); break; case 3: - var value = new proto.fonos.funcs.v1beta1.Resource; - reader.readMessage(value,proto.fonos.funcs.v1beta1.Resource.deserializeBinaryFromReader); + var value = new proto.fonoster.funcs.v1beta1.Resource; + reader.readMessage(value,proto.fonoster.funcs.v1beta1.Resource.deserializeBinaryFromReader); msg.setLimits(value); break; case 4: - var value = new proto.fonos.funcs.v1beta1.Resource; - reader.readMessage(value,proto.fonos.funcs.v1beta1.Resource.deserializeBinaryFromReader); + var value = new proto.fonoster.funcs.v1beta1.Resource; + reader.readMessage(value,proto.fonoster.funcs.v1beta1.Resource.deserializeBinaryFromReader); msg.setRequests(value); break; default: @@ -1144,9 +1148,9 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.DeployFuncRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.DeployFuncRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1154,11 +1158,11 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.DeployFuncRequest} message + * @param {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -1179,7 +1183,7 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.serializeBinaryToWriter = function(m writer.writeMessage( 3, f, - proto.fonos.funcs.v1beta1.Resource.serializeBinaryToWriter + proto.fonoster.funcs.v1beta1.Resource.serializeBinaryToWriter ); } f = message.getRequests(); @@ -1187,7 +1191,7 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.serializeBinaryToWriter = function(m writer.writeMessage( 4, f, - proto.fonos.funcs.v1beta1.Resource.serializeBinaryToWriter + proto.fonoster.funcs.v1beta1.Resource.serializeBinaryToWriter ); } }; @@ -1197,16 +1201,16 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.serializeBinaryToWriter = function(m * optional string name = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.getName = function() { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.DeployFuncRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.setName = function(value) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1215,44 +1219,44 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.setName = function(value) * optional string schedule = 2; * @return {string} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.getSchedule = function() { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.getSchedule = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.DeployFuncRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.setSchedule = function(value) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.setSchedule = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional Resource limits = 3; - * @return {?proto.fonos.funcs.v1beta1.Resource} + * @return {?proto.fonoster.funcs.v1beta1.Resource} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.getLimits = function() { - return /** @type{?proto.fonos.funcs.v1beta1.Resource} */ ( - jspb.Message.getWrapperField(this, proto.fonos.funcs.v1beta1.Resource, 3)); +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.getLimits = function() { + return /** @type{?proto.fonoster.funcs.v1beta1.Resource} */ ( + jspb.Message.getWrapperField(this, proto.fonoster.funcs.v1beta1.Resource, 3)); }; /** - * @param {?proto.fonos.funcs.v1beta1.Resource|undefined} value - * @return {!proto.fonos.funcs.v1beta1.DeployFuncRequest} returns this + * @param {?proto.fonoster.funcs.v1beta1.Resource|undefined} value + * @return {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.setLimits = function(value) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.setLimits = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.fonos.funcs.v1beta1.DeployFuncRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.clearLimits = function() { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.clearLimits = function() { return this.setLimits(undefined); }; @@ -1261,35 +1265,35 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.clearLimits = function() { * Returns whether this field is set. * @return {boolean} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.hasLimits = function() { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.hasLimits = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional Resource requests = 4; - * @return {?proto.fonos.funcs.v1beta1.Resource} + * @return {?proto.fonoster.funcs.v1beta1.Resource} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.getRequests = function() { - return /** @type{?proto.fonos.funcs.v1beta1.Resource} */ ( - jspb.Message.getWrapperField(this, proto.fonos.funcs.v1beta1.Resource, 4)); +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.getRequests = function() { + return /** @type{?proto.fonoster.funcs.v1beta1.Resource} */ ( + jspb.Message.getWrapperField(this, proto.fonoster.funcs.v1beta1.Resource, 4)); }; /** - * @param {?proto.fonos.funcs.v1beta1.Resource|undefined} value - * @return {!proto.fonos.funcs.v1beta1.DeployFuncRequest} returns this + * @param {?proto.fonoster.funcs.v1beta1.Resource|undefined} value + * @return {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.setRequests = function(value) { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.setRequests = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.fonos.funcs.v1beta1.DeployFuncRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.DeployFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.clearRequests = function() { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.clearRequests = function() { return this.setRequests(undefined); }; @@ -1298,7 +1302,7 @@ proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.clearRequests = function() * Returns whether this field is set. * @return {boolean} */ -proto.fonos.funcs.v1beta1.DeployFuncRequest.prototype.hasRequests = function() { +proto.fonoster.funcs.v1beta1.DeployFuncRequest.prototype.hasRequests = function() { return jspb.Message.getField(this, 4) != null; }; @@ -1319,8 +1323,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.DeleteFuncRequest.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.DeleteFuncRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.DeleteFuncRequest.toObject(opt_includeInstance, this); }; @@ -1329,11 +1333,11 @@ proto.fonos.funcs.v1beta1.DeleteFuncRequest.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.DeleteFuncRequest} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.DeleteFuncRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.DeleteFuncRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1349,23 +1353,23 @@ proto.fonos.funcs.v1beta1.DeleteFuncRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.DeleteFuncRequest} + * @return {!proto.fonoster.funcs.v1beta1.DeleteFuncRequest} */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.DeleteFuncRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.DeleteFuncRequest; - return proto.fonos.funcs.v1beta1.DeleteFuncRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.DeleteFuncRequest; + return proto.fonoster.funcs.v1beta1.DeleteFuncRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.DeleteFuncRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.DeleteFuncRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.DeleteFuncRequest} + * @return {!proto.fonoster.funcs.v1beta1.DeleteFuncRequest} */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.DeleteFuncRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1389,9 +1393,9 @@ proto.fonos.funcs.v1beta1.DeleteFuncRequest.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.DeleteFuncRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.DeleteFuncRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.DeleteFuncRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1399,11 +1403,11 @@ proto.fonos.funcs.v1beta1.DeleteFuncRequest.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.DeleteFuncRequest} message + * @param {!proto.fonoster.funcs.v1beta1.DeleteFuncRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.DeleteFuncRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -1419,16 +1423,16 @@ proto.fonos.funcs.v1beta1.DeleteFuncRequest.serializeBinaryToWriter = function(m * optional string name = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest.prototype.getName = function() { +proto.fonoster.funcs.v1beta1.DeleteFuncRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.DeleteFuncRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.DeleteFuncRequest} returns this */ -proto.fonos.funcs.v1beta1.DeleteFuncRequest.prototype.setName = function(value) { +proto.fonoster.funcs.v1beta1.DeleteFuncRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1449,8 +1453,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.toObject(opt_includeInstance, this); }; @@ -1459,11 +1463,11 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.toObject = function(includeInstance, msg) { var f, obj = { funcName: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1479,23 +1483,23 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest} + * @return {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest; - return proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest; + return proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest} + * @return {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1519,9 +1523,9 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1529,11 +1533,11 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest} message + * @param {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFuncName(); if (f.length > 0) { @@ -1549,16 +1553,16 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.serializeBinaryToWriter = f * optional string func_name = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.prototype.getFuncName = function() { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.prototype.getFuncName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest} returns this + * @return {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest} returns this */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenRequest.prototype.setFuncName = function(value) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenRequest.prototype.setFuncName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1579,8 +1583,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.toObject(opt_includeInstance, this); }; @@ -1589,11 +1593,11 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.toObject = function(includeInstance, msg) { var f, obj = { token: jspb.Message.getFieldWithDefault(msg, 1, ""), image: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1610,23 +1614,23 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse} + * @return {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse; - return proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse; + return proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse} + * @return {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1654,9 +1658,9 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1664,11 +1668,11 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse} message + * @param {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getToken(); if (f.length > 0) { @@ -1691,16 +1695,16 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.serializeBinaryToWriter = * optional string token = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.getToken = function() { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.prototype.getToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse} returns this + * @return {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse} returns this */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.setToken = function(value) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.prototype.setToken = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1709,16 +1713,16 @@ proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.setToken = funct * optional string image = 2; * @return {string} */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.getImage = function() { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.prototype.getImage = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse} returns this + * @return {!proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse} returns this */ -proto.fonos.funcs.v1beta1.CreateRegistryTokenResponse.prototype.setImage = function(value) { +proto.fonoster.funcs.v1beta1.CreateRegistryTokenResponse.prototype.setImage = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1739,8 +1743,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.Func.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.Func.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.Func.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.Func.toObject(opt_includeInstance, this); }; @@ -1749,19 +1753,19 @@ proto.fonos.funcs.v1beta1.Func.prototype.toObject = function(opt_includeInstance * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.Func} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.Func} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.Func.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.Func.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), image: jspb.Message.getFieldWithDefault(msg, 2, ""), invocationCount: jspb.Message.getFieldWithDefault(msg, 3, 0), replicas: jspb.Message.getFieldWithDefault(msg, 4, 0), availableReplicas: jspb.Message.getFieldWithDefault(msg, 5, 0), - limits: (f = msg.getLimits()) && proto.fonos.funcs.v1beta1.Resource.toObject(includeInstance, f), - requests: (f = msg.getRequests()) && proto.fonos.funcs.v1beta1.Resource.toObject(includeInstance, f), + limits: (f = msg.getLimits()) && proto.fonoster.funcs.v1beta1.Resource.toObject(includeInstance, f), + requests: (f = msg.getRequests()) && proto.fonoster.funcs.v1beta1.Resource.toObject(includeInstance, f), schedule: jspb.Message.getFieldWithDefault(msg, 8, "") }; @@ -1776,23 +1780,23 @@ proto.fonos.funcs.v1beta1.Func.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.Func} + * @return {!proto.fonoster.funcs.v1beta1.Func} */ -proto.fonos.funcs.v1beta1.Func.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.Func.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.Func; - return proto.fonos.funcs.v1beta1.Func.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.Func; + return proto.fonoster.funcs.v1beta1.Func.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.Func} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.Func} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.Func} + * @return {!proto.fonoster.funcs.v1beta1.Func} */ -proto.fonos.funcs.v1beta1.Func.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.Func.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1820,13 +1824,13 @@ proto.fonos.funcs.v1beta1.Func.deserializeBinaryFromReader = function(msg, reade msg.setAvailableReplicas(value); break; case 6: - var value = new proto.fonos.funcs.v1beta1.Resource; - reader.readMessage(value,proto.fonos.funcs.v1beta1.Resource.deserializeBinaryFromReader); + var value = new proto.fonoster.funcs.v1beta1.Resource; + reader.readMessage(value,proto.fonoster.funcs.v1beta1.Resource.deserializeBinaryFromReader); msg.setLimits(value); break; case 7: - var value = new proto.fonos.funcs.v1beta1.Resource; - reader.readMessage(value,proto.fonos.funcs.v1beta1.Resource.deserializeBinaryFromReader); + var value = new proto.fonoster.funcs.v1beta1.Resource; + reader.readMessage(value,proto.fonoster.funcs.v1beta1.Resource.deserializeBinaryFromReader); msg.setRequests(value); break; case 8: @@ -1846,9 +1850,9 @@ proto.fonos.funcs.v1beta1.Func.deserializeBinaryFromReader = function(msg, reade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.Func.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.Func.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.Func.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1856,11 +1860,11 @@ proto.fonos.funcs.v1beta1.Func.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.Func} message + * @param {!proto.fonoster.funcs.v1beta1.Func} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.Func.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.Func.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -1902,7 +1906,7 @@ proto.fonos.funcs.v1beta1.Func.serializeBinaryToWriter = function(message, write writer.writeMessage( 6, f, - proto.fonos.funcs.v1beta1.Resource.serializeBinaryToWriter + proto.fonoster.funcs.v1beta1.Resource.serializeBinaryToWriter ); } f = message.getRequests(); @@ -1910,7 +1914,7 @@ proto.fonos.funcs.v1beta1.Func.serializeBinaryToWriter = function(message, write writer.writeMessage( 7, f, - proto.fonos.funcs.v1beta1.Resource.serializeBinaryToWriter + proto.fonoster.funcs.v1beta1.Resource.serializeBinaryToWriter ); } f = message.getSchedule(); @@ -1927,16 +1931,16 @@ proto.fonos.funcs.v1beta1.Func.serializeBinaryToWriter = function(message, write * optional string name = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.Func.prototype.getName = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.setName = function(value) { +proto.fonoster.funcs.v1beta1.Func.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1945,16 +1949,16 @@ proto.fonos.funcs.v1beta1.Func.prototype.setName = function(value) { * optional string image = 2; * @return {string} */ -proto.fonos.funcs.v1beta1.Func.prototype.getImage = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.getImage = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.setImage = function(value) { +proto.fonoster.funcs.v1beta1.Func.prototype.setImage = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1963,16 +1967,16 @@ proto.fonos.funcs.v1beta1.Func.prototype.setImage = function(value) { * optional int32 invocation_count = 3; * @return {number} */ -proto.fonos.funcs.v1beta1.Func.prototype.getInvocationCount = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.getInvocationCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.setInvocationCount = function(value) { +proto.fonoster.funcs.v1beta1.Func.prototype.setInvocationCount = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; @@ -1981,16 +1985,16 @@ proto.fonos.funcs.v1beta1.Func.prototype.setInvocationCount = function(value) { * optional int32 replicas = 4; * @return {number} */ -proto.fonos.funcs.v1beta1.Func.prototype.getReplicas = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.getReplicas = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.setReplicas = function(value) { +proto.fonoster.funcs.v1beta1.Func.prototype.setReplicas = function(value) { return jspb.Message.setProto3IntField(this, 4, value); }; @@ -1999,44 +2003,44 @@ proto.fonos.funcs.v1beta1.Func.prototype.setReplicas = function(value) { * optional int32 available_replicas = 5; * @return {number} */ -proto.fonos.funcs.v1beta1.Func.prototype.getAvailableReplicas = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.getAvailableReplicas = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.setAvailableReplicas = function(value) { +proto.fonoster.funcs.v1beta1.Func.prototype.setAvailableReplicas = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; /** * optional Resource limits = 6; - * @return {?proto.fonos.funcs.v1beta1.Resource} + * @return {?proto.fonoster.funcs.v1beta1.Resource} */ -proto.fonos.funcs.v1beta1.Func.prototype.getLimits = function() { - return /** @type{?proto.fonos.funcs.v1beta1.Resource} */ ( - jspb.Message.getWrapperField(this, proto.fonos.funcs.v1beta1.Resource, 6)); +proto.fonoster.funcs.v1beta1.Func.prototype.getLimits = function() { + return /** @type{?proto.fonoster.funcs.v1beta1.Resource} */ ( + jspb.Message.getWrapperField(this, proto.fonoster.funcs.v1beta1.Resource, 6)); }; /** - * @param {?proto.fonos.funcs.v1beta1.Resource|undefined} value - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @param {?proto.fonoster.funcs.v1beta1.Resource|undefined} value + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.setLimits = function(value) { +proto.fonoster.funcs.v1beta1.Func.prototype.setLimits = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.clearLimits = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.clearLimits = function() { return this.setLimits(undefined); }; @@ -2045,35 +2049,35 @@ proto.fonos.funcs.v1beta1.Func.prototype.clearLimits = function() { * Returns whether this field is set. * @return {boolean} */ -proto.fonos.funcs.v1beta1.Func.prototype.hasLimits = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.hasLimits = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional Resource requests = 7; - * @return {?proto.fonos.funcs.v1beta1.Resource} + * @return {?proto.fonoster.funcs.v1beta1.Resource} */ -proto.fonos.funcs.v1beta1.Func.prototype.getRequests = function() { - return /** @type{?proto.fonos.funcs.v1beta1.Resource} */ ( - jspb.Message.getWrapperField(this, proto.fonos.funcs.v1beta1.Resource, 7)); +proto.fonoster.funcs.v1beta1.Func.prototype.getRequests = function() { + return /** @type{?proto.fonoster.funcs.v1beta1.Resource} */ ( + jspb.Message.getWrapperField(this, proto.fonoster.funcs.v1beta1.Resource, 7)); }; /** - * @param {?proto.fonos.funcs.v1beta1.Resource|undefined} value - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @param {?proto.fonoster.funcs.v1beta1.Resource|undefined} value + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.setRequests = function(value) { +proto.fonoster.funcs.v1beta1.Func.prototype.setRequests = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.clearRequests = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.clearRequests = function() { return this.setRequests(undefined); }; @@ -2082,7 +2086,7 @@ proto.fonos.funcs.v1beta1.Func.prototype.clearRequests = function() { * Returns whether this field is set. * @return {boolean} */ -proto.fonos.funcs.v1beta1.Func.prototype.hasRequests = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.hasRequests = function() { return jspb.Message.getField(this, 7) != null; }; @@ -2091,16 +2095,16 @@ proto.fonos.funcs.v1beta1.Func.prototype.hasRequests = function() { * optional string schedule = 8; * @return {string} */ -proto.fonos.funcs.v1beta1.Func.prototype.getSchedule = function() { +proto.fonoster.funcs.v1beta1.Func.prototype.getSchedule = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.Func} returns this + * @return {!proto.fonoster.funcs.v1beta1.Func} returns this */ -proto.fonos.funcs.v1beta1.Func.prototype.setSchedule = function(value) { +proto.fonoster.funcs.v1beta1.Func.prototype.setSchedule = function(value) { return jspb.Message.setProto3StringField(this, 8, value); }; @@ -2121,8 +2125,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.Resource.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.Resource.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.Resource.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.Resource.toObject(opt_includeInstance, this); }; @@ -2131,11 +2135,11 @@ proto.fonos.funcs.v1beta1.Resource.prototype.toObject = function(opt_includeInst * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.Resource} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.Resource} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.Resource.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.Resource.toObject = function(includeInstance, msg) { var f, obj = { memory: jspb.Message.getFieldWithDefault(msg, 1, ""), cpu: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2152,23 +2156,23 @@ proto.fonos.funcs.v1beta1.Resource.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.Resource} + * @return {!proto.fonoster.funcs.v1beta1.Resource} */ -proto.fonos.funcs.v1beta1.Resource.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.Resource.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.Resource; - return proto.fonos.funcs.v1beta1.Resource.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.Resource; + return proto.fonoster.funcs.v1beta1.Resource.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.Resource} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.Resource} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.Resource} + * @return {!proto.fonoster.funcs.v1beta1.Resource} */ -proto.fonos.funcs.v1beta1.Resource.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.Resource.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2196,9 +2200,9 @@ proto.fonos.funcs.v1beta1.Resource.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.Resource.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.Resource.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.Resource.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.Resource.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2206,11 +2210,11 @@ proto.fonos.funcs.v1beta1.Resource.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.Resource} message + * @param {!proto.fonoster.funcs.v1beta1.Resource} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.Resource.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.Resource.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMemory(); if (f.length > 0) { @@ -2233,16 +2237,16 @@ proto.fonos.funcs.v1beta1.Resource.serializeBinaryToWriter = function(message, w * optional string memory = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.Resource.prototype.getMemory = function() { +proto.fonoster.funcs.v1beta1.Resource.prototype.getMemory = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.Resource} returns this + * @return {!proto.fonoster.funcs.v1beta1.Resource} returns this */ -proto.fonos.funcs.v1beta1.Resource.prototype.setMemory = function(value) { +proto.fonoster.funcs.v1beta1.Resource.prototype.setMemory = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2251,16 +2255,16 @@ proto.fonos.funcs.v1beta1.Resource.prototype.setMemory = function(value) { * optional string cpu = 2; * @return {string} */ -proto.fonos.funcs.v1beta1.Resource.prototype.getCpu = function() { +proto.fonoster.funcs.v1beta1.Resource.prototype.getCpu = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.Resource} returns this + * @return {!proto.fonoster.funcs.v1beta1.Resource} returns this */ -proto.fonos.funcs.v1beta1.Resource.prototype.setCpu = function(value) { +proto.fonoster.funcs.v1beta1.Resource.prototype.setCpu = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2281,8 +2285,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.FuncLog.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.FuncLog.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.FuncLog.toObject(opt_includeInstance, this); }; @@ -2291,11 +2295,11 @@ proto.fonos.funcs.v1beta1.FuncLog.prototype.toObject = function(opt_includeInsta * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.FuncLog} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.FuncLog} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.FuncLog.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.FuncLog.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), instance: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2314,23 +2318,23 @@ proto.fonos.funcs.v1beta1.FuncLog.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.FuncLog} + * @return {!proto.fonoster.funcs.v1beta1.FuncLog} */ -proto.fonos.funcs.v1beta1.FuncLog.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.FuncLog.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.FuncLog; - return proto.fonos.funcs.v1beta1.FuncLog.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.FuncLog; + return proto.fonoster.funcs.v1beta1.FuncLog.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.FuncLog} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.FuncLog} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.FuncLog} + * @return {!proto.fonoster.funcs.v1beta1.FuncLog} */ -proto.fonos.funcs.v1beta1.FuncLog.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.FuncLog.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2366,9 +2370,9 @@ proto.fonos.funcs.v1beta1.FuncLog.deserializeBinaryFromReader = function(msg, re * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.FuncLog.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.FuncLog.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2376,11 +2380,11 @@ proto.fonos.funcs.v1beta1.FuncLog.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.FuncLog} message + * @param {!proto.fonoster.funcs.v1beta1.FuncLog} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.FuncLog.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.FuncLog.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -2417,16 +2421,16 @@ proto.fonos.funcs.v1beta1.FuncLog.serializeBinaryToWriter = function(message, wr * optional string name = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.getName = function() { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.FuncLog} returns this + * @return {!proto.fonoster.funcs.v1beta1.FuncLog} returns this */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.setName = function(value) { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2435,16 +2439,16 @@ proto.fonos.funcs.v1beta1.FuncLog.prototype.setName = function(value) { * optional string instance = 2; * @return {string} */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.getInstance = function() { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.getInstance = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.FuncLog} returns this + * @return {!proto.fonoster.funcs.v1beta1.FuncLog} returns this */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.setInstance = function(value) { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.setInstance = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2453,16 +2457,16 @@ proto.fonos.funcs.v1beta1.FuncLog.prototype.setInstance = function(value) { * optional string timestamp = 3; * @return {string} */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.getTimestamp = function() { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.getTimestamp = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.FuncLog} returns this + * @return {!proto.fonoster.funcs.v1beta1.FuncLog} returns this */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.setTimestamp = function(value) { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.setTimestamp = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -2471,16 +2475,16 @@ proto.fonos.funcs.v1beta1.FuncLog.prototype.setTimestamp = function(value) { * optional string text = 4; * @return {string} */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.getText = function() { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.getText = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.FuncLog} returns this + * @return {!proto.fonoster.funcs.v1beta1.FuncLog} returns this */ -proto.fonos.funcs.v1beta1.FuncLog.prototype.setText = function(value) { +proto.fonoster.funcs.v1beta1.FuncLog.prototype.setText = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -2501,8 +2505,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.funcs.v1beta1.DeployStream.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.funcs.v1beta1.DeployStream.toObject(opt_includeInstance, this); +proto.fonoster.funcs.v1beta1.DeployStream.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.funcs.v1beta1.DeployStream.toObject(opt_includeInstance, this); }; @@ -2511,11 +2515,11 @@ proto.fonos.funcs.v1beta1.DeployStream.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.funcs.v1beta1.DeployStream} msg The msg instance to transform. + * @param {!proto.fonoster.funcs.v1beta1.DeployStream} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.DeployStream.toObject = function(includeInstance, msg) { +proto.fonoster.funcs.v1beta1.DeployStream.toObject = function(includeInstance, msg) { var f, obj = { text: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2531,23 +2535,23 @@ proto.fonos.funcs.v1beta1.DeployStream.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.funcs.v1beta1.DeployStream} + * @return {!proto.fonoster.funcs.v1beta1.DeployStream} */ -proto.fonos.funcs.v1beta1.DeployStream.deserializeBinary = function(bytes) { +proto.fonoster.funcs.v1beta1.DeployStream.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.funcs.v1beta1.DeployStream; - return proto.fonos.funcs.v1beta1.DeployStream.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.funcs.v1beta1.DeployStream; + return proto.fonoster.funcs.v1beta1.DeployStream.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.funcs.v1beta1.DeployStream} msg The message object to deserialize into. + * @param {!proto.fonoster.funcs.v1beta1.DeployStream} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.funcs.v1beta1.DeployStream} + * @return {!proto.fonoster.funcs.v1beta1.DeployStream} */ -proto.fonos.funcs.v1beta1.DeployStream.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.funcs.v1beta1.DeployStream.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2571,9 +2575,9 @@ proto.fonos.funcs.v1beta1.DeployStream.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.funcs.v1beta1.DeployStream.prototype.serializeBinary = function() { +proto.fonoster.funcs.v1beta1.DeployStream.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.funcs.v1beta1.DeployStream.serializeBinaryToWriter(this, writer); + proto.fonoster.funcs.v1beta1.DeployStream.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2581,11 +2585,11 @@ proto.fonos.funcs.v1beta1.DeployStream.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.funcs.v1beta1.DeployStream} message + * @param {!proto.fonoster.funcs.v1beta1.DeployStream} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.funcs.v1beta1.DeployStream.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.funcs.v1beta1.DeployStream.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getText(); if (f.length > 0) { @@ -2601,18 +2605,18 @@ proto.fonos.funcs.v1beta1.DeployStream.serializeBinaryToWriter = function(messag * optional string text = 1; * @return {string} */ -proto.fonos.funcs.v1beta1.DeployStream.prototype.getText = function() { +proto.fonoster.funcs.v1beta1.DeployStream.prototype.getText = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.funcs.v1beta1.DeployStream} returns this + * @return {!proto.fonoster.funcs.v1beta1.DeployStream} returns this */ -proto.fonos.funcs.v1beta1.DeployStream.prototype.setText = function(value) { +proto.fonoster.funcs.v1beta1.DeployStream.prototype.setText = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; -goog.object.extend(exports, proto.fonos.funcs.v1beta1); +goog.object.extend(exports, proto.fonoster.funcs.v1beta1); diff --git a/mods/funcs/src/service/protos/google/api/annotations_grpc_pb.js b/mods/funcs/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/funcs/src/service/protos/google/api/annotations_pb.d.ts b/mods/funcs/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/funcs/src/service/protos/google/api/annotations_pb.js b/mods/funcs/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/funcs/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/funcs/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/funcs/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/funcs/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/funcs/src/service/protos/google/api/field_behavior_pb.js b/mods/funcs/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/funcs/src/service/protos/google/api/http_grpc_pb.js b/mods/funcs/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/funcs/src/service/protos/google/api/http_pb.d.ts b/mods/funcs/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/funcs/src/service/protos/google/api/http_pb.js b/mods/funcs/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/funcs/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/funcs/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/funcs/src/service/protos/google/api/httpbody_pb.d.ts b/mods/funcs/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/funcs/src/service/protos/google/api/httpbody_pb.js b/mods/funcs/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/funcs/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/funcs/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/funcs/src/service/registry.ts b/mods/funcs/src/service/registry.ts index 958d35f8b..38dd46510 100644 --- a/mods/funcs/src/service/registry.ts +++ b/mods/funcs/src/service/registry.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,9 +18,9 @@ */ import Docker from "dockerode"; import fs from "fs"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import {ServerStream} from "./funcs"; -import {FonosError} from "@fonos/errors"; +import {FonosterError} from "@fonoster/errors"; import walk from "walk"; import {promisify} from "util"; @@ -37,7 +37,7 @@ export interface BuildInfo { const getAuth = (request: BuildInfo) => { logger.verbose( - `@fonos/funcs image build [constructing auth obj for ${request.registry}]` + `@fonoster/funcs image build [constructing auth obj for ${request.registry}]` ); return { username: request.username, @@ -59,7 +59,7 @@ const ls = (pathToFunc: string): Promise => { const file = base + stats.name; logger.verbose( - `@fonos/storage walk [base = ${base}, name = ${stats.name}]` + `@fonoster/storage walk [base = ${base}, name = ${stats.name}]` ); files.push(file); @@ -72,8 +72,8 @@ const ls = (pathToFunc: string): Promise => { }); walker.on("end", () => { - logger.verbose(`@fonos/storage walk [finished walking ${pathToFunc}]`); - logger.verbose(`@fonos/funcs walk [ files = ${files}`); + logger.verbose(`@fonoster/storage walk [finished walking ${pathToFunc}]`); + logger.verbose(`@fonoster/funcs walk [ files = ${files}`); resolve(files); }); }); @@ -86,11 +86,11 @@ export default async function (request: BuildInfo, serverStream: ServerStream) { for (index in attempts) { // Sometime the image is not inmediatly available so we try a few times logger.verbose( - `@fonos/funcs publish [waiting for files to be ready (try #${attempts[index]})` + `@fonoster/funcs publish [waiting for files to be ready (try #${attempts[index]})` ); logger.verbose( - `@fonos/funcs registry [is file ${ + `@fonoster/funcs registry [is file ${ request.pathToFunc } present? ${fs.existsSync(request.pathToFunc)}` ); @@ -145,7 +145,7 @@ export default async function (request: BuildInfo, serverStream: ServerStream) { }); } catch (e) { logger.error(JSON.stringify(e)); - throw new FonosError( + throw new FonosterError( `Unable to pulish image ${request.image} to registry ${request.registry}` ); } finally { diff --git a/mods/funcs/src/service/runner.ts b/mods/funcs/src/service/runner.ts index 2dc1de8e4..5e9753442 100644 --- a/mods/funcs/src/service/runner.ts +++ b/mods/funcs/src/service/runner.ts @@ -1,15 +1,9 @@ #!/usr/bin/env node -import {AuthMiddleware} from "@fonos/auth"; -import {runServices} from "@fonos/common"; -import {getSalt} from "@fonos/certs"; +import {AuthMiddleware} from "@fonoster/auth"; +import {runServices} from "@fonoster/common"; +import {getSalt} from "@fonoster/certs"; import {FuncsService} from "./protos/funcs_grpc_pb"; import FuncsServer from "./funcs"; -import logger from "@fonos/logger"; - -if (!process.env.PUBLIC_URL) { - logger.error("Didn't find environment variable PUBLIC_URL while is required"); - process.exit(1); -} const services = [ { diff --git a/mods/funcs/src/utils/auth.ts b/mods/funcs/src/utils/auth.ts index 58c920dd8..1467d99a0 100644 --- a/mods/funcs/src/utils/auth.ts +++ b/mods/funcs/src/utils/auth.ts @@ -1,5 +1,5 @@ -import {Jwt, AuthUtils} from "@fonos/auth"; -import {getSalt, AUTH_ISS} from "@fonos/certs"; +import {Jwt, AuthUtils} from "@fonoster/auth"; +import {getSalt, AUTH_ISS} from "@fonoster/certs"; // Obtains a set of credentials for the docker image // TODO: Role should be a constant somewhere diff --git a/mods/funcs/src/utils/utils.ts b/mods/funcs/src/utils/utils.ts index 5a23b4a14..ea3715042 100644 --- a/mods/funcs/src/utils/utils.ts +++ b/mods/funcs/src/utils/utils.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -21,7 +21,7 @@ import {DeployFuncRequest, FuncParameters} from "../client/types"; import fs from "fs-extra"; import path from "path"; import tar from "tar"; -import {FonosError, ErrorCodes} from "@fonos/errors"; +import {FonosterError, ErrorCodes} from "@fonoster/errors"; import cron from "cron-validate"; import createAccessKeySecret from "./auth"; import {FunctionDefinition} from "openfaas-client"; @@ -50,7 +50,7 @@ export const buildDeployFuncRequest = (request: DeployFuncRequest) => { export const assertValidFuncName = (name: string) => { if (/[^a-z0-9_]/.test(name)) - throw new FonosError( + throw new FonosterError( "function name must be a-z0-9_", ErrorCodes.INVALID_ARGUMENT ); @@ -58,7 +58,7 @@ export const assertValidFuncName = (name: string) => { export const assertValidSchedule = (schedule: string) => { if (schedule && !cron(schedule).isValid()) { - throw new FonosError( + throw new FonosterError( "function schedule is not valid (invalid cron expression)", ErrorCodes.INVALID_ARGUMENT ); diff --git a/mods/funcs/test/client.int.test.ts b/mods/funcs/test/client.int.test.ts index 144a352c5..cf6763b29 100644 --- a/mods/funcs/test/client.int.test.ts +++ b/mods/funcs/test/client.int.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -22,14 +22,14 @@ import sinonChai from "sinon-chai"; import chaiAsPromised from "chai-as-promised"; import Funcs from "../src/client/funcs"; import {DeployFuncRequest, GetFuncRequest} from "../src/client/types"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; const expect = chai.expect; chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@fonos/funcs/client", () => { +describe("@fonoster/funcs/client", () => { afterEach(() => sandbox.restore()); it("should fail because path doesn't exist a function", async () => { diff --git a/mods/funcs/test/client.unit.test.ts b/mods/funcs/test/client.unit.test.ts index ccecef5df..8feb129ba 100644 --- a/mods/funcs/test/client.unit.test.ts +++ b/mods/funcs/test/client.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -20,7 +20,7 @@ import chai from "chai"; import sinon from "sinon"; import sinonChai from "sinon-chai"; import chaiAsPromised from "chai-as-promised"; -import {FonosService} from "@fonos/common"; +import {APIClient} from "@fonoster/common"; import Funcs, {buildDeployFuncRequest, FuncsPB} from "../src/client/funcs"; import {DeployFuncRequest} from "../src/client/types"; @@ -37,11 +37,11 @@ funcObj.setReplicas(1); funcObj.setInvocationCount(1000); funcObj.setSchedule("* * * * *"); -describe("@fonos/funcs/client", () => { +describe("@fonoster/funcs/client", () => { afterEach(() => sandbox.restore()); it("returns a function object a DeployFuncRequest", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const request: DeployFuncRequest = { name: "function1", path: "...", @@ -66,8 +66,8 @@ describe("@fonos/funcs/client", () => { }); it("should get a function by name", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ getFunc: (req, meta, callback) => { callback(null, funcObj); } @@ -95,14 +95,12 @@ describe("@fonos/funcs/client", () => { const response = { name: funcObj.getName() }; - sandbox.stub(FonosService.prototype, "init").returns(); - const stubFunc = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - deleteFunc: (req, meta, callback) => { - callback(null, response); - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubFunc = sandbox.stub(APIClient.prototype, "getService").returns({ + deleteFunc: (req, meta, callback) => { + callback(null, response); + } + }); const funcs = new Funcs(); const result = await funcs.deleteFunc({name: funcObj.getName()}); @@ -118,19 +116,17 @@ describe("@fonos/funcs/client", () => { view: 0 }; - sandbox.stub(FonosService.prototype, "init").returns(); - const stubFunc = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - listFuncs: (req, meta, callback) => { - callback(null, { - getNextPageToken: () => { - return "1"; - }, - getFuncsList: () => [funcObj] - }); - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubFunc = sandbox.stub(APIClient.prototype, "getService").returns({ + listFuncs: (req, meta, callback) => { + callback(null, { + getNextPageToken: () => { + return "1"; + }, + getFuncsList: () => [funcObj] + }); + } + }); const funcs = new Funcs(); const result = await funcs.listFuncs(request); diff --git a/mods/funcs/test/service.unit.test.ts b/mods/funcs/test/service.unit.test.ts index 2db861534..7028af289 100644 --- a/mods/funcs/test/service.unit.test.ts +++ b/mods/funcs/test/service.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -27,7 +27,7 @@ chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@fonos/funcs/service", () => { +describe("@fonoster/funcs/service", () => { afterEach(() => sandbox.restore()); it("needs testing", async () => {}); diff --git a/mods/googleasr/.lerna-changed-buster-7825 b/mods/googleasr/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/googleasr/CHANGELOG.md b/mods/googleasr/CHANGELOG.md new file mode 100644 index 000000000..17ab502fb --- /dev/null +++ b/mods/googleasr/CHANGELOG.md @@ -0,0 +1,3 @@ +# 0.2.20 + +Initial release. \ No newline at end of file diff --git a/mods/googleasr/README.md b/mods/googleasr/README.md new file mode 100644 index 000000000..fd7ad7d5c --- /dev/null +++ b/mods/googleasr/README.md @@ -0,0 +1,35 @@ +Voice application plugin that accurately convert speech into text using an API powered by Google’s AI technologies. + +## Installation + +```bash +npm install @fonoster/googleasr +``` + +or + +```bash +yarn add @fonoster/googleasr +``` + +## Usage + +```javascript +const { VoiceServer } = require("@fonoster/voice"); +const GoogleASR = require("@fonoster/googleasr"); +const voiceServer = new VoiceServer({ base: '/voiceapp' }); + +// Set the server to use the speech APIS +const speechConfig = { keyFilename: "./google.json" }; +voiceServer.use(new GoogleASR(speechConfig)); + +voiceServer.listen(async(req, res) => { + console.log(req); + await res.answer(); + // To use this verb you MUST have a TTS plugin + const speech = await res.gather(); + + console.log("User input: " + speech"); + await res.hangup(); +}); +``` diff --git a/mods/googleasr/assets/logo.png b/mods/googleasr/assets/logo.png new file mode 100644 index 000000000..d6793d551 Binary files /dev/null and b/mods/googleasr/assets/logo.png differ diff --git a/mods/googleasr/package-lock.json b/mods/googleasr/package-lock.json index d7c1bdb01..a4a10d7af 100644 --- a/mods/googleasr/package-lock.json +++ b/mods/googleasr/package-lock.json @@ -1,2864 +1,2854 @@ { - "name": "@fonos/googleasr", - "version": "0.1.20-alpha.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@fonos/googleasr", - "version": "0.1.20-alpha.0", - "license": "MIT", - "dependencies": { - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/logger": "*", - "@google-cloud/speech": "^4.0.0", - "axios": "^0.21.1", - "node-record-lpcm16": "^1.0.1", - "objectid": "^3.2.1", - "sync": "^0.2.5" - } - }, - "../certs": { - "name": "@fonos/certs", - "version": "0.1.20-alpha.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "../common": { - "name": "@fonos/common", - "version": "0.1.20-alpha.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "../logger": { - "name": "@fonos/logger", - "version": "0.1.20-alpha.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - }, - "devDependencies": { - "rimraf": "^3.0.2" - } - }, - "node_modules/@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", - "dependencies": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "node_modules/@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "node_modules/@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", - "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "node_modules/@fonos/logger": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.20-alpha.0.tgz", - "integrity": "sha512-2pxbetpP/Ff5bzVOUsfNY9/yfoLzkUzBG9uM+FSYzqeZUGkCesaSLqR20R3Xr2QxFA4mQEhpAI4z4daKqzsrDQ==", - "dependencies": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - } - }, - "node_modules/@google-cloud/common": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.7.2.tgz", - "integrity": "sha512-5Q9f74IbZaY6xAwJSNFy5SrGwbm1j7mpv+6A/r+K2dymjsXBH5UauB0tziaMwWoVVaMq1IQnZF9lgtfqqvxcUg==", - "dependencies": { - "@google-cloud/projectify": "^2.0.0", - "@google-cloud/promisify": "^2.0.0", - "arrify": "^2.0.1", - "duplexify": "^4.1.1", - "ent": "^2.2.0", - "extend": "^3.0.2", - "google-auth-library": "^7.0.2", - "retry-request": "^4.2.2", - "teeny-request": "^7.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/projectify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.0.tgz", - "integrity": "sha512-qbpidP/fOvQNz3nyabaVnZqcED1NNzf7qfeOlgtAZd9knTwY+KtsGRkYpiQzcATABy4gnGP2lousM3S0nuWVzA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/promisify": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz", - "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/speech": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.8.0.tgz", - "integrity": "sha512-f1D6pXG4IuI9qAhrJQerx0LSHuGMVD6aZtgvdPAAeBlOKwJeLn81su8e9vAjh2pDpyF9zdcWATuWDWFYKUk81w==", - "dependencies": { - "@google-cloud/common": "^3.0.0", - "@types/pumpify": "^1.4.1", - "google-gax": "^2.24.1", - "protobufjs": "^6.8.6", - "pumpify": "^2.0.0", - "stream-events": "^1.0.4", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", - "dependencies": { - "@types/node": ">=12.12.47" - }, - "engines": { - "node": "^8.13.0 || >=10.10.0" - } - }, - "node_modules/@grpc/proto-loader": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.4.tgz", - "integrity": "sha512-7xvDvW/vJEcmLUltCUGOgWRPM8Oofv0eCFSVMuKqaqWJaXSzmB+m9hiyqe34QofAl4WAzIKUZZlinIF9FOHyTQ==", - "dependencies": { - "@types/long": "^4.0.1", - "lodash.camelcase": "^4.3.0", - "long": "^4.0.0", - "protobufjs": "^6.10.0", - "yargs": "^16.1.1" - }, - "bin": { - "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "node_modules/@speedymonster/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", - "dependencies": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - }, - "peerDependencies": { - "@grpc/grpc-js": "^1.3.7" - } - }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@types/duplexify": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz", - "integrity": "sha512-5zOA53RUlzN74bvrSGwjudssD9F3a797sDZQkiYpUOxW+WHaXTCPz4/d5Dgi6FKnOqZ2CpaTo0DhgIfsXAOE/A==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/jsonwebtoken": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.5.tgz", - "integrity": "sha512-OGqtHQ7N5/Ap/TUwO6IgHDuLiAoTmHhGpNvgkCm/F4N6pKzx/RBSfr2OXZSwC6vkfnsEdb6+7DNZVtiXiwdwFw==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "node_modules/@types/node": { - "version": "16.7.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz", - "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==" - }, - "node_modules/@types/pumpify": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", - "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", - "dependencies": { - "@types/duplexify": "*", - "@types/node": "*" - } - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "dependencies": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/acme-client/node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "dependencies": { - "follow-redirects": "^1.10.0" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ansi-styles/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/ansi-styles/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "engines": { - "node": ">=8" - } - }, - "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "engines": { - "node": "*" - } - }, - "node_modules/async": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.1.tgz", - "integrity": "sha512-XdD5lRO/87udXCMC9meWdYiR+Nq6ZjUfXidViUZGu2F1MO4T3XwZ1et0hb2++BgLfhyJwy44BGB/yx80ABx8hg==" - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "dependencies": { - "follow-redirects": "^1.14.0" - } - }, - "node_modules/backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==", - "engines": { - "node": "*" - } - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", - "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", - "hasInstallScript": true, - "engines": { - "node": ">=0.6.19" - } - }, - "node_modules/btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", - "bin": { - "btoa": "bin/btoa.js" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "node_modules/chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", - "engines": { - "node": "*" - } - }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "dependencies": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", - "dependencies": { - "color": "3.0.x", - "text-hex": "1.0.x" - } - }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, - "node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "dependencies": { - "type-detect": "^4.0.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/duplexify": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", - "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", - "dependencies": { - "end-of-stream": "^1.4.1", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1", - "stream-shift": "^1.0.0" - } - }, - "node_modules/ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/event-lite": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", - "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "node_modules/fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, - "node_modules/fast-text-encoding": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", - "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" - }, - "node_modules/fecha": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", - "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" - }, - "node_modules/fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "hasInstallScript": true, - "dependencies": { - "detect-libc": "^1.0.3" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/fluent-logger": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", - "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", - "dependencies": { - "msgpack-lite": "*" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, - "node_modules/follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/gaxios": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.1.tgz", - "integrity": "sha512-9qXV7yrMCGzTrphl9/YGMVH41oSg0rhn1j3wJWed4Oqk45/hXDD2wBT5J1NjQcqTCcv4g3nFnyQ7reSRHNgBgw==", - "dependencies": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gcp-metadata": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", - "dependencies": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", - "engines": { - "node": "*" - } - }, - "node_modules/google-auth-library": { - "version": "7.9.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.9.1.tgz", - "integrity": "sha512-cWGykH2WBR+UuYPGRnGVZ6Cjq2ftQiEIFjQWNIRIauZH7hUWoYTr/lkKUqLTYt5dex77nlWWVQ8aPV80mhfp5w==", - "dependencies": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/google-gax": { - "version": "2.25.0", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.25.0.tgz", - "integrity": "sha512-s2V5UA/M5or7PFMpsp159X1FrWgIJZ2TSp+k57giUsiS+idMTtKoVgZ+LI59+UyOkFuDg7IBLRcBwZ1TgavEBw==", - "dependencies": { - "@grpc/grpc-js": "~1.3.0", - "@grpc/proto-loader": "^0.6.1", - "@types/long": "^4.0.0", - "abort-controller": "^3.0.0", - "duplexify": "^4.0.0", - "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.6.1", - "is-stream-ended": "^0.1.4", - "node-fetch": "^2.6.1", - "object-hash": "^2.1.1", - "proto3-json-serializer": "^0.1.1", - "protobufjs": "6.11.2", - "retry-request": "^4.0.0" - }, - "bin": { - "compileProtos": "build/tools/compileProtos.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/google-p12-pem": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.2.tgz", - "integrity": "sha512-tjf3IQIt7tWCDsa0ofDQ1qqSCNzahXDxdAGJDbruWqu3eCg5CKLYKN+hi0s6lfvzYZ1GDVr+oDF9OOWlDSdf0A==", - "dependencies": { - "node-forge": "^0.10.0" - }, - "bin": { - "gp12-pem": "build/src/bin/gp12-pem.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gtoken": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.1.tgz", - "integrity": "sha512-yqOREjzLHcbzz1UrQoxhBtpk8KjrVhuqPE7od1K2uhyxG2BHjKZetlbLw/SPZak/QqTIQW+addS+EcjqQsZbwQ==", - "dependencies": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.0.3", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, - "node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-stream-ended": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", - "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/json-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", - "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", - "dependencies": { - "bignumber.js": "^9.0.0" - } - }, - "node_modules/jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "dependencies": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=4", - "npm": ">=1.4.28" - } - }, - "node_modules/jsonwebtoken/node_modules/jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jsonwebtoken/node_modules/jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "dependencies": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", - "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "dependencies": { - "jwa": "^2.0.0", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "node_modules/logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", - "dependencies": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "triple-beam": "^1.3.0" - } - }, - "node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", - "dependencies": { - "event-lite": "^0.1.1", - "ieee754": "^1.1.8", - "int64-buffer": "^0.1.9", - "isarray": "^1.0.0" - }, - "bin": { - "msgpack": "bin/msgpack" - } - }, - "node_modules/network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", - "bin": { - "network-address": "cli.js" - } - }, - "node_modules/node-fetch": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.2.tgz", - "integrity": "sha512-aLoxToI6RfZ+0NOjmWAgn9+LEd30YCkJKFSyWacNZdEKTit/ZMcKjGkTRo8uWEsnIb/hfKecNPEbln02PdWbcA==", - "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/node-record-lpcm16": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", - "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", - "dependencies": { - "debug": "^2.6.8" - } - }, - "node_modules/node-record-lpcm16/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/node-record-lpcm16/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "dependencies": { - "bson": "^0.1.9" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "dependencies": { - "fn.name": "1.x.x" - } - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "engines": { - "node": "*" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "node_modules/proto3-json-serializer": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-0.1.3.tgz", - "integrity": "sha512-X0DAtxCBsy1NDn84huVFGOFgBslT2gBmM+85nY6/5SOAaCon1jzVNdvi74foIyFvs5CjtSbQsepsM5TsyNhqQw==" - }, - "node_modules/protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/pumpify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", - "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", - "dependencies": { - "duplexify": "^4.1.1", - "inherits": "^2.0.3", - "pump": "^3.0.0" - } - }, - "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/retry-request": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", - "dependencies": { - "debug": "^4.1.1", - "extend": "^3.0.2" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", - "engines": { - "node": "*" - } - }, - "node_modules/stream-events": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", - "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", - "dependencies": { - "stubs": "^3.0.0" - } - }, - "node_modules/stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/stubs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", - "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" - }, - "node_modules/sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "dependencies": { - "fibers": ">=0.6" - }, - "engines": { - "node": ">=0.5.2" - } - }, - "node_modules/teeny-request": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.1.tgz", - "integrity": "sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==", - "dependencies": { - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "stream-events": "^1.0.5", - "uuid": "^8.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "node_modules/triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", - "dependencies": { - "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", - "is-stream": "^2.0.0", - "logform": "^2.2.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" - }, - "engines": { - "node": ">= 6.4.0" - } - }, - "node_modules/winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", - "dependencies": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "engines": { - "node": ">= 6.4.0" - } - }, - "node_modules/winston-transport/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/winston-transport/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/winston-transport/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "engines": { - "node": ">=10" - } - }, - "node_modules/zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "dependencies": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "node_modules/zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "dependencies": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - } - }, - "node_modules/zipkin-transport-http/node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/zipkin-transport-http/node_modules/node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "dependencies": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } - }, - "dependencies": { - "@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", - "requires": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", - "requires": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "@fonos/logger": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.20-alpha.0.tgz", - "integrity": "sha512-2pxbetpP/Ff5bzVOUsfNY9/yfoLzkUzBG9uM+FSYzqeZUGkCesaSLqR20R3Xr2QxFA4mQEhpAI4z4daKqzsrDQ==", - "requires": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - } - }, - "@google-cloud/common": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.7.2.tgz", - "integrity": "sha512-5Q9f74IbZaY6xAwJSNFy5SrGwbm1j7mpv+6A/r+K2dymjsXBH5UauB0tziaMwWoVVaMq1IQnZF9lgtfqqvxcUg==", - "requires": { - "@google-cloud/projectify": "^2.0.0", - "@google-cloud/promisify": "^2.0.0", - "arrify": "^2.0.1", - "duplexify": "^4.1.1", - "ent": "^2.2.0", - "extend": "^3.0.2", - "google-auth-library": "^7.0.2", - "retry-request": "^4.2.2", - "teeny-request": "^7.0.0" - } - }, - "@google-cloud/projectify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.0.tgz", - "integrity": "sha512-qbpidP/fOvQNz3nyabaVnZqcED1NNzf7qfeOlgtAZd9knTwY+KtsGRkYpiQzcATABy4gnGP2lousM3S0nuWVzA==" - }, - "@google-cloud/promisify": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz", - "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==" - }, - "@google-cloud/speech": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.8.0.tgz", - "integrity": "sha512-f1D6pXG4IuI9qAhrJQerx0LSHuGMVD6aZtgvdPAAeBlOKwJeLn81su8e9vAjh2pDpyF9zdcWATuWDWFYKUk81w==", - "requires": { - "@google-cloud/common": "^3.0.0", - "@types/pumpify": "^1.4.1", - "google-gax": "^2.24.1", - "protobufjs": "^6.8.6", - "pumpify": "^2.0.0", - "stream-events": "^1.0.4", - "uuid": "^8.3.2" - } - }, - "@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", - "requires": { - "@types/node": ">=12.12.47" - } - }, - "@grpc/proto-loader": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.4.tgz", - "integrity": "sha512-7xvDvW/vJEcmLUltCUGOgWRPM8Oofv0eCFSVMuKqaqWJaXSzmB+m9hiyqe34QofAl4WAzIKUZZlinIF9FOHyTQ==", - "requires": { - "@types/long": "^4.0.1", - "lodash.camelcase": "^4.3.0", - "long": "^4.0.0", - "protobufjs": "^6.10.0", - "yargs": "^16.1.1" - } - }, - "@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "@speedymonster/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", - "requires": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - } - }, - "@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" - }, - "@types/duplexify": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz", - "integrity": "sha512-5zOA53RUlzN74bvrSGwjudssD9F3a797sDZQkiYpUOxW+WHaXTCPz4/d5Dgi6FKnOqZ2CpaTo0DhgIfsXAOE/A==", - "requires": { - "@types/node": "*" - } - }, - "@types/jsonwebtoken": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.5.tgz", - "integrity": "sha512-OGqtHQ7N5/Ap/TUwO6IgHDuLiAoTmHhGpNvgkCm/F4N6pKzx/RBSfr2OXZSwC6vkfnsEdb6+7DNZVtiXiwdwFw==", - "requires": { - "@types/node": "*" - } - }, - "@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "@types/node": { - "version": "16.7.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz", - "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==" - }, - "@types/pumpify": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", - "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", - "requires": { - "@types/duplexify": "*", - "@types/node": "*" - } - }, - "abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "requires": { - "event-target-shim": "^5.0.0" - } - }, - "acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "requires": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - }, - "dependencies": { - "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "requires": { - "follow-redirects": "^1.10.0" - } - } - } - }, - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "requires": { - "debug": "4" - } - }, - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - }, - "dependencies": { - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - } - } - }, - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" - }, - "assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" - }, - "async": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.1.tgz", - "integrity": "sha512-XdD5lRO/87udXCMC9meWdYiR+Nq6ZjUfXidViUZGu2F1MO4T3XwZ1et0hb2++BgLfhyJwy44BGB/yx80ABx8hg==" - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" - }, - "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "requires": { - "follow-redirects": "^1.14.0" - } - }, - "backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==" - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" - }, - "btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" - }, - "buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "requires": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - } - }, - "check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", - "requires": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" - }, - "colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", - "requires": { - "color": "3.0.x", - "text-hex": "1.0.x" - } - }, - "core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - }, - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "requires": { - "ms": "2.1.2" - } - }, - "deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "requires": { - "type-detect": "^4.0.0" - } - }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" - }, - "detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" - }, - "duplexify": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", - "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", - "requires": { - "end-of-stream": "^1.4.1", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1", - "stream-shift": "^1.0.0" - } - }, - "ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "requires": { - "iconv-lite": "^0.6.2" - } - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "requires": { - "once": "^1.4.0" - } - }, - "ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" - }, - "event-lite": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", - "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" - }, - "event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, - "fast-text-encoding": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", - "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" - }, - "fecha": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", - "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" - }, - "fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "requires": { - "detect-libc": "^1.0.3" - } - }, - "fluent-logger": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", - "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", - "requires": { - "msgpack-lite": "*" - } - }, - "fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, - "follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==" - }, - "gaxios": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.1.tgz", - "integrity": "sha512-9qXV7yrMCGzTrphl9/YGMVH41oSg0rhn1j3wJWed4Oqk45/hXDD2wBT5J1NjQcqTCcv4g3nFnyQ7reSRHNgBgw==", - "requires": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.1" - } - }, - "gcp-metadata": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", - "requires": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - } - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" - }, - "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" - }, - "google-auth-library": { - "version": "7.9.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.9.1.tgz", - "integrity": "sha512-cWGykH2WBR+UuYPGRnGVZ6Cjq2ftQiEIFjQWNIRIauZH7hUWoYTr/lkKUqLTYt5dex77nlWWVQ8aPV80mhfp5w==", - "requires": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" - } - }, - "google-gax": { - "version": "2.25.0", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.25.0.tgz", - "integrity": "sha512-s2V5UA/M5or7PFMpsp159X1FrWgIJZ2TSp+k57giUsiS+idMTtKoVgZ+LI59+UyOkFuDg7IBLRcBwZ1TgavEBw==", - "requires": { - "@grpc/grpc-js": "~1.3.0", - "@grpc/proto-loader": "^0.6.1", - "@types/long": "^4.0.0", - "abort-controller": "^3.0.0", - "duplexify": "^4.0.0", - "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.6.1", - "is-stream-ended": "^0.1.4", - "node-fetch": "^2.6.1", - "object-hash": "^2.1.1", - "proto3-json-serializer": "^0.1.1", - "protobufjs": "6.11.2", - "retry-request": "^4.0.0" - } - }, - "google-p12-pem": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.2.tgz", - "integrity": "sha512-tjf3IQIt7tWCDsa0ofDQ1qqSCNzahXDxdAGJDbruWqu3eCg5CKLYKN+hi0s6lfvzYZ1GDVr+oDF9OOWlDSdf0A==", - "requires": { - "node-forge": "^0.10.0" - } - }, - "gtoken": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.1.tgz", - "integrity": "sha512-yqOREjzLHcbzz1UrQoxhBtpk8KjrVhuqPE7od1K2uhyxG2BHjKZetlbLw/SPZak/QqTIQW+addS+EcjqQsZbwQ==", - "requires": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.0.3", - "jws": "^4.0.0" - } - }, - "http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "requires": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - } - }, - "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, - "is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" - }, - "is-stream-ended": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", - "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "json-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", - "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", - "requires": { - "bignumber.js": "^9.0.0" - } - }, - "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "requires": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "dependencies": { - "jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "requires": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - } - } - }, - "jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", - "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "requires": { - "jwa": "^2.0.0", - "safe-buffer": "^5.0.1" - } - }, - "kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, - "lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", - "requires": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "triple-beam": "^1.3.0" - } - }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", - "requires": { - "event-lite": "^0.1.1", - "ieee754": "^1.1.8", - "int64-buffer": "^0.1.9", - "isarray": "^1.0.0" - } - }, - "network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" - }, - "node-fetch": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.2.tgz", - "integrity": "sha512-aLoxToI6RfZ+0NOjmWAgn9+LEd30YCkJKFSyWacNZdEKTit/ZMcKjGkTRo8uWEsnIb/hfKecNPEbln02PdWbcA==" - }, - "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" - }, - "node-record-lpcm16": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", - "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", - "requires": { - "debug": "^2.6.8" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==" - }, - "objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "requires": { - "bson": "^0.1.9" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" - } - }, - "one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "requires": { - "fn.name": "1.x.x" - } - }, - "pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "proto3-json-serializer": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-0.1.3.tgz", - "integrity": "sha512-X0DAtxCBsy1NDn84huVFGOFgBslT2gBmM+85nY6/5SOAaCon1jzVNdvi74foIyFvs5CjtSbQsepsM5TsyNhqQw==" - }, - "protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - } - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "pumpify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", - "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", - "requires": { - "duplexify": "^4.1.1", - "inherits": "^2.0.3", - "pump": "^3.0.0" - } - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" - }, - "retry-request": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", - "requires": { - "debug": "^4.1.1", - "extend": "^3.0.2" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "requires": { - "is-arrayish": "^0.3.1" - } - }, - "stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" - }, - "stream-events": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", - "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", - "requires": { - "stubs": "^3.0.0" - } - }, - "stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - }, - "string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - }, - "stubs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", - "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" - }, - "sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "requires": { - "fibers": ">=0.6" - } - }, - "teeny-request": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.1.tgz", - "integrity": "sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==", - "requires": { - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "stream-events": "^1.0.5", - "uuid": "^8.0.0" - } - }, - "text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, - "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - }, - "winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", - "requires": { - "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", - "is-stream": "^2.0.0", - "logform": "^2.2.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" - } - }, - "winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", - "requires": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } - }, - "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" - }, - "zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "requires": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "requires": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - }, - "dependencies": { - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } - } - } - } + "name": "@fonoster/googleasr", + "version": "0.2.40", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@fonoster/googleasr", + "version": "0.2.40", + "license": "MIT", + "dependencies": { + "@fonoster/common": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@google-cloud/speech": "^4.0.0", + "node-record-lpcm16": "^1.0.1", + "objectid": "^3.2.1", + "sync": "^0.2.5" + } + }, + "../certs": { + "name": "@fonoster/certs", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "../common": { + "name": "@fonoster/common", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "../logger": { + "name": "@fonoster/logger", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "node_modules/@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "node_modules/@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "dependencies": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "node_modules/@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "node_modules/@google-cloud/common": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.9.0.tgz", + "integrity": "sha512-R9PfmCKbpOizvcLY+fz/TS4HdOQhvmf4EY4xEXvWnotGbGXujuTLJTJ2URy8BGT8TDxlh6gjjfEwjJ8McnNPIg==", + "dependencies": { + "@google-cloud/projectify": "^2.0.0", + "@google-cloud/promisify": "^2.0.0", + "arrify": "^2.0.1", + "duplexify": "^4.1.1", + "ent": "^2.2.0", + "extend": "^3.0.2", + "google-auth-library": "^7.9.2", + "retry-request": "^4.2.2", + "teeny-request": "^7.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@google-cloud/projectify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.1.tgz", + "integrity": "sha512-+rssMZHnlh0twl122gXY4/aCrk0G1acBqkHFfYddtsqpYXGxA29nj9V5V9SfC+GyOG00l650f6lG9KL+EpFEWQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/@google-cloud/promisify": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.4.tgz", + "integrity": "sha512-j8yRSSqswWi1QqUGKVEKOG03Q7qOoZP6/h2zN2YO+F5h2+DHU0bSrHCK9Y7lo2DI9fBd8qGAw795sf+3Jva4yA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/@google-cloud/speech": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.10.0.tgz", + "integrity": "sha512-cvit6T9Sq0xWcaY0y2kZvy1yBtaJsC6U5n8Kd/n5Jx0Ssf1B/gLnwlWn2A24BGSarlEzXeaZQcUA/Gip7nO3qA==", + "dependencies": { + "@google-cloud/common": "^3.0.0", + "@types/pumpify": "^1.4.1", + "google-gax": "^2.24.1", + "protobufjs": "^6.8.6", + "pumpify": "^2.0.0", + "stream-events": "^1.0.4", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "dependencies": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "node_modules/@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "dependencies": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + }, + "peerDependencies": { + "@grpc/grpc-js": "^1.3.7" + } + }, + "node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "engines": { + "node": ">= 10" + } + }, + "node_modules/@types/duplexify": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.1.tgz", + "integrity": "sha512-n0zoEj/fMdMOvqbHxmqnza/kXyoGgJmEpsXjpP+gEqE1Ye4yNqc7xWipKnUoMpWhMuzJQSfK2gMrwlElly7OGQ==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "node_modules/@types/node": { + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" + }, + "node_modules/@types/pumpify": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", + "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", + "dependencies": { + "@types/duplexify": "*", + "@types/node": "*" + } + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "dependencies": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ansi-styles/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "engines": { + "node": ">=8" + } + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "engines": { + "node": "*" + } + }, + "node_modules/async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, + "node_modules/backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bignumber.js": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", + "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==", + "engines": { + "node": "*" + } + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "node_modules/bson": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", + "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", + "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", + "hasInstallScript": true, + "engines": { + "node": ">=0.6.19" + } + }, + "node_modules/btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "node_modules/chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "engines": { + "node": "*" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "node_modules/color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/duplexify": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", + "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", + "dependencies": { + "end-of-stream": "^1.4.1", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1", + "stream-shift": "^1.0.0" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/fast-text-encoding": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", + "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" + }, + "node_modules/fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + }, + "node_modules/fibers": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", + "hasInstallScript": true, + "dependencies": { + "detect-libc": "^1.0.3" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "dependencies": { + "msgpack-lite": "*" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + }, + "node_modules/follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/gaxios": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.2.tgz", + "integrity": "sha512-T+ap6GM6UZ0c4E6yb1y/hy2UB6hTrqhglp3XfmU9qbLCGRYhLVV5aRPpC4EmoG8N8zOnkYCgoBz+ScvGAARY6Q==", + "dependencies": { + "abort-controller": "^3.0.0", + "extend": "^3.0.2", + "https-proxy-agent": "^5.0.0", + "is-stream": "^2.0.0", + "node-fetch": "^2.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/gcp-metadata": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", + "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "dependencies": { + "gaxios": "^4.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "engines": { + "node": "*" + } + }, + "node_modules/google-auth-library": { + "version": "7.12.0", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.12.0.tgz", + "integrity": "sha512-RS/whvFPMoF1hQNxnoVET3DWKPBt1Xgqe2rY0k+Jn7TNhoHlwdnSe7Rlcbo2Nub3Mt2lUVz26X65aDQrWp6x8w==", + "dependencies": { + "arrify": "^2.0.0", + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "fast-text-encoding": "^1.0.0", + "gaxios": "^4.0.0", + "gcp-metadata": "^4.2.0", + "gtoken": "^5.0.4", + "jws": "^4.0.0", + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/google-gax": { + "version": "2.29.7", + "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.29.7.tgz", + "integrity": "sha512-yC0Q4OqX6s081jV72Idt9sxZnuRHOjg0SR0FFH15gT3LDE2u/78xqLjZwa3VuprBvaOLM29jzU19Vv4I7E8ETQ==", + "dependencies": { + "@grpc/grpc-js": "~1.5.0", + "@grpc/proto-loader": "^0.6.1", + "@types/long": "^4.0.0", + "abort-controller": "^3.0.0", + "duplexify": "^4.0.0", + "fast-text-encoding": "^1.0.3", + "google-auth-library": "^7.6.1", + "is-stream-ended": "^0.1.4", + "node-fetch": "^2.6.1", + "object-hash": "^2.1.1", + "proto3-json-serializer": "^0.1.8", + "protobufjs": "6.11.2", + "retry-request": "^4.0.0" + }, + "bin": { + "compileProtos": "build/tools/compileProtos.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/google-p12-pem": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.3.tgz", + "integrity": "sha512-MC0jISvzymxePDVembypNefkAQp+DRP7dBE+zNUPaIjEspIlYg0++OrsNr248V9tPbz6iqtZ7rX1hxWA5B8qBQ==", + "dependencies": { + "node-forge": "^1.0.0" + }, + "bin": { + "gp12-pem": "build/src/bin/gp12-pem.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/gtoken": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.2.tgz", + "integrity": "sha512-gkvEKREW7dXWF8NV8pVrKfW7WqReAmjjkMBh6lNCCGOM4ucS0r0YyXXl0r/9Yj8wcW/32ISkfc8h5mPTDbtifQ==", + "dependencies": { + "gaxios": "^4.0.0", + "google-p12-pem": "^3.1.3", + "jws": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" + }, + "node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-stream-ended": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", + "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "node_modules/json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, + "node_modules/jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=4", + "npm": ">=1.4.28" + } + }, + "node_modules/jsonwebtoken/node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jsonwebtoken/node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "dependencies": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "node_modules/logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "dependencies": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + }, + "bin": { + "msgpack": "bin/msgpack" + } + }, + "node_modules/network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", + "bin": { + "network-address": "cli.js" + } + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==", + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-record-lpcm16": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", + "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", + "dependencies": { + "debug": "^2.6.8" + } + }, + "node_modules/node-record-lpcm16/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/node-record-lpcm16/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/object-hash": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", + "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/objectid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", + "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", + "dependencies": { + "bson": "^0.1.9" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "engines": { + "node": "*" + } + }, + "node_modules/proto3-json-serializer": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-0.1.8.tgz", + "integrity": "sha512-ACilkB6s1U1gWnl5jtICpnDai4VCxmI9GFxuEaYdxtDG2oVI3sVFIUsvUZcQbJgtPM6p+zqKbjTKQZp6Y4FpQw==", + "dependencies": { + "protobufjs": "^6.11.2" + } + }, + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/pumpify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", + "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", + "dependencies": { + "duplexify": "^4.1.1", + "inherits": "^2.0.3", + "pump": "^3.0.0" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/retry-request": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", + "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", + "dependencies": { + "debug": "^4.1.1", + "extend": "^3.0.2" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==", + "engines": { + "node": ">=10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", + "engines": { + "node": "*" + } + }, + "node_modules/stream-events": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", + "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", + "dependencies": { + "stubs": "^3.0.0" + } + }, + "node_modules/stream-shift": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", + "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/stubs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", + "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" + }, + "node_modules/sync": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", + "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "dependencies": { + "fibers": ">=0.6" + }, + "engines": { + "node": ">=0.5.2" + } + }, + "node_modules/teeny-request": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.3.tgz", + "integrity": "sha512-Ew3aoFzgQEatLA5OBIjdr1DWJUaC1xardG+qbPPo5k/y/3fMwXLxpjh5UB5dVfElktLaQbbMs80chkz53ByvSg==", + "dependencies": { + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "node-fetch": "^2.6.1", + "stream-events": "^1.0.5", + "uuid": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" + }, + "node_modules/triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "dependencies": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } + }, + "node_modules/zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "dependencies": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "node_modules/zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "dependencies": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + } + }, + "node_modules/zipkin-transport-http/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/zipkin-transport-http/node_modules/node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + } + }, + "dependencies": { + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==" + }, + "@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "requires": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "requires": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "requires": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "@google-cloud/common": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.9.0.tgz", + "integrity": "sha512-R9PfmCKbpOizvcLY+fz/TS4HdOQhvmf4EY4xEXvWnotGbGXujuTLJTJ2URy8BGT8TDxlh6gjjfEwjJ8McnNPIg==", + "requires": { + "@google-cloud/projectify": "^2.0.0", + "@google-cloud/promisify": "^2.0.0", + "arrify": "^2.0.1", + "duplexify": "^4.1.1", + "ent": "^2.2.0", + "extend": "^3.0.2", + "google-auth-library": "^7.9.2", + "retry-request": "^4.2.2", + "teeny-request": "^7.0.0" + } + }, + "@google-cloud/projectify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.1.tgz", + "integrity": "sha512-+rssMZHnlh0twl122gXY4/aCrk0G1acBqkHFfYddtsqpYXGxA29nj9V5V9SfC+GyOG00l650f6lG9KL+EpFEWQ==" + }, + "@google-cloud/promisify": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.4.tgz", + "integrity": "sha512-j8yRSSqswWi1QqUGKVEKOG03Q7qOoZP6/h2zN2YO+F5h2+DHU0bSrHCK9Y7lo2DI9fBd8qGAw795sf+3Jva4yA==" + }, + "@google-cloud/speech": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.10.0.tgz", + "integrity": "sha512-cvit6T9Sq0xWcaY0y2kZvy1yBtaJsC6U5n8Kd/n5Jx0Ssf1B/gLnwlWn2A24BGSarlEzXeaZQcUA/Gip7nO3qA==", + "requires": { + "@google-cloud/common": "^3.0.0", + "@types/pumpify": "^1.4.1", + "google-gax": "^2.24.1", + "protobufjs": "^6.8.6", + "pumpify": "^2.0.0", + "stream-events": "^1.0.4", + "uuid": "^8.3.2" + } + }, + "@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "requires": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + } + }, + "@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "requires": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + } + }, + "@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==" + }, + "@types/duplexify": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.1.tgz", + "integrity": "sha512-n0zoEj/fMdMOvqbHxmqnza/kXyoGgJmEpsXjpP+gEqE1Ye4yNqc7xWipKnUoMpWhMuzJQSfK2gMrwlElly7OGQ==", + "requires": { + "@types/node": "*" + } + }, + "@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "requires": { + "@types/node": "*" + } + }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "@types/node": { + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" + }, + "@types/pumpify": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", + "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", + "requires": { + "@types/duplexify": "*", + "@types/node": "*" + } + }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, + "acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "requires": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + } + }, + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "requires": { + "debug": "4" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + }, + "dependencies": { + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } + } + }, + "arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" + }, + "async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" + }, + "axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "requires": { + "follow-redirects": "^1.14.0" + } + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bignumber.js": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", + "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==" + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "bson": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", + "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" + }, + "btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" + }, + "buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "requires": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "requires": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "requires": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "requires": { + "type-detect": "^4.0.0" + } + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + }, + "duplexify": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", + "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", + "requires": { + "end-of-stream": "^1.4.1", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1", + "stream-shift": "^1.0.0" + } + }, + "ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + }, + "encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "requires": { + "iconv-lite": "^0.6.2" + } + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "requires": { + "once": "^1.4.0" + } + }, + "ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "fast-text-encoding": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", + "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" + }, + "fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + }, + "fibers": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "requires": { + "msgpack-lite": "*" + } + }, + "fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + }, + "follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==" + }, + "gaxios": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.2.tgz", + "integrity": "sha512-T+ap6GM6UZ0c4E6yb1y/hy2UB6hTrqhglp3XfmU9qbLCGRYhLVV5aRPpC4EmoG8N8zOnkYCgoBz+ScvGAARY6Q==", + "requires": { + "abort-controller": "^3.0.0", + "extend": "^3.0.2", + "https-proxy-agent": "^5.0.0", + "is-stream": "^2.0.0", + "node-fetch": "^2.6.1" + } + }, + "gcp-metadata": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", + "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "requires": { + "gaxios": "^4.0.0", + "json-bigint": "^1.0.0" + } + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" + }, + "google-auth-library": { + "version": "7.12.0", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.12.0.tgz", + "integrity": "sha512-RS/whvFPMoF1hQNxnoVET3DWKPBt1Xgqe2rY0k+Jn7TNhoHlwdnSe7Rlcbo2Nub3Mt2lUVz26X65aDQrWp6x8w==", + "requires": { + "arrify": "^2.0.0", + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "fast-text-encoding": "^1.0.0", + "gaxios": "^4.0.0", + "gcp-metadata": "^4.2.0", + "gtoken": "^5.0.4", + "jws": "^4.0.0", + "lru-cache": "^6.0.0" + } + }, + "google-gax": { + "version": "2.29.7", + "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.29.7.tgz", + "integrity": "sha512-yC0Q4OqX6s081jV72Idt9sxZnuRHOjg0SR0FFH15gT3LDE2u/78xqLjZwa3VuprBvaOLM29jzU19Vv4I7E8ETQ==", + "requires": { + "@grpc/grpc-js": "~1.5.0", + "@grpc/proto-loader": "^0.6.1", + "@types/long": "^4.0.0", + "abort-controller": "^3.0.0", + "duplexify": "^4.0.0", + "fast-text-encoding": "^1.0.3", + "google-auth-library": "^7.6.1", + "is-stream-ended": "^0.1.4", + "node-fetch": "^2.6.1", + "object-hash": "^2.1.1", + "proto3-json-serializer": "^0.1.8", + "protobufjs": "6.11.2", + "retry-request": "^4.0.0" + } + }, + "google-p12-pem": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.3.tgz", + "integrity": "sha512-MC0jISvzymxePDVembypNefkAQp+DRP7dBE+zNUPaIjEspIlYg0++OrsNr248V9tPbz6iqtZ7rX1hxWA5B8qBQ==", + "requires": { + "node-forge": "^1.0.0" + } + }, + "gtoken": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.2.tgz", + "integrity": "sha512-gkvEKREW7dXWF8NV8pVrKfW7WqReAmjjkMBh6lNCCGOM4ucS0r0YyXXl0r/9Yj8wcW/32ISkfc8h5mPTDbtifQ==", + "requires": { + "gaxios": "^4.0.0", + "google-p12-pem": "^3.1.3", + "jws": "^4.0.0" + } + }, + "http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "requires": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + } + }, + "https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" + }, + "is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + }, + "is-stream-ended": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", + "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "requires": { + "bignumber.js": "^9.0.0" + } + }, + "jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "requires": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "dependencies": { + "jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "requires": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + } + } + }, + "jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "requires": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "requires": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "requires": { + "get-func-name": "^2.0.0" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "requires": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + } + }, + "network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" + }, + "node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==" + }, + "node-record-lpcm16": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", + "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", + "requires": { + "debug": "^2.6.8" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "object-hash": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", + "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==" + }, + "objectid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", + "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", + "requires": { + "bson": "^0.1.9" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "requires": { + "fn.name": "1.x.x" + } + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" + }, + "proto3-json-serializer": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-0.1.8.tgz", + "integrity": "sha512-ACilkB6s1U1gWnl5jtICpnDai4VCxmI9GFxuEaYdxtDG2oVI3sVFIUsvUZcQbJgtPM6p+zqKbjTKQZp6Y4FpQw==", + "requires": { + "protobufjs": "^6.11.2" + } + }, + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "pumpify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", + "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", + "requires": { + "duplexify": "^4.1.1", + "inherits": "^2.0.3", + "pump": "^3.0.0" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "retry-request": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", + "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", + "requires": { + "debug": "^4.1.1", + "extend": "^3.0.2" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "requires": { + "is-arrayish": "^0.3.1" + } + }, + "stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" + }, + "stream-events": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", + "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", + "requires": { + "stubs": "^3.0.0" + } + }, + "stream-shift": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", + "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "stubs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", + "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" + }, + "sync": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", + "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "requires": { + "fibers": ">=0.6" + } + }, + "teeny-request": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.3.tgz", + "integrity": "sha512-Ew3aoFzgQEatLA5OBIjdr1DWJUaC1xardG+qbPPo5k/y/3fMwXLxpjh5UB5dVfElktLaQbbMs80chkz53ByvSg==", + "requires": { + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "node-fetch": "^2.6.1", + "stream-events": "^1.0.5", + "uuid": "^8.0.0" + } + }, + "text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" + }, + "triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "requires": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + } + }, + "winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "requires": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + }, + "zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "requires": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "requires": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + }, + "dependencies": { + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + }, + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + } + } + } + } } diff --git a/mods/googleasr/package.json b/mods/googleasr/package.json index a45157c14..22b84032e 100644 --- a/mods/googleasr/package.json +++ b/mods/googleasr/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/googleasr", - "version": "0.1.20-alpha.0", + "name": "@fonoster/googleasr", + "version": "0.2.40", "description": "Wrapper for Google ASR", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/asr", "types": "dist/asr", @@ -23,16 +23,15 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/common": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@google-cloud/speech": "^4.0.0", - "axios": "^0.21.1", "node-record-lpcm16": "^1.0.1", "objectid": "^3.2.1", "sync": "^0.2.5" diff --git a/mods/googleasr/src/asr.ts b/mods/googleasr/src/asr.ts index 582c4e9ac..313402c00 100644 --- a/mods/googleasr/src/asr.ts +++ b/mods/googleasr/src/asr.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ */ import {GoogleSpeechTracker} from "./tracker"; import {GoogleSpeechConfig} from "./types"; -import {Plugin, SpeechProvider, SpeechTracker} from "@fonos/common"; +import {Plugin, SpeechProvider, SpeechTracker} from "@fonoster/common"; const defaultSpeechConfig: GoogleSpeechConfig = { languageCode: "en-US" diff --git a/mods/googleasr/src/stream_recognize.ts b/mods/googleasr/src/stream_recognize.ts index 9dd725ed7..e96226e1b 100644 --- a/mods/googleasr/src/stream_recognize.ts +++ b/mods/googleasr/src/stream_recognize.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,10 +17,18 @@ * limitations under the License. */ import {Transform} from "stream"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import {GoogleSpeechConfig} from "./types"; const speech = require("@google-cloud/speech").v1p1beta1; +// Sending a dummy package with a different size breaks the +// Google Speech. +// +// WARNING: This is the package size comming from asterisk, but +// keep in mind that length (640) might be different for other encoding +// types. +const emptyBuffer = Buffer.alloc(640, 0); + export default class StreamRecognize { speechClient: any; request: {config: GoogleSpeechConfig; interimResults: boolean}; @@ -40,6 +48,7 @@ export default class StreamRecognize { resultsCallback: any; socket: any; cb: (stream: any) => void; + currentTimer: NodeJS.Timeout; constructor( config: GoogleSpeechConfig, socket, @@ -61,7 +70,7 @@ export default class StreamRecognize { this.newStream = true; this.bridgingOffset = 0; this.lastTranscriptWasFinal = false; - this.streamingLimit = 60000; + this.streamingLimit = 290000; // 4.8 minutes this.audioInputStreamTransform = new Transform({ transform: (chunk, encoding, callback) => { @@ -75,6 +84,13 @@ export default class StreamRecognize { this.socket = socket; // This connects the socket to the Stream Transform socket.pipe(this.audioInputStreamTransform); + + // TODO: We should clear this interval once we finish using the class + setInterval(() => { + if (this.recognizeStream) { + this.recognizeStream.write(emptyBuffer); + } + }, 5000); } startStream() { @@ -95,6 +111,11 @@ export default class StreamRecognize { } }; + // Restart stream when streamingLimit expires + this.currentTimer = setTimeout(() => { + this.restartStream(); + }, this.streamingLimit); + // Initiate (Reinitiate) a recognize stream this.recognizeStream = this.speechClient .streamingRecognize(this.request) @@ -102,15 +123,14 @@ export default class StreamRecognize { if (err.code === 11) { // this.restartStream(); } else { - logger.error("API request error " + err); + // If we get any errors we restart the stream. + // This will tipically happen if no audio is sent for + // a period if 10 seconds. + this.restartStream(); + logger.silly(err); } }) .on("data", this.cb); - - // Restart stream when streamingLimit expires - setTimeout(() => { - this.restartStream(); - }, this.streamingLimit); } speechCallback(stream) { @@ -133,7 +153,10 @@ export default class StreamRecognize { * when we restart the stream. */ transformer(chunk, encoding, callback) { - if (this.newStream && this.lastAudioInput.length !== 0) { + // WARNING: This synchronization logic is causing the class + // to send repeated streams inmediatly after restarting the + // recognition. + /*if (this.newStream && this.lastAudioInput.length !== 0) { // Approximate math to calculate time of chunks const chunkTime = this.streamingLimit / this.lastAudioInput.length; if (chunkTime !== 0) { @@ -155,7 +178,7 @@ export default class StreamRecognize { } this.newStream = false; } - this.audioInput.push(chunk); + this.audioInput.push(chunk);*/ if (this.recognizeStream) { this.recognizeStream.write(chunk); @@ -165,10 +188,7 @@ export default class StreamRecognize { } restartStream() { - if (this.recognizeStream) { - this.recognizeStream.removeListener("data", this.cb); - this.recognizeStream = null; - } + this.stop(); if (this.resultEndTime > 0) { this.finalRequestEndTime = this.isFinalEndTime; @@ -186,4 +206,13 @@ export default class StreamRecognize { this.newStream = true; this.startStream(); } + + stop() { + logger.silly("destroying stream recognize"); + if (this.recognizeStream) { + this.recognizeStream.end(); + this.recognizeStream.removeListener("data", this.cb); + this.recognizeStream = null; + } + } } diff --git a/mods/googleasr/src/stream_speech_result.ts b/mods/googleasr/src/stream_speech_result.ts index 2c9a988c8..da07c3298 100644 --- a/mods/googleasr/src/stream_speech_result.ts +++ b/mods/googleasr/src/stream_speech_result.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {StreamSpeechResult} from "@fonos/common"; +import {StreamSpeechResult} from "@fonoster/common"; import {Stream} from "stream"; export default class StreamSpeechImpl implements StreamSpeechResult { diff --git a/mods/googleasr/src/tracker.ts b/mods/googleasr/src/tracker.ts index aadb83ca1..11dc96173 100644 --- a/mods/googleasr/src/tracker.ts +++ b/mods/googleasr/src/tracker.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,7 +17,11 @@ * limitations under the License. */ import {GoogleSpeechConfig, TrackerConfig} from "./types"; -import {SpeechTracker, SpeechResult, StreamSpeechResult} from "@fonos/common"; +import { + SpeechTracker, + SpeechResult, + StreamSpeechResult +} from "@fonoster/common"; import {Stream} from "stream"; import speech from "@google-cloud/speech"; import StreamRecognize from "./stream_recognize"; diff --git a/mods/googleasr/src/types.ts b/mods/googleasr/src/types.ts index f90c06448..589cf353d 100644 --- a/mods/googleasr/src/types.ts +++ b/mods/googleasr/src/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/googleasr/test/tracker.int.test.ts b/mods/googleasr/test/tracker.int.test.ts index 59d244f45..8344ea491 100644 --- a/mods/googleasr/test/tracker.int.test.ts +++ b/mods/googleasr/test/tracker.int.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -23,7 +23,7 @@ import chaiAsPromised from "chai-as-promised"; import {GoogleSpeechTracker} from "../src/tracker"; import {GoogleSpeechConfig} from "../src/types"; import recorder from "node-record-lpcm16"; -import logger from "../../dispatcher/node_modules/@fonos/logger/src"; +import logger from "../../dispatcher/node_modules/@fonoster/logger/src"; const expect = chai.expect; chai.use(sinonChai); chai.use(chaiAsPromised); @@ -34,7 +34,7 @@ const speechConfig: GoogleSpeechConfig = { languageCode: "en-US" }; -describe("@fonos/googleasr", () => { +describe("@fonoster/googleasr", () => { afterEach(() => sandbox.restore()); it("returns a speech result for a given stream", async () => { logger.info("Begin to talk now"); @@ -53,10 +53,10 @@ describe("@fonos/googleasr", () => { logger.info( `The transcript result is: ${JSON.stringify(result.transcript)}` ); - expect(result).to.have.property("transcription").not.to.be.null; + expect(result).to.have.property("transcript").not.to.be.null; }); - it.only("returns a speech result for a given stream", (done) => { + it("returns a speech result for a given stream", (done) => { logger.info("Begin to talk now"); const speechTracker = new GoogleSpeechTracker(speechConfig); const recorderStream = recorder diff --git a/mods/googletts/.lerna-changed-buster-7825 b/mods/googletts/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/googletts/CHANGELOG.md b/mods/googletts/CHANGELOG.md new file mode 100644 index 000000000..6b0b1a114 --- /dev/null +++ b/mods/googletts/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +## 0.2.27 + +- Fix bug with isSSML function + +## 0.2.25 + +- Added support for SSML input + +## 0.2.22 + +- Fixed [issues #247](https://github.com/fonoster/fonoster/issues/247) + +## 0.2.20 + +Initial release. \ No newline at end of file diff --git a/mods/googletts/README.md b/mods/googletts/README.md new file mode 100644 index 000000000..70454189d --- /dev/null +++ b/mods/googletts/README.md @@ -0,0 +1,33 @@ +Voice application plugin that converts text into natural-sounding speech using an API powered by Google’s AI technologies. + +## Installation + +```bash +npm install @fonoster/googletts +``` + +or + +```bash +yarn add @fonoster/googletts +``` + +## Usage + +```javascript +const { VoiceServer } = require("@fonoster/voice"); +const GoogleTTS = require("@fonoster/googletts"); + +const voiceServer = new VoiceServer({ base: '/voiceapp' }); + +// Set the server to use Google's TTS +const speechConfig = { keyFilename: "./google.json" }; +voiceServer.use(new GoogleTTS(speechConfig)); + +voiceServer.listen(async(req, res) => { + console.log(req); + await res.answer(); + await res.say("Hi! This is google text to speech"); + await res.hangup(); +}); +``` diff --git a/mods/googletts/assets/logo.png b/mods/googletts/assets/logo.png new file mode 100644 index 000000000..d6793d551 Binary files /dev/null and b/mods/googletts/assets/logo.png differ diff --git a/mods/googletts/package.json b/mods/googletts/package.json index c8f13d744..0de5337e6 100644 --- a/mods/googletts/package.json +++ b/mods/googletts/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/googletts", - "version": "0.1.20-alpha.0", + "name": "@fonoster/googletts", + "version": "0.2.40", "description": "Wrapper for Google TTS", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/tts", "types": "dist/tts", @@ -23,15 +23,15 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@fonos/tts": "^0.1.20-alpha.0", + "@fonoster/common": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/tts": "^0.2.40", "@google-cloud/text-to-speech": "^3.2.2", "deepmerge": "^4.2.2" }, diff --git a/mods/googletts/src/tts.ts b/mods/googletts/src/tts.ts index 368539909..233bc9c42 100644 --- a/mods/googletts/src/tts.ts +++ b/mods/googletts/src/tts.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,24 +17,26 @@ * limitations under the License. */ import fs from "fs"; +import os from "os"; import util from "util"; import path from "path"; import textToSpeech from "@google-cloud/text-to-speech"; -import {Plugin} from "@fonos/common"; -import {TTSPlugin, computeFilename, SynthResult} from "@fonos/tts"; -import logger from "@fonos/logger"; +import {Plugin} from "@fonoster/common"; +import {TTSPlugin, computeFilename, SynthResult} from "@fonoster/tts"; +import logger from "@fonoster/logger"; import {GoogleTTSConfig, SynthOptions} from "./types"; +import {isSSML} from "./utils"; const defaultVoice = {languageCode: "en-US", ssmlGender: "NEUTRAL"}; /** - * @classdesc Optional TTS engine for Fonos. + * @classdesc Optional TTS engine for Fonoster. * * @extends AbstractTTS * @example - * const GoogleTTS = require("@fonos/googletts"); + * const GoogleTTS = require("@fonoster/googletts"); * - * new GoogleTTS().synthetize("Hello world") + * new GoogleTTS().synthesize("Hello world") * .then((result) => console.log("path: " + result.pathToFile)) * .catch(console.error); */ @@ -48,13 +50,21 @@ class GoogleTTS extends Plugin implements TTSPlugin { constructor(config: GoogleTTSConfig) { super("tts", "googletts"); this.config = config; - this.config.path = config.path ? config.path : "/tmp"; + this.config.path = config.path ? config.path : os.tmpdir(); } /** * @inherit + * @deprecated */ - async synthetize( + async synthetize(text: string, options: SynthOptions = {}) { + return await this.synthesize(text, options) + } + + /** + * @inherit + */ + async synthesize( text: string, options: SynthOptions = {} ): Promise { @@ -66,17 +76,18 @@ class GoogleTTS extends Plugin implements TTSPlugin { const pathToFile = path.join(this.config.path, filename); logger.verbose( - `@fonos/tts.GoogleTTS.synthesize [text: ${text}, options: ${JSON.stringify( - options - )}]` + `@fonoster/tts.GoogleTTS.synthesize [input: ${text}, isSSML=${isSSML( + text + )} options: ${JSON.stringify(options)}]` ); const merge = require("deepmerge"); const voice = merge(defaultVoice, options || {}); + const input = isSSML(text) ? {ssml: text} : {text: text}; const request = { voice, - input: {text}, + input, audioConfig: {audioEncoding: "LINEAR16"} }; diff --git a/mods/googletts/src/types.ts b/mods/googletts/src/types.ts index 968a3c6f2..2cf1e5505 100644 --- a/mods/googletts/src/types.ts +++ b/mods/googletts/src/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/googletts/src/utils.ts b/mods/googletts/src/utils.ts new file mode 100644 index 000000000..377e41deb --- /dev/null +++ b/mods/googletts/src/utils.ts @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export const isSSML = (text: string) => { + const v = text.trim(); + return v.startsWith("<") && v.endsWith(">"); +}; diff --git a/mods/googletts/test/tts.int.test.ts b/mods/googletts/test/tts.int.test.ts index 08de7e171..d3d4f1386 100644 --- a/mods/googletts/test/tts.int.test.ts +++ b/mods/googletts/test/tts.int.test.ts @@ -8,7 +8,7 @@ import {join} from "path"; //import fs from 'fs' //import path from 'path' //import textToSpeech from '@google-cloud/text-to-speech' -const {transcode} = require("@fonos/tts"); +const {transcode} = require("@fonoster/tts"); const expect = chai.expect; chai.use(sinonChai); @@ -19,7 +19,7 @@ if (process.env.NODE_ENV === "dev") { require("dotenv").config({path: join(__dirname, "..", "..", ".env")}); } -describe("@fonos/googletts", () => { +describe("@fonoster/googletts", () => { afterEach(() => sandbox.restore()); /*it('rejects if the TTS because could not find default credentials', () => { @@ -38,19 +38,21 @@ describe("@fonos/googletts", () => { expect(synthesizeSpeech).to.not.have.been.called })*/ - it("synthesizes text and returns path to file", async () => { + it("synthesizes text or ssml and returns path to the new file", async () => { const config = { projectId: "clever-tube-275321", - keyFilename: "/Users/pedrosanders/Projects/fonos/credentials.json" + keyFilename: "/Users/pedrosanders/Projects/fonoster/credentials.json" }; const tts = new GoogleTTS(config); - await tts.synthetize("Hello Kayla, how are you doing today?", { - ssmlGender: "FEMALE" - }); - transcode( - "/tmp/793891cb5510c196c4f487ad00c430fd.mp3", - "/tmp/t_793891cb5510c196c4f487ad00c430fd.wav" + const result = await tts.synthesize( + ' Hello, thanks for calling! How can I help you? ', + { + ssmlGender: "FEMALE" + } ); + + expect(result).to.have.property("filename"); + expect(result).to.have.property("pathToFile"); }); }); diff --git a/mods/googletts/test/tts.unit.test.ts b/mods/googletts/test/tts.unit.test.ts index a08075fa8..a19f5ef9e 100644 --- a/mods/googletts/test/tts.unit.test.ts +++ b/mods/googletts/test/tts.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -24,6 +24,7 @@ import chaiAsPromised from "chai-as-promised"; import textToSpeech from "@google-cloud/text-to-speech"; import fs from "fs"; import path from "path"; +import {isSSML} from "../src/utils"; const expect = chai.expect; chai.use(sinonChai); @@ -31,7 +32,7 @@ chai.use(chaiAsPromised); chai.should(); const sandbox = sinon.createSandbox(); -describe("@fonos/googletts", () => { +describe("@fonoster/googletts", () => { afterEach(() => sandbox.restore()); it.skip("rejects if the TTS because could not find any credentials", async () => { @@ -44,7 +45,7 @@ describe("@fonos/googletts", () => { keyFilename: "" }); - await expect(tts.synthetize("hello world")).to.be.eventually.rejectedWith( + await expect(tts.synthesize("hello world")).to.be.eventually.rejectedWith( "Could not load the default credentials." ); expect(join).to.have.been.called; @@ -64,7 +65,7 @@ describe("@fonos/googletts", () => { }; const tts = new GoogleTTS(config); - const result = await tts.synthetize( + const result = await tts.synthesize( "Hello Kayla, how are you doing today?", { ssmlGender: "FEMALE" @@ -77,4 +78,15 @@ describe("@fonos/googletts", () => { expect(result).to.have.property("filename").to.not.be.null; expect(result).to.have.property("pathToFile").to.not.be.null; }); + + it("checks if input is ssml", async () => { + const input1 = + ' Hello, thanks for calling! How can I help you? '; + const input2 = '... '; + + expect(isSSML("Hi there")).to.be.true; + expect(isSSML(input1)).to.be.true; + expect(isSSML(input2)).to.be.true; + expect(isSSML("Hi there")).to.be.false; + }); }); diff --git a/mods/logger/.lerna-changed-buster-7825 b/mods/logger/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/logger/package.json b/mods/logger/package.json index c2f8e6ecb..b73c573b4 100644 --- a/mods/logger/package.json +++ b/mods/logger/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/logger", - "version": "0.1.20-alpha.0", + "name": "@fonoster/logger", + "version": "0.2.40", "description": "Logger module", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,10 +23,10 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { "fluent-logger": "^3.4.1", diff --git a/mods/logger/src/logger.ts b/mods/logger/src/logger.ts index 2ccf15181..c6378a0cd 100644 --- a/mods/logger/src/logger.ts +++ b/mods/logger/src/logger.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -19,10 +19,25 @@ import winston from "winston"; import fluentLogger from "fluent-logger"; +export enum ULogType { + APP = "app", + CALL = "call", + SIP = "sip" +} + +// User Logging +export interface ULog { + accessKeyId: string; + eventType: ULogType; + level: "info" | "error" | "verbose" | "warn"; + message: string; + body?: Record; +} + const fluentTransport = fluentLogger.support.winstonTransport(); const fluent = new fluentTransport( - `${process.env.LOG_OPT_TAG_PREFIX}.${process.env.COMPOSE_PROJECT_NAME}.mediacontroller`, + `${process.env.LOG_OPT_TAG_PREFIX}.fonoster`, { host: process.env.LOGS_DRIVER_HOST, port: process.env.LOGS_DRIVER_PORT, @@ -31,31 +46,33 @@ const fluent = new fluentTransport( } ); -const level = process.env.NODE_ENV !== "production" ? "verbose" : "info"; +const level = process.env.NODE_ENV === "production" ? "info" : "verbose"; const transports = - process.env.NODE_ENV !== "production" - ? [new winston.transports.Console()] - : [fluent]; - -const format = - process.env.NODE_ENV !== "production" - ? winston.format.simple() - : winston.format.json(); + process.env.NODE_ENV === "production" + ? [fluent] + : [new winston.transports.Console(), fluent] const logger = winston.createLogger({ - format: winston.format.combine(winston.format.colorize(), format), + format: winston.format.json(), levels: winston.config.npm.levels, transports, level }); logger.on("finish", () => { - fluent.sender.end("end", {}, () => {}); + fluent.sender.end("end", {}, () => { }); }); const mute = () => logger.transports.forEach((t: any) => (t.silent = true)); const unmute = () => logger.transports.forEach((t: any) => (t.silent = false)); -export {logger as default, mute, unmute}; +const ulogger = (log: ULog) => + logger[log.level](log.message, { + eventType: log.eventType, + body: log.body, + accessKeyId: log.accessKeyId + }) + +export { logger as default, ulogger, mute, unmute }; diff --git a/mods/logger/test/logger.unit.test.ts b/mods/logger/test/logger.unit.test.ts index b561446a7..be9b3dab7 100644 --- a/mods/logger/test/logger.unit.test.ts +++ b/mods/logger/test/logger.unit.test.ts @@ -1,4 +1,4 @@ // No need for test here -describe("@fonos/logger", () => { +describe("@fonoster/logger", () => { it("no need for test", () => {}); }); diff --git a/mods/marytts/.lerna-changed-buster-7825 b/mods/marytts/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/marytts/package.json b/mods/marytts/package.json index e8a32aa43..cc59c51aa 100644 --- a/mods/marytts/package.json +++ b/mods/marytts/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/marytts", - "version": "0.1.20-alpha.0", + "name": "@fonoster/marytts", + "version": "0.2.40", "description": "Concrete implementation of AbstractTTS", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/mary_tts", "types": "dist/mary_tts", @@ -23,15 +23,15 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@fonos/tts": "^0.1.20-alpha.0" + "@fonoster/common": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/tts": "^0.2.40" }, "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" } diff --git a/mods/marytts/src/mary_tts.ts b/mods/marytts/src/mary_tts.ts index d63326904..fd1f31e2c 100644 --- a/mods/marytts/src/mary_tts.ts +++ b/mods/marytts/src/mary_tts.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -19,25 +19,26 @@ import https from "https"; import fs from "fs"; import path from "path"; -import {Plugin} from "@fonos/common"; +import os from "os"; +import {Plugin} from "@fonoster/common"; import { TTSPlugin, optionsToQueryString, computeFilename, SynthResult -} from "@fonos/tts"; +} from "@fonoster/tts"; import {MaryTTSConfig, MarySynthOptions} from "./types"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; /** - * @classdesc The default TTS engine in a Fonos deployment. + * @classdesc The default TTS engine in a Fonoster deployment. * * @extends Plugin * @example * - * const MaryTTS = require("@fonos/marytts"); + * const MaryTTS = require("@fonoster/marytts"); * - * new MaryTTS().synthetize("Hello world") + * new MaryTTS().synthesize("Hello world") * .then((result) => console.log("path: " + result.pathToFile)) * .catch(console.err); */ @@ -53,7 +54,7 @@ export default class MaryTTS extends Plugin implements TTSPlugin { constructor(config: MaryTTSConfig) { super("tts", "marytts"); this.config = config; - this.config.path = this.config.path ? this.config.path : "/tmp"; + this.config.path = this.config.path ? this.config.path : os.tmpdir(); this.init(this.config); } @@ -67,7 +68,7 @@ export default class MaryTTS extends Plugin implements TTSPlugin { this.serviceUrl = `${this.config.url}?${q}`; logger.debug( - `@fonos/tts.MaryTTS.constructor [initializing with config: ${JSON.stringify( + `@fonoster/tts.MaryTTS.constructor [initializing with config: ${JSON.stringify( config )}]` ); @@ -82,7 +83,7 @@ export default class MaryTTS extends Plugin implements TTSPlugin { * For more information check the following link: http://marytts.phonetik.uni-muenchen.de:59125/documentation.html * WARNING: On windows the command "which" that sox library uses is not the same. In windows is "where" instead */ - async synthetize( + async synthesize( text: string, options: MarySynthOptions = {locale: "EN_US"} ): Promise { @@ -90,7 +91,7 @@ export default class MaryTTS extends Plugin implements TTSPlugin { const pathToFile = path.join(this.config.path, filename); logger.verbose( - `@fonos/tts.MaryTTS.synthesize [text: ${text}, options: ${JSON.stringify( + `@fonoster/tts.MaryTTS.synthesize [text: ${text}, options: ${JSON.stringify( options )}]` ); @@ -106,9 +107,9 @@ export default class MaryTTS extends Plugin implements TTSPlugin { } logger.silly( - `@fonos/tts.MaryTTS.synthesize [headers: ${JSON.stringify(headers)}]` + `@fonoster/tts.MaryTTS.synthesize [headers: ${JSON.stringify(headers)}]` ); - logger.verbose(`@fonos/tts.MaryTTS.synthesize [query: ${query}]`); + logger.verbose(`@fonoster/tts.MaryTTS.synthesize [query: ${query}]`); https.get( `${this.serviceUrl}&INPUT_TEXT=${encodeURI(text)}&${query}`, diff --git a/mods/marytts/src/types.ts b/mods/marytts/src/types.ts index d47366368..dbb47d11d 100644 --- a/mods/marytts/src/types.ts +++ b/mods/marytts/src/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/marytts/test/tts.unit.test.ts b/mods/marytts/test/tts.unit.test.ts index 9df7d126c..38488b519 100644 --- a/mods/marytts/test/tts.unit.test.ts +++ b/mods/marytts/test/tts.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -31,7 +31,7 @@ chai.use(chaiAsPromised); chai.should(); const sandbox = sinon.createSandbox(); -describe("@fonos/marytts", () => { +describe("@fonoster/marytts", () => { afterEach(() => sandbox.restore()); const defConfig = { url: "https://localhost:59125" @@ -47,7 +47,7 @@ describe("@fonos/marytts", () => { const tts = new MaryTTS(defConfig); - await expect(tts.synthetize("hello world", {locale: "en_US"})) + await expect(tts.synthesize("hello world", {locale: "en_US"})) .to.be.eventually.rejected.and.to.be.an.instanceOf(Error) .to.have.property("message", "Request failed with status code: 201"); expect(pipe).to.not.have.been.calledOnce; @@ -63,7 +63,7 @@ describe("@fonos/marytts", () => { const get = sandbox.stub(https, "get").yields({statusCode: 200, pipe}); const tts = new MaryTTS(defConfig); - const result = await tts.synthetize("hello world"); + const result = await tts.synthesize("hello world"); expect(result).to.have.property("filename").to.not.be.null; expect(result).to.have.property("pathToFile").to.not.be.null; expect(pipe).to.have.been.calledOnce; diff --git a/mods/monitor/.DS_Store b/mods/monitor/.DS_Store new file mode 100644 index 000000000..81229e8d2 Binary files /dev/null and b/mods/monitor/.DS_Store differ diff --git a/mods/monitor/.dockerignore b/mods/monitor/.dockerignore new file mode 100644 index 000000000..b512c09d4 --- /dev/null +++ b/mods/monitor/.dockerignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/mods/monitor/.lerna-changed-buster-7825 b/mods/monitor/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/monitor/.npmignore b/mods/monitor/.npmignore new file mode 100644 index 000000000..d188afa88 --- /dev/null +++ b/mods/monitor/.npmignore @@ -0,0 +1,6 @@ +node_modules +.nyc_output +coverage +src +test +*.log diff --git a/mods/monitor/Dockerfile b/mods/monitor/Dockerfile new file mode 100644 index 000000000..1e69439fc --- /dev/null +++ b/mods/monitor/Dockerfile @@ -0,0 +1,11 @@ +FROM fonoster/base +COPY . /scripts +RUN ./install.sh +RUN link /usr/bin/run_monitor /usr/bin/run \ + && link /usr/bin/healthcheck_monitor /usr/bin/healthcheck +USER fonoster +HEALTHCHECK --interval=30s \ + --timeout=30s \ + --start-period=5s \ + --retries=3 \ + CMD [ "healthcheck" ] diff --git a/mods/monitor/package-lock.json b/mods/monitor/package-lock.json new file mode 100644 index 000000000..f94d733fc --- /dev/null +++ b/mods/monitor/package-lock.json @@ -0,0 +1,1072 @@ +{ + "name": "@fonoster/monitor", + "version": "0.2.40", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@fonoster/monitor", + "version": "0.2.36", + "license": "MIT", + "dependencies": { + "@elastic/elasticsearch": "^7.16.0", + "@fonoster/auth": "^0.2.36", + "@fonoster/certs": "^0.2.36", + "@fonoster/common": "^0.2.36", + "@fonoster/core": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "pb-util": "^1.0.3" + }, + "bin": { + "healthcheck_monitor": "dist/service/healthcheck.js", + "run_monitor": "dist/service/runner.js" + } + }, + "../auth": { + "name": "@fonoster/auth", + "version": "0.2.36", + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.36", + "@fonoster/common": "^0.2.36", + "@fonoster/errors": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "bin": { + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + }, + "devDependencies": { + "@types/jsonwebtoken": "^8.5.0" + } + }, + "../auth/node_modules/@fonoster/certs": { + "resolved": "../certs", + "link": true + }, + "../auth/node_modules/@fonoster/common": { + "resolved": "../common", + "link": true + }, + "../auth/node_modules/@fonoster/errors": { + "resolved": "../errors", + "link": true + }, + "../auth/node_modules/@fonoster/logger": { + "resolved": "../logger", + "link": true + }, + "../certs": { + "name": "@fonoster/certs", + "version": "0.2.36", + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "../common": { + "name": "@fonoster/common", + "version": "0.2.36", + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "../common/node_modules/@fonoster/certs": { + "resolved": "../certs", + "link": true + }, + "../common/node_modules/@fonoster/logger": { + "resolved": "../logger", + "link": true + }, + "../core": { + "name": "@fonoster/core", + "version": "0.2.36", + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.36", + "@fonoster/certs": "^0.2.36", + "@fonoster/common": "^0.2.36", + "@fonoster/errors": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + }, + "devDependencies": { + "@types/btoa": "^1.2.3", + "@types/ioredis": "^4.16.5" + } + }, + "../core/node_modules/@fonoster/auth": { + "resolved": "../auth", + "link": true + }, + "../core/node_modules/@fonoster/certs": { + "resolved": "../certs", + "link": true + }, + "../core/node_modules/@fonoster/common": { + "resolved": "../common", + "link": true + }, + "../core/node_modules/@fonoster/errors": { + "resolved": "../errors", + "link": true + }, + "../core/node_modules/@fonoster/logger": { + "resolved": "../logger", + "link": true + }, + "../errors": { + "name": "@fonoster/errors", + "version": "0.2.36", + "license": "MIT" + }, + "../logger": { + "name": "@fonoster/logger", + "version": "0.2.36", + "license": "MIT", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } + }, + "node_modules/@elastic/elasticsearch": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@elastic/elasticsearch/-/elasticsearch-7.16.0.tgz", + "integrity": "sha512-lMY2MFZZFG3om7QNHninxZZOXYx3NdIUwEISZxqaI9dXPoL3DNhU31keqjvx1gN6T74lGXAzrRNP4ag8CJ/VXw==", + "dependencies": { + "debug": "^4.3.1", + "hpagent": "^0.1.1", + "ms": "^2.1.3", + "secure-json-parse": "^2.4.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@fonoster/auth": { + "resolved": "../auth", + "link": true + }, + "node_modules/@fonoster/certs": { + "resolved": "../certs", + "link": true + }, + "node_modules/@fonoster/common": { + "resolved": "../common", + "link": true + }, + "node_modules/@fonoster/core": { + "resolved": "../core", + "link": true + }, + "node_modules/@fonoster/logger": { + "resolved": "../logger", + "link": true + }, + "node_modules/@grpc/grpc-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.1.tgz", + "integrity": "sha512-ItOqQ4ff7JrR9W6KDQm+LdsVjuZtV7Qq64Oy3Hjx8ZPBDDwBx7rD8hOL0Vnde0RbnsqLG86WOgF+tQDzf/nSzQ==", + "dependencies": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "node_modules/@types/node": { + "version": "17.0.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz", + "integrity": "sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==" + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/google-protobuf": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.3.tgz", + "integrity": "sha512-3GRDj8o9XjcALYjgxNKeD7Wm6w/V8r1Jo4sLYMic9+VaIMLBx8TQeHP9yaoRoDymNONhnkmmveDPyjw/Fpw8+A==" + }, + "node_modules/grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + }, + "node_modules/hpagent": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/hpagent/-/hpagent-0.1.2.tgz", + "integrity": "sha512-ePqFXHtSQWAFXYmj+JtOTHr84iNrII4/QRlAAPPE+zqnKy4xJo7Ie1Y4kC7AdB+LxLxSTTzBMASsEcy0q8YyvQ==" + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/pb-util": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/pb-util/-/pb-util-1.0.3.tgz", + "integrity": "sha512-8+weUH2YEYnPf5sTpZ3q7Drq41tSEL8vDSU96/CzSvu2qrbspbjbbuKLjHocAQpmyMbICTcvovVl3cETwxwIkQ==" + }, + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/secure-json-parse": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.4.0.tgz", + "integrity": "sha512-Q5Z/97nbON5t/L/sH6mY2EacfjVGwrCcSi5D3btRO2GZ8pf1K1UN7Z9H5J57hjVU2Qzxr1xO+FmBhOvEkzCMmg==" + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } + } + }, + "dependencies": { + "@elastic/elasticsearch": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@elastic/elasticsearch/-/elasticsearch-7.16.0.tgz", + "integrity": "sha512-lMY2MFZZFG3om7QNHninxZZOXYx3NdIUwEISZxqaI9dXPoL3DNhU31keqjvx1gN6T74lGXAzrRNP4ag8CJ/VXw==", + "requires": { + "debug": "^4.3.1", + "hpagent": "^0.1.1", + "ms": "^2.1.3", + "secure-json-parse": "^2.4.0" + } + }, + "@fonoster/auth": { + "version": "file:../auth", + "requires": { + "@fonoster/certs": "^0.2.36", + "@fonoster/common": "^0.2.36", + "@fonoster/errors": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "@types/jsonwebtoken": "^8.5.0", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "file:../common", + "requires": { + "@fonoster/certs": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/errors": { + "version": "file:../errors" + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "file:../common", + "requires": { + "@fonoster/certs": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/core": { + "version": "file:../core", + "requires": { + "@fonoster/auth": "^0.2.36", + "@fonoster/certs": "^0.2.36", + "@fonoster/common": "^0.2.36", + "@fonoster/errors": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "@types/btoa": "^1.2.3", + "@types/ioredis": "^4.16.5", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + }, + "dependencies": { + "@fonoster/auth": { + "version": "file:../auth", + "requires": { + "@fonoster/certs": "^0.2.36", + "@fonoster/common": "^0.2.36", + "@fonoster/errors": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "@types/jsonwebtoken": "^8.5.0", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "file:../common", + "requires": { + "@fonoster/certs": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/errors": { + "version": "file:../errors" + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "file:../common", + "requires": { + "@fonoster/certs": "^0.2.36", + "@fonoster/logger": "^0.2.36", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/errors": { + "version": "file:../errors" + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + }, + "@grpc/grpc-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.1.tgz", + "integrity": "sha512-ItOqQ4ff7JrR9W6KDQm+LdsVjuZtV7Qq64Oy3Hjx8ZPBDDwBx7rD8hOL0Vnde0RbnsqLG86WOgF+tQDzf/nSzQ==", + "requires": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + } + }, + "@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "@types/node": { + "version": "17.0.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz", + "integrity": "sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==" + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + } + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "google-protobuf": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.3.tgz", + "integrity": "sha512-3GRDj8o9XjcALYjgxNKeD7Wm6w/V8r1Jo4sLYMic9+VaIMLBx8TQeHP9yaoRoDymNONhnkmmveDPyjw/Fpw8+A==" + }, + "grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + }, + "hpagent": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/hpagent/-/hpagent-0.1.2.tgz", + "integrity": "sha512-ePqFXHtSQWAFXYmj+JtOTHr84iNrII4/QRlAAPPE+zqnKy4xJo7Ie1Y4kC7AdB+LxLxSTTzBMASsEcy0q8YyvQ==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "pb-util": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/pb-util/-/pb-util-1.0.3.tgz", + "integrity": "sha512-8+weUH2YEYnPf5sTpZ3q7Drq41tSEL8vDSU96/CzSvu2qrbspbjbbuKLjHocAQpmyMbICTcvovVl3cETwxwIkQ==" + }, + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "secure-json-parse": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.4.0.tgz", + "integrity": "sha512-Q5Z/97nbON5t/L/sH6mY2EacfjVGwrCcSi5D3btRO2GZ8pf1K1UN7Z9H5J57hjVU2Qzxr1xO+FmBhOvEkzCMmg==" + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + } + } +} diff --git a/mods/monitor/package.json b/mods/monitor/package.json new file mode 100644 index 000000000..17bee84de --- /dev/null +++ b/mods/monitor/package.json @@ -0,0 +1,58 @@ +{ + "name": "@fonoster/monitor", + "version": "0.2.40", + "description": "Monitoring API", + "author": "Pedro Sanders ", + "homepage": "https://github.com/fonoster/fonoster#readme", + "license": "MIT", + "main": "dist/client/monitor", + "types": "dist/client/monitor", + "scripts": { + "prebuild": "rimraf ./dist tsconfig.tsbuildinfo", + "postbuild": "cp -a ./src/service/protos/ ./dist/service/protos", + "build": "tsc -b tsconfig.json", + "start": "cross-env NODE_ENV=dev nodemon src/srv_runner" + }, + "bin": { + "run_monitor": "dist/service/runner.js", + "healthcheck_monitor": "dist/service/healthcheck.js" + }, + "nodemonConfig": { + "watch": [ + "../" + ], + "ext": "ts", + "exec": "ts-node", + "ignore": "**/*.d.ts" + }, + "directories": { + "src": "src", + "test": "test" + }, + "files": [ + "dist" + ], + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/fonoster/fonoster.git" + }, + "bugs": { + "url": "https://github.com/fonoster/fonoster/issues" + }, + "dependencies": { + "@elastic/elasticsearch": "^7.16.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0" + }, + "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" +} diff --git a/mods/monitor/src/.DS_Store b/mods/monitor/src/.DS_Store new file mode 100644 index 000000000..c3fb79834 Binary files /dev/null and b/mods/monitor/src/.DS_Store differ diff --git a/mods/monitor/src/client/monitor.ts b/mods/monitor/src/client/monitor.ts new file mode 100644 index 000000000..f9a7ad32a --- /dev/null +++ b/mods/monitor/src/client/monitor.ts @@ -0,0 +1,111 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {APIClient, ClientOptions} from "@fonoster/common"; +import {MonitorClient} from "../service/protos/monitor_grpc_pb"; +import MonitorPB from "../service/protos/monitor_pb"; +import {promisifyAll} from "grpc-promise"; +import { + IMonitorClient, + SearchEventsRequest, + SearchEventsResponse +} from "./types"; +import {Struct} from "google-protobuf/google/protobuf/struct_pb"; +import {Level} from "../service/level"; +import {EventType} from "../service/event_type"; + +/** + * @classdesc Use Fonoster Monitor, a capability of Fonoster to obtain user events. + * The Monitor API requires of a running Fonoster deployment. + * + * @extends APIClient + * @example + * + * const Fonoster = require("@fonoster/monitor") + * const monitor = new Fonoster.Monitor() + * + * const request = { + * query: {} + * } + * + * monitor.searchEvents(request) + * .then(result => { + * console.log(result) // successful response + * }).catch(e => console.error(e)) // an error occurred + */ +export default class Monitor extends APIClient implements IMonitorClient { + /** + * Constructs a new Monitor API object. + * + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient + */ + constructor(options?: ClientOptions) { + super(MonitorClient, options); + super.init(); + promisifyAll(super.getService(), {metadata: super.getMeta()}); + } + + /** + * Search for User events. + * + * @param {SearchEventsRequest} request - Request for obtain user events + * @param {object} request.query - Friendly name for the SIP device + * @return {Promise} + * @example + * + * const request = { + * query: {} + * } + * + * monitor.searchEvents(request) + * .then(result => { + * console.log(result) // successful response + * }).catch(e => console.error(e)) // an error occurred + */ + async searchEvents( + request: SearchEventsRequest + ): Promise { + const req = new MonitorPB.SearchEventsRequest(); + req.setQuery(Struct.fromJavaScript(request.query)); + const result = await super + .getService() + .searchEvents() + .sendMessage(req, super.getMeta()); + + return { + nextPageToken: null, + events: result.map((e) => { + return { + ref: e.getRef(), + level: Level.toString(e.getLevel()), + eventType: EventType.toString(e.getEventType()), + message: e.getMessage(), + timestamp: new Date(e.getTimestamp()), + body: e.getBody().toJavaScript() + }; + }) + }; + } +} + +export {MonitorPB, IMonitorClient}; + +// WARNING: Workaround for support to commonjs clients +module.exports = Monitor; +module.exports.MonitorPB = MonitorPB; diff --git a/mods/monitor/src/client/types.ts b/mods/monitor/src/client/types.ts new file mode 100644 index 000000000..c1ea1803c --- /dev/null +++ b/mods/monitor/src/client/types.ts @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export interface IMonitorClient { + searchEvents(request: SearchEventsRequest): Promise; +} + +export interface Event { + ref: string; + level: string; + eventType: string; + message: string; + timestamp: Date; + body: Record; +} + +export interface SearchEventsRequest { + query: Record; +} + +export interface SearchEventsResponse { + nextPageToken: string; + events: Event[]; +} diff --git a/mods/monitor/src/protos/monitor.proto b/mods/monitor/src/protos/monitor.proto new file mode 100644 index 000000000..9eccc246c --- /dev/null +++ b/mods/monitor/src/protos/monitor.proto @@ -0,0 +1,40 @@ +/** + * MIT License + * Copyright (c) 2021 Fonoster Inc + */ +syntax = "proto3"; + +package fonoster.monitor.v1beta1; + +import "google/protobuf/struct.proto"; + +service Monitor { + // Gets a stream of events + rpc SearchEvents (SearchEventsRequest) returns (stream Event); +} + +enum Level { + INFO = 0; + WARN = 1; + ERROR = 2; + VERBOSE = 3; +} + +enum EventType { + APP = 0; + SIP = 1; + CALL = 2; +} + +message SearchEventsRequest { + .google.protobuf.Struct query = 1; +} + +message Event { + string ref = 1; + EventType event_type = 2; + Level level = 3; + string timestamp = 4; + string message = 5; + .google.protobuf.Struct body = 6; +} \ No newline at end of file diff --git a/mods/monitor/src/service/event_type.ts b/mods/monitor/src/service/event_type.ts new file mode 100644 index 000000000..cfd052dd3 --- /dev/null +++ b/mods/monitor/src/service/event_type.ts @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2022 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {EventType as ET} from "./protos/monitor_pb"; + +// eslint-disable-next-line @typescript-eslint/no-namespace +export namespace EventType { + // eslint-disable-next-line require-jsdoc + export function toString(type: ET): string { + return Object.keys(ET) + .find((key) => ET[key] === type) + ?.toLowerCase(); + } + + // eslint-disable-next-line require-jsdoc + export function fromString(type: string): ET { + return (ET as any)[type.toUpperCase()]; + } +} diff --git a/mods/monitor/src/service/healthcheck.ts b/mods/monitor/src/service/healthcheck.ts new file mode 100644 index 000000000..87c4410f4 --- /dev/null +++ b/mods/monitor/src/service/healthcheck.ts @@ -0,0 +1,21 @@ +#!/usr/bin/env node +/* + * Copyright (C) 2022 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// import {healthcheck} from "@fonoster/common"; +// healthcheck(); diff --git a/mods/monitor/src/service/level.ts b/mods/monitor/src/service/level.ts new file mode 100644 index 000000000..1194c8a0a --- /dev/null +++ b/mods/monitor/src/service/level.ts @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2022 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {Level as Le} from "./protos/monitor_pb"; + +// eslint-disable-next-line @typescript-eslint/no-namespace +export namespace Level { + // eslint-disable-next-line require-jsdoc + export function toString(level: Le): string { + return Object.keys(Le) + .find((key) => Le[key] === level) + .toLowerCase(); + } + + // eslint-disable-next-line require-jsdoc + export function fromString(dir: string): Le { + return (Le as any)[dir?.toUpperCase()]; + } +} diff --git a/mods/monitor/src/service/monitor.ts b/mods/monitor/src/service/monitor.ts new file mode 100644 index 000000000..cfce515c1 --- /dev/null +++ b/mods/monitor/src/service/monitor.ts @@ -0,0 +1,92 @@ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import grpc, {ServerWritableStream} from "@grpc/grpc-js"; +import {Event, SearchEventsRequest} from "./protos/monitor_pb"; +import { + IMonitorServer, + IMonitorService, + MonitorService +} from "./protos/monitor_grpc_pb"; +import {Struct} from "google-protobuf/google/protobuf/struct_pb"; +import {Client} from "@elastic/elasticsearch"; +import {ErrorCodes, FonosterError} from "@fonoster/errors"; +import {getAccessKeyId} from "@fonoster/core"; +import {Level} from "./level"; +import {EventType} from "./event_type"; + +const host = process.env.LOGS_AGGREGRATOR_HOST; +const port = process.env.LOGS_AGGREGRATOR_PORT; + +const client = new Client({ + node: `http://${host}:${port}` +}); + +// eslint-disable-next-line require-jsdoc +class MonitorServer implements IMonitorServer { + [name: string]: grpc.UntypedHandleCall; + + // eslint-disable-next-line require-jsdoc + async searchEvents(call: ServerWritableStream) { + const accessKeyId = getAccessKeyId(call); + + // TODO: + // Assert toJavaScript is valid + const {body} = await client.search( + { + body: { + query: call.request.getQuery().toJavaScript() + } + }, + { + asStream: true + } + ); + + body.setEncoding("utf8"); + + const entries = (chunk) => + JSON.parse(chunk) + .hits?.hits?.filter( + (hit) => hit["_source"]?.accessKeyId === accessKeyId + ) + .map((hit) => { + const entry = new Event(); + entry.setRef(hit["_id"]); + entry.setMessage(hit["_source"].message); + entry.setTimestamp(hit["_source"]["@timestamp"]); + entry.setBody(Struct.fromJavaScript(hit["_source"]?.body)); + entry.setEventType(EventType.fromString(hit["_source"]?.eventType)); + entry.setLevel(Level.fromString(hit["_source"]?.level)); + return entry; + }); + + body.on("data", (chunk) => + entries(chunk)?.forEach((e: Event) => call.write(e)) + ); + // eslint-disable-next-line no-console + body.on( + "error", + (e: Error) => new FonosterError(e.message, ErrorCodes.UNKNOWN) + ); + body.on("end", () => call.end()); + } +} + +export {MonitorServer as default, IMonitorService, MonitorService}; diff --git a/mods/monitor/src/service/protos/common_grpc_pb.js b/mods/monitor/src/service/protos/common_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/monitor/src/service/protos/common_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/monitor/src/service/protos/common_pb.d.ts b/mods/monitor/src/service/protos/common_pb.d.ts new file mode 100644 index 000000000..f8b5fb810 --- /dev/null +++ b/mods/monitor/src/service/protos/common_pb.d.ts @@ -0,0 +1,54 @@ +// package: fonoster.common.v1beta1 +// file: common.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; + +export class Empty extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; +} + +export namespace Empty { + export type AsObject = { + } +} + +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; +} + +export namespace ErrorResponse { + export type AsObject = { + status: number, + message: string, + } +} + +export enum View { + BASIC = 0, + STANDARD = 1, + FULL = 2, +} diff --git a/mods/monitor/src/service/protos/common_pb.js b/mods/monitor/src/service/protos/common_pb.js new file mode 100644 index 000000000..b7f99c7ea --- /dev/null +++ b/mods/monitor/src/service/protos/common_pb.js @@ -0,0 +1,335 @@ +// source: common.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.Empty = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.Empty} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { + var f, obj = { + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * @enum {number} + */ +proto.fonoster.common.v1beta1.View = { + BASIC: 0, + STANDARD: 1, + FULL: 2 +}; + +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/monitor/src/service/protos/google/api/annotations_grpc_pb.js b/mods/monitor/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/monitor/src/service/protos/google/api/annotations_pb.d.ts b/mods/monitor/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/monitor/src/service/protos/google/api/annotations_pb.js b/mods/monitor/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/monitor/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/monitor/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/monitor/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/monitor/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/monitor/src/service/protos/google/api/field_behavior_pb.js b/mods/monitor/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/monitor/src/service/protos/google/api/http_grpc_pb.js b/mods/monitor/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/monitor/src/service/protos/google/api/http_pb.d.ts b/mods/monitor/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/monitor/src/service/protos/google/api/http_pb.js b/mods/monitor/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/monitor/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/monitor/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/monitor/src/service/protos/google/api/httpbody_pb.d.ts b/mods/monitor/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/monitor/src/service/protos/google/api/httpbody_pb.js b/mods/monitor/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/monitor/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/monitor/src/service/protos/monitor_grpc_pb.d.ts b/mods/monitor/src/service/protos/monitor_grpc_pb.d.ts new file mode 100644 index 000000000..9821c342b --- /dev/null +++ b/mods/monitor/src/service/protos/monitor_grpc_pb.d.ts @@ -0,0 +1,41 @@ +// package: fonoster.monitor.v1beta1 +// file: monitor.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; +import * as monitor_pb from "./monitor_pb"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +interface IMonitorService extends grpc.ServiceDefinition { + searchEvents: IMonitorService_ISearchEvents; +} + +interface IMonitorService_ISearchEvents extends grpc.MethodDefinition { + path: "/fonoster.monitor.v1beta1.Monitor/SearchEvents"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const MonitorService: IMonitorService; + +export interface IMonitorServer extends grpc.UntypedServiceImplementation { + searchEvents: grpc.handleServerStreamingCall; +} + +export interface IMonitorClient { + searchEvents(request: monitor_pb.SearchEventsRequest, options?: Partial): grpc.ClientReadableStream; + searchEvents(request: monitor_pb.SearchEventsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; +} + +export class MonitorClient extends grpc.Client implements IMonitorClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); + public searchEvents(request: monitor_pb.SearchEventsRequest, options?: Partial): grpc.ClientReadableStream; + public searchEvents(request: monitor_pb.SearchEventsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; +} diff --git a/mods/monitor/src/service/protos/monitor_grpc_pb.js b/mods/monitor/src/service/protos/monitor_grpc_pb.js new file mode 100644 index 000000000..f301b8d47 --- /dev/null +++ b/mods/monitor/src/service/protos/monitor_grpc_pb.js @@ -0,0 +1,50 @@ +// GENERATED CODE -- DO NOT EDIT! + +// Original file comments: +// * +// MIT License +// Copyright (c) 2021 Fonoster Inc +'use strict'; +var grpc = require('@grpc/grpc-js'); +var monitor_pb = require('./monitor_pb.js'); +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); + +function serialize_fonoster_monitor_v1beta1_Event(arg) { + if (!(arg instanceof monitor_pb.Event)) { + throw new Error('Expected argument of type fonoster.monitor.v1beta1.Event'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_monitor_v1beta1_Event(buffer_arg) { + return monitor_pb.Event.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_monitor_v1beta1_SearchEventsRequest(arg) { + if (!(arg instanceof monitor_pb.SearchEventsRequest)) { + throw new Error('Expected argument of type fonoster.monitor.v1beta1.SearchEventsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_monitor_v1beta1_SearchEventsRequest(buffer_arg) { + return monitor_pb.SearchEventsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +var MonitorService = exports.MonitorService = { + // Gets a stream of events +searchEvents: { + path: '/fonoster.monitor.v1beta1.Monitor/SearchEvents', + requestStream: false, + responseStream: true, + requestType: monitor_pb.SearchEventsRequest, + responseType: monitor_pb.Event, + requestSerialize: serialize_fonoster_monitor_v1beta1_SearchEventsRequest, + requestDeserialize: deserialize_fonoster_monitor_v1beta1_SearchEventsRequest, + responseSerialize: serialize_fonoster_monitor_v1beta1_Event, + responseDeserialize: deserialize_fonoster_monitor_v1beta1_Event, + }, +}; + +exports.MonitorClient = grpc.makeGenericClientConstructor(MonitorService); diff --git a/mods/monitor/src/service/protos/monitor_pb.d.ts b/mods/monitor/src/service/protos/monitor_pb.d.ts new file mode 100644 index 000000000..c73485b38 --- /dev/null +++ b/mods/monitor/src/service/protos/monitor_pb.d.ts @@ -0,0 +1,82 @@ +// package: fonoster.monitor.v1beta1 +// file: monitor.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class SearchEventsRequest extends jspb.Message { + + hasQuery(): boolean; + clearQuery(): void; + getQuery(): google_protobuf_struct_pb.Struct | undefined; + setQuery(value?: google_protobuf_struct_pb.Struct): SearchEventsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SearchEventsRequest.AsObject; + static toObject(includeInstance: boolean, msg: SearchEventsRequest): SearchEventsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SearchEventsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SearchEventsRequest; + static deserializeBinaryFromReader(message: SearchEventsRequest, reader: jspb.BinaryReader): SearchEventsRequest; +} + +export namespace SearchEventsRequest { + export type AsObject = { + query?: google_protobuf_struct_pb.Struct.AsObject, + } +} + +export class Event extends jspb.Message { + getRef(): string; + setRef(value: string): Event; + getEventType(): EventType; + setEventType(value: EventType): Event; + getLevel(): Level; + setLevel(value: Level): Event; + getTimestamp(): string; + setTimestamp(value: string): Event; + getMessage(): string; + setMessage(value: string): Event; + + hasBody(): boolean; + clearBody(): void; + getBody(): google_protobuf_struct_pb.Struct | undefined; + setBody(value?: google_protobuf_struct_pb.Struct): Event; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Event.AsObject; + static toObject(includeInstance: boolean, msg: Event): Event.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Event, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Event; + static deserializeBinaryFromReader(message: Event, reader: jspb.BinaryReader): Event; +} + +export namespace Event { + export type AsObject = { + ref: string, + eventType: EventType, + level: Level, + timestamp: string, + message: string, + body?: google_protobuf_struct_pb.Struct.AsObject, + } +} + +export enum Level { + INFO = 0, + WARN = 1, + ERROR = 2, + VERBOSE = 3, +} + +export enum EventType { + APP = 0, + SIP = 1, + CALL = 2, +} diff --git a/mods/monitor/src/service/protos/monitor_pb.js b/mods/monitor/src/service/protos/monitor_pb.js new file mode 100644 index 000000000..02be2aff9 --- /dev/null +++ b/mods/monitor/src/service/protos/monitor_pb.js @@ -0,0 +1,537 @@ +// source: monitor.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.fonoster.monitor.v1beta1.Event', null, global); +goog.exportSymbol('proto.fonoster.monitor.v1beta1.EventType', null, global); +goog.exportSymbol('proto.fonoster.monitor.v1beta1.Level', null, global); +goog.exportSymbol('proto.fonoster.monitor.v1beta1.SearchEventsRequest', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.monitor.v1beta1.SearchEventsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.monitor.v1beta1.SearchEventsRequest.displayName = 'proto.fonoster.monitor.v1beta1.SearchEventsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.monitor.v1beta1.Event = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.monitor.v1beta1.Event, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.monitor.v1beta1.Event.displayName = 'proto.fonoster.monitor.v1beta1.Event'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.monitor.v1beta1.SearchEventsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.monitor.v1beta1.SearchEventsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + query: (f = msg.getQuery()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.monitor.v1beta1.SearchEventsRequest} + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.monitor.v1beta1.SearchEventsRequest; + return proto.fonoster.monitor.v1beta1.SearchEventsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.monitor.v1beta1.SearchEventsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.monitor.v1beta1.SearchEventsRequest} + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_struct_pb.Struct; + reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader); + msg.setQuery(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.monitor.v1beta1.SearchEventsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.monitor.v1beta1.SearchEventsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getQuery(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_struct_pb.Struct.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.Struct query = 1; + * @return {?proto.google.protobuf.Struct} + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.prototype.getQuery = function() { + return /** @type{?proto.google.protobuf.Struct} */ ( + jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 1)); +}; + + +/** + * @param {?proto.google.protobuf.Struct|undefined} value + * @return {!proto.fonoster.monitor.v1beta1.SearchEventsRequest} returns this +*/ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.prototype.setQuery = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.fonoster.monitor.v1beta1.SearchEventsRequest} returns this + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.prototype.clearQuery = function() { + return this.setQuery(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.fonoster.monitor.v1beta1.SearchEventsRequest.prototype.hasQuery = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.monitor.v1beta1.Event.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.monitor.v1beta1.Event} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.monitor.v1beta1.Event.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, ""), + eventType: jspb.Message.getFieldWithDefault(msg, 2, 0), + level: jspb.Message.getFieldWithDefault(msg, 3, 0), + timestamp: jspb.Message.getFieldWithDefault(msg, 4, ""), + message: jspb.Message.getFieldWithDefault(msg, 5, ""), + body: (f = msg.getBody()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.monitor.v1beta1.Event} + */ +proto.fonoster.monitor.v1beta1.Event.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.monitor.v1beta1.Event; + return proto.fonoster.monitor.v1beta1.Event.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.monitor.v1beta1.Event} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.monitor.v1beta1.Event} + */ +proto.fonoster.monitor.v1beta1.Event.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 2: + var value = /** @type {!proto.fonoster.monitor.v1beta1.EventType} */ (reader.readEnum()); + msg.setEventType(value); + break; + case 3: + var value = /** @type {!proto.fonoster.monitor.v1beta1.Level} */ (reader.readEnum()); + msg.setLevel(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setTimestamp(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; + case 6: + var value = new google_protobuf_struct_pb.Struct; + reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader); + msg.setBody(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.monitor.v1beta1.Event.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.monitor.v1beta1.Event} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.monitor.v1beta1.Event.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getEventType(); + if (f !== 0.0) { + writer.writeEnum( + 2, + f + ); + } + f = message.getLevel(); + if (f !== 0.0) { + writer.writeEnum( + 3, + f + ); + } + f = message.getTimestamp(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_struct_pb.Struct.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.monitor.v1beta1.Event} returns this + */ +proto.fonoster.monitor.v1beta1.Event.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional EventType event_type = 2; + * @return {!proto.fonoster.monitor.v1beta1.EventType} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.getEventType = function() { + return /** @type {!proto.fonoster.monitor.v1beta1.EventType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.fonoster.monitor.v1beta1.EventType} value + * @return {!proto.fonoster.monitor.v1beta1.Event} returns this + */ +proto.fonoster.monitor.v1beta1.Event.prototype.setEventType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); +}; + + +/** + * optional Level level = 3; + * @return {!proto.fonoster.monitor.v1beta1.Level} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.getLevel = function() { + return /** @type {!proto.fonoster.monitor.v1beta1.Level} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.fonoster.monitor.v1beta1.Level} value + * @return {!proto.fonoster.monitor.v1beta1.Event} returns this + */ +proto.fonoster.monitor.v1beta1.Event.prototype.setLevel = function(value) { + return jspb.Message.setProto3EnumField(this, 3, value); +}; + + +/** + * optional string timestamp = 4; + * @return {string} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.getTimestamp = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.monitor.v1beta1.Event} returns this + */ +proto.fonoster.monitor.v1beta1.Event.prototype.setTimestamp = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string message = 5; + * @return {string} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.monitor.v1beta1.Event} returns this + */ +proto.fonoster.monitor.v1beta1.Event.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional google.protobuf.Struct body = 6; + * @return {?proto.google.protobuf.Struct} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.getBody = function() { + return /** @type{?proto.google.protobuf.Struct} */ ( + jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6)); +}; + + +/** + * @param {?proto.google.protobuf.Struct|undefined} value + * @return {!proto.fonoster.monitor.v1beta1.Event} returns this +*/ +proto.fonoster.monitor.v1beta1.Event.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.fonoster.monitor.v1beta1.Event} returns this + */ +proto.fonoster.monitor.v1beta1.Event.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.fonoster.monitor.v1beta1.Event.prototype.hasBody = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * @enum {number} + */ +proto.fonoster.monitor.v1beta1.Level = { + INFO: 0, + WARN: 1, + ERROR: 2, + VERBOSE: 3 +}; + +/** + * @enum {number} + */ +proto.fonoster.monitor.v1beta1.EventType = { + APP: 0, + SIP: 1, + CALL: 2 +}; + +goog.object.extend(exports, proto.fonoster.monitor.v1beta1); diff --git a/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/monitor/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/monitor/src/service/runner.ts b/mods/monitor/src/service/runner.ts new file mode 100644 index 000000000..d49ce7d57 --- /dev/null +++ b/mods/monitor/src/service/runner.ts @@ -0,0 +1,40 @@ +#!/usr/bin/env node +/* + * Copyright (C) 2022 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import MonitorServer from "./monitor"; +import {MonitorService} from "./protos/monitor_grpc_pb"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; + +const services = [ + { + name: "monitor", + version: "v1beta1", + service: MonitorService, + server: new MonitorServer() + } +]; + +const middleware = { + name: "authentication", + middlewareObj: new AuthMiddleware(getSalt()).middleware +}; + +runServices(services, [middleware]); diff --git a/mods/monitor/test/monitor.unit.test.ts b/mods/monitor/test/monitor.unit.test.ts new file mode 100644 index 000000000..34d81edbd --- /dev/null +++ b/mods/monitor/test/monitor.unit.test.ts @@ -0,0 +1,98 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import chai from "chai"; +import sinon from "sinon"; +import sinonChai from "sinon-chai"; +import chaiAsPromised from "chai-as-promised"; +import {APIClient} from "@fonoster/common"; +import Monitor, {MonitorPB} from "../src/client/monitor"; +import {Level} from "../src/service/level"; +import {EventType} from "../src/service/event_type"; +import {Struct} from "google-protobuf/google/protobuf/struct_pb"; + +const expect = chai.expect; +chai.use(sinonChai); +chai.use(chaiAsPromised); +const sandbox = sinon.createSandbox(); + +describe("@fonoster/monitor", () => { + const eventObj = new MonitorPB.Event(); + eventObj.setRef("Nx05y-ldZa"); + eventObj.setMessage("Test message"); + eventObj.setLevel(Level.fromString("warn")); + eventObj.setEventType(EventType.fromString("app")); + eventObj.setTimestamp(new Date().toISOString()); + eventObj.setBody(Struct.fromJavaScript({test: "test"})); + + afterEach(() => sandbox.restore()); + + it("should list events", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + searchEvents: () => { + return { + sendMessage: () => Promise.resolve([eventObj]) + }; + } + }); + + const request = { + query: {} + }; + + const monitorAPI = new Monitor(); + const result = await monitorAPI.searchEvents(request); + + expect(serviceStub).to.be.calledTwice; + expect(result).to.have.property("nextPageToken").to.be.equal(null); + expect(result.events[0]) + .to.have.property("ref") + .to.be.equal(eventObj.getRef()); + expect(result.events[0]) + .to.have.property("message") + .to.be.equal(eventObj.getMessage()); + expect(result.events[0]) + .to.have.property("level") + .to.be.equal(Level.toString(eventObj.getLevel())); + expect(result.events[0]) + .to.have.property("eventType") + .to.be.equal(EventType.toString(eventObj.getEventType())); + expect(result.events[0]).to.have.property("timestamp").to.be.not.null; + }); + + it("convert type to string", async () => { + expect(Level.fromString("info")).to.be.equal(0); + expect(Level.fromString("warn")).to.be.equal(1); + expect(Level.fromString("error")).to.be.equal(2); + expect(Level.fromString("verbose")).to.be.equal(3); + expect(EventType.fromString("app")).to.be.equal(0); + expect(EventType.fromString("sip")).to.be.equal(1); + expect(EventType.fromString("call")).to.be.equal(2); + + expect(Level.toString(0)).to.be.equal("info"); + expect(Level.toString(1)).to.be.equal("warn"); + expect(Level.toString(2)).to.be.equal("error"); + expect(Level.toString(3)).to.be.equal("verbose"); + expect(EventType.toString(0)).to.be.equal("app"); + expect(EventType.toString(1)).to.be.equal("sip"); + expect(EventType.toString(2)).to.be.equal("call"); + }); +}); diff --git a/mods/monitor/tsconfig.json b/mods/monitor/tsconfig.json new file mode 100644 index 000000000..1faa3b20f --- /dev/null +++ b/mods/monitor/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "./dist", + "rootDir": "./src" + }, + "references": [ + {"path": "../errors"}, + {"path": "../common"}, + {"path": "../core"}, + {"path": "../logger"} + ], + "exclude": ["node_modules", "dist", "test"] +} diff --git a/mods/numbers/.lerna-changed-buster-7825 b/mods/numbers/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/numbers/Dockerfile b/mods/numbers/Dockerfile index ae451b3a8..67499790b 100644 --- a/mods/numbers/Dockerfile +++ b/mods/numbers/Dockerfile @@ -3,7 +3,7 @@ COPY . /scripts RUN ./install.sh RUN link /usr/bin/run_numbers /usr/bin/run \ && link /usr/bin/healthcheck_numbers /usr/bin/healthcheck -USER fonos +USER fonoster HEALTHCHECK --interval=30s \ --timeout=30s \ --start-period=5s \ diff --git a/mods/numbers/package.json b/mods/numbers/package.json index e9b2d52ec..ae696fa48 100644 --- a/mods/numbers/package.json +++ b/mods/numbers/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/numbers", - "version": "0.1.20-alpha.0", + "name": "@fonoster/numbers", + "version": "0.2.40", "description": "VoIP Numbers", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/client/numbers", "types": "dist/client/numbers", @@ -37,18 +37,18 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "google-protobuf": "^3.17.0", "grpc-promise": "^1.4.0" diff --git a/mods/numbers/src/client/numbers.ts b/mods/numbers/src/client/numbers.ts index 86576ef5d..6e9ab8c87 100644 --- a/mods/numbers/src/client/numbers.ts +++ b/mods/numbers/src/client/numbers.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -26,24 +26,25 @@ import { DeleteNumberResponse, ListNumbersResponse, GetIngressInfoRequest, - GetIngressInfoResponse + GetIngressInfoResponse, + INumbersClient } from "./types"; -import {FonosService, ServiceOptions} from "@fonos/common"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {NumbersClient} from "../service/protos/numbers_grpc_pb"; import NumbersPB, {IngressInfo} from "../service/protos/numbers_pb"; import CommonPB from "../service/protos/common_pb"; import {promisifyAll} from "grpc-promise"; /** - * @classdesc Use Fonos Numbers, a capability of Fonos SIP Proxy subsystem, - * to create, update, get and delete numbers. Fonos Numbers requires of a - * running Fonos deployment. + * @classdesc Use Fonoster Numbers, a capability of Fonoster SIP Proxy subsystem, + * to create, update, get and delete numbers. Fonoster Numbers requires of a + * running Fonoster deployment. * - * @extends FonosService + * @extends APIClient * @example * - * const Fonos = require("@fonos/sdk"); - * const numbers = new Fonos.Numbers(); + * const Fonoster = require("@fonoster/sdk"); + * const numbers = new Fonoster.Numbers(); * * const request = { * providerRef: "516f1577bcf86cd797439012", @@ -58,13 +59,13 @@ import {promisifyAll} from "grpc-promise"; * console.log(result) // successful response * }).catch(e => console.error(e)); // an error occurred */ -export default class Numbers extends FonosService { +export default class Numbers extends APIClient implements INumbersClient { /** * Constructs a new Numbers object. - * @param {ServiceOptions} options - Options to indicate the objects endpoint - * @see module:core:FonosService + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(NumbersClient, options); super.init(); promisifyAll(super.getService(), {metadata: super.getMeta()}); @@ -98,18 +99,15 @@ export default class Numbers extends FonosService { async createNumber( request: CreateNumberRequest ): Promise { - const number = new NumbersPB.Number(); const ingressInfo = new NumbersPB.IngressInfo(); ingressInfo.setWebhook( request.ingressInfo ? request.ingressInfo.webhook : null ); - number.setProviderRef(request.providerRef); - number.setE164Number(request.e164Number); - number.setIngressInfo(ingressInfo); - number.setAorLink(request.aorLink); - const req = new NumbersPB.CreateNumberRequest(); - req.setNumber(number); + req.setProviderRef(request.providerRef); + req.setE164Number(request.e164Number); + req.setIngressInfo(ingressInfo); + req.setAorLink(request.aorLink); const res = await super.getService().createNumber().sendMessage(req); @@ -172,12 +170,6 @@ export default class Numbers extends FonosService { async updateNumber( request: UpdateNumberRequest ): Promise { - const getRequest = new NumbersPB.GetNumberRequest(); - getRequest.setRef(request.ref); - const numberFromDB = await this.getService() - .getNumber() - .sendMessage(getRequest); - if (request.aorLink && request.ingressInfo) { throw new Error( "'ingressApp' and 'aorLink' are not compatible parameters" @@ -188,19 +180,20 @@ export default class Numbers extends FonosService { ); } + const req = new NumbersPB.UpdateNumberRequest(); + req.setRef(request.ref); + if (request.aorLink) { - numberFromDB.setAorLink(request.aorLink); - numberFromDB.setIngressInfo(undefined); + req.setAorLink(request.aorLink); + req.setIngressInfo(undefined); } else { - numberFromDB.setAorLink(undefined); + req.setAorLink(undefined); const ingressInfo = new IngressInfo(); ingressInfo.setWebhook( request.ingressInfo ? request.ingressInfo.webhook : null ); - numberFromDB.setIngressInfo(ingressInfo); + req.setIngressInfo(ingressInfo); } - const req = new NumbersPB.UpdateNumberRequest(); - req.setNumber(numberFromDB); const result = await super.getService().updateNumber().sendMessage(req); @@ -211,7 +204,7 @@ export default class Numbers extends FonosService { } /** - * List the Numbers registered in Fonos SIP Proxy subsystem. + * List the Numbers registered in Fonoster SIP Proxy subsystem. * * @param {ListNumbersRequest} request * @param {number} request.pageSize - Number of element per page @@ -286,7 +279,7 @@ export default class Numbers extends FonosService { * @param {string} request.e164Number - A number in E164 format for * incomming calls * @return {Promise} - * @throws if the Number is not register in Fonos + * @throws if the Number is not register in Fonoster * @example * * const request = { @@ -313,7 +306,7 @@ export default class Numbers extends FonosService { } } -export {NumbersPB, CommonPB}; +export {NumbersPB, CommonPB, INumbersClient}; // WARNING: Workaround for support to commonjs clients module.exports = Numbers; diff --git a/mods/numbers/src/client/types.ts b/mods/numbers/src/client/types.ts index 9bbe86e47..076f8515b 100644 --- a/mods/numbers/src/client/types.ts +++ b/mods/numbers/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +export interface INumbersClient { + createNumber(request: CreateNumberRequest): Promise; + getNumber(ref: string): Promise; + updateNumber(request: UpdateNumberRequest): Promise; + listNumbers(request: ListNumbersRequest): Promise; + deleteNumber(ref: string): Promise; + getIngressInfo( + request: GetIngressInfoRequest + ): Promise; +} + enum View { BASIC = 0, STANDARD = 1, diff --git a/mods/numbers/src/protos/numbers.proto b/mods/numbers/src/protos/numbers.proto index 19df31f20..6b0ad9cd0 100644 --- a/mods/numbers/src/protos/numbers.proto +++ b/mods/numbers/src/protos/numbers.proto @@ -1,61 +1,95 @@ /** * MIT License - * Copyright (c) 2020 Fonoster Inc + * Copyright (c) 2021 Fonoster Inc * * The Numbers proto contains the artificats for the administration * of Numbers. */ syntax = "proto3"; -package fonos.numbers.v1beta1; +package fonoster.numbers.v1beta1; +option go_package = "github.com/fonoster/fonoster/mods/numbers/fonoster/services/protos/numbers"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; import "common.proto"; service Numbers { // Lists Numbers from the SIP Proxy subsystem - rpc ListNumbers (ListNumbersRequest) returns (ListNumbersResponse) {}; - // Creates a new Number resource. - rpc CreateNumber (CreateNumberRequest) returns (Number) {}; + rpc ListNumbers (ListNumbersRequest) returns (ListNumbersResponse) { + option (google.api.http) = { get: "/v1beta1/numbers" }; + }; + // Creates a new Number resource + rpc CreateNumber (CreateNumberRequest) returns (Number) { + option (google.api.http) = { + post: "/v1beta1/numbers" + body: "*" + }; + }; // Gets the ingess information for a given e164 number rpc GetIngressInfo (GetIngressInfoRequest) returns (IngressInfo) {}; // Gets Number using its reference - rpc GetNumber (GetNumberRequest) returns (Number) {}; + rpc GetNumber (GetNumberRequest) returns (Number) { + option (google.api.http) = { get: "/v1beta1/numbers/{ref}" }; + }; // Change or update fields in a resource - rpc UpdateNumber (UpdateNumberRequest) returns (Number) {}; + rpc UpdateNumber (UpdateNumberRequest) returns (Number) { + option (google.api.http) = { + put: "/v1beta1/numbers/{ref}" + body: "*" + }; + }; // Hard delete of a Number resource - rpc DeleteNumber (DeleteNumberRequest) returns (fonos.common.v1beta1.Empty) {}; + rpc DeleteNumber (DeleteNumberRequest) returns (fonoster.common.v1beta1.Empty) { + option (google.api.http) = { + delete: "/v1beta1/numbers/{ref}" + }; + }; } message ListNumbersRequest { - // The maximum number of items to return. + // The maximum number of items in the list int32 page_size = 1; - // The next_page_token value returned from a previous List request, if any. + // The next_page_token value returned from the previous request, if any. string page_token = 2; - // Level of detail of the individual entities - fonos.common.v1beta1.View view = 3; + // Level of detail of the individual entities (reserved) + fonoster.common.v1beta1.View view = 3; } message ListNumbersResponse { - // There will be a maximum number of items returned based on the page_size field - // in the request. + // List of Numbers repeated Number numbers = 1; - // Token to retrieve the next page of results, or empty if there are no - // more results in the list. + // Token to retrieve the next page of results, or empty if there are no more results in the list. string next_page_token = 2; } message CreateNumberRequest { - Number number = 1; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"providerRef\": \"aynB1z0tzd\", \"e164Number\": \"+17853178070\", \"ingressInfo\": { \"webhook\": \"https://c5b6-172-220-243-215.ngrok.io\"}}" + }; + string provider_ref = 1 [(google.api.field_behavior) = REQUIRED]; + string e164_number = 2 [(google.api.field_behavior) = REQUIRED]; + string aor_link = 3; + IngressInfo ingress_info = 4; } message UpdateNumberRequest { - Number number = 1; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"ingressInfo\": { \"webhook\": \"https://c5b6-172-220-243-215.ngrok.io\"}}" + }; + // Number's reference + string ref = 1; + string aor_link = 2; + IngressInfo ingress_info = 3; } message GetNumberRequest { + // Number's reference string ref = 1; } @@ -64,17 +98,22 @@ message GetIngressInfoRequest { } message DeleteNumberRequest { + // Number's reference string ref = 1; } message Number { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"ref\": \"aiuY1z0tzd\", \"providerRef\": \"aynB1z0tzd\", \"e164Number\": \"+17853178070\", \"ingressInfo\": { \"webhook\": \"https://c5b6-172-220-243-215.ngrok.io\"}, \"createTime\": \"2021-10-05T13:23:07.221Z\", \"updateTime\": \"2021-10-05T13:23:07.221Z\"}" + }; + // Number's reference string ref = 1; - string provider_ref = 2; - string e164_number = 3; + string provider_ref = 2 [(google.api.field_behavior) = REQUIRED]; + string e164_number = 3 [(google.api.field_behavior) = REQUIRED]; string aor_link = 4; IngressInfo ingress_info = 5; - string create_time = 6; - string update_time = 7; + string create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + string update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } message IngressInfo { diff --git a/mods/numbers/src/utils/assertions.ts b/mods/numbers/src/service/assertions.ts similarity index 53% rename from mods/numbers/src/utils/assertions.ts rename to mods/numbers/src/service/assertions.ts index 13568967d..068bd1cc0 100644 --- a/mods/numbers/src/utils/assertions.ts +++ b/mods/numbers/src/service/assertions.ts @@ -1,21 +1,23 @@ -import {FonosInvalidArgument} from "@fonos/errors"; +import {FonosterInvalidArgument} from "@fonoster/errors"; import {NumbersPB} from "../client/numbers"; -export const assertIsE164 = (number: NumbersPB.Number) => { - if (!number.getE164Number()) { - throw new FonosInvalidArgument( +export const assertIsE164 = (number: string) => { + if (!number) { + throw new FonosterInvalidArgument( "e164Number field must be a valid e164 value." ); } }; -export const assertHasAorLinkOrIngressInfo = (number: NumbersPB.Number) => { +export const assertHasAorLinkOrIngressInfo = ( + number: NumbersPB.CreateNumberRequest +) => { if (number.getAorLink() && number.getIngressInfo()) { - throw new FonosInvalidArgument( + throw new FonosterInvalidArgument( "'webhook' and 'aorLink' are not compatible parameters" ); } else if (!number.getAorLink() && !number.getIngressInfo()) { - throw new FonosInvalidArgument( + throw new FonosterInvalidArgument( "You must provider either an 'webhook' or and 'aorLink'" ); } diff --git a/mods/numbers/src/service/create_number.ts b/mods/numbers/src/service/create_number.ts index 1106992b4..f1aa4ec5c 100644 --- a/mods/numbers/src/service/create_number.ts +++ b/mods/numbers/src/service/create_number.ts @@ -1,39 +1,30 @@ /* eslint-disable require-jsdoc */ import NumbersPB from "./protos/numbers_pb"; -import { - ResourceBuilder, - Kind, - routr, - getAccessKeyId, - getRedisConnection -} from "@fonos/core"; +import {ResourceBuilder, Kind, routr, getAccessKeyId} from "@fonoster/core"; import numberDecoder from "./decoder"; -import {assertHasAorLinkOrIngressInfo, assertIsE164} from "../utils/assertions"; - -const redis = getRedisConnection(); +import {assertHasAorLinkOrIngressInfo, assertIsE164} from "./assertions"; export default async function createNumber( - number: NumbersPB.Number, + request: NumbersPB.CreateNumberRequest, call: any ): Promise { - assertIsE164(number); - assertHasAorLinkOrIngressInfo(number); + assertIsE164(request.getE164Number()); + assertHasAorLinkOrIngressInfo(request); - let encoder = new ResourceBuilder(Kind.NUMBER, number.getE164Number()) - .withGatewayRef(number.getProviderRef()) + let encoder = new ResourceBuilder(Kind.NUMBER, request.getE164Number()) + .withGatewayRef(request.getProviderRef()) .withMetadata({accessKeyId: getAccessKeyId(call)}); - if (number.getAorLink()) { + if (request.getAorLink()) { encoder = encoder.withLocation( - `tel:${number.getE164Number()}`, - number.getAorLink() + `tel:${request.getE164Number()}`, + request.getAorLink() ); } else { - // TODO: Perhaps I should place this in a ENV encoder = encoder - .withLocation(`tel:${number.getE164Number()}`, process.env.MS_ENDPOINT) + .withLocation(`tel:${request.getE164Number()}`, process.env.MS_ENDPOINT) .withMetadata({ - webhook: number.getIngressInfo().getWebhook(), + webhook: request.getIngressInfo().getWebhook().trim(), accessKeyId: getAccessKeyId(call) }); } diff --git a/mods/numbers/src/service/healthcheck.ts b/mods/numbers/src/service/healthcheck.ts index 03ef418cd..c024ae500 100644 --- a/mods/numbers/src/service/healthcheck.ts +++ b/mods/numbers/src/service/healthcheck.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; //healthcheck(); diff --git a/mods/numbers/src/service/numbers.ts b/mods/numbers/src/service/numbers.ts index 5cf866a63..71286481c 100644 --- a/mods/numbers/src/service/numbers.ts +++ b/mods/numbers/src/service/numbers.ts @@ -3,7 +3,7 @@ import grpc from "@grpc/grpc-js"; import createNumber from "./create_number"; import updateNumber from "./update_number"; -import {routr} from "@fonos/core"; +import {routr} from "@fonoster/core"; import { ListNumbersRequest, ListNumbersResponse, @@ -20,9 +20,9 @@ import { NumbersService, INumbersServer } from "./protos/numbers_grpc_pb"; -import {Kind, ResourceServer} from "@fonos/core"; +import {Kind, ResourceServer} from "@fonoster/core"; import decoder from "./decoder"; -import {ErrorCodes, FonosError} from "@fonos/errors"; +import {ErrorCodes, FonosterError} from "@fonoster/errors"; class NumbersServer extends ResourceServer implements INumbersServer { [name: string]: grpc.UntypedHandleCall; @@ -45,7 +45,7 @@ class NumbersServer extends ResourceServer implements INumbersServer { callback: grpc.sendUnaryData ) { try { - callback(null, await createNumber(call.request.getNumber(), call)); + callback(null, await createNumber(call.request, call)); } catch (e) { callback(e, null); } @@ -66,7 +66,7 @@ class NumbersServer extends ResourceServer implements INumbersServer { await routr.connect(); const result = await routr.getNumber(call.request.getE164Number()); if (!result) { - throw new FonosError("Number not found", ErrorCodes.NOT_FOUND); + throw new FonosterError("Number not found", ErrorCodes.NOT_FOUND); } const number = decoder(result); callback(null, number.getIngressInfo()); diff --git a/mods/numbers/src/service/protos/common_pb.d.ts b/mods/numbers/src/service/protos/common_pb.d.ts index 5311b1717..f8b5fb810 100644 --- a/mods/numbers/src/service/protos/common_pb.d.ts +++ b/mods/numbers/src/service/protos/common_pb.d.ts @@ -1,42 +1,49 @@ -// package: fonos.common.v1beta1 +// package: fonoster.common.v1beta1 // file: common.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; -export class Error extends jspb.Message { +export class Empty extends jspb.Message { serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Error.AsObject; - static toObject(includeInstance: boolean, msg: Error): Error.AsObject; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Error; - static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; } -export namespace Error { +export namespace Empty { export type AsObject = { } } -export class Empty extends jspb.Message { +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Empty.AsObject; - static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Empty; - static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; } -export namespace Empty { +export namespace ErrorResponse { export type AsObject = { + status: number, + message: string, } } diff --git a/mods/numbers/src/service/protos/common_pb.js b/mods/numbers/src/service/protos/common_pb.js index 4efc688db..b7f99c7ea 100644 --- a/mods/numbers/src/service/protos/common_pb.js +++ b/mods/numbers/src/service/protos/common_pb.js @@ -15,9 +15,11 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.common.v1beta1.Empty', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.Error', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -28,16 +30,16 @@ goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Error = function(opt_data) { +proto.fonoster.common.v1beta1.Empty = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Error, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Error.displayName = 'proto.fonos.common.v1beta1.Error'; + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; } /** * Generated by JsPbCodeGenerator. @@ -49,16 +51,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Empty = function(opt_data) { +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Empty, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Empty.displayName = 'proto.fonos.common.v1beta1.Empty'; + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; } @@ -76,8 +78,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Error.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); }; @@ -86,11 +88,11 @@ proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Error} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -106,23 +108,23 @@ proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Error; - return proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Error} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -142,9 +144,9 @@ proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Error.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -152,11 +154,11 @@ proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Error} message + * @param {!proto.fonoster.common.v1beta1.Empty} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -177,8 +179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Empty.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); }; @@ -187,13 +189,14 @@ proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Empty} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { var f, obj = { - + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -207,29 +210,37 @@ proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Empty; - return proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; default: reader.skipField(); break; @@ -243,9 +254,9 @@ proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -253,22 +264,72 @@ proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Empty} message + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** * @enum {number} */ -proto.fonos.common.v1beta1.View = { +proto.fonoster.common.v1beta1.View = { BASIC: 0, STANDARD: 1, FULL: 2 }; -goog.object.extend(exports, proto.fonos.common.v1beta1); +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/numbers/src/service/protos/google/api/annotations_grpc_pb.js b/mods/numbers/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/numbers/src/service/protos/google/api/annotations_pb.d.ts b/mods/numbers/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/numbers/src/service/protos/google/api/annotations_pb.js b/mods/numbers/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/numbers/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/numbers/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/numbers/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/numbers/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/numbers/src/service/protos/google/api/field_behavior_pb.js b/mods/numbers/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/numbers/src/service/protos/google/api/http_grpc_pb.js b/mods/numbers/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/numbers/src/service/protos/google/api/http_pb.d.ts b/mods/numbers/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/numbers/src/service/protos/google/api/http_pb.js b/mods/numbers/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/numbers/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/numbers/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/numbers/src/service/protos/google/api/httpbody_pb.d.ts b/mods/numbers/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/numbers/src/service/protos/google/api/httpbody_pb.js b/mods/numbers/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/numbers/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/numbers/src/service/protos/numbers_grpc_pb.d.ts b/mods/numbers/src/service/protos/numbers_grpc_pb.d.ts index d131588fe..67d63069c 100644 --- a/mods/numbers/src/service/protos/numbers_grpc_pb.d.ts +++ b/mods/numbers/src/service/protos/numbers_grpc_pb.d.ts @@ -1,11 +1,14 @@ -// package: fonos.numbers.v1beta1 +// package: fonoster.numbers.v1beta1 // file: numbers.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as numbers_pb from "./numbers_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; import * as common_pb from "./common_pb"; interface INumbersService extends grpc.ServiceDefinition { @@ -18,7 +21,7 @@ interface INumbersService extends grpc.ServiceDefinition { - path: "/fonos.numbers.v1beta1.Numbers/ListNumbers"; + path: "/fonoster.numbers.v1beta1.Numbers/ListNumbers"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -27,7 +30,7 @@ interface INumbersService_IListNumbers extends grpc.MethodDefinition; } interface INumbersService_ICreateNumber extends grpc.MethodDefinition { - path: "/fonos.numbers.v1beta1.Numbers/CreateNumber"; + path: "/fonoster.numbers.v1beta1.Numbers/CreateNumber"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -36,7 +39,7 @@ interface INumbersService_ICreateNumber extends grpc.MethodDefinition; } interface INumbersService_IGetIngressInfo extends grpc.MethodDefinition { - path: "/fonos.numbers.v1beta1.Numbers/GetIngressInfo"; + path: "/fonoster.numbers.v1beta1.Numbers/GetIngressInfo"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -45,7 +48,7 @@ interface INumbersService_IGetIngressInfo extends grpc.MethodDefinition; } interface INumbersService_IGetNumber extends grpc.MethodDefinition { - path: "/fonos.numbers.v1beta1.Numbers/GetNumber"; + path: "/fonoster.numbers.v1beta1.Numbers/GetNumber"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -54,7 +57,7 @@ interface INumbersService_IGetNumber extends grpc.MethodDefinition; } interface INumbersService_IUpdateNumber extends grpc.MethodDefinition { - path: "/fonos.numbers.v1beta1.Numbers/UpdateNumber"; + path: "/fonoster.numbers.v1beta1.Numbers/UpdateNumber"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -63,7 +66,7 @@ interface INumbersService_IUpdateNumber extends grpc.MethodDefinition; } interface INumbersService_IDeleteNumber extends grpc.MethodDefinition { - path: "/fonos.numbers.v1beta1.Numbers/DeleteNumber"; + path: "/fonoster.numbers.v1beta1.Numbers/DeleteNumber"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; diff --git a/mods/numbers/src/service/protos/numbers_grpc_pb.js b/mods/numbers/src/service/protos/numbers_grpc_pb.js index 632152178..14bec20f3 100644 --- a/mods/numbers/src/service/protos/numbers_grpc_pb.js +++ b/mods/numbers/src/service/protos/numbers_grpc_pb.js @@ -3,122 +3,125 @@ // Original file comments: // * // MIT License -// Copyright (c) 2020 Fonoster Inc +// Copyright (c) 2021 Fonoster Inc // // The Numbers proto contains the artificats for the administration // of Numbers. 'use strict'; var grpc = require('@grpc/grpc-js'); var numbers_pb = require('./numbers_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); var common_pb = require('./common_pb.js'); -function serialize_fonos_common_v1beta1_Empty(arg) { +function serialize_fonoster_common_v1beta1_Empty(arg) { if (!(arg instanceof common_pb.Empty)) { - throw new Error('Expected argument of type fonos.common.v1beta1.Empty'); + throw new Error('Expected argument of type fonoster.common.v1beta1.Empty'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_common_v1beta1_Empty(buffer_arg) { +function deserialize_fonoster_common_v1beta1_Empty(buffer_arg) { return common_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_CreateNumberRequest(arg) { +function serialize_fonoster_numbers_v1beta1_CreateNumberRequest(arg) { if (!(arg instanceof numbers_pb.CreateNumberRequest)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.CreateNumberRequest'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.CreateNumberRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_CreateNumberRequest(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_CreateNumberRequest(buffer_arg) { return numbers_pb.CreateNumberRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_DeleteNumberRequest(arg) { +function serialize_fonoster_numbers_v1beta1_DeleteNumberRequest(arg) { if (!(arg instanceof numbers_pb.DeleteNumberRequest)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.DeleteNumberRequest'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.DeleteNumberRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_DeleteNumberRequest(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_DeleteNumberRequest(buffer_arg) { return numbers_pb.DeleteNumberRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_GetIngressInfoRequest(arg) { +function serialize_fonoster_numbers_v1beta1_GetIngressInfoRequest(arg) { if (!(arg instanceof numbers_pb.GetIngressInfoRequest)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.GetIngressInfoRequest'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.GetIngressInfoRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_GetIngressInfoRequest(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_GetIngressInfoRequest(buffer_arg) { return numbers_pb.GetIngressInfoRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_GetNumberRequest(arg) { +function serialize_fonoster_numbers_v1beta1_GetNumberRequest(arg) { if (!(arg instanceof numbers_pb.GetNumberRequest)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.GetNumberRequest'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.GetNumberRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_GetNumberRequest(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_GetNumberRequest(buffer_arg) { return numbers_pb.GetNumberRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_IngressInfo(arg) { +function serialize_fonoster_numbers_v1beta1_IngressInfo(arg) { if (!(arg instanceof numbers_pb.IngressInfo)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.IngressInfo'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.IngressInfo'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_IngressInfo(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_IngressInfo(buffer_arg) { return numbers_pb.IngressInfo.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_ListNumbersRequest(arg) { +function serialize_fonoster_numbers_v1beta1_ListNumbersRequest(arg) { if (!(arg instanceof numbers_pb.ListNumbersRequest)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.ListNumbersRequest'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.ListNumbersRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_ListNumbersRequest(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_ListNumbersRequest(buffer_arg) { return numbers_pb.ListNumbersRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_ListNumbersResponse(arg) { +function serialize_fonoster_numbers_v1beta1_ListNumbersResponse(arg) { if (!(arg instanceof numbers_pb.ListNumbersResponse)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.ListNumbersResponse'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.ListNumbersResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_ListNumbersResponse(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_ListNumbersResponse(buffer_arg) { return numbers_pb.ListNumbersResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_Number(arg) { +function serialize_fonoster_numbers_v1beta1_Number(arg) { if (!(arg instanceof numbers_pb.Number)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.Number'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.Number'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_Number(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_Number(buffer_arg) { return numbers_pb.Number.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_numbers_v1beta1_UpdateNumberRequest(arg) { +function serialize_fonoster_numbers_v1beta1_UpdateNumberRequest(arg) { if (!(arg instanceof numbers_pb.UpdateNumberRequest)) { - throw new Error('Expected argument of type fonos.numbers.v1beta1.UpdateNumberRequest'); + throw new Error('Expected argument of type fonoster.numbers.v1beta1.UpdateNumberRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_numbers_v1beta1_UpdateNumberRequest(buffer_arg) { +function deserialize_fonoster_numbers_v1beta1_UpdateNumberRequest(buffer_arg) { return numbers_pb.UpdateNumberRequest.deserializeBinary(new Uint8Array(buffer_arg)); } @@ -126,75 +129,75 @@ function deserialize_fonos_numbers_v1beta1_UpdateNumberRequest(buffer_arg) { var NumbersService = exports.NumbersService = { // Lists Numbers from the SIP Proxy subsystem listNumbers: { - path: '/fonos.numbers.v1beta1.Numbers/ListNumbers', + path: '/fonoster.numbers.v1beta1.Numbers/ListNumbers', requestStream: false, responseStream: false, requestType: numbers_pb.ListNumbersRequest, responseType: numbers_pb.ListNumbersResponse, - requestSerialize: serialize_fonos_numbers_v1beta1_ListNumbersRequest, - requestDeserialize: deserialize_fonos_numbers_v1beta1_ListNumbersRequest, - responseSerialize: serialize_fonos_numbers_v1beta1_ListNumbersResponse, - responseDeserialize: deserialize_fonos_numbers_v1beta1_ListNumbersResponse, + requestSerialize: serialize_fonoster_numbers_v1beta1_ListNumbersRequest, + requestDeserialize: deserialize_fonoster_numbers_v1beta1_ListNumbersRequest, + responseSerialize: serialize_fonoster_numbers_v1beta1_ListNumbersResponse, + responseDeserialize: deserialize_fonoster_numbers_v1beta1_ListNumbersResponse, }, - // Creates a new Number resource. + // Creates a new Number resource createNumber: { - path: '/fonos.numbers.v1beta1.Numbers/CreateNumber', + path: '/fonoster.numbers.v1beta1.Numbers/CreateNumber', requestStream: false, responseStream: false, requestType: numbers_pb.CreateNumberRequest, responseType: numbers_pb.Number, - requestSerialize: serialize_fonos_numbers_v1beta1_CreateNumberRequest, - requestDeserialize: deserialize_fonos_numbers_v1beta1_CreateNumberRequest, - responseSerialize: serialize_fonos_numbers_v1beta1_Number, - responseDeserialize: deserialize_fonos_numbers_v1beta1_Number, + requestSerialize: serialize_fonoster_numbers_v1beta1_CreateNumberRequest, + requestDeserialize: deserialize_fonoster_numbers_v1beta1_CreateNumberRequest, + responseSerialize: serialize_fonoster_numbers_v1beta1_Number, + responseDeserialize: deserialize_fonoster_numbers_v1beta1_Number, }, // Gets the ingess information for a given e164 number getIngressInfo: { - path: '/fonos.numbers.v1beta1.Numbers/GetIngressInfo', + path: '/fonoster.numbers.v1beta1.Numbers/GetIngressInfo', requestStream: false, responseStream: false, requestType: numbers_pb.GetIngressInfoRequest, responseType: numbers_pb.IngressInfo, - requestSerialize: serialize_fonos_numbers_v1beta1_GetIngressInfoRequest, - requestDeserialize: deserialize_fonos_numbers_v1beta1_GetIngressInfoRequest, - responseSerialize: serialize_fonos_numbers_v1beta1_IngressInfo, - responseDeserialize: deserialize_fonos_numbers_v1beta1_IngressInfo, + requestSerialize: serialize_fonoster_numbers_v1beta1_GetIngressInfoRequest, + requestDeserialize: deserialize_fonoster_numbers_v1beta1_GetIngressInfoRequest, + responseSerialize: serialize_fonoster_numbers_v1beta1_IngressInfo, + responseDeserialize: deserialize_fonoster_numbers_v1beta1_IngressInfo, }, // Gets Number using its reference getNumber: { - path: '/fonos.numbers.v1beta1.Numbers/GetNumber', + path: '/fonoster.numbers.v1beta1.Numbers/GetNumber', requestStream: false, responseStream: false, requestType: numbers_pb.GetNumberRequest, responseType: numbers_pb.Number, - requestSerialize: serialize_fonos_numbers_v1beta1_GetNumberRequest, - requestDeserialize: deserialize_fonos_numbers_v1beta1_GetNumberRequest, - responseSerialize: serialize_fonos_numbers_v1beta1_Number, - responseDeserialize: deserialize_fonos_numbers_v1beta1_Number, + requestSerialize: serialize_fonoster_numbers_v1beta1_GetNumberRequest, + requestDeserialize: deserialize_fonoster_numbers_v1beta1_GetNumberRequest, + responseSerialize: serialize_fonoster_numbers_v1beta1_Number, + responseDeserialize: deserialize_fonoster_numbers_v1beta1_Number, }, // Change or update fields in a resource updateNumber: { - path: '/fonos.numbers.v1beta1.Numbers/UpdateNumber', + path: '/fonoster.numbers.v1beta1.Numbers/UpdateNumber', requestStream: false, responseStream: false, requestType: numbers_pb.UpdateNumberRequest, responseType: numbers_pb.Number, - requestSerialize: serialize_fonos_numbers_v1beta1_UpdateNumberRequest, - requestDeserialize: deserialize_fonos_numbers_v1beta1_UpdateNumberRequest, - responseSerialize: serialize_fonos_numbers_v1beta1_Number, - responseDeserialize: deserialize_fonos_numbers_v1beta1_Number, + requestSerialize: serialize_fonoster_numbers_v1beta1_UpdateNumberRequest, + requestDeserialize: deserialize_fonoster_numbers_v1beta1_UpdateNumberRequest, + responseSerialize: serialize_fonoster_numbers_v1beta1_Number, + responseDeserialize: deserialize_fonoster_numbers_v1beta1_Number, }, // Hard delete of a Number resource deleteNumber: { - path: '/fonos.numbers.v1beta1.Numbers/DeleteNumber', + path: '/fonoster.numbers.v1beta1.Numbers/DeleteNumber', requestStream: false, responseStream: false, requestType: numbers_pb.DeleteNumberRequest, responseType: common_pb.Empty, - requestSerialize: serialize_fonos_numbers_v1beta1_DeleteNumberRequest, - requestDeserialize: deserialize_fonos_numbers_v1beta1_DeleteNumberRequest, - responseSerialize: serialize_fonos_common_v1beta1_Empty, - responseDeserialize: deserialize_fonos_common_v1beta1_Empty, + requestSerialize: serialize_fonoster_numbers_v1beta1_DeleteNumberRequest, + requestDeserialize: deserialize_fonoster_numbers_v1beta1_DeleteNumberRequest, + responseSerialize: serialize_fonoster_common_v1beta1_Empty, + responseDeserialize: deserialize_fonoster_common_v1beta1_Empty, }, }; diff --git a/mods/numbers/src/service/protos/numbers_pb.d.ts b/mods/numbers/src/service/protos/numbers_pb.d.ts index ef637b1dd..5e5981a5c 100644 --- a/mods/numbers/src/service/protos/numbers_pb.d.ts +++ b/mods/numbers/src/service/protos/numbers_pb.d.ts @@ -1,10 +1,12 @@ -// package: fonos.numbers.v1beta1 +// package: fonoster.numbers.v1beta1 // file: numbers.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; import * as common_pb from "./common_pb"; export class ListNumbersRequest extends jspb.Message { @@ -59,11 +61,17 @@ export namespace ListNumbersResponse { } export class CreateNumberRequest extends jspb.Message { + getProviderRef(): string; + setProviderRef(value: string): CreateNumberRequest; + getE164Number(): string; + setE164Number(value: string): CreateNumberRequest; + getAorLink(): string; + setAorLink(value: string): CreateNumberRequest; - hasNumber(): boolean; - clearNumber(): void; - getNumber(): Number | undefined; - setNumber(value?: Number): CreateNumberRequest; + hasIngressInfo(): boolean; + clearIngressInfo(): void; + getIngressInfo(): IngressInfo | undefined; + setIngressInfo(value?: IngressInfo): CreateNumberRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateNumberRequest.AsObject; @@ -77,16 +85,23 @@ export class CreateNumberRequest extends jspb.Message { export namespace CreateNumberRequest { export type AsObject = { - number?: Number.AsObject, + providerRef: string, + e164Number: string, + aorLink: string, + ingressInfo?: IngressInfo.AsObject, } } export class UpdateNumberRequest extends jspb.Message { + getRef(): string; + setRef(value: string): UpdateNumberRequest; + getAorLink(): string; + setAorLink(value: string): UpdateNumberRequest; - hasNumber(): boolean; - clearNumber(): void; - getNumber(): Number | undefined; - setNumber(value?: Number): UpdateNumberRequest; + hasIngressInfo(): boolean; + clearIngressInfo(): void; + getIngressInfo(): IngressInfo | undefined; + setIngressInfo(value?: IngressInfo): UpdateNumberRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateNumberRequest.AsObject; @@ -100,7 +115,9 @@ export class UpdateNumberRequest extends jspb.Message { export namespace UpdateNumberRequest { export type AsObject = { - number?: Number.AsObject, + ref: string, + aorLink: string, + ingressInfo?: IngressInfo.AsObject, } } diff --git a/mods/numbers/src/service/protos/numbers_pb.js b/mods/numbers/src/service/protos/numbers_pb.js index e75cd8785..dd6ee2c37 100644 --- a/mods/numbers/src/service/protos/numbers_pb.js +++ b/mods/numbers/src/service/protos/numbers_pb.js @@ -15,17 +15,23 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +goog.object.extend(proto, google_api_field_behavior_pb); var common_pb = require('./common_pb.js'); goog.object.extend(proto, common_pb); -goog.exportSymbol('proto.fonos.numbers.v1beta1.CreateNumberRequest', null, global); -goog.exportSymbol('proto.fonos.numbers.v1beta1.DeleteNumberRequest', null, global); -goog.exportSymbol('proto.fonos.numbers.v1beta1.GetIngressInfoRequest', null, global); -goog.exportSymbol('proto.fonos.numbers.v1beta1.GetNumberRequest', null, global); -goog.exportSymbol('proto.fonos.numbers.v1beta1.IngressInfo', null, global); -goog.exportSymbol('proto.fonos.numbers.v1beta1.ListNumbersRequest', null, global); -goog.exportSymbol('proto.fonos.numbers.v1beta1.ListNumbersResponse', null, global); -goog.exportSymbol('proto.fonos.numbers.v1beta1.Number', null, global); -goog.exportSymbol('proto.fonos.numbers.v1beta1.UpdateNumberRequest', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.CreateNumberRequest', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.DeleteNumberRequest', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.GetIngressInfoRequest', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.GetNumberRequest', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.IngressInfo', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.ListNumbersRequest', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.ListNumbersResponse', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.Number', null, global); +goog.exportSymbol('proto.fonoster.numbers.v1beta1.UpdateNumberRequest', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -36,16 +42,16 @@ goog.exportSymbol('proto.fonos.numbers.v1beta1.UpdateNumberRequest', null, globa * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.ListNumbersRequest = function(opt_data) { +proto.fonoster.numbers.v1beta1.ListNumbersRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.ListNumbersRequest, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.ListNumbersRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.ListNumbersRequest.displayName = 'proto.fonos.numbers.v1beta1.ListNumbersRequest'; + proto.fonoster.numbers.v1beta1.ListNumbersRequest.displayName = 'proto.fonoster.numbers.v1beta1.ListNumbersRequest'; } /** * Generated by JsPbCodeGenerator. @@ -57,16 +63,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.ListNumbersResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.numbers.v1beta1.ListNumbersResponse.repeatedFields_, null); +proto.fonoster.numbers.v1beta1.ListNumbersResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.numbers.v1beta1.ListNumbersResponse.repeatedFields_, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.ListNumbersResponse, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.ListNumbersResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.ListNumbersResponse.displayName = 'proto.fonos.numbers.v1beta1.ListNumbersResponse'; + proto.fonoster.numbers.v1beta1.ListNumbersResponse.displayName = 'proto.fonoster.numbers.v1beta1.ListNumbersResponse'; } /** * Generated by JsPbCodeGenerator. @@ -78,16 +84,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.CreateNumberRequest = function(opt_data) { +proto.fonoster.numbers.v1beta1.CreateNumberRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.CreateNumberRequest, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.CreateNumberRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.CreateNumberRequest.displayName = 'proto.fonos.numbers.v1beta1.CreateNumberRequest'; + proto.fonoster.numbers.v1beta1.CreateNumberRequest.displayName = 'proto.fonoster.numbers.v1beta1.CreateNumberRequest'; } /** * Generated by JsPbCodeGenerator. @@ -99,16 +105,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest = function(opt_data) { +proto.fonoster.numbers.v1beta1.UpdateNumberRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.UpdateNumberRequest, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.UpdateNumberRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.UpdateNumberRequest.displayName = 'proto.fonos.numbers.v1beta1.UpdateNumberRequest'; + proto.fonoster.numbers.v1beta1.UpdateNumberRequest.displayName = 'proto.fonoster.numbers.v1beta1.UpdateNumberRequest'; } /** * Generated by JsPbCodeGenerator. @@ -120,16 +126,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.GetNumberRequest = function(opt_data) { +proto.fonoster.numbers.v1beta1.GetNumberRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.GetNumberRequest, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.GetNumberRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.GetNumberRequest.displayName = 'proto.fonos.numbers.v1beta1.GetNumberRequest'; + proto.fonoster.numbers.v1beta1.GetNumberRequest.displayName = 'proto.fonoster.numbers.v1beta1.GetNumberRequest'; } /** * Generated by JsPbCodeGenerator. @@ -141,16 +147,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest = function(opt_data) { +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.GetIngressInfoRequest, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.GetIngressInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.GetIngressInfoRequest.displayName = 'proto.fonos.numbers.v1beta1.GetIngressInfoRequest'; + proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.displayName = 'proto.fonoster.numbers.v1beta1.GetIngressInfoRequest'; } /** * Generated by JsPbCodeGenerator. @@ -162,16 +168,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest = function(opt_data) { +proto.fonoster.numbers.v1beta1.DeleteNumberRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.DeleteNumberRequest, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.DeleteNumberRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.DeleteNumberRequest.displayName = 'proto.fonos.numbers.v1beta1.DeleteNumberRequest'; + proto.fonoster.numbers.v1beta1.DeleteNumberRequest.displayName = 'proto.fonoster.numbers.v1beta1.DeleteNumberRequest'; } /** * Generated by JsPbCodeGenerator. @@ -183,16 +189,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.Number = function(opt_data) { +proto.fonoster.numbers.v1beta1.Number = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.Number, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.Number, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.Number.displayName = 'proto.fonos.numbers.v1beta1.Number'; + proto.fonoster.numbers.v1beta1.Number.displayName = 'proto.fonoster.numbers.v1beta1.Number'; } /** * Generated by JsPbCodeGenerator. @@ -204,16 +210,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.numbers.v1beta1.IngressInfo = function(opt_data) { +proto.fonoster.numbers.v1beta1.IngressInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.numbers.v1beta1.IngressInfo, jspb.Message); +goog.inherits(proto.fonoster.numbers.v1beta1.IngressInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.numbers.v1beta1.IngressInfo.displayName = 'proto.fonos.numbers.v1beta1.IngressInfo'; + proto.fonoster.numbers.v1beta1.IngressInfo.displayName = 'proto.fonoster.numbers.v1beta1.IngressInfo'; } @@ -231,8 +237,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.ListNumbersRequest.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.ListNumbersRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.ListNumbersRequest.toObject(opt_includeInstance, this); }; @@ -241,11 +247,11 @@ proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.ListNumbersRequest} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.ListNumbersRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.toObject = function(includeInstance, msg) { var f, obj = { pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0), pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -263,23 +269,23 @@ proto.fonos.numbers.v1beta1.ListNumbersRequest.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.ListNumbersRequest} + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersRequest} */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.ListNumbersRequest; - return proto.fonos.numbers.v1beta1.ListNumbersRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.ListNumbersRequest; + return proto.fonoster.numbers.v1beta1.ListNumbersRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.ListNumbersRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.ListNumbersRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.ListNumbersRequest} + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersRequest} */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -295,7 +301,7 @@ proto.fonos.numbers.v1beta1.ListNumbersRequest.deserializeBinaryFromReader = fun msg.setPageToken(value); break; case 3: - var value = /** @type {!proto.fonos.common.v1beta1.View} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.common.v1beta1.View} */ (reader.readEnum()); msg.setView(value); break; default: @@ -311,9 +317,9 @@ proto.fonos.numbers.v1beta1.ListNumbersRequest.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.ListNumbersRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.ListNumbersRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -321,11 +327,11 @@ proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.ListNumbersRequest} message + * @param {!proto.fonoster.numbers.v1beta1.ListNumbersRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPageSize(); if (f !== 0) { @@ -355,16 +361,16 @@ proto.fonos.numbers.v1beta1.ListNumbersRequest.serializeBinaryToWriter = functio * optional int32 page_size = 1; * @return {number} */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.getPageSize = function() { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.prototype.getPageSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.fonos.numbers.v1beta1.ListNumbersRequest} returns this + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersRequest} returns this */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.setPageSize = function(value) { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.prototype.setPageSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -373,34 +379,34 @@ proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.setPageSize = function( * optional string page_token = 2; * @return {string} */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.getPageToken = function() { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.prototype.getPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.ListNumbersRequest} returns this + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersRequest} returns this */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.setPageToken = function(value) { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.prototype.setPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional fonos.common.v1beta1.View view = 3; - * @return {!proto.fonos.common.v1beta1.View} + * optional fonoster.common.v1beta1.View view = 3; + * @return {!proto.fonoster.common.v1beta1.View} */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.getView = function() { - return /** @type {!proto.fonos.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.fonoster.numbers.v1beta1.ListNumbersRequest.prototype.getView = function() { + return /** @type {!proto.fonoster.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!proto.fonos.common.v1beta1.View} value - * @return {!proto.fonos.numbers.v1beta1.ListNumbersRequest} returns this + * @param {!proto.fonoster.common.v1beta1.View} value + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersRequest} returns this */ -proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.setView = function(value) { +proto.fonoster.numbers.v1beta1.ListNumbersRequest.prototype.setView = function(value) { return jspb.Message.setProto3EnumField(this, 3, value); }; @@ -411,7 +417,7 @@ proto.fonos.numbers.v1beta1.ListNumbersRequest.prototype.setView = function(valu * @private {!Array} * @const */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.repeatedFields_ = [1]; +proto.fonoster.numbers.v1beta1.ListNumbersResponse.repeatedFields_ = [1]; @@ -428,8 +434,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.ListNumbersResponse.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.ListNumbersResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.ListNumbersResponse.toObject(opt_includeInstance, this); }; @@ -438,14 +444,14 @@ proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.ListNumbersResponse} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.ListNumbersResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.toObject = function(includeInstance, msg) { var f, obj = { numbersList: jspb.Message.toObjectList(msg.getNumbersList(), - proto.fonos.numbers.v1beta1.Number.toObject, includeInstance), + proto.fonoster.numbers.v1beta1.Number.toObject, includeInstance), nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; @@ -460,23 +466,23 @@ proto.fonos.numbers.v1beta1.ListNumbersResponse.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.ListNumbersResponse} + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersResponse} */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.ListNumbersResponse; - return proto.fonos.numbers.v1beta1.ListNumbersResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.ListNumbersResponse; + return proto.fonoster.numbers.v1beta1.ListNumbersResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.ListNumbersResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.ListNumbersResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.ListNumbersResponse} + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersResponse} */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -484,8 +490,8 @@ proto.fonos.numbers.v1beta1.ListNumbersResponse.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.numbers.v1beta1.Number; - reader.readMessage(value,proto.fonos.numbers.v1beta1.Number.deserializeBinaryFromReader); + var value = new proto.fonoster.numbers.v1beta1.Number; + reader.readMessage(value,proto.fonoster.numbers.v1beta1.Number.deserializeBinaryFromReader); msg.addNumbers(value); break; case 2: @@ -505,9 +511,9 @@ proto.fonos.numbers.v1beta1.ListNumbersResponse.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.ListNumbersResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.ListNumbersResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -515,18 +521,18 @@ proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.ListNumbersResponse} message + * @param {!proto.fonoster.numbers.v1beta1.ListNumbersResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getNumbersList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.fonos.numbers.v1beta1.Number.serializeBinaryToWriter + proto.fonoster.numbers.v1beta1.Number.serializeBinaryToWriter ); } f = message.getNextPageToken(); @@ -541,38 +547,38 @@ proto.fonos.numbers.v1beta1.ListNumbersResponse.serializeBinaryToWriter = functi /** * repeated Number numbers = 1; - * @return {!Array} + * @return {!Array} */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.getNumbersList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.fonos.numbers.v1beta1.Number, 1)); +proto.fonoster.numbers.v1beta1.ListNumbersResponse.prototype.getNumbersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.fonoster.numbers.v1beta1.Number, 1)); }; /** - * @param {!Array} value - * @return {!proto.fonos.numbers.v1beta1.ListNumbersResponse} returns this + * @param {!Array} value + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersResponse} returns this */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.setNumbersList = function(value) { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.prototype.setNumbersList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.fonos.numbers.v1beta1.Number=} opt_value + * @param {!proto.fonoster.numbers.v1beta1.Number=} opt_value * @param {number=} opt_index - * @return {!proto.fonos.numbers.v1beta1.Number} + * @return {!proto.fonoster.numbers.v1beta1.Number} */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.addNumbers = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonos.numbers.v1beta1.Number, opt_index); +proto.fonoster.numbers.v1beta1.ListNumbersResponse.prototype.addNumbers = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.numbers.v1beta1.Number, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.numbers.v1beta1.ListNumbersResponse} returns this + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersResponse} returns this */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.clearNumbersList = function() { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.prototype.clearNumbersList = function() { return this.setNumbersList([]); }; @@ -581,16 +587,16 @@ proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.clearNumbersList = fun * optional string next_page_token = 2; * @return {string} */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.getNextPageToken = function() { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.prototype.getNextPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.ListNumbersResponse} returns this + * @return {!proto.fonoster.numbers.v1beta1.ListNumbersResponse} returns this */ -proto.fonos.numbers.v1beta1.ListNumbersResponse.prototype.setNextPageToken = function(value) { +proto.fonoster.numbers.v1beta1.ListNumbersResponse.prototype.setNextPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -611,8 +617,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.CreateNumberRequest.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.CreateNumberRequest.toObject(opt_includeInstance, this); }; @@ -621,13 +627,16 @@ proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.CreateNumberRequest} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.CreateNumberRequest.toObject = function(includeInstance, msg) { var f, obj = { - number: (f = msg.getNumber()) && proto.fonos.numbers.v1beta1.Number.toObject(includeInstance, f) + providerRef: jspb.Message.getFieldWithDefault(msg, 1, ""), + e164Number: jspb.Message.getFieldWithDefault(msg, 2, ""), + aorLink: jspb.Message.getFieldWithDefault(msg, 3, ""), + ingressInfo: (f = msg.getIngressInfo()) && proto.fonoster.numbers.v1beta1.IngressInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -641,23 +650,23 @@ proto.fonos.numbers.v1beta1.CreateNumberRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.CreateNumberRequest} + * @return {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.CreateNumberRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.CreateNumberRequest; - return proto.fonos.numbers.v1beta1.CreateNumberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.CreateNumberRequest; + return proto.fonoster.numbers.v1beta1.CreateNumberRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.CreateNumberRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.CreateNumberRequest} + * @return {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.CreateNumberRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -665,9 +674,21 @@ proto.fonos.numbers.v1beta1.CreateNumberRequest.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.numbers.v1beta1.Number; - reader.readMessage(value,proto.fonos.numbers.v1beta1.Number.deserializeBinaryFromReader); - msg.setNumber(value); + var value = /** @type {string} */ (reader.readString()); + msg.setProviderRef(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setE164Number(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setAorLink(value); + break; + case 4: + var value = new proto.fonoster.numbers.v1beta1.IngressInfo; + reader.readMessage(value,proto.fonoster.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader); + msg.setIngressInfo(value); break; default: reader.skipField(); @@ -682,9 +703,9 @@ proto.fonos.numbers.v1beta1.CreateNumberRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.CreateNumberRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.CreateNumberRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -692,48 +713,123 @@ proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.CreateNumberRequest} message + * @param {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.CreateNumberRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getNumber(); + f = message.getProviderRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getE164Number(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getAorLink(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIngressInfo(); if (f != null) { writer.writeMessage( - 1, + 4, f, - proto.fonos.numbers.v1beta1.Number.serializeBinaryToWriter + proto.fonoster.numbers.v1beta1.IngressInfo.serializeBinaryToWriter ); } }; /** - * optional Number number = 1; - * @return {?proto.fonos.numbers.v1beta1.Number} + * optional string provider_ref = 1; + * @return {string} + */ +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.getProviderRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} returns this + */ +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.setProviderRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string e164_number = 2; + * @return {string} + */ +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.getE164Number = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} returns this */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.getNumber = function() { - return /** @type{?proto.fonos.numbers.v1beta1.Number} */ ( - jspb.Message.getWrapperField(this, proto.fonos.numbers.v1beta1.Number, 1)); +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.setE164Number = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** - * @param {?proto.fonos.numbers.v1beta1.Number|undefined} value - * @return {!proto.fonos.numbers.v1beta1.CreateNumberRequest} returns this + * optional string aor_link = 3; + * @return {string} + */ +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.getAorLink = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} returns this + */ +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.setAorLink = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional IngressInfo ingress_info = 4; + * @return {?proto.fonoster.numbers.v1beta1.IngressInfo} + */ +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.getIngressInfo = function() { + return /** @type{?proto.fonoster.numbers.v1beta1.IngressInfo} */ ( + jspb.Message.getWrapperField(this, proto.fonoster.numbers.v1beta1.IngressInfo, 4)); +}; + + +/** + * @param {?proto.fonoster.numbers.v1beta1.IngressInfo|undefined} value + * @return {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} returns this */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.setNumber = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.setIngressInfo = function(value) { + return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.fonos.numbers.v1beta1.CreateNumberRequest} returns this + * @return {!proto.fonoster.numbers.v1beta1.CreateNumberRequest} returns this */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.clearNumber = function() { - return this.setNumber(undefined); +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.clearIngressInfo = function() { + return this.setIngressInfo(undefined); }; @@ -741,8 +837,8 @@ proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.clearNumber = function * Returns whether this field is set. * @return {boolean} */ -proto.fonos.numbers.v1beta1.CreateNumberRequest.prototype.hasNumber = function() { - return jspb.Message.getField(this, 1) != null; +proto.fonoster.numbers.v1beta1.CreateNumberRequest.prototype.hasIngressInfo = function() { + return jspb.Message.getField(this, 4) != null; }; @@ -762,8 +858,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.UpdateNumberRequest.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.UpdateNumberRequest.toObject(opt_includeInstance, this); }; @@ -772,13 +868,15 @@ proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.UpdateNumberRequest} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.toObject = function(includeInstance, msg) { var f, obj = { - number: (f = msg.getNumber()) && proto.fonos.numbers.v1beta1.Number.toObject(includeInstance, f) + ref: jspb.Message.getFieldWithDefault(msg, 1, ""), + aorLink: jspb.Message.getFieldWithDefault(msg, 2, ""), + ingressInfo: (f = msg.getIngressInfo()) && proto.fonoster.numbers.v1beta1.IngressInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -792,23 +890,23 @@ proto.fonos.numbers.v1beta1.UpdateNumberRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.UpdateNumberRequest} + * @return {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.UpdateNumberRequest; - return proto.fonos.numbers.v1beta1.UpdateNumberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.UpdateNumberRequest; + return proto.fonoster.numbers.v1beta1.UpdateNumberRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.UpdateNumberRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.UpdateNumberRequest} + * @return {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -816,9 +914,17 @@ proto.fonos.numbers.v1beta1.UpdateNumberRequest.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.numbers.v1beta1.Number; - reader.readMessage(value,proto.fonos.numbers.v1beta1.Number.deserializeBinaryFromReader); - msg.setNumber(value); + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setAorLink(value); + break; + case 3: + var value = new proto.fonoster.numbers.v1beta1.IngressInfo; + reader.readMessage(value,proto.fonoster.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader); + msg.setIngressInfo(value); break; default: reader.skipField(); @@ -833,9 +939,9 @@ proto.fonos.numbers.v1beta1.UpdateNumberRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.UpdateNumberRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.UpdateNumberRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -843,48 +949,98 @@ proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.UpdateNumberRequest} message + * @param {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getNumber(); + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getAorLink(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getIngressInfo(); if (f != null) { writer.writeMessage( - 1, + 3, f, - proto.fonos.numbers.v1beta1.Number.serializeBinaryToWriter + proto.fonoster.numbers.v1beta1.IngressInfo.serializeBinaryToWriter ); } }; /** - * optional Number number = 1; - * @return {?proto.fonos.numbers.v1beta1.Number} + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} returns this + */ +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string aor_link = 2; + * @return {string} */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.getNumber = function() { - return /** @type{?proto.fonos.numbers.v1beta1.Number} */ ( - jspb.Message.getWrapperField(this, proto.fonos.numbers.v1beta1.Number, 1)); +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.getAorLink = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {?proto.fonos.numbers.v1beta1.Number|undefined} value - * @return {!proto.fonos.numbers.v1beta1.UpdateNumberRequest} returns this + * @param {string} value + * @return {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} returns this + */ +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.setAorLink = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional IngressInfo ingress_info = 3; + * @return {?proto.fonoster.numbers.v1beta1.IngressInfo} + */ +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.getIngressInfo = function() { + return /** @type{?proto.fonoster.numbers.v1beta1.IngressInfo} */ ( + jspb.Message.getWrapperField(this, proto.fonoster.numbers.v1beta1.IngressInfo, 3)); +}; + + +/** + * @param {?proto.fonoster.numbers.v1beta1.IngressInfo|undefined} value + * @return {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} returns this */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.setNumber = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.setIngressInfo = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.fonos.numbers.v1beta1.UpdateNumberRequest} returns this + * @return {!proto.fonoster.numbers.v1beta1.UpdateNumberRequest} returns this */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.clearNumber = function() { - return this.setNumber(undefined); +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.clearIngressInfo = function() { + return this.setIngressInfo(undefined); }; @@ -892,8 +1048,8 @@ proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.clearNumber = function * Returns whether this field is set. * @return {boolean} */ -proto.fonos.numbers.v1beta1.UpdateNumberRequest.prototype.hasNumber = function() { - return jspb.Message.getField(this, 1) != null; +proto.fonoster.numbers.v1beta1.UpdateNumberRequest.prototype.hasIngressInfo = function() { + return jspb.Message.getField(this, 3) != null; }; @@ -913,8 +1069,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.GetNumberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.GetNumberRequest.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.GetNumberRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.GetNumberRequest.toObject(opt_includeInstance, this); }; @@ -923,11 +1079,11 @@ proto.fonos.numbers.v1beta1.GetNumberRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.GetNumberRequest} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.GetNumberRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.GetNumberRequest.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.GetNumberRequest.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -943,23 +1099,23 @@ proto.fonos.numbers.v1beta1.GetNumberRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.GetNumberRequest} + * @return {!proto.fonoster.numbers.v1beta1.GetNumberRequest} */ -proto.fonos.numbers.v1beta1.GetNumberRequest.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.GetNumberRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.GetNumberRequest; - return proto.fonos.numbers.v1beta1.GetNumberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.GetNumberRequest; + return proto.fonoster.numbers.v1beta1.GetNumberRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.GetNumberRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.GetNumberRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.GetNumberRequest} + * @return {!proto.fonoster.numbers.v1beta1.GetNumberRequest} */ -proto.fonos.numbers.v1beta1.GetNumberRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.GetNumberRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -983,9 +1139,9 @@ proto.fonos.numbers.v1beta1.GetNumberRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.GetNumberRequest.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.GetNumberRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.GetNumberRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.GetNumberRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -993,11 +1149,11 @@ proto.fonos.numbers.v1beta1.GetNumberRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.GetNumberRequest} message + * @param {!proto.fonoster.numbers.v1beta1.GetNumberRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.GetNumberRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.GetNumberRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1013,16 +1169,16 @@ proto.fonos.numbers.v1beta1.GetNumberRequest.serializeBinaryToWriter = function( * optional string ref = 1; * @return {string} */ -proto.fonos.numbers.v1beta1.GetNumberRequest.prototype.getRef = function() { +proto.fonoster.numbers.v1beta1.GetNumberRequest.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.GetNumberRequest} returns this + * @return {!proto.fonoster.numbers.v1beta1.GetNumberRequest} returns this */ -proto.fonos.numbers.v1beta1.GetNumberRequest.prototype.setRef = function(value) { +proto.fonoster.numbers.v1beta1.GetNumberRequest.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1043,8 +1199,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.GetIngressInfoRequest.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.toObject(opt_includeInstance, this); }; @@ -1053,11 +1209,11 @@ proto.fonos.numbers.v1beta1.GetIngressInfoRequest.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.GetIngressInfoRequest} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.GetIngressInfoRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.toObject = function(includeInstance, msg) { var f, obj = { e164Number: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1073,23 +1229,23 @@ proto.fonos.numbers.v1beta1.GetIngressInfoRequest.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.GetIngressInfoRequest} + * @return {!proto.fonoster.numbers.v1beta1.GetIngressInfoRequest} */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.GetIngressInfoRequest; - return proto.fonos.numbers.v1beta1.GetIngressInfoRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.GetIngressInfoRequest; + return proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.GetIngressInfoRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.GetIngressInfoRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.GetIngressInfoRequest} + * @return {!proto.fonoster.numbers.v1beta1.GetIngressInfoRequest} */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1113,9 +1269,9 @@ proto.fonos.numbers.v1beta1.GetIngressInfoRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.GetIngressInfoRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1123,11 +1279,11 @@ proto.fonos.numbers.v1beta1.GetIngressInfoRequest.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.GetIngressInfoRequest} message + * @param {!proto.fonoster.numbers.v1beta1.GetIngressInfoRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getE164Number(); if (f.length > 0) { @@ -1143,16 +1299,16 @@ proto.fonos.numbers.v1beta1.GetIngressInfoRequest.serializeBinaryToWriter = func * optional string e164_number = 1; * @return {string} */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest.prototype.getE164Number = function() { +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.prototype.getE164Number = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.GetIngressInfoRequest} returns this + * @return {!proto.fonoster.numbers.v1beta1.GetIngressInfoRequest} returns this */ -proto.fonos.numbers.v1beta1.GetIngressInfoRequest.prototype.setE164Number = function(value) { +proto.fonoster.numbers.v1beta1.GetIngressInfoRequest.prototype.setE164Number = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1173,8 +1329,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.DeleteNumberRequest.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.DeleteNumberRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.DeleteNumberRequest.toObject(opt_includeInstance, this); }; @@ -1183,11 +1339,11 @@ proto.fonos.numbers.v1beta1.DeleteNumberRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.DeleteNumberRequest} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.DeleteNumberRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.DeleteNumberRequest.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1203,23 +1359,23 @@ proto.fonos.numbers.v1beta1.DeleteNumberRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.DeleteNumberRequest} + * @return {!proto.fonoster.numbers.v1beta1.DeleteNumberRequest} */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.DeleteNumberRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.DeleteNumberRequest; - return proto.fonos.numbers.v1beta1.DeleteNumberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.DeleteNumberRequest; + return proto.fonoster.numbers.v1beta1.DeleteNumberRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.DeleteNumberRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.DeleteNumberRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.DeleteNumberRequest} + * @return {!proto.fonoster.numbers.v1beta1.DeleteNumberRequest} */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.DeleteNumberRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1243,9 +1399,9 @@ proto.fonos.numbers.v1beta1.DeleteNumberRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.DeleteNumberRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.DeleteNumberRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.DeleteNumberRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1253,11 +1409,11 @@ proto.fonos.numbers.v1beta1.DeleteNumberRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.DeleteNumberRequest} message + * @param {!proto.fonoster.numbers.v1beta1.DeleteNumberRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.DeleteNumberRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1273,16 +1429,16 @@ proto.fonos.numbers.v1beta1.DeleteNumberRequest.serializeBinaryToWriter = functi * optional string ref = 1; * @return {string} */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest.prototype.getRef = function() { +proto.fonoster.numbers.v1beta1.DeleteNumberRequest.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.DeleteNumberRequest} returns this + * @return {!proto.fonoster.numbers.v1beta1.DeleteNumberRequest} returns this */ -proto.fonos.numbers.v1beta1.DeleteNumberRequest.prototype.setRef = function(value) { +proto.fonoster.numbers.v1beta1.DeleteNumberRequest.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1303,8 +1459,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.Number.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.Number.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.Number.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.Number.toObject(opt_includeInstance, this); }; @@ -1313,17 +1469,17 @@ proto.fonos.numbers.v1beta1.Number.prototype.toObject = function(opt_includeInst * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.Number} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.Number} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.Number.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.Number.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, ""), providerRef: jspb.Message.getFieldWithDefault(msg, 2, ""), e164Number: jspb.Message.getFieldWithDefault(msg, 3, ""), aorLink: jspb.Message.getFieldWithDefault(msg, 4, ""), - ingressInfo: (f = msg.getIngressInfo()) && proto.fonos.numbers.v1beta1.IngressInfo.toObject(includeInstance, f), + ingressInfo: (f = msg.getIngressInfo()) && proto.fonoster.numbers.v1beta1.IngressInfo.toObject(includeInstance, f), createTime: jspb.Message.getFieldWithDefault(msg, 6, ""), updateTime: jspb.Message.getFieldWithDefault(msg, 7, "") }; @@ -1339,23 +1495,23 @@ proto.fonos.numbers.v1beta1.Number.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.Number} + * @return {!proto.fonoster.numbers.v1beta1.Number} */ -proto.fonos.numbers.v1beta1.Number.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.Number.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.Number; - return proto.fonos.numbers.v1beta1.Number.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.Number; + return proto.fonoster.numbers.v1beta1.Number.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.Number} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.Number} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.Number} + * @return {!proto.fonoster.numbers.v1beta1.Number} */ -proto.fonos.numbers.v1beta1.Number.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.Number.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1379,8 +1535,8 @@ proto.fonos.numbers.v1beta1.Number.deserializeBinaryFromReader = function(msg, r msg.setAorLink(value); break; case 5: - var value = new proto.fonos.numbers.v1beta1.IngressInfo; - reader.readMessage(value,proto.fonos.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader); + var value = new proto.fonoster.numbers.v1beta1.IngressInfo; + reader.readMessage(value,proto.fonoster.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader); msg.setIngressInfo(value); break; case 6: @@ -1404,9 +1560,9 @@ proto.fonos.numbers.v1beta1.Number.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.Number.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.Number.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.Number.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1414,11 +1570,11 @@ proto.fonos.numbers.v1beta1.Number.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.Number} message + * @param {!proto.fonoster.numbers.v1beta1.Number} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.Number.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.Number.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1453,7 +1609,7 @@ proto.fonos.numbers.v1beta1.Number.serializeBinaryToWriter = function(message, w writer.writeMessage( 5, f, - proto.fonos.numbers.v1beta1.IngressInfo.serializeBinaryToWriter + proto.fonoster.numbers.v1beta1.IngressInfo.serializeBinaryToWriter ); } f = message.getCreateTime(); @@ -1477,16 +1633,16 @@ proto.fonos.numbers.v1beta1.Number.serializeBinaryToWriter = function(message, w * optional string ref = 1; * @return {string} */ -proto.fonos.numbers.v1beta1.Number.prototype.getRef = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.Number} returns this + * @return {!proto.fonoster.numbers.v1beta1.Number} returns this */ -proto.fonos.numbers.v1beta1.Number.prototype.setRef = function(value) { +proto.fonoster.numbers.v1beta1.Number.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1495,16 +1651,16 @@ proto.fonos.numbers.v1beta1.Number.prototype.setRef = function(value) { * optional string provider_ref = 2; * @return {string} */ -proto.fonos.numbers.v1beta1.Number.prototype.getProviderRef = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.getProviderRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.Number} returns this + * @return {!proto.fonoster.numbers.v1beta1.Number} returns this */ -proto.fonos.numbers.v1beta1.Number.prototype.setProviderRef = function(value) { +proto.fonoster.numbers.v1beta1.Number.prototype.setProviderRef = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1513,16 +1669,16 @@ proto.fonos.numbers.v1beta1.Number.prototype.setProviderRef = function(value) { * optional string e164_number = 3; * @return {string} */ -proto.fonos.numbers.v1beta1.Number.prototype.getE164Number = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.getE164Number = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.Number} returns this + * @return {!proto.fonoster.numbers.v1beta1.Number} returns this */ -proto.fonos.numbers.v1beta1.Number.prototype.setE164Number = function(value) { +proto.fonoster.numbers.v1beta1.Number.prototype.setE164Number = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1531,44 +1687,44 @@ proto.fonos.numbers.v1beta1.Number.prototype.setE164Number = function(value) { * optional string aor_link = 4; * @return {string} */ -proto.fonos.numbers.v1beta1.Number.prototype.getAorLink = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.getAorLink = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.Number} returns this + * @return {!proto.fonoster.numbers.v1beta1.Number} returns this */ -proto.fonos.numbers.v1beta1.Number.prototype.setAorLink = function(value) { +proto.fonoster.numbers.v1beta1.Number.prototype.setAorLink = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; /** * optional IngressInfo ingress_info = 5; - * @return {?proto.fonos.numbers.v1beta1.IngressInfo} + * @return {?proto.fonoster.numbers.v1beta1.IngressInfo} */ -proto.fonos.numbers.v1beta1.Number.prototype.getIngressInfo = function() { - return /** @type{?proto.fonos.numbers.v1beta1.IngressInfo} */ ( - jspb.Message.getWrapperField(this, proto.fonos.numbers.v1beta1.IngressInfo, 5)); +proto.fonoster.numbers.v1beta1.Number.prototype.getIngressInfo = function() { + return /** @type{?proto.fonoster.numbers.v1beta1.IngressInfo} */ ( + jspb.Message.getWrapperField(this, proto.fonoster.numbers.v1beta1.IngressInfo, 5)); }; /** - * @param {?proto.fonos.numbers.v1beta1.IngressInfo|undefined} value - * @return {!proto.fonos.numbers.v1beta1.Number} returns this + * @param {?proto.fonoster.numbers.v1beta1.IngressInfo|undefined} value + * @return {!proto.fonoster.numbers.v1beta1.Number} returns this */ -proto.fonos.numbers.v1beta1.Number.prototype.setIngressInfo = function(value) { +proto.fonoster.numbers.v1beta1.Number.prototype.setIngressInfo = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. - * @return {!proto.fonos.numbers.v1beta1.Number} returns this + * @return {!proto.fonoster.numbers.v1beta1.Number} returns this */ -proto.fonos.numbers.v1beta1.Number.prototype.clearIngressInfo = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.clearIngressInfo = function() { return this.setIngressInfo(undefined); }; @@ -1577,7 +1733,7 @@ proto.fonos.numbers.v1beta1.Number.prototype.clearIngressInfo = function() { * Returns whether this field is set. * @return {boolean} */ -proto.fonos.numbers.v1beta1.Number.prototype.hasIngressInfo = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.hasIngressInfo = function() { return jspb.Message.getField(this, 5) != null; }; @@ -1586,16 +1742,16 @@ proto.fonos.numbers.v1beta1.Number.prototype.hasIngressInfo = function() { * optional string create_time = 6; * @return {string} */ -proto.fonos.numbers.v1beta1.Number.prototype.getCreateTime = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.getCreateTime = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.Number} returns this + * @return {!proto.fonoster.numbers.v1beta1.Number} returns this */ -proto.fonos.numbers.v1beta1.Number.prototype.setCreateTime = function(value) { +proto.fonoster.numbers.v1beta1.Number.prototype.setCreateTime = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; @@ -1604,16 +1760,16 @@ proto.fonos.numbers.v1beta1.Number.prototype.setCreateTime = function(value) { * optional string update_time = 7; * @return {string} */ -proto.fonos.numbers.v1beta1.Number.prototype.getUpdateTime = function() { +proto.fonoster.numbers.v1beta1.Number.prototype.getUpdateTime = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.Number} returns this + * @return {!proto.fonoster.numbers.v1beta1.Number} returns this */ -proto.fonos.numbers.v1beta1.Number.prototype.setUpdateTime = function(value) { +proto.fonoster.numbers.v1beta1.Number.prototype.setUpdateTime = function(value) { return jspb.Message.setProto3StringField(this, 7, value); }; @@ -1634,8 +1790,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.numbers.v1beta1.IngressInfo.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.numbers.v1beta1.IngressInfo.toObject(opt_includeInstance, this); +proto.fonoster.numbers.v1beta1.IngressInfo.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.numbers.v1beta1.IngressInfo.toObject(opt_includeInstance, this); }; @@ -1644,11 +1800,11 @@ proto.fonos.numbers.v1beta1.IngressInfo.prototype.toObject = function(opt_includ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.numbers.v1beta1.IngressInfo} msg The msg instance to transform. + * @param {!proto.fonoster.numbers.v1beta1.IngressInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.IngressInfo.toObject = function(includeInstance, msg) { +proto.fonoster.numbers.v1beta1.IngressInfo.toObject = function(includeInstance, msg) { var f, obj = { accessKeyId: jspb.Message.getFieldWithDefault(msg, 1, ""), webhook: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1665,23 +1821,23 @@ proto.fonos.numbers.v1beta1.IngressInfo.toObject = function(includeInstance, msg /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.numbers.v1beta1.IngressInfo} + * @return {!proto.fonoster.numbers.v1beta1.IngressInfo} */ -proto.fonos.numbers.v1beta1.IngressInfo.deserializeBinary = function(bytes) { +proto.fonoster.numbers.v1beta1.IngressInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.numbers.v1beta1.IngressInfo; - return proto.fonos.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.numbers.v1beta1.IngressInfo; + return proto.fonoster.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.numbers.v1beta1.IngressInfo} msg The message object to deserialize into. + * @param {!proto.fonoster.numbers.v1beta1.IngressInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.numbers.v1beta1.IngressInfo} + * @return {!proto.fonoster.numbers.v1beta1.IngressInfo} */ -proto.fonos.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1709,9 +1865,9 @@ proto.fonos.numbers.v1beta1.IngressInfo.deserializeBinaryFromReader = function(m * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.numbers.v1beta1.IngressInfo.prototype.serializeBinary = function() { +proto.fonoster.numbers.v1beta1.IngressInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.numbers.v1beta1.IngressInfo.serializeBinaryToWriter(this, writer); + proto.fonoster.numbers.v1beta1.IngressInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1719,11 +1875,11 @@ proto.fonos.numbers.v1beta1.IngressInfo.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.numbers.v1beta1.IngressInfo} message + * @param {!proto.fonoster.numbers.v1beta1.IngressInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.numbers.v1beta1.IngressInfo.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.numbers.v1beta1.IngressInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAccessKeyId(); if (f.length > 0) { @@ -1746,16 +1902,16 @@ proto.fonos.numbers.v1beta1.IngressInfo.serializeBinaryToWriter = function(messa * optional string access_key_id = 1; * @return {string} */ -proto.fonos.numbers.v1beta1.IngressInfo.prototype.getAccessKeyId = function() { +proto.fonoster.numbers.v1beta1.IngressInfo.prototype.getAccessKeyId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.IngressInfo} returns this + * @return {!proto.fonoster.numbers.v1beta1.IngressInfo} returns this */ -proto.fonos.numbers.v1beta1.IngressInfo.prototype.setAccessKeyId = function(value) { +proto.fonoster.numbers.v1beta1.IngressInfo.prototype.setAccessKeyId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1764,18 +1920,18 @@ proto.fonos.numbers.v1beta1.IngressInfo.prototype.setAccessKeyId = function(valu * optional string webhook = 2; * @return {string} */ -proto.fonos.numbers.v1beta1.IngressInfo.prototype.getWebhook = function() { +proto.fonoster.numbers.v1beta1.IngressInfo.prototype.getWebhook = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.numbers.v1beta1.IngressInfo} returns this + * @return {!proto.fonoster.numbers.v1beta1.IngressInfo} returns this */ -proto.fonos.numbers.v1beta1.IngressInfo.prototype.setWebhook = function(value) { +proto.fonoster.numbers.v1beta1.IngressInfo.prototype.setWebhook = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; -goog.object.extend(exports, proto.fonos.numbers.v1beta1); +goog.object.extend(exports, proto.fonoster.numbers.v1beta1); diff --git a/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/numbers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/numbers/src/service/runner.ts b/mods/numbers/src/service/runner.ts index 352d00b62..255f93054 100644 --- a/mods/numbers/src/service/runner.ts +++ b/mods/numbers/src/service/runner.ts @@ -1,13 +1,13 @@ #!/usr/bin/env node import NumbersServer from "./numbers"; import {NumbersService} from "./protos/numbers_grpc_pb"; -import {AuthMiddleware} from "@fonos/auth"; -import {getSalt} from "@fonos/certs"; -import {runServices} from "@fonos/common"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; const services = [ { - name: "sumbers", + name: "numbers", version: "v1beta1", service: NumbersService, server: new NumbersServer() diff --git a/mods/numbers/src/service/update_number.ts b/mods/numbers/src/service/update_number.ts index a1e0e7382..88b12038e 100644 --- a/mods/numbers/src/service/update_number.ts +++ b/mods/numbers/src/service/update_number.ts @@ -1,60 +1,62 @@ /* eslint-disable require-jsdoc */ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ -import {FonosInvalidArgument} from "@fonos/errors"; -import {ResourceBuilder, Kind, routr} from "@fonos/core"; +import {FonosterInvalidArgument} from "@fonoster/errors"; +import {ResourceBuilder, Kind, routr, ResourceServer} from "@fonoster/core"; import numberDecoder from "./decoder"; +import decoder from "./decoder"; export default async function updateNumber(call: any, callback: any) { - const number = call.request.getNumber(); - - if (number.getAorLink() && number.getIngressInfo()) { + const request = call.request; + if (request.getAorLink() && request.getIngressInfo()) { callback( - new FonosInvalidArgument( + new FonosterInvalidArgument( "'ingressInfo' and 'aorLink' are not compatible parameters" ) ); return; - } else if (!number.getAorLink() && !number.getIngressInfo()) { + } else if (!request.getAorLink() && !request.getIngressInfo()) { callback( - new FonosInvalidArgument( + new FonosterInvalidArgument( "You must provider either an 'ingressInfo' or and 'aorLink'" ) ); return; } + const objectFromDB = decoder( + await ResourceServer.getResource(Kind.NUMBER, call) + ); let encoder = new ResourceBuilder( Kind.NUMBER, - number.getE164Number(), - number.getRef() + objectFromDB.getE164Number(), + objectFromDB.getRef() ); - if (number.getAorLink()) { + if (request.getAorLink()) { encoder = encoder - .withLocation(`tel:${number.getE164Number()}`, number.getAorLink()) + .withLocation(`tel:${objectFromDB.getE164Number()}`, request.getAorLink()) .withMetadata({ - gwRef: number.getProviderRef(), - createdOn: number.getCreateTime(), - modifiedOn: number.getUpdateTime() + gwRef: request.getProviderRef(), + createdOn: objectFromDB.getCreateTime() }); } else { encoder = encoder - .withLocation(`tel:${number.getE164Number()}`, process.env.MS_ENDPOINT) + .withLocation( + `tel:${objectFromDB.getE164Number()}`, + process.env.MS_ENDPOINT + ) .withMetadata({ - webhook: number.getIngressInfo() - ? number.getIngressInfo().getWebhook() + webhook: request.getIngressInfo() + ? request.getIngressInfo().getWebhook().trim() : undefined, - gwRef: number.getProviderRef(), - createdOn: number.getCreateTime(), - modifiedOn: number.getUpdateTime() + gwRef: objectFromDB.getProviderRef(), + createdOn: objectFromDB.getCreateTime() }); } - const resource = encoder.build(); - try { await routr.connect(); - const ref = await routr.resourceType("numbers").update(resource); + const ref = await routr.resourceType("numbers").update(encoder.build()); // We do this to get updated metadata from Routr const jsonObj = await routr.resourceType("numbers").get(ref); diff --git a/mods/numbers/test/numbers.unit.test.ts b/mods/numbers/test/numbers.unit.test.ts index c4e07e6d3..d14cf38c6 100644 --- a/mods/numbers/test/numbers.unit.test.ts +++ b/mods/numbers/test/numbers.unit.test.ts @@ -3,7 +3,7 @@ import chai from "chai"; import sinonChai from "sinon-chai"; import sinon from "sinon"; import chaiAsPromised from "chai-as-promised"; -import {FonosService} from "@fonos/common"; +import {APIClient} from "@fonoster/common"; import {NumbersPB} from "../src/client/numbers"; import {CreateNumberResponse} from "../src/client/types"; import numberDecoder from "../src/service/decoder"; @@ -13,7 +13,7 @@ chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@fonos/number", () => { +describe("@fonoster/number", () => { const numberObj = new NumbersPB.Number(); const ingressInfo = new NumbersPB.IngressInfo(); ingressInfo.setWebhook("https://webhooks.acme.com/calls"); @@ -41,16 +41,14 @@ describe("@fonos/number", () => { afterEach(() => sandbox.restore()); it("should create a number", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - const stubNumber = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - createNumber: () => { - return { - sendMessage: () => Promise.resolve(numberObj) - }; - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubNumber = sandbox.stub(APIClient.prototype, "getService").returns({ + createNumber: () => { + return { + sendMessage: () => Promise.resolve(numberObj) + }; + } + }); const numbers = new Numbers(); const result: CreateNumberResponse = await numbers.createNumber({ @@ -63,8 +61,8 @@ describe("@fonos/number", () => { }); it("should get a number by ref", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ getNumber: () => { return { sendMessage: () => Promise.resolve(numberObj) @@ -90,16 +88,14 @@ describe("@fonos/number", () => { const refReturn = { ref: numberPlain.ref }; - sandbox.stub(FonosService.prototype, "init").returns(); - const stubNumber = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - deleteNumber: () => { - return { - sendMessage: () => Promise.resolve(refReturn) - }; - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubNumber = sandbox.stub(APIClient.prototype, "getService").returns({ + deleteNumber: () => { + return { + sendMessage: () => Promise.resolve(refReturn) + }; + } + }); const numbers = new Numbers(); const result = await numbers.deleteNumber(numberPlain.ref); @@ -115,22 +111,20 @@ describe("@fonos/number", () => { view: 0 }; - sandbox.stub(FonosService.prototype, "init").returns(); - const stubNumber = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - listNumbers: () => { - return { - sendMessage: () => - Promise.resolve({ - getNextPageToken: () => { - return "1"; - }, - getNumbersList: () => [numberObj] - }) - }; - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubNumber = sandbox.stub(APIClient.prototype, "getService").returns({ + listNumbers: () => { + return { + sendMessage: () => + Promise.resolve({ + getNextPageToken: () => { + return "1"; + }, + getNumbersList: () => [numberObj] + }) + }; + } + }); const numbers = new Numbers(); const result = await numbers.listNumbers(request); @@ -163,8 +157,8 @@ describe("@fonos/number", () => { } }; - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ getNumber: () => { return { sendMessage: () => Promise.resolve(numberObj) @@ -182,8 +176,8 @@ describe("@fonos/number", () => { const request = { ref: numberPlain.ref }; - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ getNumber: () => { return { sendMessage: () => Promise.resolve(numberObj) @@ -202,10 +196,10 @@ describe("@fonos/number", () => { ref: numberPlain.ref, aorLink: numberPlain.aorLink }; - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const returnNumberDb = new NumbersPB.Number(); returnNumberDb.setRef(request.ref); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "getService").returns({ updateNumber: () => { return { sendMessage: () => Promise.resolve(returnNumberDb) @@ -234,8 +228,8 @@ describe("@fonos/number", () => { const returnNumberDb = new NumbersPB.Number(); returnNumberDb.setRef(request.ref); - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ updateNumber: () => { return { sendMessage: () => Promise.resolve(returnNumberDb) @@ -257,8 +251,8 @@ describe("@fonos/number", () => { const returnIngressInfo = new NumbersPB.IngressInfo(); returnIngressInfo.setWebhook("https://webhooks.acme.com/calls"); - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ getIngressInfo: () => { return { sendMessage: () => Promise.resolve(returnIngressInfo) diff --git a/mods/projects/.dockerignore b/mods/projects/.dockerignore new file mode 100644 index 000000000..b512c09d4 --- /dev/null +++ b/mods/projects/.dockerignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/mods/projects/.lerna-changed-buster-7825 b/mods/projects/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/projects/.npmignore b/mods/projects/.npmignore new file mode 100644 index 000000000..d188afa88 --- /dev/null +++ b/mods/projects/.npmignore @@ -0,0 +1,6 @@ +node_modules +.nyc_output +coverage +src +test +*.log diff --git a/mods/projects/Dockerfile b/mods/projects/Dockerfile new file mode 100644 index 000000000..8b8425828 --- /dev/null +++ b/mods/projects/Dockerfile @@ -0,0 +1,11 @@ +FROM fonoster/base +COPY . /scripts +RUN ./install.sh +RUN link /usr/bin/run_projects /usr/bin/run \ + && link /usr/bin/healthcheck_projects /usr/bin/healthcheck +USER fonoster +HEALTHCHECK --interval=30s \ + --timeout=30s \ + --start-period=5s \ + --retries=3 \ + CMD [ "healthcheck" ] diff --git a/mods/projects/package.json b/mods/projects/package.json new file mode 100644 index 000000000..bd56d5211 --- /dev/null +++ b/mods/projects/package.json @@ -0,0 +1,58 @@ +{ + "name": "@fonoster/projects", + "version": "0.2.40", + "description": "User Projects", + "author": "Pedro Sanders ", + "homepage": "https://github.com/fonoster/fonoster#readme", + "license": "MIT", + "main": "dist/client/projects", + "types": "dist/client/projects", + "scripts": { + "prebuild": "rimraf ./dist tsconfig.tsbuildinfo", + "postbuild": "cp -a ./src/service/protos/ ./dist/service/protos", + "build": "tsc -b tsconfig.json", + "start": "cross-env NODE_ENV=dev nodemon src/srv_runner" + }, + "bin": { + "run_projects": "dist/service/runner.js", + "healthcheck_projects": "dist/service/healthcheck.js" + }, + "nodemonConfig": { + "watch": [ + "../" + ], + "ext": "ts", + "exec": "ts-node", + "ignore": "**/*.d.ts" + }, + "directories": { + "src": "src", + "test": "test" + }, + "files": [ + "dist" + ], + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/fonoster/fonoster.git" + }, + "bugs": { + "url": "https://github.com/fonoster/fonoster/issues" + }, + "dependencies": { + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "objectid": "^3.2.1" + }, + "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" +} diff --git a/mods/projects/src/client/projects.ts b/mods/projects/src/client/projects.ts new file mode 100644 index 000000000..7853bd7ef --- /dev/null +++ b/mods/projects/src/client/projects.ts @@ -0,0 +1,276 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {APIClient, ClientOptions} from "@fonoster/common"; +import {ProjectsClient} from "../service/protos/projects_grpc_pb"; +import ProjectsPB from "../service/protos/projects_pb"; +import CommonPB from "../service/protos/common_pb"; +import {promisifyAll} from "grpc-promise"; +import { + CreateProjectRequest, + CreateProjectResponse, + DeleteProjectResponse, + GetProjectResponse, + UpdateProjectRequest, + UpdateProjectResponse, + RenewAccessKeySecretRequest, + RenewAccessKeySecretResponse, + IProjectsClient, + ListProjectsRequest, + ListProjectsResponse +} from "./types"; + +/** + * @classdesc Use Fonoster Projects, a capability of Fonoster, + * to create, update, get and delete Projects. Projects requires of a + * running Fonoster deployment. + * + * @extends APIClient + * @example + * + * const Fonoster = require("@fonoster/sdk") + * const Projects = new Fonoster.Projects() + * + * const request = { + * name: "project002", + * allowExperiments: false + * } + * + * projects.createProject(request) + * .then(result => { + * console.log(result) // successful response + * }).catch(e => console.error(e)) // an error occurred + */ +export default class Projects extends APIClient implements IProjectsClient { + /** + * Constructs a new Projects object. + * + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient + */ + constructor(options?: ClientOptions) { + super(ProjectsClient, options); + super.init(); + promisifyAll(super.getService(), {metadata: super.getMeta()}); + } + + /** + * Returns a list of Projects + * + * @param {ListProjectsRequest} request - Reserved for future filters + * @return {Promise} + * @example + * + * projects.listProjects({}) + * .then(result => { + * console.log(result) // successful response + * }).catch(e => console.error(e)) // an error occurred + */ + async listProjects( + // eslint-disable-next-line @typescript-eslint/no-unused-vars + request?: ListProjectsRequest + ): Promise { + const res = new ProjectsPB.ListProjectsRequest(); + const paginatedList = await super + .getService() + .listProjects() + .sendMessage(res); + + return { + projects: paginatedList.getProjectsList().map((p: ProjectsPB.Project) => { + return { + ref: p.getRef(), + name: p.getName(), + userRef: p.getUserRef(), + accessKeyId: p.getAccessKeyId(), + accessKeySecret: p.getAccessKeySecret(), + allowExperiments: p.getAllowExperiments(), + createTime: p.getCreateTime(), + updateTime: p.getUpdateTime() + }; + }) + }; + } + + /** + * Creates a new Project. + * + * @param {CreateProjectRequest} request - Request to create a new Project + * @param {string} request.name - Project's name + * @param {string} request.allowExperiments - Enables experimental APIs + * @return {Promise} + * @example + * + * const request = { + * name: "project001", + * allowExperiments: true + * } + * + * projects.createProject(request) + * .then(result => { + * console.log(result) // successful response + * }).catch(e => console.error(e)) // an error occurred + */ + async createProject( + request: CreateProjectRequest + ): Promise { + const project = new ProjectsPB.CreateProjectRequest(); + project.setName(request.name); + project.setAllowExperiments(request.allowExperiments); + + const res = await super.getService().createProject().sendMessage(project); + + return { + ref: res.getRef(), + name: res.getName(), + userRef: res.getUserRef(), + accessKeyId: res.getAccessKeyId(), + accessKeySecret: res.getAccessKeySecret(), + allowExperiments: res.getAllowExperiments(), + createTime: res.getCreateTime(), + updateTime: res.getUpdateTime() + }; + } + + /** + * Get a Project by reference. + * + * @param {string} ref - Reference to Project + * @return {Promise} The Project + * @throws if ref is null or Project does not exist + * @example + * + * const ref = "507f1f77bcf86cd799439011"; + * + * projects.getProject(ref) + * .then(result => { + * console.log(result) // returns the Project payload + * }).catch(e => console.error(e)) // an error occurred + */ + async getProject(ref: string): Promise { + const request = new ProjectsPB.GetProjectRequest(); + request.setRef(ref); + const res = await super.getService().getProject().sendMessage(request); + + return { + ref: res.getRef(), + name: res.getName(), + userRef: res.getUserRef(), + accessKeyId: res.getAccessKeyId(), + accessKeySecret: res.getAccessKeySecret(), + allowExperiments: res.getAllowExperiments(), + createTime: res.getCreateTime(), + updateTime: res.getUpdateTime() + }; + } + + /** + * Update a Project. + * + * @param {UpdateProjectRequest} request - Request update of an Project + * @param {string} request.ref - Required reference to the Project + * @param {string} request.name - Value to rename the application to + * @param {string} request.allowExperiments - Enables experimental APIs + * @return {Promise} + * @example + * + * const request = { + * name: "project001", + * ref: "507f1f77bcf86cd799439011" + * } + * + * projects.updateProject(request) + * .then(result => { + * console.log(result) // returns the UpdateProjectResponse payload + * }).catch(e => console.error(e)) // an error occurred + */ + async updateProject( + request: UpdateProjectRequest + ): Promise { + const req = new ProjectsPB.UpdateProjectRequest(); + req.setRef(request.ref); + + if (request.name) req.setName(request.name); + if (request.allowExperiments) req.setName(request.name); + + const res = await super.getService().updateProject().sendMessage(req); + + return { + ref: res.getRef() + }; + } + + /** + * Delete a Project. + * + * @param {string} ref - Project's reference + * @example + * + * const ref = "507f1f77bcf86cd799439011" + * + * projects.deleteProject(ref) + * .then(() => { + * console.log("done") // returns a reference of the Project + * }).catch(e => console.error(e)) // an error occurred + */ + async deleteProject(ref: string): Promise { + const req = new ProjectsPB.DeleteProjectRequest(); + req.setRef(ref); + await super.getService().deleteProject().sendMessage(req); + return {ref}; + } + + /** + * Generate a new accessKeySecret. Be sure to update your applications with the new value. + * + * @param {LoginRequest} request - Request update of an Project + * @param {string} request.ref - Project's reference + * @example + * + * const request = { + * ref: "507f1f77bcf86cd799439011" + * } + * + * projects.renewAccessKeySecret(request) + * .then(result => { + * console.log(result) // returns the new accessKeySecret + * }).catch(e => console.error(e)) // an error occurred + */ + async renewAccessKeySecret( + request: RenewAccessKeySecretRequest + ): Promise { + const req = new ProjectsPB.RenewAccessKeySecretRequest(); + req.setRef(request.ref); + + const res = await super + .getService() + .renewAccessKeySecret() + .sendMessage(req); + + return { + accessKeySecret: res.getAccessKeySecret() + }; + } +} + +export {ProjectsPB, CommonPB, IProjectsClient}; + +// WARNING: Workaround for support to commonjs clients +module.exports = Projects; +module.exports.ProjectsPB = ProjectsPB; +module.exports.CommonPB = CommonPB; diff --git a/mods/projects/src/client/types.ts b/mods/projects/src/client/types.ts new file mode 100644 index 000000000..07721f11b --- /dev/null +++ b/mods/projects/src/client/types.ts @@ -0,0 +1,100 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export interface IProjectsClient { + createProject(request: CreateProjectRequest): Promise; + getProject(ref: string): Promise; + updateProject(request: UpdateProjectRequest): Promise; + listProjects(request: ListProjectsRequest): Promise; + deleteProject(ref: string): Promise; +} + +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface ListProjectsRequest {} +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface ListProjectsResponse { + projects: Project[]; +} + +export interface Project { + ref: string; + name: string; + userRef: string; + accessKeyId: string; + accessKeySecret: string; + allowExperiments: string; + createTime: string; + updateTime: string; +} + +export interface CreateProjectRequest { + name: string; + allowExperiments: boolean; +} + +export interface CreateProjectResponse { + ref: string; + name: string; + userRef: string; + accessKeyId: string; + accessKeySecret: string; + allowExperiments: string; + createTime: string; + updateTime: string; +} + +export interface UpdateProjectRequest { + ref: string; + name?: string; + allowExperiments: boolean; +} + +export interface UpdateProjectResponse { + ref: string; +} + +export interface GetProjectRequest { + ref: string; +} + +export interface GetProjectResponse { + ref: string; + name: string; + userRef: string; + accessKeyId: string; + accessKeySecret: string; + allowExperiments: string; + createTime: string; + updateTime: string; +} + +export interface DeleteProjectRequest { + ref: string; +} + +export interface DeleteProjectResponse { + ref: string; +} + +export interface RenewAccessKeySecretRequest { + ref: string; +} + +export interface RenewAccessKeySecretResponse { + accessKeySecret: string; +} diff --git a/mods/projects/src/protos/projects.proto b/mods/projects/src/protos/projects.proto new file mode 100644 index 000000000..e3f3b718f --- /dev/null +++ b/mods/projects/src/protos/projects.proto @@ -0,0 +1,109 @@ +/** +* MIT License +* Copyright (c) 2021 Fonoster Inc +* +* The Users proto contains the artificats for the administration +* of Users. +*/ +syntax = "proto3"; + +package fonoster.projects.v1beta1; + +option go_package = "github.com/fonoster/fonoster/mods/users/fonoster/services/protos/users"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "common.proto"; + +service Projects { + // Lists all the Projects for a given User + rpc ListProjects (ListProjectsRequest) returns (ListProjectsResponse) { + option (google.api.http) = { get: "/v1beta1/projects" }; + }; + // Creates a new Project resource + rpc CreateProject (CreateProjectRequest) returns (Project) { + option (google.api.http) = { + post: "/v1beta1/projects" + body: "*" + }; + }; + // Updates a given Project + rpc UpdateProject (UpdateProjectRequest) returns (Project) { + option (google.api.http) = { + put: "/v1beta1/projects/{ref}" + body: "*" + }; + }; + // Gets a Project by AccessKeyId + rpc GetProject (GetProjectRequest) returns (Project) { + option (google.api.http) = { get: "/v1beta1/projects/{ref}" }; + }; + // WARNING: Hard delete of a Project will remove all related resources + rpc DeleteProject (DeleteProjectRequest) returns (fonoster.common.v1beta1.Empty) { + option (google.api.http) = { delete: "/v1beta1/projects/{ref}" }; + }; + // Regenerates the accessKeySecret + rpc RenewAccessKeySecret (RenewAccessKeySecretRequest) returns (RenewAccessKeySecretResponse) { + option (google.api.http) = { get: "/v1beta1/projects/{ref}/credentials" }; + }; +} + +message ListProjectsRequest { +} + +message ListProjectsResponse { + repeated Project projects = 1; +} + +message CreateProjectRequest { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"Acme Corp\"}" + }; + string name = 1 [(google.api.field_behavior) = REQUIRED]; + bool allow_experiments = 2; +} + +message UpdateProjectRequest { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"Acme Corp 2\", \"allowExperiments\": true}" + }; + // Project's reference + string ref = 1; + string name = 2; + bool allow_experiments = 3 [(google.api.field_behavior) = REQUIRED]; +} + +message GetProjectRequest { + // Project's reference + string ref = 1; +} + +message DeleteProjectRequest { + // Project's reference + string ref = 1; +} + +message RenewAccessKeySecretRequest { + // Project's reference + string ref = 1; +} + +message RenewAccessKeySecretResponse { + string access_key_secret = 1; +} + +message Project { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"ref\": \"507f191e810c19729de860ea\", \"userRef\": \"057d191e810c19563de45767\", \"name\": \"Acme Main\", \"accessKeyId\": \"507f191e810c19729de860ea\", \"accessKeySecret\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\", \"allowExperiments\": false, \"createTime\": \"2021-10-05T13:23:07.221Z\", \"updateTime\": \"2021-10-05T13:23:07.221Z\"}" + }; + string name = 1 [(google.api.field_behavior) = REQUIRED]; + // Project's reference + string ref = 2 [(google.api.field_behavior) = REQUIRED]; + string user_ref = 3 [(google.api.field_behavior) = REQUIRED]; + string access_key_id = 4 [(google.api.field_behavior) = REQUIRED]; + string access_key_secret = 5 [(google.api.field_behavior) = REQUIRED]; + bool allow_experiments = 6; + string create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + string update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/mods/projects/src/service/assertions.ts b/mods/projects/src/service/assertions.ts new file mode 100644 index 000000000..0e54edb9f --- /dev/null +++ b/mods/projects/src/service/assertions.ts @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {FonosterError, ErrorCodes} from "@fonoster/errors"; + +// TODO: Move to @fonoster/common +export const assertNotEmpty = (name: string, value: string): void => { + if (value.length == 0) + throw new FonosterError( + `the parameter '${name}' is required but was not found`, + ErrorCodes.INVALID_ARGUMENT + ); +}; diff --git a/mods/projects/src/service/decoder.ts b/mods/projects/src/service/decoder.ts new file mode 100644 index 000000000..0036ff4c0 --- /dev/null +++ b/mods/projects/src/service/decoder.ts @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {Project} from "./protos/projects_pb"; + +export default (raw: string): Project => { + const projectJSON = JSON.parse(raw); + const project = new Project(); + project.setRef(projectJSON.ref); + project.setUserRef(projectJSON.userRef); + project.setAccessKeyId(projectJSON.accessKeyId); + project.setAccessKeySecret(projectJSON.accessKeySecret); + project.setName(projectJSON.name); + project.setAllowExperiments(projectJSON.allowExperiments); + project.setCreateTime(projectJSON.createTime); + project.setUpdateTime(projectJSON.updateTime); + return project; +}; diff --git a/mods/projects/src/service/encoder.ts b/mods/projects/src/service/encoder.ts new file mode 100644 index 000000000..16b296560 --- /dev/null +++ b/mods/projects/src/service/encoder.ts @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {Project} from "./protos/projects_pb"; + +export default (project: Project): string => { + const projectJSON = { + ref: project.getRef(), + userRef: project.getUserRef(), + accessKeyId: project.getAccessKeyId(), + accessKeySecret: project.getAccessKeySecret(), + name: project.getName(), + allowExperiments: project.getAllowExperiments(), + createTime: project.getCreateTime(), + updateTime: project.getUpdateTime() + }; + return JSON.stringify(projectJSON); +}; diff --git a/mods/projects/src/service/healthcheck.ts b/mods/projects/src/service/healthcheck.ts new file mode 100644 index 000000000..eb0e7f693 --- /dev/null +++ b/mods/projects/src/service/healthcheck.ts @@ -0,0 +1,21 @@ +#!/usr/bin/env node +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// import {healthcheck} from "@fonoster/common"; +// healthcheck(); diff --git a/mods/projects/src/service/projects.ts b/mods/projects/src/service/projects.ts new file mode 100644 index 000000000..fd2041b15 --- /dev/null +++ b/mods/projects/src/service/projects.ts @@ -0,0 +1,235 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* eslint-disable require-jsdoc */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ +import grpc from "@grpc/grpc-js"; +import ProjectsPB, { + ListProjectsRequest, + ListProjectsResponse, + CreateProjectRequest, + UpdateProjectRequest, + GetProjectRequest, + DeleteProjectRequest, + RenewAccessKeySecretRequest, + RenewAccessKeySecretResponse, + Project +} from "./protos/projects_pb"; +import {Empty} from "./protos/common_pb"; +import { + IProjectsService, + ProjectsService, + IProjectsServer +} from "./protos/projects_grpc_pb"; +import {getRedisConnection, getAccessKeyId} from "@fonoster/core"; +import objectid from "objectid"; +import encoder from "./encoder"; +import {assertNotEmpty} from "./assertions"; +import JWT from "@fonoster/auth/dist/utils/jwt"; +import {AUTH_ISS, getSalt} from "@fonoster/certs"; +import Auth from "@fonoster/auth/dist/utils/auth_utils"; +import decoder from "./decoder"; +import {ErrorCodes, FonosterError} from "@fonoster/errors"; +const authenticator = new Auth(new JWT()); +const redis = getRedisConnection(); + +class ProjectsServer implements IProjectsServer { + [name: string]: grpc.UntypedHandleCall; + async createProject( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ): Promise { + try { + assertNotEmpty("name", call.request.getName()); + + // Prefixing Project's accessKeyID to avoid confusion with user accounts + const ref = "PJ" + objectid(); + const userRef = getAccessKeyId(call); + const project = new ProjectsPB.Project(); + + const result = await authenticator.createToken( + ref, + AUTH_ISS, + "PROJECT", + getSalt(), + "1y" + ); + + project.setRef(ref); + project.setAccessKeyId(ref); + project.setUserRef(userRef); + project.setAccessKeySecret(result.accessToken); + project.setName(call.request.getName()); + project.setAllowExperiments(call.request.getAllowExperiments()); + project.setUpdateTime(new Date().toISOString()); + project.setCreateTime(new Date().toISOString()); + + redis.set(ref, encoder(project)); + redis.sadd("u_" + userRef, ref); + callback(null, project); + } catch (e) { + callback(e, null); + } + } + + async updateProject( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + const ref = call.request.getRef(); + const raw = await redis.get(ref); + if (!raw) throw new FonosterError("not found", ErrorCodes.NOT_FOUND); + + const project = decoder(raw.toString()); + + if (getAccessKeyId(call) !== project.getUserRef()) { + throw new FonosterError( + "permission denied", + ErrorCodes.PERMISSION_DENIED + ); + } + + if (call.request.getName()) project.setName(call.request.getName()); + + // TODO: Make this parameter optional. + project.setAllowExperiments(call.request.getAllowExperiments()); + project.setUpdateTime(new Date().toISOString()); + redis.set(ref, encoder(project)); + callback(null, project); + } catch (e) { + callback(e, null); + } + } + + async getProject( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + const ref = call.request.getRef(); + const raw = await redis.get(ref); + if (!raw) throw new FonosterError("not found", ErrorCodes.NOT_FOUND); + + const project = decoder(raw.toString()); + + if (getAccessKeyId(call) !== project.getUserRef()) { + throw new FonosterError( + "permission denied", + ErrorCodes.PERMISSION_DENIED + ); + } + + callback(null, project); + } catch (e) { + callback(e, null); + } + } + + async deleteProject( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + const ref = call.request.getRef(); + const raw = await redis.get(ref); + if (!raw) throw new FonosterError("not found", ErrorCodes.NOT_FOUND); + + const project = decoder(raw.toString()); + + if (getAccessKeyId(call) !== project.getUserRef()) { + throw new FonosterError( + "permission denied", + ErrorCodes.PERMISSION_DENIED + ); + } + + redis.del(project.getRef()); + redis.srem("u_" + project.getUserRef(), project.getRef()); + + callback(null, new Empty()); + } catch (e) { + callback(e, null); + } + } + + async listProjects( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + const list = await redis.smembers("u_" + getAccessKeyId(call)); + const projects: Project[] = await Promise.all( + list.map(async (ref) => { + const raw = (await redis.get(ref)).toString(); + return decoder(raw); + }) + ); + + const response = new ListProjectsResponse(); + response.setProjectsList(projects); + + callback(null, response); + } catch (e) { + callback(e, null); + } + } + + async renewAccessKeySecret( + call: grpc.ServerUnaryCall< + RenewAccessKeySecretRequest, + RenewAccessKeySecretResponse + >, + callback: grpc.sendUnaryData + ) { + try { + const ref = call.request.getRef(); + const raw = await redis.get(ref); + if (!raw) throw new FonosterError("not found", ErrorCodes.NOT_FOUND); + + const project = decoder(raw.toString()); + + if (getAccessKeyId(call) !== project.getUserRef()) { + throw new FonosterError( + "permission denied", + ErrorCodes.PERMISSION_DENIED + ); + } + + const result = await authenticator.createToken( + project.getAccessKeyId(), + AUTH_ISS, + "PROJECT", + getSalt(), + "1y" + ); + + project.setAccessKeySecret(result.accessToken); + project.setUpdateTime(new Date().toISOString()); + redis.set(project.getRef(), encoder(project)); + + const response = new RenewAccessKeySecretResponse(); + response.setAccessKeySecret(result.accessToken); + callback(null, response); + } catch (e) { + callback(e, null); + } + } +} + +export {ProjectsServer as default, IProjectsService, ProjectsService}; diff --git a/mods/projects/src/service/protos/common_grpc_pb.js b/mods/projects/src/service/protos/common_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/projects/src/service/protos/common_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/projects/src/service/protos/common_pb.d.ts b/mods/projects/src/service/protos/common_pb.d.ts new file mode 100644 index 000000000..f8b5fb810 --- /dev/null +++ b/mods/projects/src/service/protos/common_pb.d.ts @@ -0,0 +1,54 @@ +// package: fonoster.common.v1beta1 +// file: common.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; + +export class Empty extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; +} + +export namespace Empty { + export type AsObject = { + } +} + +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; +} + +export namespace ErrorResponse { + export type AsObject = { + status: number, + message: string, + } +} + +export enum View { + BASIC = 0, + STANDARD = 1, + FULL = 2, +} diff --git a/mods/projects/src/service/protos/common_pb.js b/mods/projects/src/service/protos/common_pb.js new file mode 100644 index 000000000..b7f99c7ea --- /dev/null +++ b/mods/projects/src/service/protos/common_pb.js @@ -0,0 +1,335 @@ +// source: common.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.Empty = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.Empty} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { + var f, obj = { + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * @enum {number} + */ +proto.fonoster.common.v1beta1.View = { + BASIC: 0, + STANDARD: 1, + FULL: 2 +}; + +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/projects/src/service/protos/google/api/annotations_grpc_pb.js b/mods/projects/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/projects/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/projects/src/service/protos/google/api/annotations_pb.d.ts b/mods/projects/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/projects/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/projects/src/service/protos/google/api/annotations_pb.js b/mods/projects/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/projects/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/projects/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/projects/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/projects/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/projects/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/projects/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/projects/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/projects/src/service/protos/google/api/field_behavior_pb.js b/mods/projects/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/projects/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/projects/src/service/protos/google/api/http_grpc_pb.js b/mods/projects/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/projects/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/projects/src/service/protos/google/api/http_pb.d.ts b/mods/projects/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/projects/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/projects/src/service/protos/google/api/http_pb.js b/mods/projects/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/projects/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/projects/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/projects/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/projects/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/projects/src/service/protos/google/api/httpbody_pb.d.ts b/mods/projects/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/projects/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/projects/src/service/protos/google/api/httpbody_pb.js b/mods/projects/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/projects/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/projects/src/service/protos/projects_grpc_pb.d.ts b/mods/projects/src/service/protos/projects_grpc_pb.d.ts new file mode 100644 index 000000000..153dd6a64 --- /dev/null +++ b/mods/projects/src/service/protos/projects_grpc_pb.d.ts @@ -0,0 +1,130 @@ +// package: fonoster.projects.v1beta1 +// file: projects.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; +import * as projects_pb from "./projects_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; +import * as common_pb from "./common_pb"; + +interface IProjectsService extends grpc.ServiceDefinition { + listProjects: IProjectsService_IListProjects; + createProject: IProjectsService_ICreateProject; + updateProject: IProjectsService_IUpdateProject; + getProject: IProjectsService_IGetProject; + deleteProject: IProjectsService_IDeleteProject; + renewAccessKeySecret: IProjectsService_IRenewAccessKeySecret; +} + +interface IProjectsService_IListProjects extends grpc.MethodDefinition { + path: "/fonoster.projects.v1beta1.Projects/ListProjects"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IProjectsService_ICreateProject extends grpc.MethodDefinition { + path: "/fonoster.projects.v1beta1.Projects/CreateProject"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IProjectsService_IUpdateProject extends grpc.MethodDefinition { + path: "/fonoster.projects.v1beta1.Projects/UpdateProject"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IProjectsService_IGetProject extends grpc.MethodDefinition { + path: "/fonoster.projects.v1beta1.Projects/GetProject"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IProjectsService_IDeleteProject extends grpc.MethodDefinition { + path: "/fonoster.projects.v1beta1.Projects/DeleteProject"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IProjectsService_IRenewAccessKeySecret extends grpc.MethodDefinition { + path: "/fonoster.projects.v1beta1.Projects/RenewAccessKeySecret"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const ProjectsService: IProjectsService; + +export interface IProjectsServer extends grpc.UntypedServiceImplementation { + listProjects: grpc.handleUnaryCall; + createProject: grpc.handleUnaryCall; + updateProject: grpc.handleUnaryCall; + getProject: grpc.handleUnaryCall; + deleteProject: grpc.handleUnaryCall; + renewAccessKeySecret: grpc.handleUnaryCall; +} + +export interface IProjectsClient { + listProjects(request: projects_pb.ListProjectsRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.ListProjectsResponse) => void): grpc.ClientUnaryCall; + listProjects(request: projects_pb.ListProjectsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.ListProjectsResponse) => void): grpc.ClientUnaryCall; + listProjects(request: projects_pb.ListProjectsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.ListProjectsResponse) => void): grpc.ClientUnaryCall; + createProject(request: projects_pb.CreateProjectRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + createProject(request: projects_pb.CreateProjectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + createProject(request: projects_pb.CreateProjectRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + updateProject(request: projects_pb.UpdateProjectRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + updateProject(request: projects_pb.UpdateProjectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + updateProject(request: projects_pb.UpdateProjectRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + getProject(request: projects_pb.GetProjectRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + getProject(request: projects_pb.GetProjectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + getProject(request: projects_pb.GetProjectRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + deleteProject(request: projects_pb.DeleteProjectRequest, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + deleteProject(request: projects_pb.DeleteProjectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + deleteProject(request: projects_pb.DeleteProjectRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + renewAccessKeySecret(request: projects_pb.RenewAccessKeySecretRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.RenewAccessKeySecretResponse) => void): grpc.ClientUnaryCall; + renewAccessKeySecret(request: projects_pb.RenewAccessKeySecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.RenewAccessKeySecretResponse) => void): grpc.ClientUnaryCall; + renewAccessKeySecret(request: projects_pb.RenewAccessKeySecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.RenewAccessKeySecretResponse) => void): grpc.ClientUnaryCall; +} + +export class ProjectsClient extends grpc.Client implements IProjectsClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); + public listProjects(request: projects_pb.ListProjectsRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.ListProjectsResponse) => void): grpc.ClientUnaryCall; + public listProjects(request: projects_pb.ListProjectsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.ListProjectsResponse) => void): grpc.ClientUnaryCall; + public listProjects(request: projects_pb.ListProjectsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.ListProjectsResponse) => void): grpc.ClientUnaryCall; + public createProject(request: projects_pb.CreateProjectRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public createProject(request: projects_pb.CreateProjectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public createProject(request: projects_pb.CreateProjectRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public updateProject(request: projects_pb.UpdateProjectRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public updateProject(request: projects_pb.UpdateProjectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public updateProject(request: projects_pb.UpdateProjectRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public getProject(request: projects_pb.GetProjectRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public getProject(request: projects_pb.GetProjectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public getProject(request: projects_pb.GetProjectRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.Project) => void): grpc.ClientUnaryCall; + public deleteProject(request: projects_pb.DeleteProjectRequest, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + public deleteProject(request: projects_pb.DeleteProjectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + public deleteProject(request: projects_pb.DeleteProjectRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + public renewAccessKeySecret(request: projects_pb.RenewAccessKeySecretRequest, callback: (error: grpc.ServiceError | null, response: projects_pb.RenewAccessKeySecretResponse) => void): grpc.ClientUnaryCall; + public renewAccessKeySecret(request: projects_pb.RenewAccessKeySecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: projects_pb.RenewAccessKeySecretResponse) => void): grpc.ClientUnaryCall; + public renewAccessKeySecret(request: projects_pb.RenewAccessKeySecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: projects_pb.RenewAccessKeySecretResponse) => void): grpc.ClientUnaryCall; +} diff --git a/mods/projects/src/service/protos/projects_grpc_pb.js b/mods/projects/src/service/protos/projects_grpc_pb.js new file mode 100644 index 000000000..b336e7aee --- /dev/null +++ b/mods/projects/src/service/protos/projects_grpc_pb.js @@ -0,0 +1,204 @@ +// GENERATED CODE -- DO NOT EDIT! + +// Original file comments: +// * +// MIT License +// Copyright (c) 2021 Fonoster Inc +// +// The Users proto contains the artificats for the administration +// of Users. +'use strict'; +var grpc = require('@grpc/grpc-js'); +var projects_pb = require('./projects_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +var common_pb = require('./common_pb.js'); + +function serialize_fonoster_common_v1beta1_Empty(arg) { + if (!(arg instanceof common_pb.Empty)) { + throw new Error('Expected argument of type fonoster.common.v1beta1.Empty'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_common_v1beta1_Empty(buffer_arg) { + return common_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_CreateProjectRequest(arg) { + if (!(arg instanceof projects_pb.CreateProjectRequest)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.CreateProjectRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_CreateProjectRequest(buffer_arg) { + return projects_pb.CreateProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_DeleteProjectRequest(arg) { + if (!(arg instanceof projects_pb.DeleteProjectRequest)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.DeleteProjectRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_DeleteProjectRequest(buffer_arg) { + return projects_pb.DeleteProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_GetProjectRequest(arg) { + if (!(arg instanceof projects_pb.GetProjectRequest)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.GetProjectRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_GetProjectRequest(buffer_arg) { + return projects_pb.GetProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_ListProjectsRequest(arg) { + if (!(arg instanceof projects_pb.ListProjectsRequest)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.ListProjectsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_ListProjectsRequest(buffer_arg) { + return projects_pb.ListProjectsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_ListProjectsResponse(arg) { + if (!(arg instanceof projects_pb.ListProjectsResponse)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.ListProjectsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_ListProjectsResponse(buffer_arg) { + return projects_pb.ListProjectsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_Project(arg) { + if (!(arg instanceof projects_pb.Project)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.Project'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_Project(buffer_arg) { + return projects_pb.Project.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_RenewAccessKeySecretRequest(arg) { + if (!(arg instanceof projects_pb.RenewAccessKeySecretRequest)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.RenewAccessKeySecretRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_RenewAccessKeySecretRequest(buffer_arg) { + return projects_pb.RenewAccessKeySecretRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_RenewAccessKeySecretResponse(arg) { + if (!(arg instanceof projects_pb.RenewAccessKeySecretResponse)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.RenewAccessKeySecretResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_RenewAccessKeySecretResponse(buffer_arg) { + return projects_pb.RenewAccessKeySecretResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_projects_v1beta1_UpdateProjectRequest(arg) { + if (!(arg instanceof projects_pb.UpdateProjectRequest)) { + throw new Error('Expected argument of type fonoster.projects.v1beta1.UpdateProjectRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_projects_v1beta1_UpdateProjectRequest(buffer_arg) { + return projects_pb.UpdateProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +var ProjectsService = exports.ProjectsService = { + // Lists all the Projects for a given User +listProjects: { + path: '/fonoster.projects.v1beta1.Projects/ListProjects', + requestStream: false, + responseStream: false, + requestType: projects_pb.ListProjectsRequest, + responseType: projects_pb.ListProjectsResponse, + requestSerialize: serialize_fonoster_projects_v1beta1_ListProjectsRequest, + requestDeserialize: deserialize_fonoster_projects_v1beta1_ListProjectsRequest, + responseSerialize: serialize_fonoster_projects_v1beta1_ListProjectsResponse, + responseDeserialize: deserialize_fonoster_projects_v1beta1_ListProjectsResponse, + }, + // Creates a new Project resource +createProject: { + path: '/fonoster.projects.v1beta1.Projects/CreateProject', + requestStream: false, + responseStream: false, + requestType: projects_pb.CreateProjectRequest, + responseType: projects_pb.Project, + requestSerialize: serialize_fonoster_projects_v1beta1_CreateProjectRequest, + requestDeserialize: deserialize_fonoster_projects_v1beta1_CreateProjectRequest, + responseSerialize: serialize_fonoster_projects_v1beta1_Project, + responseDeserialize: deserialize_fonoster_projects_v1beta1_Project, + }, + // Updates a given Project +updateProject: { + path: '/fonoster.projects.v1beta1.Projects/UpdateProject', + requestStream: false, + responseStream: false, + requestType: projects_pb.UpdateProjectRequest, + responseType: projects_pb.Project, + requestSerialize: serialize_fonoster_projects_v1beta1_UpdateProjectRequest, + requestDeserialize: deserialize_fonoster_projects_v1beta1_UpdateProjectRequest, + responseSerialize: serialize_fonoster_projects_v1beta1_Project, + responseDeserialize: deserialize_fonoster_projects_v1beta1_Project, + }, + // Gets a Project by AccessKeyId +getProject: { + path: '/fonoster.projects.v1beta1.Projects/GetProject', + requestStream: false, + responseStream: false, + requestType: projects_pb.GetProjectRequest, + responseType: projects_pb.Project, + requestSerialize: serialize_fonoster_projects_v1beta1_GetProjectRequest, + requestDeserialize: deserialize_fonoster_projects_v1beta1_GetProjectRequest, + responseSerialize: serialize_fonoster_projects_v1beta1_Project, + responseDeserialize: deserialize_fonoster_projects_v1beta1_Project, + }, + // WARNING: Hard delete of a Project will remove all related resources +deleteProject: { + path: '/fonoster.projects.v1beta1.Projects/DeleteProject', + requestStream: false, + responseStream: false, + requestType: projects_pb.DeleteProjectRequest, + responseType: common_pb.Empty, + requestSerialize: serialize_fonoster_projects_v1beta1_DeleteProjectRequest, + requestDeserialize: deserialize_fonoster_projects_v1beta1_DeleteProjectRequest, + responseSerialize: serialize_fonoster_common_v1beta1_Empty, + responseDeserialize: deserialize_fonoster_common_v1beta1_Empty, + }, + // Regenerates the accessKeySecret +renewAccessKeySecret: { + path: '/fonoster.projects.v1beta1.Projects/RenewAccessKeySecret', + requestStream: false, + responseStream: false, + requestType: projects_pb.RenewAccessKeySecretRequest, + responseType: projects_pb.RenewAccessKeySecretResponse, + requestSerialize: serialize_fonoster_projects_v1beta1_RenewAccessKeySecretRequest, + requestDeserialize: deserialize_fonoster_projects_v1beta1_RenewAccessKeySecretRequest, + responseSerialize: serialize_fonoster_projects_v1beta1_RenewAccessKeySecretResponse, + responseDeserialize: deserialize_fonoster_projects_v1beta1_RenewAccessKeySecretResponse, + }, +}; + +exports.ProjectsClient = grpc.makeGenericClientConstructor(ProjectsService); diff --git a/mods/projects/src/service/protos/projects_pb.d.ts b/mods/projects/src/service/protos/projects_pb.d.ts new file mode 100644 index 000000000..21119eca3 --- /dev/null +++ b/mods/projects/src/service/protos/projects_pb.d.ts @@ -0,0 +1,219 @@ +// package: fonoster.projects.v1beta1 +// file: projects.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; +import * as common_pb from "./common_pb"; + +export class ListProjectsRequest extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListProjectsRequest.AsObject; + static toObject(includeInstance: boolean, msg: ListProjectsRequest): ListProjectsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ListProjectsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListProjectsRequest; + static deserializeBinaryFromReader(message: ListProjectsRequest, reader: jspb.BinaryReader): ListProjectsRequest; +} + +export namespace ListProjectsRequest { + export type AsObject = { + } +} + +export class ListProjectsResponse extends jspb.Message { + clearProjectsList(): void; + getProjectsList(): Array; + setProjectsList(value: Array): ListProjectsResponse; + addProjects(value?: Project, index?: number): Project; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListProjectsResponse.AsObject; + static toObject(includeInstance: boolean, msg: ListProjectsResponse): ListProjectsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ListProjectsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListProjectsResponse; + static deserializeBinaryFromReader(message: ListProjectsResponse, reader: jspb.BinaryReader): ListProjectsResponse; +} + +export namespace ListProjectsResponse { + export type AsObject = { + projectsList: Array, + } +} + +export class CreateProjectRequest extends jspb.Message { + getName(): string; + setName(value: string): CreateProjectRequest; + getAllowExperiments(): boolean; + setAllowExperiments(value: boolean): CreateProjectRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateProjectRequest.AsObject; + static toObject(includeInstance: boolean, msg: CreateProjectRequest): CreateProjectRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateProjectRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateProjectRequest; + static deserializeBinaryFromReader(message: CreateProjectRequest, reader: jspb.BinaryReader): CreateProjectRequest; +} + +export namespace CreateProjectRequest { + export type AsObject = { + name: string, + allowExperiments: boolean, + } +} + +export class UpdateProjectRequest extends jspb.Message { + getRef(): string; + setRef(value: string): UpdateProjectRequest; + getName(): string; + setName(value: string): UpdateProjectRequest; + getAllowExperiments(): boolean; + setAllowExperiments(value: boolean): UpdateProjectRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UpdateProjectRequest.AsObject; + static toObject(includeInstance: boolean, msg: UpdateProjectRequest): UpdateProjectRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UpdateProjectRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UpdateProjectRequest; + static deserializeBinaryFromReader(message: UpdateProjectRequest, reader: jspb.BinaryReader): UpdateProjectRequest; +} + +export namespace UpdateProjectRequest { + export type AsObject = { + ref: string, + name: string, + allowExperiments: boolean, + } +} + +export class GetProjectRequest extends jspb.Message { + getRef(): string; + setRef(value: string): GetProjectRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetProjectRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetProjectRequest): GetProjectRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetProjectRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetProjectRequest; + static deserializeBinaryFromReader(message: GetProjectRequest, reader: jspb.BinaryReader): GetProjectRequest; +} + +export namespace GetProjectRequest { + export type AsObject = { + ref: string, + } +} + +export class DeleteProjectRequest extends jspb.Message { + getRef(): string; + setRef(value: string): DeleteProjectRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DeleteProjectRequest.AsObject; + static toObject(includeInstance: boolean, msg: DeleteProjectRequest): DeleteProjectRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DeleteProjectRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DeleteProjectRequest; + static deserializeBinaryFromReader(message: DeleteProjectRequest, reader: jspb.BinaryReader): DeleteProjectRequest; +} + +export namespace DeleteProjectRequest { + export type AsObject = { + ref: string, + } +} + +export class RenewAccessKeySecretRequest extends jspb.Message { + getRef(): string; + setRef(value: string): RenewAccessKeySecretRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RenewAccessKeySecretRequest.AsObject; + static toObject(includeInstance: boolean, msg: RenewAccessKeySecretRequest): RenewAccessKeySecretRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RenewAccessKeySecretRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RenewAccessKeySecretRequest; + static deserializeBinaryFromReader(message: RenewAccessKeySecretRequest, reader: jspb.BinaryReader): RenewAccessKeySecretRequest; +} + +export namespace RenewAccessKeySecretRequest { + export type AsObject = { + ref: string, + } +} + +export class RenewAccessKeySecretResponse extends jspb.Message { + getAccessKeySecret(): string; + setAccessKeySecret(value: string): RenewAccessKeySecretResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RenewAccessKeySecretResponse.AsObject; + static toObject(includeInstance: boolean, msg: RenewAccessKeySecretResponse): RenewAccessKeySecretResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RenewAccessKeySecretResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RenewAccessKeySecretResponse; + static deserializeBinaryFromReader(message: RenewAccessKeySecretResponse, reader: jspb.BinaryReader): RenewAccessKeySecretResponse; +} + +export namespace RenewAccessKeySecretResponse { + export type AsObject = { + accessKeySecret: string, + } +} + +export class Project extends jspb.Message { + getName(): string; + setName(value: string): Project; + getRef(): string; + setRef(value: string): Project; + getUserRef(): string; + setUserRef(value: string): Project; + getAccessKeyId(): string; + setAccessKeyId(value: string): Project; + getAccessKeySecret(): string; + setAccessKeySecret(value: string): Project; + getAllowExperiments(): boolean; + setAllowExperiments(value: boolean): Project; + getCreateTime(): string; + setCreateTime(value: string): Project; + getUpdateTime(): string; + setUpdateTime(value: string): Project; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Project.AsObject; + static toObject(includeInstance: boolean, msg: Project): Project.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Project, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Project; + static deserializeBinaryFromReader(message: Project, reader: jspb.BinaryReader): Project; +} + +export namespace Project { + export type AsObject = { + name: string, + ref: string, + userRef: string, + accessKeyId: string, + accessKeySecret: string, + allowExperiments: boolean, + createTime: string, + updateTime: string, + } +} diff --git a/mods/projects/src/service/protos/projects_pb.js b/mods/projects/src/service/protos/projects_pb.js new file mode 100644 index 000000000..8985572c5 --- /dev/null +++ b/mods/projects/src/service/protos/projects_pb.js @@ -0,0 +1,1695 @@ +// source: projects.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +goog.object.extend(proto, google_api_field_behavior_pb); +var common_pb = require('./common_pb.js'); +goog.object.extend(proto, common_pb); +goog.exportSymbol('proto.fonoster.projects.v1beta1.CreateProjectRequest', null, global); +goog.exportSymbol('proto.fonoster.projects.v1beta1.DeleteProjectRequest', null, global); +goog.exportSymbol('proto.fonoster.projects.v1beta1.GetProjectRequest', null, global); +goog.exportSymbol('proto.fonoster.projects.v1beta1.ListProjectsRequest', null, global); +goog.exportSymbol('proto.fonoster.projects.v1beta1.ListProjectsResponse', null, global); +goog.exportSymbol('proto.fonoster.projects.v1beta1.Project', null, global); +goog.exportSymbol('proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest', null, global); +goog.exportSymbol('proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse', null, global); +goog.exportSymbol('proto.fonoster.projects.v1beta1.UpdateProjectRequest', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.ListProjectsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.ListProjectsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.ListProjectsRequest.displayName = 'proto.fonoster.projects.v1beta1.ListProjectsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.projects.v1beta1.ListProjectsResponse.repeatedFields_, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.ListProjectsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.ListProjectsResponse.displayName = 'proto.fonoster.projects.v1beta1.ListProjectsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.CreateProjectRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.CreateProjectRequest.displayName = 'proto.fonoster.projects.v1beta1.CreateProjectRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.UpdateProjectRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.UpdateProjectRequest.displayName = 'proto.fonoster.projects.v1beta1.UpdateProjectRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.GetProjectRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.GetProjectRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.GetProjectRequest.displayName = 'proto.fonoster.projects.v1beta1.GetProjectRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.DeleteProjectRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.DeleteProjectRequest.displayName = 'proto.fonoster.projects.v1beta1.DeleteProjectRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.displayName = 'proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.displayName = 'proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.projects.v1beta1.Project = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.projects.v1beta1.Project, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.projects.v1beta1.Project.displayName = 'proto.fonoster.projects.v1beta1.Project'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.ListProjectsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.ListProjectsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.ListProjectsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.ListProjectsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.ListProjectsRequest} + */ +proto.fonoster.projects.v1beta1.ListProjectsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.ListProjectsRequest; + return proto.fonoster.projects.v1beta1.ListProjectsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.ListProjectsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.ListProjectsRequest} + */ +proto.fonoster.projects.v1beta1.ListProjectsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.ListProjectsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.ListProjectsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.ListProjectsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.ListProjectsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.ListProjectsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.ListProjectsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + projectsList: jspb.Message.toObjectList(msg.getProjectsList(), + proto.fonoster.projects.v1beta1.Project.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.ListProjectsResponse} + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.ListProjectsResponse; + return proto.fonoster.projects.v1beta1.ListProjectsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.ListProjectsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.ListProjectsResponse} + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.fonoster.projects.v1beta1.Project; + reader.readMessage(value,proto.fonoster.projects.v1beta1.Project.deserializeBinaryFromReader); + msg.addProjects(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.ListProjectsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.ListProjectsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProjectsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.fonoster.projects.v1beta1.Project.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated Project projects = 1; + * @return {!Array} + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.prototype.getProjectsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.fonoster.projects.v1beta1.Project, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.fonoster.projects.v1beta1.ListProjectsResponse} returns this +*/ +proto.fonoster.projects.v1beta1.ListProjectsResponse.prototype.setProjectsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.fonoster.projects.v1beta1.Project=} opt_value + * @param {number=} opt_index + * @return {!proto.fonoster.projects.v1beta1.Project} + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.prototype.addProjects = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.projects.v1beta1.Project, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.fonoster.projects.v1beta1.ListProjectsResponse} returns this + */ +proto.fonoster.projects.v1beta1.ListProjectsResponse.prototype.clearProjectsList = function() { + return this.setProjectsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.CreateProjectRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.CreateProjectRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + allowExperiments: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.CreateProjectRequest} + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.CreateProjectRequest; + return proto.fonoster.projects.v1beta1.CreateProjectRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.CreateProjectRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.CreateProjectRequest} + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowExperiments(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.CreateProjectRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.CreateProjectRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getAllowExperiments(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.CreateProjectRequest} returns this + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bool allow_experiments = 2; + * @return {boolean} + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.prototype.getAllowExperiments = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.fonoster.projects.v1beta1.CreateProjectRequest} returns this + */ +proto.fonoster.projects.v1beta1.CreateProjectRequest.prototype.setAllowExperiments = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.UpdateProjectRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.UpdateProjectRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + allowExperiments: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.UpdateProjectRequest} + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.UpdateProjectRequest; + return proto.fonoster.projects.v1beta1.UpdateProjectRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.UpdateProjectRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.UpdateProjectRequest} + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowExperiments(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.UpdateProjectRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.UpdateProjectRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getAllowExperiments(); + if (f) { + writer.writeBool( + 3, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.UpdateProjectRequest} returns this + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.UpdateProjectRequest} returns this + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool allow_experiments = 3; + * @return {boolean} + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.prototype.getAllowExperiments = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.fonoster.projects.v1beta1.UpdateProjectRequest} returns this + */ +proto.fonoster.projects.v1beta1.UpdateProjectRequest.prototype.setAllowExperiments = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.GetProjectRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.GetProjectRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.GetProjectRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.GetProjectRequest.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.GetProjectRequest} + */ +proto.fonoster.projects.v1beta1.GetProjectRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.GetProjectRequest; + return proto.fonoster.projects.v1beta1.GetProjectRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.GetProjectRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.GetProjectRequest} + */ +proto.fonoster.projects.v1beta1.GetProjectRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.GetProjectRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.GetProjectRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.GetProjectRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.GetProjectRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.projects.v1beta1.GetProjectRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.GetProjectRequest} returns this + */ +proto.fonoster.projects.v1beta1.GetProjectRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.DeleteProjectRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.DeleteProjectRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.DeleteProjectRequest} + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.DeleteProjectRequest; + return proto.fonoster.projects.v1beta1.DeleteProjectRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.DeleteProjectRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.DeleteProjectRequest} + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.DeleteProjectRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.DeleteProjectRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.DeleteProjectRequest} returns this + */ +proto.fonoster.projects.v1beta1.DeleteProjectRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest; + return proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest} returns this + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.toObject = function(includeInstance, msg) { + var f, obj = { + accessKeySecret: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse; + return proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setAccessKeySecret(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAccessKeySecret(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string access_key_secret = 1; + * @return {string} + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.prototype.getAccessKeySecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse} returns this + */ +proto.fonoster.projects.v1beta1.RenewAccessKeySecretResponse.prototype.setAccessKeySecret = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.projects.v1beta1.Project.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.projects.v1beta1.Project.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.projects.v1beta1.Project} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.Project.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + ref: jspb.Message.getFieldWithDefault(msg, 2, ""), + userRef: jspb.Message.getFieldWithDefault(msg, 3, ""), + accessKeyId: jspb.Message.getFieldWithDefault(msg, 4, ""), + accessKeySecret: jspb.Message.getFieldWithDefault(msg, 5, ""), + allowExperiments: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + createTime: jspb.Message.getFieldWithDefault(msg, 7, ""), + updateTime: jspb.Message.getFieldWithDefault(msg, 8, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.projects.v1beta1.Project} + */ +proto.fonoster.projects.v1beta1.Project.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.projects.v1beta1.Project; + return proto.fonoster.projects.v1beta1.Project.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.projects.v1beta1.Project} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.projects.v1beta1.Project} + */ +proto.fonoster.projects.v1beta1.Project.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setUserRef(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setAccessKeyId(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setAccessKeySecret(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowExperiments(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setCreateTime(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setUpdateTime(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.projects.v1beta1.Project.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.projects.v1beta1.Project.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.projects.v1beta1.Project} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.projects.v1beta1.Project.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getUserRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getAccessKeyId(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getAccessKeySecret(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getAllowExperiments(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = message.getCreateTime(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getUpdateTime(); + if (f.length > 0) { + writer.writeString( + 8, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.fonoster.projects.v1beta1.Project.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.Project} returns this + */ +proto.fonoster.projects.v1beta1.Project.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string ref = 2; + * @return {string} + */ +proto.fonoster.projects.v1beta1.Project.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.Project} returns this + */ +proto.fonoster.projects.v1beta1.Project.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string user_ref = 3; + * @return {string} + */ +proto.fonoster.projects.v1beta1.Project.prototype.getUserRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.Project} returns this + */ +proto.fonoster.projects.v1beta1.Project.prototype.setUserRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string access_key_id = 4; + * @return {string} + */ +proto.fonoster.projects.v1beta1.Project.prototype.getAccessKeyId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.Project} returns this + */ +proto.fonoster.projects.v1beta1.Project.prototype.setAccessKeyId = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string access_key_secret = 5; + * @return {string} + */ +proto.fonoster.projects.v1beta1.Project.prototype.getAccessKeySecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.Project} returns this + */ +proto.fonoster.projects.v1beta1.Project.prototype.setAccessKeySecret = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional bool allow_experiments = 6; + * @return {boolean} + */ +proto.fonoster.projects.v1beta1.Project.prototype.getAllowExperiments = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.fonoster.projects.v1beta1.Project} returns this + */ +proto.fonoster.projects.v1beta1.Project.prototype.setAllowExperiments = function(value) { + return jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * optional string create_time = 7; + * @return {string} + */ +proto.fonoster.projects.v1beta1.Project.prototype.getCreateTime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.Project} returns this + */ +proto.fonoster.projects.v1beta1.Project.prototype.setCreateTime = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string update_time = 8; + * @return {string} + */ +proto.fonoster.projects.v1beta1.Project.prototype.getUpdateTime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.projects.v1beta1.Project} returns this + */ +proto.fonoster.projects.v1beta1.Project.prototype.setUpdateTime = function(value) { + return jspb.Message.setProto3StringField(this, 8, value); +}; + + +goog.object.extend(exports, proto.fonoster.projects.v1beta1); diff --git a/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/projects/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/projects/src/service/runner.ts b/mods/projects/src/service/runner.ts new file mode 100644 index 000000000..32f02bf8d --- /dev/null +++ b/mods/projects/src/service/runner.ts @@ -0,0 +1,40 @@ +#!/usr/bin/env node +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import ProjectsServer from "./projects"; +import {ProjectsService} from "./protos/projects_grpc_pb"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; + +const services = [ + { + name: "projects", + version: "v1beta1", + service: ProjectsService, + server: new ProjectsServer() + } +]; + +const middleware = { + name: "authentication", + middlewareObj: new AuthMiddleware(getSalt()).middleware +}; + +runServices(services, [middleware]); diff --git a/mods/projects/test/projects.unit.test.ts b/mods/projects/test/projects.unit.test.ts new file mode 100644 index 000000000..6c9866ba3 --- /dev/null +++ b/mods/projects/test/projects.unit.test.ts @@ -0,0 +1,232 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import chai from "chai"; +import sinon from "sinon"; +import sinonChai from "sinon-chai"; +import Projects, {ProjectsPB} from "../src/client/projects"; +import chaiAsPromised from "chai-as-promised"; +import {APIClient} from "@fonoster/common"; + +const expect = chai.expect; +chai.use(sinonChai); +chai.use(chaiAsPromised); +const sandbox = sinon.createSandbox(); + +describe("@fonoster/projects", () => { + const projectObj = new ProjectsPB.Project(); + projectObj.setRef("Nx05y-ldZa"); + projectObj.setName("John Doe"); + projectObj.setUserRef("Ux0ey-cdZa"); + projectObj.setAccessKeyId("Nx05y-ldZa"); + projectObj.setAccessKeySecret("..."); + projectObj.setAllowExperiments(false); + projectObj.setCreateTime("Nx05y-ldZa"); + projectObj.setUpdateTime("Nx05y-ldZa"); + + afterEach(() => sandbox.restore()); + + it("should create a project", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + createProject: () => { + return { + sendMessage: () => Promise.resolve(projectObj) + }; + } + }); + + const req = { + name: projectObj.getName(), + allowExperiments: false + }; + + const projectsAPI = new Projects(); + const result = await projectsAPI.createProject(req); + + expect(result).to.have.property("ref").to.be.equal(projectObj.getRef()); + expect(result).to.have.property("name").to.be.equal(projectObj.getName()); + expect(result) + .to.have.property("userRef") + .to.be.equal(projectObj.getUserRef()); + expect(result) + .to.have.property("accessKeyId") + .to.be.equal(projectObj.getAccessKeyId()); + expect(result) + .to.have.property("accessKeySecret") + .to.be.equal(projectObj.getAccessKeySecret()); + expect(result) + .to.have.property("allowExperiments") + .to.be.equal(projectObj.getAllowExperiments()); + expect(result).to.have.property("createTime").not.to.be.null; + expect(result).to.have.property("updateTime").not.to.be.null; + expect(serviceStub).to.have.been.calledTwice; + }); + + it("should get a project", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + getProject: () => { + return { + sendMessage: () => Promise.resolve(projectObj) + }; + } + }); + + const ref = "Nx05y-ldZa"; + const projectsAPI = new Projects(); + const result = await projectsAPI.getProject(ref); + + expect(result).to.have.property("ref").to.be.equal(projectObj.getRef()); + expect(result).to.have.property("name").to.be.equal(projectObj.getName()); + expect(result) + .to.have.property("userRef") + .to.be.equal(projectObj.getUserRef()); + expect(result) + .to.have.property("accessKeyId") + .to.be.equal(projectObj.getAccessKeyId()); + expect(result) + .to.have.property("accessKeySecret") + .to.be.equal(projectObj.getAccessKeySecret()); + expect(result) + .to.have.property("allowExperiments") + .to.be.equal(projectObj.getAllowExperiments()); + expect(result).to.have.property("createTime").not.to.be.null; + expect(result).to.have.property("updateTime").not.to.be.null; + expect(serviceStub).to.have.been.calledTwice; + }); + + it("should delete a project", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + deleteProject: () => { + return { + sendMessage: () => Promise.resolve({ref: "Nx05y-ldZa"}) + }; + } + }); + + const projectsAPI = new Projects(); + const res = await projectsAPI.deleteProject(projectObj.getRef()); + + expect(serviceStub).to.have.been.calledTwice; + expect(res).to.have.property("ref").to.be.equal(projectObj.getRef()); + }); + + it("should list projects", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + listProjects: () => { + return { + sendMessage: () => + Promise.resolve({ + getProjectsList: () => [projectObj] + }) + }; + } + }); + + const projectsAPI = new Projects(); + const result = await projectsAPI.listProjects({}); + + expect(serviceStub).to.be.calledTwice; + expect(result.projects[0]) + .to.have.property("ref") + .to.be.equal(projectObj.getRef()); + expect(result.projects[0]) + .to.have.property("name") + .to.be.equal(projectObj.getName()); + expect(result.projects[0]) + .to.have.property("userRef") + .to.be.equal(projectObj.getUserRef()); + expect(result.projects[0]) + .to.have.property("accessKeyId") + .to.be.equal(projectObj.getAccessKeyId()); + expect(result.projects[0]) + .to.have.property("accessKeySecret") + .to.be.equal(projectObj.getAccessKeySecret()); + expect(result.projects[0]) + .to.have.property("allowExperiments") + .to.be.equal(projectObj.getAllowExperiments()); + expect(result.projects[0]) + .to.have.property("createTime") + .to.be.equal(projectObj.getCreateTime()); + expect(result.projects[0]) + .to.have.property("updateTime") + .to.be.equal(projectObj.getUpdateTime()); + }); + + it("should update a project", async () => { + const request = { + ref: projectObj.getRef(), + name: "p1", + allowExperiments: projectObj.getAllowExperiments() + }; + + sandbox.stub(APIClient.prototype, "init").returns(); + const updateProjectStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + updateProject: () => { + return { + sendMessage: () => + Promise.resolve({getRef: () => projectObj.getRef()}) + }; + } + }); + + const projectsAPI = new Projects(); + const result = await projectsAPI.updateProject(request); + expect(result).to.have.property("ref").to.be.equal(projectObj.getRef()); + expect(updateProjectStub).to.be.calledTwice; + }); + + it("should renew a project's token", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const loginProjectStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + renewAccessKeySecret: () => { + return { + sendMessage: () => + Promise.resolve({ + getAccessKeyId: () => projectObj.getAccessKeyId(), + getAccessKeySecret: () => "..." + }) + }; + } + }); + + const request = { + ref: projectObj.getRef() + }; + + const projectsAPI = new Projects(); + const result = await projectsAPI.renewAccessKeySecret(request); + expect(result).to.have.property("accessKeySecret").to.be.equal("..."); + expect(loginProjectStub).to.be.calledTwice; + }); +}); diff --git a/mods/projects/tsconfig.json b/mods/projects/tsconfig.json new file mode 100644 index 000000000..c593c959a --- /dev/null +++ b/mods/projects/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "./dist", + "rootDir": "./src" + }, + "references": [ + {"path": "../common"}, + {"path": "../core"}, + {"path": "../logger"} + ], + "exclude": ["node_modules", "dist", "test"] +} diff --git a/mods/providers/.lerna-changed-buster-7825 b/mods/providers/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/providers/Dockerfile b/mods/providers/Dockerfile index cb0863d5d..a5f654cb8 100644 --- a/mods/providers/Dockerfile +++ b/mods/providers/Dockerfile @@ -3,7 +3,7 @@ COPY . /scripts RUN ./install.sh RUN link /usr/bin/run_providers /usr/bin/run \ && link /usr/bin/healthcheck_providers /usr/bin/healthcheck -USER fonos +USER fonoster HEALTHCHECK --interval=30s \ --timeout=30s \ --start-period=5s \ diff --git a/mods/providers/package-lock.json b/mods/providers/package-lock.json new file mode 100644 index 000000000..05734c4ab --- /dev/null +++ b/mods/providers/package-lock.json @@ -0,0 +1,980 @@ +{ + "name": "@fonoster/providers", + "version": "0.2.40", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@fonoster/providers", + "version": "0.2.17", + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.17", + "@fonoster/certs": "^0.2.17", + "@fonoster/common": "^0.2.17", + "@fonoster/core": "^0.2.17", + "@fonoster/errors": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "is-valid-host": "^1.0.1" + }, + "bin": { + "healthcheck_providers": "dist/service/healthcheck.js", + "run_providers": "dist/service/runner.js" + } + }, + "../auth": { + "name": "@fonoster/auth", + "version": "0.2.17", + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.17", + "@fonoster/common": "^0.2.17", + "@fonoster/errors": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "bin": { + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + }, + "devDependencies": { + "@types/jsonwebtoken": "^8.5.0" + } + }, + "../auth/node_modules/@fonoster/certs": { + "resolved": "../certs", + "link": true + }, + "../auth/node_modules/@fonoster/common": { + "resolved": "../common", + "link": true + }, + "../auth/node_modules/@fonoster/errors": { + "resolved": "../errors", + "link": true + }, + "../auth/node_modules/@fonoster/logger": { + "resolved": "../logger", + "link": true + }, + "../certs": { + "name": "@fonoster/certs", + "version": "0.2.17", + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "../common": { + "name": "@fonoster/common", + "version": "0.2.17", + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "../common/node_modules/@fonoster/certs": { + "resolved": "../certs", + "link": true + }, + "../common/node_modules/@fonoster/logger": { + "resolved": "../logger", + "link": true + }, + "../core": { + "name": "@fonoster/core", + "version": "0.2.17", + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.17", + "@fonoster/certs": "^0.2.17", + "@fonoster/common": "^0.2.17", + "@fonoster/errors": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "axios": "^0.21.1", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + }, + "devDependencies": { + "@types/btoa": "^1.2.3", + "@types/ioredis": "^4.16.5" + } + }, + "../core/node_modules/@fonoster/auth": { + "resolved": "../auth", + "link": true + }, + "../core/node_modules/@fonoster/certs": { + "resolved": "../certs", + "link": true + }, + "../core/node_modules/@fonoster/common": { + "resolved": "../common", + "link": true + }, + "../core/node_modules/@fonoster/errors": { + "resolved": "../errors", + "link": true + }, + "../core/node_modules/@fonoster/logger": { + "resolved": "../logger", + "link": true + }, + "../errors": { + "name": "@fonoster/errors", + "version": "0.2.17", + "license": "MIT" + }, + "../logger": { + "name": "@fonoster/logger", + "version": "0.2.17", + "license": "MIT", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } + }, + "node_modules/@fonoster/auth": { + "resolved": "../auth", + "link": true + }, + "node_modules/@fonoster/certs": { + "resolved": "../certs", + "link": true + }, + "node_modules/@fonoster/common": { + "resolved": "../common", + "link": true + }, + "node_modules/@fonoster/core": { + "resolved": "../core", + "link": true + }, + "node_modules/@fonoster/errors": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.17.tgz", + "integrity": "sha512-mWhSF22tqie3qqbJqA9vDDIlh/wUHNwHNsd5wyVFcOrY2Cn3OeUgq0byc5NIx3obw3Vd6x6AKBMojjl4qiFAoA==" + }, + "node_modules/@grpc/grpc-js": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.4.4.tgz", + "integrity": "sha512-a6222b7Dl6fIlMgzVl7e+NiRoLiZFbpcwvBH2Oli56Bn7W4/3Ld+86hK4ffPn5rx2DlDidmIcvIJiOQXyhv9gA==", + "dependencies": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.6.tgz", + "integrity": "sha512-cdMaPZ8AiFz6ua6PUbP+LKbhwJbFXnrQ/mlnKGUyzDUZ3wp7vPLksnmLCBX6SHgSmjX7CbNVNLFYD5GmmjO4GQ==", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.1.1" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "node_modules/@types/node": { + "version": "16.11.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.7.tgz", + "integrity": "sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==" + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/google-protobuf": { + "version": "3.19.1", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.1.tgz", + "integrity": "sha512-Isv1RlNC+IzZzilcxnlVSf+JvuhxmY7DaxYCBy+zPS9XVuJRtlTTIXR9hnZ1YL1MMusJn/7eSy2swCzZIomQSg==" + }, + "node_modules/grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-valid-host": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-valid-host/-/is-valid-host-1.0.1.tgz", + "integrity": "sha512-LPjR7ypIMG/MLCh/dkz4lqQw4KZWFD2AeHNSbY4Y9pGp2rnWMMWqBY/iJLMwoVbOIG2r2y7L/wS9pHhr0gYRrg==" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } + } + }, + "dependencies": { + "@fonoster/auth": { + "version": "file:../auth", + "requires": { + "@fonoster/certs": "^0.2.17", + "@fonoster/common": "^0.2.17", + "@fonoster/errors": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "@types/jsonwebtoken": "^8.5.0", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "file:../common", + "requires": { + "@fonoster/certs": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/errors": { + "version": "file:../errors" + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "file:../common", + "requires": { + "@fonoster/certs": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/core": { + "version": "file:../core", + "requires": { + "@fonoster/auth": "^0.2.17", + "@fonoster/certs": "^0.2.17", + "@fonoster/common": "^0.2.17", + "@fonoster/errors": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "@types/btoa": "^1.2.3", + "@types/ioredis": "^4.16.5", + "atob": "^2.1.2", + "axios": "^0.21.1", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + }, + "dependencies": { + "@fonoster/auth": { + "version": "file:../auth", + "requires": { + "@fonoster/certs": "^0.2.17", + "@fonoster/common": "^0.2.17", + "@fonoster/errors": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "@types/jsonwebtoken": "^8.5.0", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "file:../common", + "requires": { + "@fonoster/certs": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/errors": { + "version": "file:../errors" + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "file:../common", + "requires": { + "@fonoster/certs": "^0.2.17", + "@fonoster/logger": "^0.2.17", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + }, + "dependencies": { + "@fonoster/certs": { + "version": "file:../certs", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/errors": { + "version": "file:../errors" + }, + "@fonoster/logger": { + "version": "file:../logger", + "requires": { + "fluent-logger": "^3.4.1", + "rimraf": "^3.0.2", + "winston": "^3.3.3" + } + } + } + }, + "@fonoster/errors": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.17.tgz", + "integrity": "sha512-mWhSF22tqie3qqbJqA9vDDIlh/wUHNwHNsd5wyVFcOrY2Cn3OeUgq0byc5NIx3obw3Vd6x6AKBMojjl4qiFAoA==" + }, + "@grpc/grpc-js": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.4.4.tgz", + "integrity": "sha512-a6222b7Dl6fIlMgzVl7e+NiRoLiZFbpcwvBH2Oli56Bn7W4/3Ld+86hK4ffPn5rx2DlDidmIcvIJiOQXyhv9gA==", + "requires": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + } + }, + "@grpc/proto-loader": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.6.tgz", + "integrity": "sha512-cdMaPZ8AiFz6ua6PUbP+LKbhwJbFXnrQ/mlnKGUyzDUZ3wp7vPLksnmLCBX6SHgSmjX7CbNVNLFYD5GmmjO4GQ==", + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.1.1" + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "@types/node": { + "version": "16.11.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.7.tgz", + "integrity": "sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==" + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "google-protobuf": { + "version": "3.19.1", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.1.tgz", + "integrity": "sha512-Isv1RlNC+IzZzilcxnlVSf+JvuhxmY7DaxYCBy+zPS9XVuJRtlTTIXR9hnZ1YL1MMusJn/7eSy2swCzZIomQSg==" + }, + "grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-valid-host": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-valid-host/-/is-valid-host-1.0.1.tgz", + "integrity": "sha512-LPjR7ypIMG/MLCh/dkz4lqQw4KZWFD2AeHNSbY4Y9pGp2rnWMMWqBY/iJLMwoVbOIG2r2y7L/wS9pHhr0gYRrg==" + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + } + } +} diff --git a/mods/providers/package.json b/mods/providers/package.json index 1f33ce3f9..d5f860e69 100644 --- a/mods/providers/package.json +++ b/mods/providers/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/providers", - "version": "0.1.20-alpha.0", + "name": "@fonoster/providers", + "version": "0.2.40", "description": "VoIP Providers", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/client/providers", "types": "dist/client/providers", @@ -37,19 +37,21 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0" + "grpc-promise": "^1.4.0", + "is-valid-host": "^1.0.1" }, "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" } diff --git a/mods/providers/src/client/providers.ts b/mods/providers/src/client/providers.ts index 65d363225..b5e203391 100644 --- a/mods/providers/src/client/providers.ts +++ b/mods/providers/src/client/providers.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -21,27 +21,28 @@ import { CreateProviderResponse, UpdateProviderRequest, UpdateProviderResponse, - ListProviderRequest, - ListProviderResponse, + ListProvidersRequest, + ListProvidersResponse, GetProviderResponse, - DeleteProviderResponse -} from "../types"; -import {FonosService, ServiceOptions} from "@fonos/common"; + DeleteProviderResponse, + IProvidersClient +} from "./types"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {ProvidersClient} from "../service/protos/providers_grpc_pb"; import ProvidersPB from "../service/protos/providers_pb"; import CommonPB from "../service/protos/common_pb"; import {promisifyAll} from "grpc-promise"; /** - * @classdesc Use Fonos Providers, a capability of Fonos SIP Proxy subsystem, - * to create, update, get and delete providers. Fonos Providers requires of a - * running Fonos deployment. + * @classdesc Use Fonoster Providers, a capability of Fonoster SIP Proxy subsystem, + * to create, update, get and delete providers. Fonoster Providers requires of a + * running Fonosterdeployment. * - * @extends FonosService + * @extends APIClient * @example * - * const Fonos = require("@fonos/sdk"); - * const providers = new Fonos.Providers(); + * const Fonoster = require("@fonoster/sdk"); + * const providers = new Fonoster.Providers(); * * const request = { * name: "SIP Provider", @@ -55,14 +56,14 @@ import {promisifyAll} from "grpc-promise"; * console.log(result) // successful response * }).catch(e => console.error(e)); // an error occurred */ -export default class Providers extends FonosService { +export default class Providers extends APIClient implements IProvidersClient { /** * Constructs a new Providers object. * - * @param {ServiceOptions} options - Options to indicate the objects endpoint - * @see module:core:FonosService + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(ProvidersClient, options); super.init(); promisifyAll(super.getService(), {metadata: super.getMeta()}); @@ -79,9 +80,9 @@ export default class Providers extends FonosService { * static IP authentication * @param {string} request.host - Hostname or IP of the Provider * @param {string} request.transport - The transport for the Provider. - * Fonos will use TCP if none is provided + *Fonoster will use TCP if none is provided * @param {string} request.expires - Expiration time for the registration. - * Fonos will use 3600 if non is provided + *Fonoster will use 3600 if non is provided * @return {Promise} * @example * @@ -100,16 +101,13 @@ export default class Providers extends FonosService { async createProvider( request: CreateProviderRequest ): Promise { - const provider = new ProvidersPB.Provider(); - provider.setName(request.name); - provider.setUsername(request.username); - provider.setSecret(request.secret); - provider.setHost(request.host); - provider.setTransport(request.transport || "tcp"); - provider.setExpires(request.expires || 3600); - const req = new ProvidersPB.CreateProviderRequest(); - req.setProvider(provider); + req.setName(request.name); + req.setUsername(request.username); + req.setSecret(request.secret); + req.setHost(request.host); + req.setTransport(request.transport || "tcp"); + req.setExpires(request.expires || 3600); const res = await super.getService().createProvider().sendMessage(req); @@ -170,9 +168,9 @@ export default class Providers extends FonosService { * static IP authentication * @param {string} request.host - Hostname or IP of the Provider * @param {string} request.transport - The transport for the Provider. - * Fonos will use TCP if none is provided + *Fonoster will use TCP if none is provided * @param {string} request.expires - Expiration time for the registration. - * Fonos will use 3600 if non is provided + *Fonoster will use 3600 if non is provided * @return {Promise} * @example * @@ -189,21 +187,14 @@ export default class Providers extends FonosService { async updateProvider( request: UpdateProviderRequest ): Promise { - const getProviderRequest = new ProvidersPB.GetProviderRequest(); - getProviderRequest.setRef(request.ref); - const provider = await this.getService() - .getProvider() - .sendMessage(getProviderRequest); - - if (request.name) provider.setName(request.name); - if (request.username) provider.setUsername(request.username); - if (request.secret) provider.setSecret(request.secret); - if (request.host) provider.setHost(request.host); - if (request.transport) provider.setTransport(request.transport); - if (request.expires) provider.setExpires(request.expires); - const req = new ProvidersPB.UpdateProviderRequest(); - req.setProvider(provider); + req.setRef(request.ref); + if (request.name) req.setName(request.name); + if (request.username) req.setUsername(request.username); + if (request.secret) req.setSecret(request.secret); + if (request.host) req.setHost(request.host); + if (request.transport) req.setTransport(request.transport); + if (request.expires) req.setExpires(request.expires); const res = await super.getService().updateProvider().sendMessage(req); @@ -213,7 +204,7 @@ export default class Providers extends FonosService { } /** - * List the Providers registered in Fonos SIP Proxy subsystem. + * List the Providers registered in Fonoster SIP Proxy subsystem. * * @param {Object} request * @param {provider} request.pageSize - Provider of element per page @@ -234,8 +225,8 @@ export default class Providers extends FonosService { * }).catch(e => console.error(e)); // an error occurred */ async listProviders( - request: ListProviderRequest - ): Promise { + request: ListProvidersRequest + ): Promise { const r = new ProvidersPB.ListProvidersRequest(); r.setPageSize(request.pageSize); r.setPageToken(request.pageToken); @@ -287,7 +278,7 @@ export default class Providers extends FonosService { } } -export {ProvidersPB, CommonPB}; +export {ProvidersPB, CommonPB, IProvidersClient}; // WARNING: Workaround to support commonjs clients module.exports = Providers; diff --git a/mods/providers/src/types.ts b/mods/providers/src/client/types.ts similarity index 75% rename from mods/providers/src/types.ts rename to mods/providers/src/client/types.ts index f8ae473b9..4dfdd3acf 100644 --- a/mods/providers/src/types.ts +++ b/mods/providers/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +export interface IProvidersClient { + createProvider( + request: CreateProviderRequest + ): Promise; + getProvider(ref: string): Promise; + updateProvider( + request: UpdateProviderRequest + ): Promise; + listProviders(request: ListProvidersRequest): Promise; + deleteProvider(ref: string): Promise; +} + export interface Provider { ref: string; name: string; @@ -36,8 +48,6 @@ export interface CreateProviderRequest { host: string; transport: string; expires: number; - createTime?: string; - updateTime?: string; } export interface CreateProviderResponse { @@ -72,21 +82,19 @@ export interface UpdateProviderRequest { host?: string; transport?: string; expires?: number; - createTime?: string; - updateTime?: string; } export interface UpdateProviderResponse { ref: string; } -export interface ListProviderRequest { +export interface ListProvidersRequest { pageSize?: number; pageToken?: string; view?: number; } -export interface ListProviderResponse { +export interface ListProvidersResponse { nextPageToken: string; providers: Provider[]; } diff --git a/mods/providers/src/protos/providers.proto b/mods/providers/src/protos/providers.proto index 143402b5e..2fb02cbb8 100644 --- a/mods/providers/src/protos/providers.proto +++ b/mods/providers/src/protos/providers.proto @@ -1,74 +1,119 @@ /** * MIT License - * Copyright (c) 2020 Fonoster Inc + * Copyright (c) 2021 Fonoster Inc * * The Providers proto contains the artificats for the administration * of Providers. */ syntax = "proto3"; -package fonos.providers.v1beta1; +package fonoster.providers.v1beta1; +option go_package = "github.com/fonoster/fonoster/mods/providers/fonoster/services/protos/providers"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; import "common.proto"; service Providers { // Lists Providers from the SIP Proxy subsystem - rpc ListProviders (ListProvidersRequest) returns (ListProvidersResponse) {}; + rpc ListProviders (ListProvidersRequest) returns (ListProvidersResponse) { + option (google.api.http) = { get: "/v1beta1/providers" }; + }; // Creates a new Provider resource. - rpc CreateProvider (CreateProviderRequest) returns (Provider) {}; + rpc CreateProvider (CreateProviderRequest) returns (Provider) { + option (google.api.http) = { + post: "/v1beta1/providers" + body: "*" + }; + }; // Gets Provider using its reference - rpc GetProvider (GetProviderRequest) returns (Provider) {}; + rpc GetProvider (GetProviderRequest) returns (Provider) { + option (google.api.http) = { get: "/v1beta1/providers/{ref}" }; + }; // Change or update fields in a resource - rpc UpdateProvider (UpdateProviderRequest) returns (Provider) {}; + rpc UpdateProvider (UpdateProviderRequest) returns (Provider) { + option (google.api.http) = { + put: "/v1beta1/providers/{ref}" + body: "*" + }; + }; // Hard delete of a Provider resource - rpc DeleteProvider (DeleteProviderRequest) returns (fonos.common.v1beta1.Empty) {}; + rpc DeleteProvider (DeleteProviderRequest) returns (fonoster.common.v1beta1.Empty) { + option (google.api.http) = { + delete: "/v1beta1/providers/{ref}" + }; + }; } message ListProvidersRequest { - // The maximum provider of items to return. + // The maximum number of items in the list int32 page_size = 1; - // The next_page_token value returned from a previous List request, if any. + // The next_page_token value returned from the previous request, if any string page_token = 2; - // Level of detail of the individual entities - fonos.common.v1beta1.View view = 3; + // Level of detail of the individual entities (reserved) + fonoster.common.v1beta1.View view = 3; } message ListProvidersResponse { - // There will be a maximum provider of items returned based on the page_size field - // in the request. + // List of Providers repeated Provider providers = 1; - // Token to retrieve the next page of results, or empty if there are no - // more results in the list. + // Token to retrieve the next page of results, or empty if there are no more results in the list string next_page_token = 2; } message CreateProviderRequest { - Provider provider = 1; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"VoIP.ms\", \"username\": \"200122\", \"secret\": \"TerD$$sd01\", \"host\": \"newyork1.voip.ms\", \"transport\": \"tcp\", \"expires\": 300}" + }; + string name = 2 [(google.api.field_behavior) = REQUIRED]; + string username = 3 [(google.api.field_behavior) = REQUIRED]; + string secret = 4 [(google.api.field_behavior) = REQUIRED]; + string host = 5 [(google.api.field_behavior) = REQUIRED]; + string transport = 6 [(google.api.field_behavior) = REQUIRED]; + int32 expires = 7; } message UpdateProviderRequest { - Provider provider = 1; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"username\": \"200122\", \"secret\": \"TerD$$sd01\"}" + }; + // Provider's reference + string ref = 1; + string name = 2 [(google.api.field_behavior) = REQUIRED]; + string username = 3 [(google.api.field_behavior) = REQUIRED]; + string secret = 4 [(google.api.field_behavior) = REQUIRED]; + string host = 5 [(google.api.field_behavior) = REQUIRED]; + string transport = 6 [(google.api.field_behavior) = REQUIRED]; + int32 expires = 7; } message GetProviderRequest { + // Provider's reference string ref = 1; } message DeleteProviderRequest { + // Provider's reference string ref = 1; } message Provider { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"ref\": \"ghnH1z0tzd\", \"name\": \"VoIP.ms\", \"username\": \"200122\", \"secret\": \"TerD$$sd01\", \"host\": \"newyork1.voip.ms\", \"transport\": \"tcp\", \"expires\": 300, \"createTime\": \"2021-10-05T13:23:07.221Z\", \"updateTime\": \"2021-10-05T13:23:07.221Z\"}" + }; + // Provider's reference string ref = 1; - string name = 2; - string username = 3; - string secret = 4; - string host = 5; - string transport = 6; + string name = 2 [(google.api.field_behavior) = REQUIRED]; + string username = 3 [(google.api.field_behavior) = REQUIRED]; + string secret = 4 [(google.api.field_behavior) = REQUIRED]; + string host = 5 [(google.api.field_behavior) = REQUIRED]; + string transport = 6 [(google.api.field_behavior) = REQUIRED]; int32 expires = 7; - string create_time = 8; - string update_time = 9; + string create_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + string update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/mods/providers/src/service/assertions.ts b/mods/providers/src/service/assertions.ts new file mode 100644 index 000000000..a19af85e4 --- /dev/null +++ b/mods/providers/src/service/assertions.ts @@ -0,0 +1,8 @@ +import {FonosterInvalidArgument} from "@fonoster/errors"; +import isValidHost from "is-valid-host"; + +export const assertIsValidHost = (host: string) => { + if (!isValidHost(host)) { + throw new FonosterInvalidArgument(`invalid host: ${host}`); + } +}; diff --git a/mods/providers/src/service/healthcheck.ts b/mods/providers/src/service/healthcheck.ts index 03ef418cd..c024ae500 100644 --- a/mods/providers/src/service/healthcheck.ts +++ b/mods/providers/src/service/healthcheck.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; //healthcheck(); diff --git a/mods/providers/src/service/protos/common_pb.d.ts b/mods/providers/src/service/protos/common_pb.d.ts index 5311b1717..f8b5fb810 100644 --- a/mods/providers/src/service/protos/common_pb.d.ts +++ b/mods/providers/src/service/protos/common_pb.d.ts @@ -1,42 +1,49 @@ -// package: fonos.common.v1beta1 +// package: fonoster.common.v1beta1 // file: common.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; -export class Error extends jspb.Message { +export class Empty extends jspb.Message { serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Error.AsObject; - static toObject(includeInstance: boolean, msg: Error): Error.AsObject; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Error; - static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; } -export namespace Error { +export namespace Empty { export type AsObject = { } } -export class Empty extends jspb.Message { +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Empty.AsObject; - static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Empty; - static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; } -export namespace Empty { +export namespace ErrorResponse { export type AsObject = { + status: number, + message: string, } } diff --git a/mods/providers/src/service/protos/common_pb.js b/mods/providers/src/service/protos/common_pb.js index 4efc688db..b7f99c7ea 100644 --- a/mods/providers/src/service/protos/common_pb.js +++ b/mods/providers/src/service/protos/common_pb.js @@ -15,9 +15,11 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.common.v1beta1.Empty', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.Error', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -28,16 +30,16 @@ goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Error = function(opt_data) { +proto.fonoster.common.v1beta1.Empty = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Error, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Error.displayName = 'proto.fonos.common.v1beta1.Error'; + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; } /** * Generated by JsPbCodeGenerator. @@ -49,16 +51,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Empty = function(opt_data) { +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Empty, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Empty.displayName = 'proto.fonos.common.v1beta1.Empty'; + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; } @@ -76,8 +78,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Error.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); }; @@ -86,11 +88,11 @@ proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Error} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -106,23 +108,23 @@ proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Error; - return proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Error} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -142,9 +144,9 @@ proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Error.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -152,11 +154,11 @@ proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Error} message + * @param {!proto.fonoster.common.v1beta1.Empty} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -177,8 +179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Empty.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); }; @@ -187,13 +189,14 @@ proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Empty} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { var f, obj = { - + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -207,29 +210,37 @@ proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Empty; - return proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; default: reader.skipField(); break; @@ -243,9 +254,9 @@ proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -253,22 +264,72 @@ proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Empty} message + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** * @enum {number} */ -proto.fonos.common.v1beta1.View = { +proto.fonoster.common.v1beta1.View = { BASIC: 0, STANDARD: 1, FULL: 2 }; -goog.object.extend(exports, proto.fonos.common.v1beta1); +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/providers/src/service/protos/google/api/annotations_grpc_pb.js b/mods/providers/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/providers/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/providers/src/service/protos/google/api/annotations_pb.d.ts b/mods/providers/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/providers/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/providers/src/service/protos/google/api/annotations_pb.js b/mods/providers/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/providers/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/providers/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/providers/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/providers/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/providers/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/providers/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/providers/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/providers/src/service/protos/google/api/field_behavior_pb.js b/mods/providers/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/providers/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/providers/src/service/protos/google/api/http_grpc_pb.js b/mods/providers/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/providers/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/providers/src/service/protos/google/api/http_pb.d.ts b/mods/providers/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/providers/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/providers/src/service/protos/google/api/http_pb.js b/mods/providers/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/providers/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/providers/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/providers/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/providers/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/providers/src/service/protos/google/api/httpbody_pb.d.ts b/mods/providers/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/providers/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/providers/src/service/protos/google/api/httpbody_pb.js b/mods/providers/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/providers/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/providers/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/providers/src/service/protos/providers_grpc_pb.d.ts b/mods/providers/src/service/protos/providers_grpc_pb.d.ts index 04826ae65..8f1f2b92a 100644 --- a/mods/providers/src/service/protos/providers_grpc_pb.d.ts +++ b/mods/providers/src/service/protos/providers_grpc_pb.d.ts @@ -1,11 +1,14 @@ -// package: fonos.providers.v1beta1 +// package: fonoster.providers.v1beta1 // file: providers.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as providers_pb from "./providers_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; import * as common_pb from "./common_pb"; interface IProvidersService extends grpc.ServiceDefinition { @@ -17,7 +20,7 @@ interface IProvidersService extends grpc.ServiceDefinition { - path: "/fonos.providers.v1beta1.Providers/ListProviders"; + path: "/fonoster.providers.v1beta1.Providers/ListProviders"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -26,7 +29,7 @@ interface IProvidersService_IListProviders extends grpc.MethodDefinition; } interface IProvidersService_ICreateProvider extends grpc.MethodDefinition { - path: "/fonos.providers.v1beta1.Providers/CreateProvider"; + path: "/fonoster.providers.v1beta1.Providers/CreateProvider"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -35,7 +38,7 @@ interface IProvidersService_ICreateProvider extends grpc.MethodDefinition; } interface IProvidersService_IGetProvider extends grpc.MethodDefinition { - path: "/fonos.providers.v1beta1.Providers/GetProvider"; + path: "/fonoster.providers.v1beta1.Providers/GetProvider"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -44,7 +47,7 @@ interface IProvidersService_IGetProvider extends grpc.MethodDefinition; } interface IProvidersService_IUpdateProvider extends grpc.MethodDefinition { - path: "/fonos.providers.v1beta1.Providers/UpdateProvider"; + path: "/fonoster.providers.v1beta1.Providers/UpdateProvider"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -53,7 +56,7 @@ interface IProvidersService_IUpdateProvider extends grpc.MethodDefinition; } interface IProvidersService_IDeleteProvider extends grpc.MethodDefinition { - path: "/fonos.providers.v1beta1.Providers/DeleteProvider"; + path: "/fonoster.providers.v1beta1.Providers/DeleteProvider"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; diff --git a/mods/providers/src/service/protos/providers_grpc_pb.js b/mods/providers/src/service/protos/providers_grpc_pb.js index a9dcc0544..743e60315 100644 --- a/mods/providers/src/service/protos/providers_grpc_pb.js +++ b/mods/providers/src/service/protos/providers_grpc_pb.js @@ -3,100 +3,103 @@ // Original file comments: // * // MIT License -// Copyright (c) 2020 Fonoster Inc +// Copyright (c) 2021 Fonoster Inc // // The Providers proto contains the artificats for the administration // of Providers. 'use strict'; var grpc = require('@grpc/grpc-js'); var providers_pb = require('./providers_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); var common_pb = require('./common_pb.js'); -function serialize_fonos_common_v1beta1_Empty(arg) { +function serialize_fonoster_common_v1beta1_Empty(arg) { if (!(arg instanceof common_pb.Empty)) { - throw new Error('Expected argument of type fonos.common.v1beta1.Empty'); + throw new Error('Expected argument of type fonoster.common.v1beta1.Empty'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_common_v1beta1_Empty(buffer_arg) { +function deserialize_fonoster_common_v1beta1_Empty(buffer_arg) { return common_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_providers_v1beta1_CreateProviderRequest(arg) { +function serialize_fonoster_providers_v1beta1_CreateProviderRequest(arg) { if (!(arg instanceof providers_pb.CreateProviderRequest)) { - throw new Error('Expected argument of type fonos.providers.v1beta1.CreateProviderRequest'); + throw new Error('Expected argument of type fonoster.providers.v1beta1.CreateProviderRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_providers_v1beta1_CreateProviderRequest(buffer_arg) { +function deserialize_fonoster_providers_v1beta1_CreateProviderRequest(buffer_arg) { return providers_pb.CreateProviderRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_providers_v1beta1_DeleteProviderRequest(arg) { +function serialize_fonoster_providers_v1beta1_DeleteProviderRequest(arg) { if (!(arg instanceof providers_pb.DeleteProviderRequest)) { - throw new Error('Expected argument of type fonos.providers.v1beta1.DeleteProviderRequest'); + throw new Error('Expected argument of type fonoster.providers.v1beta1.DeleteProviderRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_providers_v1beta1_DeleteProviderRequest(buffer_arg) { +function deserialize_fonoster_providers_v1beta1_DeleteProviderRequest(buffer_arg) { return providers_pb.DeleteProviderRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_providers_v1beta1_GetProviderRequest(arg) { +function serialize_fonoster_providers_v1beta1_GetProviderRequest(arg) { if (!(arg instanceof providers_pb.GetProviderRequest)) { - throw new Error('Expected argument of type fonos.providers.v1beta1.GetProviderRequest'); + throw new Error('Expected argument of type fonoster.providers.v1beta1.GetProviderRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_providers_v1beta1_GetProviderRequest(buffer_arg) { +function deserialize_fonoster_providers_v1beta1_GetProviderRequest(buffer_arg) { return providers_pb.GetProviderRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_providers_v1beta1_ListProvidersRequest(arg) { +function serialize_fonoster_providers_v1beta1_ListProvidersRequest(arg) { if (!(arg instanceof providers_pb.ListProvidersRequest)) { - throw new Error('Expected argument of type fonos.providers.v1beta1.ListProvidersRequest'); + throw new Error('Expected argument of type fonoster.providers.v1beta1.ListProvidersRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_providers_v1beta1_ListProvidersRequest(buffer_arg) { +function deserialize_fonoster_providers_v1beta1_ListProvidersRequest(buffer_arg) { return providers_pb.ListProvidersRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_providers_v1beta1_ListProvidersResponse(arg) { +function serialize_fonoster_providers_v1beta1_ListProvidersResponse(arg) { if (!(arg instanceof providers_pb.ListProvidersResponse)) { - throw new Error('Expected argument of type fonos.providers.v1beta1.ListProvidersResponse'); + throw new Error('Expected argument of type fonoster.providers.v1beta1.ListProvidersResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_providers_v1beta1_ListProvidersResponse(buffer_arg) { +function deserialize_fonoster_providers_v1beta1_ListProvidersResponse(buffer_arg) { return providers_pb.ListProvidersResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_providers_v1beta1_Provider(arg) { +function serialize_fonoster_providers_v1beta1_Provider(arg) { if (!(arg instanceof providers_pb.Provider)) { - throw new Error('Expected argument of type fonos.providers.v1beta1.Provider'); + throw new Error('Expected argument of type fonoster.providers.v1beta1.Provider'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_providers_v1beta1_Provider(buffer_arg) { +function deserialize_fonoster_providers_v1beta1_Provider(buffer_arg) { return providers_pb.Provider.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_providers_v1beta1_UpdateProviderRequest(arg) { +function serialize_fonoster_providers_v1beta1_UpdateProviderRequest(arg) { if (!(arg instanceof providers_pb.UpdateProviderRequest)) { - throw new Error('Expected argument of type fonos.providers.v1beta1.UpdateProviderRequest'); + throw new Error('Expected argument of type fonoster.providers.v1beta1.UpdateProviderRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_providers_v1beta1_UpdateProviderRequest(buffer_arg) { +function deserialize_fonoster_providers_v1beta1_UpdateProviderRequest(buffer_arg) { return providers_pb.UpdateProviderRequest.deserializeBinary(new Uint8Array(buffer_arg)); } @@ -104,63 +107,63 @@ function deserialize_fonos_providers_v1beta1_UpdateProviderRequest(buffer_arg) { var ProvidersService = exports.ProvidersService = { // Lists Providers from the SIP Proxy subsystem listProviders: { - path: '/fonos.providers.v1beta1.Providers/ListProviders', + path: '/fonoster.providers.v1beta1.Providers/ListProviders', requestStream: false, responseStream: false, requestType: providers_pb.ListProvidersRequest, responseType: providers_pb.ListProvidersResponse, - requestSerialize: serialize_fonos_providers_v1beta1_ListProvidersRequest, - requestDeserialize: deserialize_fonos_providers_v1beta1_ListProvidersRequest, - responseSerialize: serialize_fonos_providers_v1beta1_ListProvidersResponse, - responseDeserialize: deserialize_fonos_providers_v1beta1_ListProvidersResponse, + requestSerialize: serialize_fonoster_providers_v1beta1_ListProvidersRequest, + requestDeserialize: deserialize_fonoster_providers_v1beta1_ListProvidersRequest, + responseSerialize: serialize_fonoster_providers_v1beta1_ListProvidersResponse, + responseDeserialize: deserialize_fonoster_providers_v1beta1_ListProvidersResponse, }, // Creates a new Provider resource. createProvider: { - path: '/fonos.providers.v1beta1.Providers/CreateProvider', + path: '/fonoster.providers.v1beta1.Providers/CreateProvider', requestStream: false, responseStream: false, requestType: providers_pb.CreateProviderRequest, responseType: providers_pb.Provider, - requestSerialize: serialize_fonos_providers_v1beta1_CreateProviderRequest, - requestDeserialize: deserialize_fonos_providers_v1beta1_CreateProviderRequest, - responseSerialize: serialize_fonos_providers_v1beta1_Provider, - responseDeserialize: deserialize_fonos_providers_v1beta1_Provider, + requestSerialize: serialize_fonoster_providers_v1beta1_CreateProviderRequest, + requestDeserialize: deserialize_fonoster_providers_v1beta1_CreateProviderRequest, + responseSerialize: serialize_fonoster_providers_v1beta1_Provider, + responseDeserialize: deserialize_fonoster_providers_v1beta1_Provider, }, // Gets Provider using its reference getProvider: { - path: '/fonos.providers.v1beta1.Providers/GetProvider', + path: '/fonoster.providers.v1beta1.Providers/GetProvider', requestStream: false, responseStream: false, requestType: providers_pb.GetProviderRequest, responseType: providers_pb.Provider, - requestSerialize: serialize_fonos_providers_v1beta1_GetProviderRequest, - requestDeserialize: deserialize_fonos_providers_v1beta1_GetProviderRequest, - responseSerialize: serialize_fonos_providers_v1beta1_Provider, - responseDeserialize: deserialize_fonos_providers_v1beta1_Provider, + requestSerialize: serialize_fonoster_providers_v1beta1_GetProviderRequest, + requestDeserialize: deserialize_fonoster_providers_v1beta1_GetProviderRequest, + responseSerialize: serialize_fonoster_providers_v1beta1_Provider, + responseDeserialize: deserialize_fonoster_providers_v1beta1_Provider, }, // Change or update fields in a resource updateProvider: { - path: '/fonos.providers.v1beta1.Providers/UpdateProvider', + path: '/fonoster.providers.v1beta1.Providers/UpdateProvider', requestStream: false, responseStream: false, requestType: providers_pb.UpdateProviderRequest, responseType: providers_pb.Provider, - requestSerialize: serialize_fonos_providers_v1beta1_UpdateProviderRequest, - requestDeserialize: deserialize_fonos_providers_v1beta1_UpdateProviderRequest, - responseSerialize: serialize_fonos_providers_v1beta1_Provider, - responseDeserialize: deserialize_fonos_providers_v1beta1_Provider, + requestSerialize: serialize_fonoster_providers_v1beta1_UpdateProviderRequest, + requestDeserialize: deserialize_fonoster_providers_v1beta1_UpdateProviderRequest, + responseSerialize: serialize_fonoster_providers_v1beta1_Provider, + responseDeserialize: deserialize_fonoster_providers_v1beta1_Provider, }, // Hard delete of a Provider resource deleteProvider: { - path: '/fonos.providers.v1beta1.Providers/DeleteProvider', + path: '/fonoster.providers.v1beta1.Providers/DeleteProvider', requestStream: false, responseStream: false, requestType: providers_pb.DeleteProviderRequest, responseType: common_pb.Empty, - requestSerialize: serialize_fonos_providers_v1beta1_DeleteProviderRequest, - requestDeserialize: deserialize_fonos_providers_v1beta1_DeleteProviderRequest, - responseSerialize: serialize_fonos_common_v1beta1_Empty, - responseDeserialize: deserialize_fonos_common_v1beta1_Empty, + requestSerialize: serialize_fonoster_providers_v1beta1_DeleteProviderRequest, + requestDeserialize: deserialize_fonoster_providers_v1beta1_DeleteProviderRequest, + responseSerialize: serialize_fonoster_common_v1beta1_Empty, + responseDeserialize: deserialize_fonoster_common_v1beta1_Empty, }, }; diff --git a/mods/providers/src/service/protos/providers_pb.d.ts b/mods/providers/src/service/protos/providers_pb.d.ts index 027ccc5f0..b86c0ee6f 100644 --- a/mods/providers/src/service/protos/providers_pb.d.ts +++ b/mods/providers/src/service/protos/providers_pb.d.ts @@ -1,10 +1,12 @@ -// package: fonos.providers.v1beta1 +// package: fonoster.providers.v1beta1 // file: providers.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; import * as common_pb from "./common_pb"; export class ListProvidersRequest extends jspb.Message { @@ -59,11 +61,18 @@ export namespace ListProvidersResponse { } export class CreateProviderRequest extends jspb.Message { - - hasProvider(): boolean; - clearProvider(): void; - getProvider(): Provider | undefined; - setProvider(value?: Provider): CreateProviderRequest; + getName(): string; + setName(value: string): CreateProviderRequest; + getUsername(): string; + setUsername(value: string): CreateProviderRequest; + getSecret(): string; + setSecret(value: string): CreateProviderRequest; + getHost(): string; + setHost(value: string): CreateProviderRequest; + getTransport(): string; + setTransport(value: string): CreateProviderRequest; + getExpires(): number; + setExpires(value: number): CreateProviderRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateProviderRequest.AsObject; @@ -77,16 +86,30 @@ export class CreateProviderRequest extends jspb.Message { export namespace CreateProviderRequest { export type AsObject = { - provider?: Provider.AsObject, + name: string, + username: string, + secret: string, + host: string, + transport: string, + expires: number, } } export class UpdateProviderRequest extends jspb.Message { - - hasProvider(): boolean; - clearProvider(): void; - getProvider(): Provider | undefined; - setProvider(value?: Provider): UpdateProviderRequest; + getRef(): string; + setRef(value: string): UpdateProviderRequest; + getName(): string; + setName(value: string): UpdateProviderRequest; + getUsername(): string; + setUsername(value: string): UpdateProviderRequest; + getSecret(): string; + setSecret(value: string): UpdateProviderRequest; + getHost(): string; + setHost(value: string): UpdateProviderRequest; + getTransport(): string; + setTransport(value: string): UpdateProviderRequest; + getExpires(): number; + setExpires(value: number): UpdateProviderRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateProviderRequest.AsObject; @@ -100,7 +123,13 @@ export class UpdateProviderRequest extends jspb.Message { export namespace UpdateProviderRequest { export type AsObject = { - provider?: Provider.AsObject, + ref: string, + name: string, + username: string, + secret: string, + host: string, + transport: string, + expires: number, } } diff --git a/mods/providers/src/service/protos/providers_pb.js b/mods/providers/src/service/protos/providers_pb.js index afe241686..35c3a9577 100644 --- a/mods/providers/src/service/protos/providers_pb.js +++ b/mods/providers/src/service/protos/providers_pb.js @@ -15,15 +15,21 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +goog.object.extend(proto, google_api_field_behavior_pb); var common_pb = require('./common_pb.js'); goog.object.extend(proto, common_pb); -goog.exportSymbol('proto.fonos.providers.v1beta1.CreateProviderRequest', null, global); -goog.exportSymbol('proto.fonos.providers.v1beta1.DeleteProviderRequest', null, global); -goog.exportSymbol('proto.fonos.providers.v1beta1.GetProviderRequest', null, global); -goog.exportSymbol('proto.fonos.providers.v1beta1.ListProvidersRequest', null, global); -goog.exportSymbol('proto.fonos.providers.v1beta1.ListProvidersResponse', null, global); -goog.exportSymbol('proto.fonos.providers.v1beta1.Provider', null, global); -goog.exportSymbol('proto.fonos.providers.v1beta1.UpdateProviderRequest', null, global); +goog.exportSymbol('proto.fonoster.providers.v1beta1.CreateProviderRequest', null, global); +goog.exportSymbol('proto.fonoster.providers.v1beta1.DeleteProviderRequest', null, global); +goog.exportSymbol('proto.fonoster.providers.v1beta1.GetProviderRequest', null, global); +goog.exportSymbol('proto.fonoster.providers.v1beta1.ListProvidersRequest', null, global); +goog.exportSymbol('proto.fonoster.providers.v1beta1.ListProvidersResponse', null, global); +goog.exportSymbol('proto.fonoster.providers.v1beta1.Provider', null, global); +goog.exportSymbol('proto.fonoster.providers.v1beta1.UpdateProviderRequest', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -34,16 +40,16 @@ goog.exportSymbol('proto.fonos.providers.v1beta1.UpdateProviderRequest', null, g * @extends {jspb.Message} * @constructor */ -proto.fonos.providers.v1beta1.ListProvidersRequest = function(opt_data) { +proto.fonoster.providers.v1beta1.ListProvidersRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.providers.v1beta1.ListProvidersRequest, jspb.Message); +goog.inherits(proto.fonoster.providers.v1beta1.ListProvidersRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.providers.v1beta1.ListProvidersRequest.displayName = 'proto.fonos.providers.v1beta1.ListProvidersRequest'; + proto.fonoster.providers.v1beta1.ListProvidersRequest.displayName = 'proto.fonoster.providers.v1beta1.ListProvidersRequest'; } /** * Generated by JsPbCodeGenerator. @@ -55,16 +61,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.providers.v1beta1.ListProvidersResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.providers.v1beta1.ListProvidersResponse.repeatedFields_, null); +proto.fonoster.providers.v1beta1.ListProvidersResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.providers.v1beta1.ListProvidersResponse.repeatedFields_, null); }; -goog.inherits(proto.fonos.providers.v1beta1.ListProvidersResponse, jspb.Message); +goog.inherits(proto.fonoster.providers.v1beta1.ListProvidersResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.providers.v1beta1.ListProvidersResponse.displayName = 'proto.fonos.providers.v1beta1.ListProvidersResponse'; + proto.fonoster.providers.v1beta1.ListProvidersResponse.displayName = 'proto.fonoster.providers.v1beta1.ListProvidersResponse'; } /** * Generated by JsPbCodeGenerator. @@ -76,16 +82,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.providers.v1beta1.CreateProviderRequest = function(opt_data) { +proto.fonoster.providers.v1beta1.CreateProviderRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.providers.v1beta1.CreateProviderRequest, jspb.Message); +goog.inherits(proto.fonoster.providers.v1beta1.CreateProviderRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.providers.v1beta1.CreateProviderRequest.displayName = 'proto.fonos.providers.v1beta1.CreateProviderRequest'; + proto.fonoster.providers.v1beta1.CreateProviderRequest.displayName = 'proto.fonoster.providers.v1beta1.CreateProviderRequest'; } /** * Generated by JsPbCodeGenerator. @@ -97,16 +103,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.providers.v1beta1.UpdateProviderRequest = function(opt_data) { +proto.fonoster.providers.v1beta1.UpdateProviderRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.providers.v1beta1.UpdateProviderRequest, jspb.Message); +goog.inherits(proto.fonoster.providers.v1beta1.UpdateProviderRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.providers.v1beta1.UpdateProviderRequest.displayName = 'proto.fonos.providers.v1beta1.UpdateProviderRequest'; + proto.fonoster.providers.v1beta1.UpdateProviderRequest.displayName = 'proto.fonoster.providers.v1beta1.UpdateProviderRequest'; } /** * Generated by JsPbCodeGenerator. @@ -118,16 +124,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.providers.v1beta1.GetProviderRequest = function(opt_data) { +proto.fonoster.providers.v1beta1.GetProviderRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.providers.v1beta1.GetProviderRequest, jspb.Message); +goog.inherits(proto.fonoster.providers.v1beta1.GetProviderRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.providers.v1beta1.GetProviderRequest.displayName = 'proto.fonos.providers.v1beta1.GetProviderRequest'; + proto.fonoster.providers.v1beta1.GetProviderRequest.displayName = 'proto.fonoster.providers.v1beta1.GetProviderRequest'; } /** * Generated by JsPbCodeGenerator. @@ -139,16 +145,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.providers.v1beta1.DeleteProviderRequest = function(opt_data) { +proto.fonoster.providers.v1beta1.DeleteProviderRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.providers.v1beta1.DeleteProviderRequest, jspb.Message); +goog.inherits(proto.fonoster.providers.v1beta1.DeleteProviderRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.providers.v1beta1.DeleteProviderRequest.displayName = 'proto.fonos.providers.v1beta1.DeleteProviderRequest'; + proto.fonoster.providers.v1beta1.DeleteProviderRequest.displayName = 'proto.fonoster.providers.v1beta1.DeleteProviderRequest'; } /** * Generated by JsPbCodeGenerator. @@ -160,16 +166,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.providers.v1beta1.Provider = function(opt_data) { +proto.fonoster.providers.v1beta1.Provider = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.providers.v1beta1.Provider, jspb.Message); +goog.inherits(proto.fonoster.providers.v1beta1.Provider, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.providers.v1beta1.Provider.displayName = 'proto.fonos.providers.v1beta1.Provider'; + proto.fonoster.providers.v1beta1.Provider.displayName = 'proto.fonoster.providers.v1beta1.Provider'; } @@ -187,8 +193,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.providers.v1beta1.ListProvidersRequest.toObject(opt_includeInstance, this); +proto.fonoster.providers.v1beta1.ListProvidersRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.providers.v1beta1.ListProvidersRequest.toObject(opt_includeInstance, this); }; @@ -197,11 +203,11 @@ proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.providers.v1beta1.ListProvidersRequest} msg The msg instance to transform. + * @param {!proto.fonoster.providers.v1beta1.ListProvidersRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.ListProvidersRequest.toObject = function(includeInstance, msg) { +proto.fonoster.providers.v1beta1.ListProvidersRequest.toObject = function(includeInstance, msg) { var f, obj = { pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0), pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -219,23 +225,23 @@ proto.fonos.providers.v1beta1.ListProvidersRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.providers.v1beta1.ListProvidersRequest} + * @return {!proto.fonoster.providers.v1beta1.ListProvidersRequest} */ -proto.fonos.providers.v1beta1.ListProvidersRequest.deserializeBinary = function(bytes) { +proto.fonoster.providers.v1beta1.ListProvidersRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.providers.v1beta1.ListProvidersRequest; - return proto.fonos.providers.v1beta1.ListProvidersRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.providers.v1beta1.ListProvidersRequest; + return proto.fonoster.providers.v1beta1.ListProvidersRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.providers.v1beta1.ListProvidersRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.providers.v1beta1.ListProvidersRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.providers.v1beta1.ListProvidersRequest} + * @return {!proto.fonoster.providers.v1beta1.ListProvidersRequest} */ -proto.fonos.providers.v1beta1.ListProvidersRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.providers.v1beta1.ListProvidersRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -251,7 +257,7 @@ proto.fonos.providers.v1beta1.ListProvidersRequest.deserializeBinaryFromReader = msg.setPageToken(value); break; case 3: - var value = /** @type {!proto.fonos.common.v1beta1.View} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.common.v1beta1.View} */ (reader.readEnum()); msg.setView(value); break; default: @@ -267,9 +273,9 @@ proto.fonos.providers.v1beta1.ListProvidersRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.serializeBinary = function() { +proto.fonoster.providers.v1beta1.ListProvidersRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.providers.v1beta1.ListProvidersRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.providers.v1beta1.ListProvidersRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -277,11 +283,11 @@ proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.providers.v1beta1.ListProvidersRequest} message + * @param {!proto.fonoster.providers.v1beta1.ListProvidersRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.ListProvidersRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.providers.v1beta1.ListProvidersRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPageSize(); if (f !== 0) { @@ -311,16 +317,16 @@ proto.fonos.providers.v1beta1.ListProvidersRequest.serializeBinaryToWriter = fun * optional int32 page_size = 1; * @return {number} */ -proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.getPageSize = function() { +proto.fonoster.providers.v1beta1.ListProvidersRequest.prototype.getPageSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.fonos.providers.v1beta1.ListProvidersRequest} returns this + * @return {!proto.fonoster.providers.v1beta1.ListProvidersRequest} returns this */ -proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.setPageSize = function(value) { +proto.fonoster.providers.v1beta1.ListProvidersRequest.prototype.setPageSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -329,34 +335,34 @@ proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.setPageSize = funct * optional string page_token = 2; * @return {string} */ -proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.getPageToken = function() { +proto.fonoster.providers.v1beta1.ListProvidersRequest.prototype.getPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.ListProvidersRequest} returns this + * @return {!proto.fonoster.providers.v1beta1.ListProvidersRequest} returns this */ -proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.setPageToken = function(value) { +proto.fonoster.providers.v1beta1.ListProvidersRequest.prototype.setPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional fonos.common.v1beta1.View view = 3; - * @return {!proto.fonos.common.v1beta1.View} + * optional fonoster.common.v1beta1.View view = 3; + * @return {!proto.fonoster.common.v1beta1.View} */ -proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.getView = function() { - return /** @type {!proto.fonos.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.fonoster.providers.v1beta1.ListProvidersRequest.prototype.getView = function() { + return /** @type {!proto.fonoster.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!proto.fonos.common.v1beta1.View} value - * @return {!proto.fonos.providers.v1beta1.ListProvidersRequest} returns this + * @param {!proto.fonoster.common.v1beta1.View} value + * @return {!proto.fonoster.providers.v1beta1.ListProvidersRequest} returns this */ -proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.setView = function(value) { +proto.fonoster.providers.v1beta1.ListProvidersRequest.prototype.setView = function(value) { return jspb.Message.setProto3EnumField(this, 3, value); }; @@ -367,7 +373,7 @@ proto.fonos.providers.v1beta1.ListProvidersRequest.prototype.setView = function( * @private {!Array} * @const */ -proto.fonos.providers.v1beta1.ListProvidersResponse.repeatedFields_ = [1]; +proto.fonoster.providers.v1beta1.ListProvidersResponse.repeatedFields_ = [1]; @@ -384,8 +390,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.providers.v1beta1.ListProvidersResponse.toObject(opt_includeInstance, this); +proto.fonoster.providers.v1beta1.ListProvidersResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.providers.v1beta1.ListProvidersResponse.toObject(opt_includeInstance, this); }; @@ -394,14 +400,14 @@ proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.providers.v1beta1.ListProvidersResponse} msg The msg instance to transform. + * @param {!proto.fonoster.providers.v1beta1.ListProvidersResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.ListProvidersResponse.toObject = function(includeInstance, msg) { +proto.fonoster.providers.v1beta1.ListProvidersResponse.toObject = function(includeInstance, msg) { var f, obj = { providersList: jspb.Message.toObjectList(msg.getProvidersList(), - proto.fonos.providers.v1beta1.Provider.toObject, includeInstance), + proto.fonoster.providers.v1beta1.Provider.toObject, includeInstance), nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; @@ -416,23 +422,23 @@ proto.fonos.providers.v1beta1.ListProvidersResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.providers.v1beta1.ListProvidersResponse} + * @return {!proto.fonoster.providers.v1beta1.ListProvidersResponse} */ -proto.fonos.providers.v1beta1.ListProvidersResponse.deserializeBinary = function(bytes) { +proto.fonoster.providers.v1beta1.ListProvidersResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.providers.v1beta1.ListProvidersResponse; - return proto.fonos.providers.v1beta1.ListProvidersResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.providers.v1beta1.ListProvidersResponse; + return proto.fonoster.providers.v1beta1.ListProvidersResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.providers.v1beta1.ListProvidersResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.providers.v1beta1.ListProvidersResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.providers.v1beta1.ListProvidersResponse} + * @return {!proto.fonoster.providers.v1beta1.ListProvidersResponse} */ -proto.fonos.providers.v1beta1.ListProvidersResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.providers.v1beta1.ListProvidersResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -440,8 +446,8 @@ proto.fonos.providers.v1beta1.ListProvidersResponse.deserializeBinaryFromReader var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.providers.v1beta1.Provider; - reader.readMessage(value,proto.fonos.providers.v1beta1.Provider.deserializeBinaryFromReader); + var value = new proto.fonoster.providers.v1beta1.Provider; + reader.readMessage(value,proto.fonoster.providers.v1beta1.Provider.deserializeBinaryFromReader); msg.addProviders(value); break; case 2: @@ -461,9 +467,9 @@ proto.fonos.providers.v1beta1.ListProvidersResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.serializeBinary = function() { +proto.fonoster.providers.v1beta1.ListProvidersResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.providers.v1beta1.ListProvidersResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.providers.v1beta1.ListProvidersResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -471,18 +477,18 @@ proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.providers.v1beta1.ListProvidersResponse} message + * @param {!proto.fonoster.providers.v1beta1.ListProvidersResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.ListProvidersResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.providers.v1beta1.ListProvidersResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getProvidersList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.fonos.providers.v1beta1.Provider.serializeBinaryToWriter + proto.fonoster.providers.v1beta1.Provider.serializeBinaryToWriter ); } f = message.getNextPageToken(); @@ -497,38 +503,38 @@ proto.fonos.providers.v1beta1.ListProvidersResponse.serializeBinaryToWriter = fu /** * repeated Provider providers = 1; - * @return {!Array} + * @return {!Array} */ -proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.getProvidersList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.fonos.providers.v1beta1.Provider, 1)); +proto.fonoster.providers.v1beta1.ListProvidersResponse.prototype.getProvidersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.fonoster.providers.v1beta1.Provider, 1)); }; /** - * @param {!Array} value - * @return {!proto.fonos.providers.v1beta1.ListProvidersResponse} returns this + * @param {!Array} value + * @return {!proto.fonoster.providers.v1beta1.ListProvidersResponse} returns this */ -proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.setProvidersList = function(value) { +proto.fonoster.providers.v1beta1.ListProvidersResponse.prototype.setProvidersList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.fonos.providers.v1beta1.Provider=} opt_value + * @param {!proto.fonoster.providers.v1beta1.Provider=} opt_value * @param {number=} opt_index - * @return {!proto.fonos.providers.v1beta1.Provider} + * @return {!proto.fonoster.providers.v1beta1.Provider} */ -proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.addProviders = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonos.providers.v1beta1.Provider, opt_index); +proto.fonoster.providers.v1beta1.ListProvidersResponse.prototype.addProviders = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.providers.v1beta1.Provider, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.providers.v1beta1.ListProvidersResponse} returns this + * @return {!proto.fonoster.providers.v1beta1.ListProvidersResponse} returns this */ -proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.clearProvidersList = function() { +proto.fonoster.providers.v1beta1.ListProvidersResponse.prototype.clearProvidersList = function() { return this.setProvidersList([]); }; @@ -537,16 +543,16 @@ proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.clearProvidersList * optional string next_page_token = 2; * @return {string} */ -proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.getNextPageToken = function() { +proto.fonoster.providers.v1beta1.ListProvidersResponse.prototype.getNextPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.ListProvidersResponse} returns this + * @return {!proto.fonoster.providers.v1beta1.ListProvidersResponse} returns this */ -proto.fonos.providers.v1beta1.ListProvidersResponse.prototype.setNextPageToken = function(value) { +proto.fonoster.providers.v1beta1.ListProvidersResponse.prototype.setNextPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -567,8 +573,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.providers.v1beta1.CreateProviderRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.providers.v1beta1.CreateProviderRequest.toObject(opt_includeInstance, this); +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.providers.v1beta1.CreateProviderRequest.toObject(opt_includeInstance, this); }; @@ -577,13 +583,18 @@ proto.fonos.providers.v1beta1.CreateProviderRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.providers.v1beta1.CreateProviderRequest} msg The msg instance to transform. + * @param {!proto.fonoster.providers.v1beta1.CreateProviderRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.CreateProviderRequest.toObject = function(includeInstance, msg) { +proto.fonoster.providers.v1beta1.CreateProviderRequest.toObject = function(includeInstance, msg) { var f, obj = { - provider: (f = msg.getProvider()) && proto.fonos.providers.v1beta1.Provider.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + username: jspb.Message.getFieldWithDefault(msg, 3, ""), + secret: jspb.Message.getFieldWithDefault(msg, 4, ""), + host: jspb.Message.getFieldWithDefault(msg, 5, ""), + transport: jspb.Message.getFieldWithDefault(msg, 6, ""), + expires: jspb.Message.getFieldWithDefault(msg, 7, 0) }; if (includeInstance) { @@ -597,33 +608,52 @@ proto.fonos.providers.v1beta1.CreateProviderRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.providers.v1beta1.CreateProviderRequest} + * @return {!proto.fonoster.providers.v1beta1.CreateProviderRequest} */ -proto.fonos.providers.v1beta1.CreateProviderRequest.deserializeBinary = function(bytes) { +proto.fonoster.providers.v1beta1.CreateProviderRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.providers.v1beta1.CreateProviderRequest; - return proto.fonos.providers.v1beta1.CreateProviderRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.providers.v1beta1.CreateProviderRequest; + return proto.fonoster.providers.v1beta1.CreateProviderRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.providers.v1beta1.CreateProviderRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.providers.v1beta1.CreateProviderRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.providers.v1beta1.CreateProviderRequest} + * @return {!proto.fonoster.providers.v1beta1.CreateProviderRequest} */ -proto.fonos.providers.v1beta1.CreateProviderRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.providers.v1beta1.CreateProviderRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { - case 1: - var value = new proto.fonos.providers.v1beta1.Provider; - reader.readMessage(value,proto.fonos.providers.v1beta1.Provider.deserializeBinaryFromReader); - msg.setProvider(value); + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setUsername(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setSecret(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setTransport(value); + break; + case 7: + var value = /** @type {number} */ (reader.readInt32()); + msg.setExpires(value); break; default: reader.skipField(); @@ -638,9 +668,9 @@ proto.fonos.providers.v1beta1.CreateProviderRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.providers.v1beta1.CreateProviderRequest.prototype.serializeBinary = function() { +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.providers.v1beta1.CreateProviderRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.providers.v1beta1.CreateProviderRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -648,57 +678,162 @@ proto.fonos.providers.v1beta1.CreateProviderRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.providers.v1beta1.CreateProviderRequest} message + * @param {!proto.fonoster.providers.v1beta1.CreateProviderRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.CreateProviderRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.providers.v1beta1.CreateProviderRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getProvider(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.fonos.providers.v1beta1.Provider.serializeBinaryToWriter + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getUsername(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getSecret(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getTransport(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExpires(); + if (f !== 0) { + writer.writeInt32( + 7, + f ); } }; /** - * optional Provider provider = 1; - * @return {?proto.fonos.providers.v1beta1.Provider} + * optional string name = 2; + * @return {string} */ -proto.fonos.providers.v1beta1.CreateProviderRequest.prototype.getProvider = function() { - return /** @type{?proto.fonos.providers.v1beta1.Provider} */ ( - jspb.Message.getWrapperField(this, proto.fonos.providers.v1beta1.Provider, 1)); +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {?proto.fonos.providers.v1beta1.Provider|undefined} value - * @return {!proto.fonos.providers.v1beta1.CreateProviderRequest} returns this -*/ -proto.fonos.providers.v1beta1.CreateProviderRequest.prototype.setProvider = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.CreateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.fonos.providers.v1beta1.CreateProviderRequest} returns this + * optional string username = 3; + * @return {string} + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.getUsername = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.CreateProviderRequest} returns this */ -proto.fonos.providers.v1beta1.CreateProviderRequest.prototype.clearProvider = function() { - return this.setProvider(undefined); +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.setUsername = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); }; /** - * Returns whether this field is set. - * @return {boolean} + * optional string secret = 4; + * @return {string} */ -proto.fonos.providers.v1beta1.CreateProviderRequest.prototype.hasProvider = function() { - return jspb.Message.getField(this, 1) != null; +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.getSecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.CreateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.setSecret = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string host = 5; + * @return {string} + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.CreateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string transport = 6; + * @return {string} + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.getTransport = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.CreateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.setTransport = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional int32 expires = 7; + * @return {number} + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.getExpires = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.providers.v1beta1.CreateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.CreateProviderRequest.prototype.setExpires = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); }; @@ -718,8 +853,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.providers.v1beta1.UpdateProviderRequest.toObject(opt_includeInstance, this); +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.providers.v1beta1.UpdateProviderRequest.toObject(opt_includeInstance, this); }; @@ -728,13 +863,19 @@ proto.fonos.providers.v1beta1.UpdateProviderRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.providers.v1beta1.UpdateProviderRequest} msg The msg instance to transform. + * @param {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.toObject = function(includeInstance, msg) { +proto.fonoster.providers.v1beta1.UpdateProviderRequest.toObject = function(includeInstance, msg) { var f, obj = { - provider: (f = msg.getProvider()) && proto.fonos.providers.v1beta1.Provider.toObject(includeInstance, f) + ref: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + username: jspb.Message.getFieldWithDefault(msg, 3, ""), + secret: jspb.Message.getFieldWithDefault(msg, 4, ""), + host: jspb.Message.getFieldWithDefault(msg, 5, ""), + transport: jspb.Message.getFieldWithDefault(msg, 6, ""), + expires: jspb.Message.getFieldWithDefault(msg, 7, 0) }; if (includeInstance) { @@ -748,23 +889,23 @@ proto.fonos.providers.v1beta1.UpdateProviderRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.providers.v1beta1.UpdateProviderRequest} + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.deserializeBinary = function(bytes) { +proto.fonoster.providers.v1beta1.UpdateProviderRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.providers.v1beta1.UpdateProviderRequest; - return proto.fonos.providers.v1beta1.UpdateProviderRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.providers.v1beta1.UpdateProviderRequest; + return proto.fonoster.providers.v1beta1.UpdateProviderRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.providers.v1beta1.UpdateProviderRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.providers.v1beta1.UpdateProviderRequest} + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.providers.v1beta1.UpdateProviderRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -772,9 +913,32 @@ proto.fonos.providers.v1beta1.UpdateProviderRequest.deserializeBinaryFromReader var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.providers.v1beta1.Provider; - reader.readMessage(value,proto.fonos.providers.v1beta1.Provider.deserializeBinaryFromReader); - msg.setProvider(value); + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setUsername(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setSecret(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setTransport(value); + break; + case 7: + var value = /** @type {number} */ (reader.readInt32()); + msg.setExpires(value); break; default: reader.skipField(); @@ -789,9 +953,9 @@ proto.fonos.providers.v1beta1.UpdateProviderRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.prototype.serializeBinary = function() { +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.providers.v1beta1.UpdateProviderRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.providers.v1beta1.UpdateProviderRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -799,57 +963,187 @@ proto.fonos.providers.v1beta1.UpdateProviderRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.providers.v1beta1.UpdateProviderRequest} message + * @param {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.providers.v1beta1.UpdateProviderRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getProvider(); - if (f != null) { - writer.writeMessage( + f = message.getRef(); + if (f.length > 0) { + writer.writeString( 1, - f, - proto.fonos.providers.v1beta1.Provider.serializeBinaryToWriter + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getUsername(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getSecret(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getTransport(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExpires(); + if (f !== 0) { + writer.writeInt32( + 7, + f ); } }; /** - * optional Provider provider = 1; - * @return {?proto.fonos.providers.v1beta1.Provider} + * optional string ref = 1; + * @return {string} */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.prototype.getProvider = function() { - return /** @type{?proto.fonos.providers.v1beta1.Provider} */ ( - jspb.Message.getWrapperField(this, proto.fonos.providers.v1beta1.Provider, 1)); +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {?proto.fonos.providers.v1beta1.Provider|undefined} value - * @return {!proto.fonos.providers.v1beta1.UpdateProviderRequest} returns this -*/ -proto.fonos.providers.v1beta1.UpdateProviderRequest.prototype.setProvider = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.fonos.providers.v1beta1.UpdateProviderRequest} returns this + * optional string username = 3; + * @return {string} */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.prototype.clearProvider = function() { - return this.setProvider(undefined); +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.getUsername = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * Returns whether this field is set. - * @return {boolean} + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.setUsername = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string secret = 4; + * @return {string} + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.getSecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.setSecret = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string host = 5; + * @return {string} */ -proto.fonos.providers.v1beta1.UpdateProviderRequest.prototype.hasProvider = function() { - return jspb.Message.getField(this, 1) != null; +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string transport = 6; + * @return {string} + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.getTransport = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.setTransport = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional int32 expires = 7; + * @return {number} + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.getExpires = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.providers.v1beta1.UpdateProviderRequest} returns this + */ +proto.fonoster.providers.v1beta1.UpdateProviderRequest.prototype.setExpires = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); }; @@ -869,8 +1163,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.providers.v1beta1.GetProviderRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.providers.v1beta1.GetProviderRequest.toObject(opt_includeInstance, this); +proto.fonoster.providers.v1beta1.GetProviderRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.providers.v1beta1.GetProviderRequest.toObject(opt_includeInstance, this); }; @@ -879,11 +1173,11 @@ proto.fonos.providers.v1beta1.GetProviderRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.providers.v1beta1.GetProviderRequest} msg The msg instance to transform. + * @param {!proto.fonoster.providers.v1beta1.GetProviderRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.GetProviderRequest.toObject = function(includeInstance, msg) { +proto.fonoster.providers.v1beta1.GetProviderRequest.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -899,23 +1193,23 @@ proto.fonos.providers.v1beta1.GetProviderRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.providers.v1beta1.GetProviderRequest} + * @return {!proto.fonoster.providers.v1beta1.GetProviderRequest} */ -proto.fonos.providers.v1beta1.GetProviderRequest.deserializeBinary = function(bytes) { +proto.fonoster.providers.v1beta1.GetProviderRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.providers.v1beta1.GetProviderRequest; - return proto.fonos.providers.v1beta1.GetProviderRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.providers.v1beta1.GetProviderRequest; + return proto.fonoster.providers.v1beta1.GetProviderRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.providers.v1beta1.GetProviderRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.providers.v1beta1.GetProviderRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.providers.v1beta1.GetProviderRequest} + * @return {!proto.fonoster.providers.v1beta1.GetProviderRequest} */ -proto.fonos.providers.v1beta1.GetProviderRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.providers.v1beta1.GetProviderRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -939,9 +1233,9 @@ proto.fonos.providers.v1beta1.GetProviderRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.providers.v1beta1.GetProviderRequest.prototype.serializeBinary = function() { +proto.fonoster.providers.v1beta1.GetProviderRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.providers.v1beta1.GetProviderRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.providers.v1beta1.GetProviderRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -949,11 +1243,11 @@ proto.fonos.providers.v1beta1.GetProviderRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.providers.v1beta1.GetProviderRequest} message + * @param {!proto.fonoster.providers.v1beta1.GetProviderRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.GetProviderRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.providers.v1beta1.GetProviderRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -969,16 +1263,16 @@ proto.fonos.providers.v1beta1.GetProviderRequest.serializeBinaryToWriter = funct * optional string ref = 1; * @return {string} */ -proto.fonos.providers.v1beta1.GetProviderRequest.prototype.getRef = function() { +proto.fonoster.providers.v1beta1.GetProviderRequest.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.GetProviderRequest} returns this + * @return {!proto.fonoster.providers.v1beta1.GetProviderRequest} returns this */ -proto.fonos.providers.v1beta1.GetProviderRequest.prototype.setRef = function(value) { +proto.fonoster.providers.v1beta1.GetProviderRequest.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -999,8 +1293,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.providers.v1beta1.DeleteProviderRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.providers.v1beta1.DeleteProviderRequest.toObject(opt_includeInstance, this); +proto.fonoster.providers.v1beta1.DeleteProviderRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.providers.v1beta1.DeleteProviderRequest.toObject(opt_includeInstance, this); }; @@ -1009,11 +1303,11 @@ proto.fonos.providers.v1beta1.DeleteProviderRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.providers.v1beta1.DeleteProviderRequest} msg The msg instance to transform. + * @param {!proto.fonoster.providers.v1beta1.DeleteProviderRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.DeleteProviderRequest.toObject = function(includeInstance, msg) { +proto.fonoster.providers.v1beta1.DeleteProviderRequest.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1029,23 +1323,23 @@ proto.fonos.providers.v1beta1.DeleteProviderRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.providers.v1beta1.DeleteProviderRequest} + * @return {!proto.fonoster.providers.v1beta1.DeleteProviderRequest} */ -proto.fonos.providers.v1beta1.DeleteProviderRequest.deserializeBinary = function(bytes) { +proto.fonoster.providers.v1beta1.DeleteProviderRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.providers.v1beta1.DeleteProviderRequest; - return proto.fonos.providers.v1beta1.DeleteProviderRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.providers.v1beta1.DeleteProviderRequest; + return proto.fonoster.providers.v1beta1.DeleteProviderRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.providers.v1beta1.DeleteProviderRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.providers.v1beta1.DeleteProviderRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.providers.v1beta1.DeleteProviderRequest} + * @return {!proto.fonoster.providers.v1beta1.DeleteProviderRequest} */ -proto.fonos.providers.v1beta1.DeleteProviderRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.providers.v1beta1.DeleteProviderRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1069,9 +1363,9 @@ proto.fonos.providers.v1beta1.DeleteProviderRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.providers.v1beta1.DeleteProviderRequest.prototype.serializeBinary = function() { +proto.fonoster.providers.v1beta1.DeleteProviderRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.providers.v1beta1.DeleteProviderRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.providers.v1beta1.DeleteProviderRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1079,11 +1373,11 @@ proto.fonos.providers.v1beta1.DeleteProviderRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.providers.v1beta1.DeleteProviderRequest} message + * @param {!proto.fonoster.providers.v1beta1.DeleteProviderRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.DeleteProviderRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.providers.v1beta1.DeleteProviderRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1099,16 +1393,16 @@ proto.fonos.providers.v1beta1.DeleteProviderRequest.serializeBinaryToWriter = fu * optional string ref = 1; * @return {string} */ -proto.fonos.providers.v1beta1.DeleteProviderRequest.prototype.getRef = function() { +proto.fonoster.providers.v1beta1.DeleteProviderRequest.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.DeleteProviderRequest} returns this + * @return {!proto.fonoster.providers.v1beta1.DeleteProviderRequest} returns this */ -proto.fonos.providers.v1beta1.DeleteProviderRequest.prototype.setRef = function(value) { +proto.fonoster.providers.v1beta1.DeleteProviderRequest.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1129,8 +1423,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.providers.v1beta1.Provider.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.providers.v1beta1.Provider.toObject(opt_includeInstance, this); +proto.fonoster.providers.v1beta1.Provider.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.providers.v1beta1.Provider.toObject(opt_includeInstance, this); }; @@ -1139,11 +1433,11 @@ proto.fonos.providers.v1beta1.Provider.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.providers.v1beta1.Provider} msg The msg instance to transform. + * @param {!proto.fonoster.providers.v1beta1.Provider} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.Provider.toObject = function(includeInstance, msg) { +proto.fonoster.providers.v1beta1.Provider.toObject = function(includeInstance, msg) { var f, obj = { ref: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1167,23 +1461,23 @@ proto.fonos.providers.v1beta1.Provider.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.providers.v1beta1.Provider} + * @return {!proto.fonoster.providers.v1beta1.Provider} */ -proto.fonos.providers.v1beta1.Provider.deserializeBinary = function(bytes) { +proto.fonoster.providers.v1beta1.Provider.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.providers.v1beta1.Provider; - return proto.fonos.providers.v1beta1.Provider.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.providers.v1beta1.Provider; + return proto.fonoster.providers.v1beta1.Provider.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.providers.v1beta1.Provider} msg The message object to deserialize into. + * @param {!proto.fonoster.providers.v1beta1.Provider} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.providers.v1beta1.Provider} + * @return {!proto.fonoster.providers.v1beta1.Provider} */ -proto.fonos.providers.v1beta1.Provider.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.providers.v1beta1.Provider.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1239,9 +1533,9 @@ proto.fonos.providers.v1beta1.Provider.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.providers.v1beta1.Provider.prototype.serializeBinary = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.providers.v1beta1.Provider.serializeBinaryToWriter(this, writer); + proto.fonoster.providers.v1beta1.Provider.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1249,11 +1543,11 @@ proto.fonos.providers.v1beta1.Provider.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.providers.v1beta1.Provider} message + * @param {!proto.fonoster.providers.v1beta1.Provider} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.providers.v1beta1.Provider.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.providers.v1beta1.Provider.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRef(); if (f.length > 0) { @@ -1325,16 +1619,16 @@ proto.fonos.providers.v1beta1.Provider.serializeBinaryToWriter = function(messag * optional string ref = 1; * @return {string} */ -proto.fonos.providers.v1beta1.Provider.prototype.getRef = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getRef = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setRef = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setRef = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1343,16 +1637,16 @@ proto.fonos.providers.v1beta1.Provider.prototype.setRef = function(value) { * optional string name = 2; * @return {string} */ -proto.fonos.providers.v1beta1.Provider.prototype.getName = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setName = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1361,16 +1655,16 @@ proto.fonos.providers.v1beta1.Provider.prototype.setName = function(value) { * optional string username = 3; * @return {string} */ -proto.fonos.providers.v1beta1.Provider.prototype.getUsername = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getUsername = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setUsername = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setUsername = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1379,16 +1673,16 @@ proto.fonos.providers.v1beta1.Provider.prototype.setUsername = function(value) { * optional string secret = 4; * @return {string} */ -proto.fonos.providers.v1beta1.Provider.prototype.getSecret = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getSecret = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setSecret = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setSecret = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -1397,16 +1691,16 @@ proto.fonos.providers.v1beta1.Provider.prototype.setSecret = function(value) { * optional string host = 5; * @return {string} */ -proto.fonos.providers.v1beta1.Provider.prototype.getHost = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getHost = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setHost = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setHost = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; @@ -1415,16 +1709,16 @@ proto.fonos.providers.v1beta1.Provider.prototype.setHost = function(value) { * optional string transport = 6; * @return {string} */ -proto.fonos.providers.v1beta1.Provider.prototype.getTransport = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getTransport = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setTransport = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setTransport = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; @@ -1433,16 +1727,16 @@ proto.fonos.providers.v1beta1.Provider.prototype.setTransport = function(value) * optional int32 expires = 7; * @return {number} */ -proto.fonos.providers.v1beta1.Provider.prototype.getExpires = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getExpires = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setExpires = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setExpires = function(value) { return jspb.Message.setProto3IntField(this, 7, value); }; @@ -1451,16 +1745,16 @@ proto.fonos.providers.v1beta1.Provider.prototype.setExpires = function(value) { * optional string create_time = 8; * @return {string} */ -proto.fonos.providers.v1beta1.Provider.prototype.getCreateTime = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getCreateTime = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setCreateTime = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setCreateTime = function(value) { return jspb.Message.setProto3StringField(this, 8, value); }; @@ -1469,18 +1763,18 @@ proto.fonos.providers.v1beta1.Provider.prototype.setCreateTime = function(value) * optional string update_time = 9; * @return {string} */ -proto.fonos.providers.v1beta1.Provider.prototype.getUpdateTime = function() { +proto.fonoster.providers.v1beta1.Provider.prototype.getUpdateTime = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value - * @return {!proto.fonos.providers.v1beta1.Provider} returns this + * @return {!proto.fonoster.providers.v1beta1.Provider} returns this */ -proto.fonos.providers.v1beta1.Provider.prototype.setUpdateTime = function(value) { +proto.fonoster.providers.v1beta1.Provider.prototype.setUpdateTime = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; -goog.object.extend(exports, proto.fonos.providers.v1beta1); +goog.object.extend(exports, proto.fonoster.providers.v1beta1); diff --git a/mods/providers/src/service/providers.ts b/mods/providers/src/service/providers.ts index 6c63a3cc1..63d217c2f 100644 --- a/mods/providers/src/service/providers.ts +++ b/mods/providers/src/service/providers.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -34,14 +34,15 @@ import { ProvidersService, IProvidersServer } from "./protos/providers_grpc_pb"; -import {Kind, ResourceBuilder} from "@fonos/core"; +import {Kind, ResourceBuilder} from "@fonoster/core"; import { updateResource, createResource, ResourceServer, getAccessKeyId -} from "@fonos/core"; +} from "@fonoster/core"; import decoder from "./decoder"; +import {assertIsValidHost} from "./assertions"; class ProvidersServer implements IProvidersServer { [name: string]: grpc.UntypedHandleCall; @@ -63,18 +64,14 @@ class ProvidersServer implements IProvidersServer { call: grpc.ServerUnaryCall, callback: grpc.sendUnaryData ) { - const provider = call.request.getProvider(); - try { - const resource = new ResourceBuilder( - Kind.GATEWAY, - provider.getName(), - provider.getRef() - ) - .withCredentials(provider.getUsername(), provider.getSecret()) - .withHost(provider.getHost()) - .withTransport(provider.getTransport()) - .withExpires(provider.getExpires()) + // The host must be hostname:{port} + assertIsValidHost(call.request.getHost()); + const resource = new ResourceBuilder(Kind.GATEWAY, call.request.getName()) + .withCredentials(call.request.getUsername(), call.request.getSecret()) + .withHost(call.request.getHost()) + .withTransport(call.request.getTransport()) + .withExpires(call.request.getExpires()) .withMetadata({accessKeyId: getAccessKeyId(call)}) .build(); @@ -89,22 +86,25 @@ class ProvidersServer implements IProvidersServer { call: grpc.ServerUnaryCall, callback: grpc.sendUnaryData ) { - const provider = call.request.getProvider(); - try { + assertIsValidHost(call.request.getHost()); + const provider = (await ResourceServer.getResource( + Kind.GATEWAY, + call + )) as any; + const resource = new ResourceBuilder( Kind.GATEWAY, - provider.getName(), - provider.getRef() + call.request.getName(), + provider.metadata.ref ) .withMetadata({ - createdOn: provider.getCreateTime(), - modifiedOn: provider.getUpdateTime() + createdOn: provider.metadata.createdOn }) - .withCredentials(provider.getUsername(), provider.getSecret()) - .withHost(provider.getHost()) - .withTransport(provider.getTransport()) - .withExpires(provider.getExpires()) + .withCredentials(call.request.getUsername(), call.request.getSecret()) + .withHost(call.request.getHost()) + .withTransport(call.request.getTransport()) + .withExpires(call.request.getExpires()) .build(); const result = await updateResource({ diff --git a/mods/providers/src/service/runner.ts b/mods/providers/src/service/runner.ts index 790790bb7..f41d613a4 100644 --- a/mods/providers/src/service/runner.ts +++ b/mods/providers/src/service/runner.ts @@ -1,9 +1,9 @@ #!/usr/bin/env node import ProvidersServer from "./providers"; import {ProvidersService} from "./protos/providers_grpc_pb"; -import {AuthMiddleware} from "@fonos/auth"; -import {getSalt} from "@fonos/certs"; -import {runServices} from "@fonos/common"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; const services = [ { diff --git a/mods/providers/test/providers.unit.test.ts b/mods/providers/test/providers.unit.test.ts index 53553c4a2..8d69b79f5 100644 --- a/mods/providers/test/providers.unit.test.ts +++ b/mods/providers/test/providers.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -20,7 +20,7 @@ import chai from "chai"; import sinon from "sinon"; import sinonChai from "sinon-chai"; import chaiAsPromised from "chai-as-promised"; -import {FonosService} from "@fonos/common"; +import {APIClient} from "@fonoster/common"; import Providers, {ProvidersPB} from "../src/client/providers"; import providerDecoder from "../src/service/decoder"; @@ -29,7 +29,7 @@ chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@Fonos/providers", () => { +describe("@fonoster/providers", () => { const providerObj = new ProvidersPB.Provider(); providerObj.setRef("Nx05y-ldZa"); providerObj.setName("Fake Provider"); @@ -44,9 +44,9 @@ describe("@Fonos/providers", () => { afterEach(() => sandbox.restore()); it("should create a provider", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ createProvider: () => { return { @@ -82,9 +82,9 @@ describe("@Fonos/providers", () => { }); it("should get a provider", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ getProvider: () => { return { @@ -110,9 +110,9 @@ describe("@Fonos/providers", () => { }); it("should delete a Provider", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ deleteProvider: () => { return { @@ -128,9 +128,9 @@ describe("@Fonos/providers", () => { }); it("should list providers", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const serviceStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ listProviders: () => { return { @@ -188,9 +188,9 @@ describe("@Fonos/providers", () => { updateTime: providerObj.getUpdateTime() }; - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const updateProviderStub = sandbox - .stub(FonosService.prototype, "getService") + .stub(APIClient.prototype, "getService") .returns({ updateProvider: () => { return { @@ -208,7 +208,7 @@ describe("@Fonos/providers", () => { const providerAPI = new Providers(); const result = await providerAPI.updateProvider(request); expect(result).to.have.property("ref").to.be.equal(returnProvider.ref); - expect(updateProviderStub).to.be.calledThrice; + expect(updateProviderStub).to.be.calledTwice; }); context("provider decoder", () => { diff --git a/mods/sdk/.lerna-changed-buster-7825 b/mods/sdk/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/sdk/package.json b/mods/sdk/package.json index fca9f01f4..12f53245f 100644 --- a/mods/sdk/package.json +++ b/mods/sdk/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/sdk", - "version": "0.1.20-alpha.0", - "description": "Fonos SDK module", + "name": "@fonoster/sdk", + "version": "0.2.40", + "description": "Fonoster SDK module", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,22 +23,25 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/agents": "^0.1.20-alpha.0", - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/callmanager": "^0.1.20-alpha.0", - "@fonos/domains": "^0.1.20-alpha.0", - "@fonos/funcs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@fonos/numbers": "^0.1.20-alpha.0", - "@fonos/providers": "^0.1.20-alpha.0", - "@fonos/secrets": "^0.1.20-alpha.0", - "@fonos/storage": "^0.1.20-alpha.0" + "@fonoster/agents": "^0.2.40", + "@fonoster/auth": "^0.2.40", + "@fonoster/callmanager": "^0.2.40", + "@fonoster/domains": "^0.2.40", + "@fonoster/funcs": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/monitor": "^0.2.40", + "@fonoster/numbers": "^0.2.40", + "@fonoster/projects": "^0.2.40", + "@fonoster/providers": "^0.2.40", + "@fonoster/secrets": "^0.2.40", + "@fonoster/storage": "^0.2.40", + "@fonoster/users": "^0.2.40" }, "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" } diff --git a/mods/sdk/src/index.ts b/mods/sdk/src/index.ts index e6a7d63a8..5b1915ec1 100644 --- a/mods/sdk/src/index.ts +++ b/mods/sdk/src/index.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,20 +16,23 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import CallManager from "@fonos/callmanager"; -import Storage from "@fonos/storage"; -import Secrets from "@fonos/secrets"; -import Providers from "@fonos/providers"; -import Numbers from "@fonos/numbers"; -import Domains from "@fonos/domains"; -import Agents from "@fonos/agents"; -import Funcs from "@fonos/funcs"; -import Auth from "@fonos/auth"; -import {mute} from "@fonos/logger"; +import CallManager from "@fonoster/callmanager"; +import Storage from "@fonoster/storage"; +import Secrets from "@fonoster/secrets"; +import Providers from "@fonoster/providers"; +import Numbers from "@fonoster/numbers"; +import Domains from "@fonoster/domains"; +import Agents from "@fonoster/agents"; +import Funcs from "@fonoster/funcs"; +import Auth from "@fonoster/auth"; +import Projects from "@fonoster/projects"; +import Users from "@fonoster/users"; +import Monitor from "@fonoster/monitor"; +import {mute} from "@fonoster/logger"; mute(); -const Fonos = { +const Fonoster = { Secrets, Auth, Agents, @@ -38,10 +41,13 @@ const Fonos = { Funcs, Storage, Numbers, - Providers + Providers, + Projects, + Users, + Monitor, }; -export {Fonos as default}; +export {Fonoster as default}; // WARNING: Workaround to support commonjs clients -module.exports = Fonos; +module.exports = Fonoster; diff --git a/mods/sdk/test/sdk.unit.test.ts b/mods/sdk/test/sdk.unit.test.ts index 481390a42..b5e11a21b 100644 --- a/mods/sdk/test/sdk.unit.test.ts +++ b/mods/sdk/test/sdk.unit.test.ts @@ -1,4 +1,4 @@ // No much to test here -describe("@fonos/sdk", () => { +describe("@fonoster/sdk", () => { it("needs tests"); }); diff --git a/mods/sdk/tsconfig.json b/mods/sdk/tsconfig.json index 2f5fda22f..6627c8966 100644 --- a/mods/sdk/tsconfig.json +++ b/mods/sdk/tsconfig.json @@ -14,7 +14,10 @@ {"path": "../logger"}, {"path": "../providers"}, {"path": "../numbers"}, - {"path": "../domains"} + {"path": "../domains"}, + {"path": "../projects"}, + {"path": "../users"}, + {"path": "../monitor"} ], "exclude": ["node_modules", "dist", "test"] } diff --git a/mods/secrets/.lerna-changed-buster-7825 b/mods/secrets/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/secrets/Dockerfile b/mods/secrets/Dockerfile index 471b8da0e..e99efe233 100644 --- a/mods/secrets/Dockerfile +++ b/mods/secrets/Dockerfile @@ -3,7 +3,7 @@ COPY . /scripts RUN ./install.sh RUN link /usr/bin/run_secrets /usr/bin/run \ && link /usr/bin/healthcheck_secrets /usr/bin/healthcheck -USER fonos +USER fonoster HEALTHCHECK --interval=30s \ --timeout=30s \ --start-period=5s \ diff --git a/mods/secrets/package-lock.json b/mods/secrets/package-lock.json new file mode 100644 index 000000000..cfb4af31e --- /dev/null +++ b/mods/secrets/package-lock.json @@ -0,0 +1,4023 @@ +{ + "name": "@fonoster/secrets", + "version": "0.2.40", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@fonoster/secrets", + "version": "0.2.40", + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@grpc/grpc-js": "^1.3.6", + "grpc-promise": "^1.4.0", + "node-vault": "^0.9.21" + }, + "bin": { + "healthcheck_secrets": "dist/service/healthcheck.js", + "init": "dist/utils/init.js", + "run_secrets": "dist/service/runner.js" + } + }, + "../auth": { + "name": "@fonoster/auth", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/common": "^0.2.29", + "@fonoster/errors": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "bin": { + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + }, + "devDependencies": { + "@types/jsonwebtoken": "^8.5.0" + } + }, + "../certs": { + "name": "@fonoster/certs", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "../common": { + "name": "@fonoster/common", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "../core": { + "name": "@fonoster/core", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/auth": "^0.2.29", + "@fonoster/certs": "^0.2.29", + "@fonoster/common": "^0.2.29", + "@fonoster/errors": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "axios": "^0.21.1", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + }, + "devDependencies": { + "@types/btoa": "^1.2.3", + "@types/ioredis": "^4.16.5" + } + }, + "../errors": { + "name": "@fonoster/errors", + "version": "0.2.29", + "extraneous": true, + "license": "MIT" + }, + "../logger": { + "name": "@fonoster/logger", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "node_modules/@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", + "dependencies": { + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "bin": { + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "node_modules/@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "dependencies": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "node_modules/@fonoster/core": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/core/-/core-0.2.43.tgz", + "integrity": "sha512-ceCtPPXKkBleJyqY4b9Olx9VUpx/Ib6K/HvLza2M4yMJo1MVbAEAD5bwg6l8z0XmtcNLWzQAizXKFA7v+TLYyg==", + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + } + }, + "node_modules/@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==" + }, + "node_modules/@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "node_modules/@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "dependencies": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "node_modules/@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "dependencies": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + }, + "peerDependencies": { + "@grpc/grpc-js": "^1.3.7" + } + }, + "node_modules/@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "node_modules/@types/node": { + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "dependencies": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ansi-styles/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "node_modules/asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "engines": { + "node": "*" + } + }, + "node_modules/async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + }, + "node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, + "node_modules/backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "node_modules/body-parser": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "dependencies": { + "bytes": "3.1.1", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "node_modules/bytes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "node_modules/chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "engines": { + "node": "*" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/cluster-key-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", + "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "node_modules/color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/denque": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + }, + "node_modules/express": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", + "dependencies": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "engines": [ + "node >=0.6.0" + ] + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + }, + "node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "dependencies": { + "msgpack-lite": "*" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + }, + "node_modules/follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "engines": { + "node": "*" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/google-protobuf": { + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==" + }, + "node_modules/grpc-boom": { + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" + }, + "node_modules/grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + }, + "node_modules/grpc-ts-health-check": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", + "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", + "dependencies": { + "google-protobuf": "^3.12.2", + "grpc-boom": "^1.0.28" + } + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" + }, + "node_modules/ioredis": { + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "dependencies": { + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.1", + "denque": "^1.1.0", + "lodash.defaults": "^4.2.0", + "lodash.flatten": "^4.4.0", + "lodash.isarguments": "^3.1.0", + "p-map": "^2.1.0", + "redis-commands": "1.7.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + } + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "node_modules/jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=4", + "npm": ">=1.4.28" + } + }, + "node_modules/jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" + }, + "node_modules/lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "node_modules/lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "node_modules/logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "dependencies": { + "mime-db": "1.51.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "dependencies": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + }, + "bin": { + "msgpack": "bin/msgpack" + } + }, + "node_modules/mustache": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-2.3.2.tgz", + "integrity": "sha512-KpMNwdQsYz3O/SBS1qJ/o3sqUJ5wSb8gb0pul8CO0S56b9Y2ALm8zCfsjPXsqGFfoNBkDwZuZIAjhsZI03gYVQ==", + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", + "bin": { + "network-address": "cli.js" + } + }, + "node_modules/node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, + "node_modules/node-fetch/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==", + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-vault": { + "version": "0.9.22", + "resolved": "https://registry.npmjs.org/node-vault/-/node-vault-0.9.22.tgz", + "integrity": "sha512-/IR+YvINFhCzxJA5x/KHUDymJerFaeqvPUE2zwceRig8yEIA41qfVKusmO6bqRGFkr/2f6CaBVp7YfabzQyteg==", + "dependencies": { + "debug": "3.1.0", + "mustache": "^2.2.1", + "request": "2.88.0", + "request-promise-native": "1.0.7", + "tv4": "^1.2.7" + } + }, + "node_modules/node-vault/node_modules/debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/node-vault/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "engines": { + "node": "*" + } + }, + "node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "node_modules/p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "engines": { + "node": "*" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "node_modules/phone": { + "version": "2.4.22", + "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", + "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==", + "engines": { + "node": ">=6.10.0" + } + }, + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + }, + "node_modules/qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "dependencies": { + "bytes": "3.1.1", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/redis-commands": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + }, + "node_modules/redis-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", + "integrity": "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=", + "engines": { + "node": ">=4" + } + }, + "node_modules/redis-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", + "integrity": "sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ=", + "dependencies": { + "redis-errors": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/request-promise-core": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz", + "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==", + "dependencies": { + "lodash": "^4.17.11" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "node_modules/request-promise-native": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz", + "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==", + "deprecated": "request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142", + "dependencies": { + "request-promise-core": "1.1.2", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "node_modules/request/node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==", + "engines": { + "node": ">=10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "dependencies": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", + "engines": { + "node": "*" + } + }, + "node_modules/standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + }, + "node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/stealthy-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", + "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dependencies": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tv4": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.3.0.tgz", + "integrity": "sha1-0CDIRvrdUMhVq7JeuuzGj8EPeWM=", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/uri-js/node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "dependencies": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } + }, + "node_modules/zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "dependencies": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "node_modules/zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "dependencies": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + } + } + }, + "dependencies": { + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==" + }, + "@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "requires": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", + "requires": { + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "requires": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "@fonoster/core": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/core/-/core-0.2.43.tgz", + "integrity": "sha512-ceCtPPXKkBleJyqY4b9Olx9VUpx/Ib6K/HvLza2M4yMJo1MVbAEAD5bwg6l8z0XmtcNLWzQAizXKFA7v+TLYyg==", + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + } + }, + "@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==" + }, + "@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "requires": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "requires": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + } + }, + "@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "requires": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + } + }, + "@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "requires": { + "@types/node": "*" + } + }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "@types/node": { + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" + }, + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "requires": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + }, + "dependencies": { + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } + } + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" + }, + "async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + }, + "axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "requires": { + "follow-redirects": "^1.14.0" + } + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "body-parser": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "requires": { + "bytes": "3.1.1", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" + }, + "buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "bytes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "cluster-key-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", + "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==" + }, + "color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "requires": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "requires": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "requires": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "requires": { + "safe-buffer": "5.2.1" + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" + }, + "cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "requires": { + "type-detect": "^4.0.0" + } + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "denque": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==" + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, + "encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "requires": { + "iconv-lite": "^0.6.2" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + }, + "event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + }, + "express": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", + "requires": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + }, + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "requires": { + "msgpack-lite": "*" + } + }, + "fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + }, + "follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==" + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "google-protobuf": { + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==" + }, + "grpc-boom": { + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" + }, + "grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + }, + "grpc-ts-health-check": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", + "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", + "requires": { + "google-protobuf": "^3.12.2", + "grpc-boom": "^1.0.28" + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" + }, + "ioredis": { + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "requires": { + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.1", + "denque": "^1.1.0", + "lodash.defaults": "^4.2.0", + "lodash.flatten": "^4.4.0", + "lodash.isarguments": "^3.1.0", + "p-map": "^2.1.0", + "redis-commands": "1.7.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + } + }, + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + }, + "is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "requires": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + } + }, + "jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, + "jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "requires": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" + }, + "lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" + }, + "lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" + }, + "lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "requires": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "requires": { + "get-func-name": "^2.0.0" + } + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" + }, + "mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "requires": { + "mime-db": "1.51.0" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "requires": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + } + }, + "mustache": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-2.3.2.tgz", + "integrity": "sha512-KpMNwdQsYz3O/SBS1qJ/o3sqUJ5wSb8gb0pul8CO0S56b9Y2ALm8zCfsjPXsqGFfoNBkDwZuZIAjhsZI03gYVQ==" + }, + "nanoid": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==" + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" + }, + "network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" + }, + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + }, + "dependencies": { + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + } + } + }, + "node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==" + }, + "node-vault": { + "version": "0.9.22", + "resolved": "https://registry.npmjs.org/node-vault/-/node-vault-0.9.22.tgz", + "integrity": "sha512-/IR+YvINFhCzxJA5x/KHUDymJerFaeqvPUE2zwceRig8yEIA41qfVKusmO6bqRGFkr/2f6CaBVp7YfabzQyteg==", + "requires": { + "debug": "3.1.0", + "mustache": "^2.2.1", + "request": "2.88.0", + "request-promise-native": "1.0.7", + "tv4": "^1.2.7" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "requires": { + "ee-first": "1.1.1" + } + }, + "one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "requires": { + "fn.name": "1.x.x" + } + }, + "p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==" + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "phone": { + "version": "2.4.22", + "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", + "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==" + }, + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } + }, + "proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "requires": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + } + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + }, + "qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + }, + "raw-body": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "requires": { + "bytes": "3.1.1", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "redis-commands": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + }, + "redis-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", + "integrity": "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=" + }, + "redis-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", + "integrity": "sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ=", + "requires": { + "redis-errors": "^1.0.0" + } + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" + } + } + }, + "request-promise-core": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz", + "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==", + "requires": { + "lodash": "^4.17.11" + } + }, + "request-promise-native": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz", + "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==", + "requires": { + "request-promise-core": "1.1.2", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + } + } + }, + "serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + } + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "requires": { + "is-arrayish": "^0.3.1" + } + }, + "sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" + }, + "standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" + }, + "stealthy-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", + "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" + }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "requires": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + } + }, + "triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tv4": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.3.0.tgz", + "integrity": "sha1-0CDIRvrdUMhVq7JeuuzGj8EPeWM=" + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "requires": { + "punycode": "^2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + } + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "requires": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + } + }, + "winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "requires": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + }, + "zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "requires": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "requires": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + } + } + } +} diff --git a/mods/secrets/package.json b/mods/secrets/package.json index 43aab48c4..3346df278 100644 --- a/mods/secrets/package.json +++ b/mods/secrets/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/secrets", - "version": "0.1.20-alpha.0", + "name": "@fonoster/secrets", + "version": "0.2.40", "description": "Users Manager", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/client/secrets", "types": "dist/client/secrets", @@ -38,19 +38,18 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", - "axios": "^0.21.1", "grpc-promise": "^1.4.0", "node-vault": "^0.9.21" }, diff --git a/mods/secrets/src/client/secrets.ts b/mods/secrets/src/client/secrets.ts index 7c1b39444..0a96d9602 100644 --- a/mods/secrets/src/client/secrets.ts +++ b/mods/secrets/src/client/secrets.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {FonosService, ServiceOptions} from "@fonos/common"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {SecretsClient} from "../service/protos/secrets_grpc_pb"; import SecretPB from "../service/protos/secrets_pb"; import CommonPB from "../service/protos/common_pb"; @@ -25,56 +25,56 @@ import { CreateSecretRequest, CreateSecretResponse, GetSecretResponse, - ListSecretRequest, - ListSecretResponse + ISecretsClient, + ListSecretsRequest, + ListSecretsResponse } from "./types"; /** - * @classdesc Use Fonos Secrets, a capability of Fonos Secrets Service, - * to create and manage your secrets. Fonos Secrets requires of a - * running Fonos deployment. + * @classdesc Use Fonoster Secrets, a capability of Fonoster Secrets Service, + * to create and manage your secrets. Fonoster Secrets requires of a + * running Fonoster deployment. * - * @extends FonosService + * @extends APIClient * @example * - * const Fonos = require("@fonos/sdk") - * const secrets = new Fonos.Secrets() + * const Fonoster = require("@fonoster/sdk") + * const secrets = new Fonoster.Secrets() * * const request = { - * secretName: "Jenkins", + * secretName: "my-secret", * secret: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" * }; * * secrets.createSecret(request) * .then(result => { - * console.log(result) // returns the CreateDomainResponse interface + * console.log(result) // message with the CreateSecretResponse interface * }).catch(e => console.error(e)); // an error occurred */ -export default class Secrets extends FonosService { +export default class Secrets extends APIClient implements ISecretsClient { /** - * Constructs a Secret Object. + * Constructs a Secrets Object. * - * @param {ServiceOptions} options - Options to indicate the objects endpoint - * @see module:core:FonosService + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(SecretsClient, options); super.init(); promisifyAll(super.getService(), {metadata: super.getMeta()}); } /** - * Creates a new Secret. + * Creates and stores a new secret. * - * @param {CreateSecretRequest} request - Request for the provision of - * a new Secret - * @param {string} request.name - Friendly name for the Secret - * @param {string} request.secret - secret to be save + * @param {CreateSecretRequest} request - Request to create a new secret + * @param {string} request.name - Friendly name for the secret + * @param {string} request.secret - Actual secret * @return {Promise} * @example * * const request = { - * secretName: "Jenkins", + * name: "my-secret", * secret: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" * }; * @@ -105,23 +105,22 @@ export default class Secrets extends FonosService { } /** - * Get a Secret. + * Gets a secret by name. * - * @param {CreateSecretRequest} request - Request for the provision of - * a new Secret + * @param {CreateSecretRequest} request - Request to create a new Secret * @param {string} request.name - Friendly name for the Secret - * @param {string} request.secret - secret to be save + * @param {string} request.secret - Secret to save * @return {Promise} * @example * * const request = { - * secretName: "Jenkins", + * name: "my-secret", * secret: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" * }; * * secrets.createSecret(request) * .then(result => { - * console.log(result) // returns the CreateDomainResponse interface + * console.log(result) // returns the GetSecretResponse interface * }).catch(e => console.error(e)); // an error occurred */ async getSecret(name: string): Promise { @@ -140,7 +139,7 @@ export default class Secrets extends FonosService { } /** - * List all user secrets. + * List all the secrets for current Project. * * @param {ListSecretRequest} request - Request for the provision of * a new Secret @@ -154,13 +153,13 @@ export default class Secrets extends FonosService { * pageToken: 1 * }; * - * secrets.listSecret(request) + * secrets.listSecrets(request) * .then(result => { - * console.log(result) // returns the CreateDomainResponse interface + * console.log(result) * }).catch(e => console.error(e)); // an error occurred */ - async listSecret(request: ListSecretRequest): Promise { - const req = new SecretPB.ListSecretIdRequest(); + async listSecrets(request: ListSecretsRequest): Promise { + const req = new SecretPB.ListSecretsIdRequest(); req.setPageSize(request.pageSize); req.setPageToken(request.pageToken); const paginatedList = await this.getService() @@ -169,24 +168,23 @@ export default class Secrets extends FonosService { return { nextPageToken: paginatedList.getNextPageToken(), - secrets: paginatedList.getSecretsList().map((secret: SecretPB.Secret) => { + secrets: paginatedList.getSecretsList().map((name: string) => { return { - name: secret.getName() + name }; }) }; } /** - * Retrives a Secret using its reference. + * Removes a secret by name. * - * @param {string} request - Reference to Secret - * @return {Promise} The domain + * @param {string} name - Secret name * @example * - * secrets.deleteSecret("jenkins") + * secrets.deleteSecret("my-secret") * .then(() => { - * console.log("successful") // returns the CreateGetResponse interface + * console.log("successful") * }).catch(e => console.error(e)); // an error occurred */ async deleteSecret(name: string): Promise { @@ -196,7 +194,7 @@ export default class Secrets extends FonosService { } } -export {SecretPB, CommonPB}; +export {SecretPB, CommonPB, ISecretsClient}; // WARNING: Workaround for support to commonjs clients module.exports = Secrets; diff --git a/mods/secrets/src/client/types.ts b/mods/secrets/src/client/types.ts index 4ad535a6a..19d609cac 100644 --- a/mods/secrets/src/client/types.ts +++ b/mods/secrets/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +export interface ISecretsClient { + createSecret(request: CreateSecretRequest): Promise; + getSecret(ref: string): Promise; + listSecrets(request: ListSecretsRequest): Promise; + deleteSecret(ref: string): void; +} export interface CreateSecretRequest { name: string; secret: string; @@ -30,12 +36,12 @@ export interface GetSecretResponse { secret: string; } -export interface ListSecretRequest { +export interface ListSecretsRequest { pageSize: number; pageToken: string; } -export interface ListSecretResponse { +export interface ListSecretsResponse { secrets: Secret[]; nextPageToken: string; } diff --git a/mods/secrets/src/protos/secrets.proto b/mods/secrets/src/protos/secrets.proto index 50b34d592..79be8aedd 100644 --- a/mods/secrets/src/protos/secrets.proto +++ b/mods/secrets/src/protos/secrets.proto @@ -5,72 +5,78 @@ * The SecretMananger proto contains the artificts for Secrets administration * such as creation and deployment. */ - syntax = "proto3"; +syntax = "proto3"; - package fonos.secrets.v1beta1; - - import "common.proto"; - - service Secrets { - // Lists Secret - rpc ListSecretsId (ListSecretIdRequest) returns (ListSecretIdResponse) {}; - // Gets Secret with the Secret-name - rpc GetSecret (GetSecretRequest) returns (GetSecretResponse) {}; - rpc CreateSecret (CreateSecretRequest) returns (CreateSecretResponse) {}; - // Peforms a hard delete of the Secret resource - rpc DeleteSecret (DeleteSecretRequest) returns (fonos.common.v1beta1.Empty) {}; - } - - message ListSecretIdRequest { - // The maximum number of items to return. - int32 page_size = 1; - // The next_page_token value returned from a previous List request, if any. - string page_token = 2; - // Level of detail of the individual entities - fonos.common.v1beta1.View view = 3; - } - - message ListSecretIdResponse { - // There will be a maximum number of items returned based on the page_size field - // in the request. - repeated SecretName secrets = 1; - // Token to retrieve the next page of results, or empty if there are no - // more results in the list. - string next_page_token = 2; - } - - message GetSecretRequest { - string name = 1; - fonos.common.v1beta1.View view = 2; - } - - message GetSecretResponse { - string name = 1; - string secret = 2; - } - - message CreateSecretRequest { +package fonoster.secrets.v1beta1; + +option go_package = "github.com/fonoster/fonoster/mods/secrets/fonoster/services/protos/secrets"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; +import "common.proto"; + +service Secrets { + // Lists Secret + rpc ListSecretsId (ListSecretsIdRequest) returns (ListSecretsIdResponse) { + option (google.api.http) = { get: "/v1beta1/secrets" }; + }; + rpc CreateSecret (CreateSecretRequest) returns (Secret) { + option (google.api.http) = { + post: "/v1beta1/secrets" + body: "*" + }; + }; + // Gets Secret with the Secret-name + rpc GetSecret (GetSecretRequest) returns (Secret) { + option (google.api.http) = { get: "/v1beta1/secrets/{name}" }; + }; + // Peforms a hard delete of the Secret resource + rpc DeleteSecret (DeleteSecretRequest) returns (fonoster.common.v1beta1.Empty) { + option (google.api.http) = { + delete: "/v1beta1/secrets/{name}" + }; + }; +} + +message ListSecretsIdRequest { + // The maximum number of items in the list + int32 page_size = 1; + + // The next_page_token value returned from the previous request, if any + string page_token = 2; + + // Level of detail of the individual entities (reserved) + fonoster.common.v1beta1.View view = 3; +} + +message ListSecretsIdResponse { + // List of Secrets + repeated string secrets = 1; + // Token to retrieve the next page of results, or empty if there are no more results in the list + string next_page_token = 2; +} + +message GetSecretRequest { string name = 1; - string secret = 2; - } - - message CreateSecretResponse { + fonoster.common.v1beta1.View view = 2; +} + +message CreateSecretRequest { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"mydbsecret\", \"secret\": \"s3cr3t\"}" + }; string name = 1; + string secret = 2; +} - } - - message DeleteSecretRequest { +message DeleteSecretRequest { string name = 1; - } - - message Secret { +} + +message Secret { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"name\": \"mydbsecret\", \"secret\": \"s3cr3t\"}" + }; string name = 1; string secret = 2; - } - - message SecretName { - string name = 1; - } - - - \ No newline at end of file +} diff --git a/mods/secrets/src/service/create_secret.ts b/mods/secrets/src/service/create_secret.ts index 97991cb72..59936fc7f 100644 --- a/mods/secrets/src/service/create_secret.ts +++ b/mods/secrets/src/service/create_secret.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,20 +16,21 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {CreateSecretResponse} from "./protos/secrets_pb"; +import {Secret} from "./protos/secrets_pb"; import getUserToken from "./token"; +import Vault from "node-vault"; export default async function ( name: string, secret: string, accessKeyId: string -): Promise { - const vault = require("node-vault")(); +): Promise { + const vault = Vault(); const entityId = await getUserToken(accessKeyId); await vault.write(`secret/data/${entityId}/${name}`, { data: {value: secret} }); - const response = new CreateSecretResponse(); + const response = new Secret(); response.setName(name); return response; } diff --git a/mods/secrets/src/service/delete_secret.ts b/mods/secrets/src/service/delete_secret.ts index bd5f86399..3b229ac6a 100644 --- a/mods/secrets/src/service/delete_secret.ts +++ b/mods/secrets/src/service/delete_secret.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,9 +17,10 @@ * limitations under the License. */ import getUserToken from "./token"; +import Vault from "node-vault"; export default async function (name: string, accessKeyId: string) { - const vault = require("node-vault")(); + const vault = Vault(); const entityId = await getUserToken(accessKeyId); await vault.delete(`secret/data/${entityId}/` + name); } diff --git a/mods/secrets/src/service/get_secret.ts b/mods/secrets/src/service/get_secret.ts index 0dec9d3b6..e0b6deba2 100644 --- a/mods/secrets/src/service/get_secret.ts +++ b/mods/secrets/src/service/get_secret.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,18 +16,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {GetSecretResponse} from "./protos/secrets_pb"; +import {Secret} from "./protos/secrets_pb"; import getUserToken from "./token"; +import Vault from "node-vault"; export default async function ( name: string, accessKeyId: string -): Promise { - const vault = require("node-vault")(); +): Promise { + const vault = Vault(); const entityId = await getUserToken(accessKeyId); const secretFromVault = await vault.read(`secret/data/${entityId}/` + name); - const response = new GetSecretResponse(); - response.setSecret(secretFromVault.data.data.value); + const response = new Secret(); + response.setSecret(secretFromVault?.data?.data?.value); response.setName(name); return response; } diff --git a/mods/secrets/src/service/healthcheck.ts b/mods/secrets/src/service/healthcheck.ts index bc3ef6056..28b13fcd4 100644 --- a/mods/secrets/src/service/healthcheck.ts +++ b/mods/secrets/src/service/healthcheck.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; import axios from "axios"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; // First checks the grpc health //healthcheck(); diff --git a/mods/secrets/src/service/list_secret.ts b/mods/secrets/src/service/list_secret.ts index df4c6509c..a13161942 100644 --- a/mods/secrets/src/service/list_secret.ts +++ b/mods/secrets/src/service/list_secret.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,12 +16,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// import {userOperation} from "@fonos/auth"; -// import {User} from "./protos/usermanager_pb"; -// import jsonParse from "./json_parser"; - -import {SecretName} from "./protos/secrets_pb"; import getUserToken from "./token"; +import Vault from "node-vault"; export default async function ( pageToken: number, @@ -32,26 +28,20 @@ export default async function ( pageToken--; pageSize--; - let upperRange = pageToken + pageSize; - - const vault = require("node-vault")(); + const upperRange = pageToken + pageSize; + const vault = Vault(); const entityId = await getUserToken(accessKeyId); const secretFromVault = await vault.list(`secret/data/${entityId}/`); - const secretArray = secretFromVault.data.keys; - const secrets: SecretName[] = []; + const keys = secretFromVault.data.keys; + const secrets = []; - for (const idx in secretArray) { - const singleSecret = secretArray[idx]; - const secretName = new SecretName(); - secretName.setName(singleSecret); - secrets.push(secretName); + for (const index in keys) { + secrets.push(keys[index]); } - upperRange++; - return { secrets, - pageToken: upperRange + pageToken: upperRange + 1 }; } diff --git a/mods/secrets/src/service/protos/common_pb.d.ts b/mods/secrets/src/service/protos/common_pb.d.ts index 5311b1717..f8b5fb810 100644 --- a/mods/secrets/src/service/protos/common_pb.d.ts +++ b/mods/secrets/src/service/protos/common_pb.d.ts @@ -1,42 +1,49 @@ -// package: fonos.common.v1beta1 +// package: fonoster.common.v1beta1 // file: common.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; -export class Error extends jspb.Message { +export class Empty extends jspb.Message { serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Error.AsObject; - static toObject(includeInstance: boolean, msg: Error): Error.AsObject; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Error; - static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; } -export namespace Error { +export namespace Empty { export type AsObject = { } } -export class Empty extends jspb.Message { +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Empty.AsObject; - static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Empty; - static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; } -export namespace Empty { +export namespace ErrorResponse { export type AsObject = { + status: number, + message: string, } } diff --git a/mods/secrets/src/service/protos/common_pb.js b/mods/secrets/src/service/protos/common_pb.js index 4efc688db..b7f99c7ea 100644 --- a/mods/secrets/src/service/protos/common_pb.js +++ b/mods/secrets/src/service/protos/common_pb.js @@ -15,9 +15,11 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.common.v1beta1.Empty', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.Error', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -28,16 +30,16 @@ goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Error = function(opt_data) { +proto.fonoster.common.v1beta1.Empty = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Error, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Error.displayName = 'proto.fonos.common.v1beta1.Error'; + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; } /** * Generated by JsPbCodeGenerator. @@ -49,16 +51,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Empty = function(opt_data) { +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Empty, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Empty.displayName = 'proto.fonos.common.v1beta1.Empty'; + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; } @@ -76,8 +78,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Error.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); }; @@ -86,11 +88,11 @@ proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Error} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -106,23 +108,23 @@ proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Error; - return proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Error} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -142,9 +144,9 @@ proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Error.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -152,11 +154,11 @@ proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Error} message + * @param {!proto.fonoster.common.v1beta1.Empty} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -177,8 +179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Empty.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); }; @@ -187,13 +189,14 @@ proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Empty} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { var f, obj = { - + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -207,29 +210,37 @@ proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Empty; - return proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; default: reader.skipField(); break; @@ -243,9 +254,9 @@ proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -253,22 +264,72 @@ proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Empty} message + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** * @enum {number} */ -proto.fonos.common.v1beta1.View = { +proto.fonoster.common.v1beta1.View = { BASIC: 0, STANDARD: 1, FULL: 2 }; -goog.object.extend(exports, proto.fonos.common.v1beta1); +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/secrets/src/service/protos/google/api/annotations_grpc_pb.js b/mods/secrets/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/secrets/src/service/protos/google/api/annotations_pb.d.ts b/mods/secrets/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/secrets/src/service/protos/google/api/annotations_pb.js b/mods/secrets/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/secrets/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/secrets/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/secrets/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/secrets/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/secrets/src/service/protos/google/api/field_behavior_pb.js b/mods/secrets/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/secrets/src/service/protos/google/api/http_grpc_pb.js b/mods/secrets/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/secrets/src/service/protos/google/api/http_pb.d.ts b/mods/secrets/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/secrets/src/service/protos/google/api/http_pb.js b/mods/secrets/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/secrets/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/secrets/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/secrets/src/service/protos/google/api/httpbody_pb.d.ts b/mods/secrets/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/secrets/src/service/protos/google/api/httpbody_pb.js b/mods/secrets/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/secrets/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/secrets/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/secrets/src/service/protos/secrets_grpc_pb.d.ts b/mods/secrets/src/service/protos/secrets_grpc_pb.d.ts index decd3ec80..abf5bdf59 100644 --- a/mods/secrets/src/service/protos/secrets_grpc_pb.d.ts +++ b/mods/secrets/src/service/protos/secrets_grpc_pb.d.ts @@ -1,49 +1,51 @@ -// package: fonos.secrets.v1beta1 +// package: fonoster.secrets.v1beta1 // file: secrets.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as secrets_pb from "./secrets_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; import * as common_pb from "./common_pb"; interface ISecretsService extends grpc.ServiceDefinition { listSecretsId: ISecretsService_IListSecretsId; - getSecret: ISecretsService_IGetSecret; createSecret: ISecretsService_ICreateSecret; + getSecret: ISecretsService_IGetSecret; deleteSecret: ISecretsService_IDeleteSecret; } -interface ISecretsService_IListSecretsId extends grpc.MethodDefinition { - path: "/fonos.secrets.v1beta1.Secrets/ListSecretsId"; +interface ISecretsService_IListSecretsId extends grpc.MethodDefinition { + path: "/fonoster.secrets.v1beta1.Secrets/ListSecretsId"; requestStream: false; responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; - responseSerialize: grpc.serialize; - responseDeserialize: grpc.deserialize; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; } -interface ISecretsService_IGetSecret extends grpc.MethodDefinition { - path: "/fonos.secrets.v1beta1.Secrets/GetSecret"; +interface ISecretsService_ICreateSecret extends grpc.MethodDefinition { + path: "/fonoster.secrets.v1beta1.Secrets/CreateSecret"; requestStream: false; responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; - responseSerialize: grpc.serialize; - responseDeserialize: grpc.deserialize; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; } -interface ISecretsService_ICreateSecret extends grpc.MethodDefinition { - path: "/fonos.secrets.v1beta1.Secrets/CreateSecret"; +interface ISecretsService_IGetSecret extends grpc.MethodDefinition { + path: "/fonoster.secrets.v1beta1.Secrets/GetSecret"; requestStream: false; responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; - responseSerialize: grpc.serialize; - responseDeserialize: grpc.deserialize; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; } interface ISecretsService_IDeleteSecret extends grpc.MethodDefinition { - path: "/fonos.secrets.v1beta1.Secrets/DeleteSecret"; + path: "/fonoster.secrets.v1beta1.Secrets/DeleteSecret"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -55,22 +57,22 @@ interface ISecretsService_IDeleteSecret extends grpc.MethodDefinition; - getSecret: grpc.handleUnaryCall; - createSecret: grpc.handleUnaryCall; + listSecretsId: grpc.handleUnaryCall; + createSecret: grpc.handleUnaryCall; + getSecret: grpc.handleUnaryCall; deleteSecret: grpc.handleUnaryCall; } export interface ISecretsClient { - listSecretsId(request: secrets_pb.ListSecretIdRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretIdResponse) => void): grpc.ClientUnaryCall; - listSecretsId(request: secrets_pb.ListSecretIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretIdResponse) => void): grpc.ClientUnaryCall; - listSecretsId(request: secrets_pb.ListSecretIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretIdResponse) => void): grpc.ClientUnaryCall; - getSecret(request: secrets_pb.GetSecretRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.GetSecretResponse) => void): grpc.ClientUnaryCall; - getSecret(request: secrets_pb.GetSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.GetSecretResponse) => void): grpc.ClientUnaryCall; - getSecret(request: secrets_pb.GetSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.GetSecretResponse) => void): grpc.ClientUnaryCall; - createSecret(request: secrets_pb.CreateSecretRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.CreateSecretResponse) => void): grpc.ClientUnaryCall; - createSecret(request: secrets_pb.CreateSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.CreateSecretResponse) => void): grpc.ClientUnaryCall; - createSecret(request: secrets_pb.CreateSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.CreateSecretResponse) => void): grpc.ClientUnaryCall; + listSecretsId(request: secrets_pb.ListSecretsIdRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretsIdResponse) => void): grpc.ClientUnaryCall; + listSecretsId(request: secrets_pb.ListSecretsIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretsIdResponse) => void): grpc.ClientUnaryCall; + listSecretsId(request: secrets_pb.ListSecretsIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretsIdResponse) => void): grpc.ClientUnaryCall; + createSecret(request: secrets_pb.CreateSecretRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + createSecret(request: secrets_pb.CreateSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + createSecret(request: secrets_pb.CreateSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + getSecret(request: secrets_pb.GetSecretRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + getSecret(request: secrets_pb.GetSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + getSecret(request: secrets_pb.GetSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; deleteSecret(request: secrets_pb.DeleteSecretRequest, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; deleteSecret(request: secrets_pb.DeleteSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; deleteSecret(request: secrets_pb.DeleteSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; @@ -78,15 +80,15 @@ export interface ISecretsClient { export class SecretsClient extends grpc.Client implements ISecretsClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); - public listSecretsId(request: secrets_pb.ListSecretIdRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretIdResponse) => void): grpc.ClientUnaryCall; - public listSecretsId(request: secrets_pb.ListSecretIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretIdResponse) => void): grpc.ClientUnaryCall; - public listSecretsId(request: secrets_pb.ListSecretIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretIdResponse) => void): grpc.ClientUnaryCall; - public getSecret(request: secrets_pb.GetSecretRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.GetSecretResponse) => void): grpc.ClientUnaryCall; - public getSecret(request: secrets_pb.GetSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.GetSecretResponse) => void): grpc.ClientUnaryCall; - public getSecret(request: secrets_pb.GetSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.GetSecretResponse) => void): grpc.ClientUnaryCall; - public createSecret(request: secrets_pb.CreateSecretRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.CreateSecretResponse) => void): grpc.ClientUnaryCall; - public createSecret(request: secrets_pb.CreateSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.CreateSecretResponse) => void): grpc.ClientUnaryCall; - public createSecret(request: secrets_pb.CreateSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.CreateSecretResponse) => void): grpc.ClientUnaryCall; + public listSecretsId(request: secrets_pb.ListSecretsIdRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretsIdResponse) => void): grpc.ClientUnaryCall; + public listSecretsId(request: secrets_pb.ListSecretsIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretsIdResponse) => void): grpc.ClientUnaryCall; + public listSecretsId(request: secrets_pb.ListSecretsIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.ListSecretsIdResponse) => void): grpc.ClientUnaryCall; + public createSecret(request: secrets_pb.CreateSecretRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + public createSecret(request: secrets_pb.CreateSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + public createSecret(request: secrets_pb.CreateSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + public getSecret(request: secrets_pb.GetSecretRequest, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + public getSecret(request: secrets_pb.GetSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; + public getSecret(request: secrets_pb.GetSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: secrets_pb.Secret) => void): grpc.ClientUnaryCall; public deleteSecret(request: secrets_pb.DeleteSecretRequest, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; public deleteSecret(request: secrets_pb.DeleteSecretRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; public deleteSecret(request: secrets_pb.DeleteSecretRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; diff --git a/mods/secrets/src/service/protos/secrets_grpc_pb.js b/mods/secrets/src/service/protos/secrets_grpc_pb.js index a92476e6c..a51a1d9c8 100644 --- a/mods/secrets/src/service/protos/secrets_grpc_pb.js +++ b/mods/secrets/src/service/protos/secrets_grpc_pb.js @@ -10,144 +10,135 @@ 'use strict'; var grpc = require('@grpc/grpc-js'); var secrets_pb = require('./secrets_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); var common_pb = require('./common_pb.js'); -function serialize_fonos_common_v1beta1_Empty(arg) { +function serialize_fonoster_common_v1beta1_Empty(arg) { if (!(arg instanceof common_pb.Empty)) { - throw new Error('Expected argument of type fonos.common.v1beta1.Empty'); + throw new Error('Expected argument of type fonoster.common.v1beta1.Empty'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_common_v1beta1_Empty(buffer_arg) { +function deserialize_fonoster_common_v1beta1_Empty(buffer_arg) { return common_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_secrets_v1beta1_CreateSecretRequest(arg) { +function serialize_fonoster_secrets_v1beta1_CreateSecretRequest(arg) { if (!(arg instanceof secrets_pb.CreateSecretRequest)) { - throw new Error('Expected argument of type fonos.secrets.v1beta1.CreateSecretRequest'); + throw new Error('Expected argument of type fonoster.secrets.v1beta1.CreateSecretRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_secrets_v1beta1_CreateSecretRequest(buffer_arg) { +function deserialize_fonoster_secrets_v1beta1_CreateSecretRequest(buffer_arg) { return secrets_pb.CreateSecretRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_secrets_v1beta1_CreateSecretResponse(arg) { - if (!(arg instanceof secrets_pb.CreateSecretResponse)) { - throw new Error('Expected argument of type fonos.secrets.v1beta1.CreateSecretResponse'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_fonos_secrets_v1beta1_CreateSecretResponse(buffer_arg) { - return secrets_pb.CreateSecretResponse.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_fonos_secrets_v1beta1_DeleteSecretRequest(arg) { +function serialize_fonoster_secrets_v1beta1_DeleteSecretRequest(arg) { if (!(arg instanceof secrets_pb.DeleteSecretRequest)) { - throw new Error('Expected argument of type fonos.secrets.v1beta1.DeleteSecretRequest'); + throw new Error('Expected argument of type fonoster.secrets.v1beta1.DeleteSecretRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_secrets_v1beta1_DeleteSecretRequest(buffer_arg) { +function deserialize_fonoster_secrets_v1beta1_DeleteSecretRequest(buffer_arg) { return secrets_pb.DeleteSecretRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_secrets_v1beta1_GetSecretRequest(arg) { +function serialize_fonoster_secrets_v1beta1_GetSecretRequest(arg) { if (!(arg instanceof secrets_pb.GetSecretRequest)) { - throw new Error('Expected argument of type fonos.secrets.v1beta1.GetSecretRequest'); + throw new Error('Expected argument of type fonoster.secrets.v1beta1.GetSecretRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_secrets_v1beta1_GetSecretRequest(buffer_arg) { +function deserialize_fonoster_secrets_v1beta1_GetSecretRequest(buffer_arg) { return secrets_pb.GetSecretRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_secrets_v1beta1_GetSecretResponse(arg) { - if (!(arg instanceof secrets_pb.GetSecretResponse)) { - throw new Error('Expected argument of type fonos.secrets.v1beta1.GetSecretResponse'); +function serialize_fonoster_secrets_v1beta1_ListSecretsIdRequest(arg) { + if (!(arg instanceof secrets_pb.ListSecretsIdRequest)) { + throw new Error('Expected argument of type fonoster.secrets.v1beta1.ListSecretsIdRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_secrets_v1beta1_GetSecretResponse(buffer_arg) { - return secrets_pb.GetSecretResponse.deserializeBinary(new Uint8Array(buffer_arg)); +function deserialize_fonoster_secrets_v1beta1_ListSecretsIdRequest(buffer_arg) { + return secrets_pb.ListSecretsIdRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_secrets_v1beta1_ListSecretIdRequest(arg) { - if (!(arg instanceof secrets_pb.ListSecretIdRequest)) { - throw new Error('Expected argument of type fonos.secrets.v1beta1.ListSecretIdRequest'); +function serialize_fonoster_secrets_v1beta1_ListSecretsIdResponse(arg) { + if (!(arg instanceof secrets_pb.ListSecretsIdResponse)) { + throw new Error('Expected argument of type fonoster.secrets.v1beta1.ListSecretsIdResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_secrets_v1beta1_ListSecretIdRequest(buffer_arg) { - return secrets_pb.ListSecretIdRequest.deserializeBinary(new Uint8Array(buffer_arg)); +function deserialize_fonoster_secrets_v1beta1_ListSecretsIdResponse(buffer_arg) { + return secrets_pb.ListSecretsIdResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_secrets_v1beta1_ListSecretIdResponse(arg) { - if (!(arg instanceof secrets_pb.ListSecretIdResponse)) { - throw new Error('Expected argument of type fonos.secrets.v1beta1.ListSecretIdResponse'); +function serialize_fonoster_secrets_v1beta1_Secret(arg) { + if (!(arg instanceof secrets_pb.Secret)) { + throw new Error('Expected argument of type fonoster.secrets.v1beta1.Secret'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_secrets_v1beta1_ListSecretIdResponse(buffer_arg) { - return secrets_pb.ListSecretIdResponse.deserializeBinary(new Uint8Array(buffer_arg)); +function deserialize_fonoster_secrets_v1beta1_Secret(buffer_arg) { + return secrets_pb.Secret.deserializeBinary(new Uint8Array(buffer_arg)); } var SecretsService = exports.SecretsService = { // Lists Secret listSecretsId: { - path: '/fonos.secrets.v1beta1.Secrets/ListSecretsId', + path: '/fonoster.secrets.v1beta1.Secrets/ListSecretsId', requestStream: false, responseStream: false, - requestType: secrets_pb.ListSecretIdRequest, - responseType: secrets_pb.ListSecretIdResponse, - requestSerialize: serialize_fonos_secrets_v1beta1_ListSecretIdRequest, - requestDeserialize: deserialize_fonos_secrets_v1beta1_ListSecretIdRequest, - responseSerialize: serialize_fonos_secrets_v1beta1_ListSecretIdResponse, - responseDeserialize: deserialize_fonos_secrets_v1beta1_ListSecretIdResponse, + requestType: secrets_pb.ListSecretsIdRequest, + responseType: secrets_pb.ListSecretsIdResponse, + requestSerialize: serialize_fonoster_secrets_v1beta1_ListSecretsIdRequest, + requestDeserialize: deserialize_fonoster_secrets_v1beta1_ListSecretsIdRequest, + responseSerialize: serialize_fonoster_secrets_v1beta1_ListSecretsIdResponse, + responseDeserialize: deserialize_fonoster_secrets_v1beta1_ListSecretsIdResponse, }, - // Gets Secret with the Secret-name -getSecret: { - path: '/fonos.secrets.v1beta1.Secrets/GetSecret', + createSecret: { + path: '/fonoster.secrets.v1beta1.Secrets/CreateSecret', requestStream: false, responseStream: false, - requestType: secrets_pb.GetSecretRequest, - responseType: secrets_pb.GetSecretResponse, - requestSerialize: serialize_fonos_secrets_v1beta1_GetSecretRequest, - requestDeserialize: deserialize_fonos_secrets_v1beta1_GetSecretRequest, - responseSerialize: serialize_fonos_secrets_v1beta1_GetSecretResponse, - responseDeserialize: deserialize_fonos_secrets_v1beta1_GetSecretResponse, + requestType: secrets_pb.CreateSecretRequest, + responseType: secrets_pb.Secret, + requestSerialize: serialize_fonoster_secrets_v1beta1_CreateSecretRequest, + requestDeserialize: deserialize_fonoster_secrets_v1beta1_CreateSecretRequest, + responseSerialize: serialize_fonoster_secrets_v1beta1_Secret, + responseDeserialize: deserialize_fonoster_secrets_v1beta1_Secret, }, - createSecret: { - path: '/fonos.secrets.v1beta1.Secrets/CreateSecret', + // Gets Secret with the Secret-name +getSecret: { + path: '/fonoster.secrets.v1beta1.Secrets/GetSecret', requestStream: false, responseStream: false, - requestType: secrets_pb.CreateSecretRequest, - responseType: secrets_pb.CreateSecretResponse, - requestSerialize: serialize_fonos_secrets_v1beta1_CreateSecretRequest, - requestDeserialize: deserialize_fonos_secrets_v1beta1_CreateSecretRequest, - responseSerialize: serialize_fonos_secrets_v1beta1_CreateSecretResponse, - responseDeserialize: deserialize_fonos_secrets_v1beta1_CreateSecretResponse, + requestType: secrets_pb.GetSecretRequest, + responseType: secrets_pb.Secret, + requestSerialize: serialize_fonoster_secrets_v1beta1_GetSecretRequest, + requestDeserialize: deserialize_fonoster_secrets_v1beta1_GetSecretRequest, + responseSerialize: serialize_fonoster_secrets_v1beta1_Secret, + responseDeserialize: deserialize_fonoster_secrets_v1beta1_Secret, }, // Peforms a hard delete of the Secret resource deleteSecret: { - path: '/fonos.secrets.v1beta1.Secrets/DeleteSecret', + path: '/fonoster.secrets.v1beta1.Secrets/DeleteSecret', requestStream: false, responseStream: false, requestType: secrets_pb.DeleteSecretRequest, responseType: common_pb.Empty, - requestSerialize: serialize_fonos_secrets_v1beta1_DeleteSecretRequest, - requestDeserialize: deserialize_fonos_secrets_v1beta1_DeleteSecretRequest, - responseSerialize: serialize_fonos_common_v1beta1_Empty, - responseDeserialize: deserialize_fonos_common_v1beta1_Empty, + requestSerialize: serialize_fonoster_secrets_v1beta1_DeleteSecretRequest, + requestDeserialize: deserialize_fonoster_secrets_v1beta1_DeleteSecretRequest, + responseSerialize: serialize_fonoster_common_v1beta1_Empty, + responseDeserialize: deserialize_fonoster_common_v1beta1_Empty, }, }; diff --git a/mods/secrets/src/service/protos/secrets_pb.d.ts b/mods/secrets/src/service/protos/secrets_pb.d.ts index 5140370bb..f55fca544 100644 --- a/mods/secrets/src/service/protos/secrets_pb.d.ts +++ b/mods/secrets/src/service/protos/secrets_pb.d.ts @@ -1,31 +1,32 @@ -// package: fonos.secrets.v1beta1 +// package: fonoster.secrets.v1beta1 // file: secrets.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; import * as common_pb from "./common_pb"; -export class ListSecretIdRequest extends jspb.Message { +export class ListSecretsIdRequest extends jspb.Message { getPageSize(): number; - setPageSize(value: number): ListSecretIdRequest; + setPageSize(value: number): ListSecretsIdRequest; getPageToken(): string; - setPageToken(value: string): ListSecretIdRequest; + setPageToken(value: string): ListSecretsIdRequest; getView(): common_pb.View; - setView(value: common_pb.View): ListSecretIdRequest; + setView(value: common_pb.View): ListSecretsIdRequest; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ListSecretIdRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListSecretIdRequest): ListSecretIdRequest.AsObject; + toObject(includeInstance?: boolean): ListSecretsIdRequest.AsObject; + static toObject(includeInstance: boolean, msg: ListSecretsIdRequest): ListSecretsIdRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListSecretIdRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ListSecretIdRequest; - static deserializeBinaryFromReader(message: ListSecretIdRequest, reader: jspb.BinaryReader): ListSecretIdRequest; + static serializeBinaryToWriter(message: ListSecretsIdRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListSecretsIdRequest; + static deserializeBinaryFromReader(message: ListSecretsIdRequest, reader: jspb.BinaryReader): ListSecretsIdRequest; } -export namespace ListSecretIdRequest { +export namespace ListSecretsIdRequest { export type AsObject = { pageSize: number, pageToken: string, @@ -33,27 +34,27 @@ export namespace ListSecretIdRequest { } } -export class ListSecretIdResponse extends jspb.Message { +export class ListSecretsIdResponse extends jspb.Message { clearSecretsList(): void; - getSecretsList(): Array; - setSecretsList(value: Array): ListSecretIdResponse; - addSecrets(value?: SecretName, index?: number): SecretName; + getSecretsList(): Array; + setSecretsList(value: Array): ListSecretsIdResponse; + addSecrets(value: string, index?: number): string; getNextPageToken(): string; - setNextPageToken(value: string): ListSecretIdResponse; + setNextPageToken(value: string): ListSecretsIdResponse; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ListSecretIdResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListSecretIdResponse): ListSecretIdResponse.AsObject; + toObject(includeInstance?: boolean): ListSecretsIdResponse.AsObject; + static toObject(includeInstance: boolean, msg: ListSecretsIdResponse): ListSecretsIdResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListSecretIdResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ListSecretIdResponse; - static deserializeBinaryFromReader(message: ListSecretIdResponse, reader: jspb.BinaryReader): ListSecretIdResponse; + static serializeBinaryToWriter(message: ListSecretsIdResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListSecretsIdResponse; + static deserializeBinaryFromReader(message: ListSecretsIdResponse, reader: jspb.BinaryReader): ListSecretsIdResponse; } -export namespace ListSecretIdResponse { +export namespace ListSecretsIdResponse { export type AsObject = { - secretsList: Array, + secretsList: Array, nextPageToken: string, } } @@ -81,29 +82,6 @@ export namespace GetSecretRequest { } } -export class GetSecretResponse extends jspb.Message { - getName(): string; - setName(value: string): GetSecretResponse; - getSecret(): string; - setSecret(value: string): GetSecretResponse; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): GetSecretResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetSecretResponse): GetSecretResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetSecretResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): GetSecretResponse; - static deserializeBinaryFromReader(message: GetSecretResponse, reader: jspb.BinaryReader): GetSecretResponse; -} - -export namespace GetSecretResponse { - export type AsObject = { - name: string, - secret: string, - } -} - export class CreateSecretRequest extends jspb.Message { getName(): string; setName(value: string): CreateSecretRequest; @@ -127,26 +105,6 @@ export namespace CreateSecretRequest { } } -export class CreateSecretResponse extends jspb.Message { - getName(): string; - setName(value: string): CreateSecretResponse; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CreateSecretResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateSecretResponse): CreateSecretResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateSecretResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CreateSecretResponse; - static deserializeBinaryFromReader(message: CreateSecretResponse, reader: jspb.BinaryReader): CreateSecretResponse; -} - -export namespace CreateSecretResponse { - export type AsObject = { - name: string, - } -} - export class DeleteSecretRequest extends jspb.Message { getName(): string; setName(value: string): DeleteSecretRequest; @@ -189,23 +147,3 @@ export namespace Secret { secret: string, } } - -export class SecretName extends jspb.Message { - getName(): string; - setName(value: string): SecretName; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SecretName.AsObject; - static toObject(includeInstance: boolean, msg: SecretName): SecretName.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SecretName, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SecretName; - static deserializeBinaryFromReader(message: SecretName, reader: jspb.BinaryReader): SecretName; -} - -export namespace SecretName { - export type AsObject = { - name: string, - } -} diff --git a/mods/secrets/src/service/protos/secrets_pb.js b/mods/secrets/src/service/protos/secrets_pb.js index b4b328817..35097315c 100644 --- a/mods/secrets/src/service/protos/secrets_pb.js +++ b/mods/secrets/src/service/protos/secrets_pb.js @@ -15,17 +15,18 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); var common_pb = require('./common_pb.js'); goog.object.extend(proto, common_pb); -goog.exportSymbol('proto.fonos.secrets.v1beta1.CreateSecretRequest', null, global); -goog.exportSymbol('proto.fonos.secrets.v1beta1.CreateSecretResponse', null, global); -goog.exportSymbol('proto.fonos.secrets.v1beta1.DeleteSecretRequest', null, global); -goog.exportSymbol('proto.fonos.secrets.v1beta1.GetSecretRequest', null, global); -goog.exportSymbol('proto.fonos.secrets.v1beta1.GetSecretResponse', null, global); -goog.exportSymbol('proto.fonos.secrets.v1beta1.ListSecretIdRequest', null, global); -goog.exportSymbol('proto.fonos.secrets.v1beta1.ListSecretIdResponse', null, global); -goog.exportSymbol('proto.fonos.secrets.v1beta1.Secret', null, global); -goog.exportSymbol('proto.fonos.secrets.v1beta1.SecretName', null, global); +goog.exportSymbol('proto.fonoster.secrets.v1beta1.CreateSecretRequest', null, global); +goog.exportSymbol('proto.fonoster.secrets.v1beta1.DeleteSecretRequest', null, global); +goog.exportSymbol('proto.fonoster.secrets.v1beta1.GetSecretRequest', null, global); +goog.exportSymbol('proto.fonoster.secrets.v1beta1.ListSecretsIdRequest', null, global); +goog.exportSymbol('proto.fonoster.secrets.v1beta1.ListSecretsIdResponse', null, global); +goog.exportSymbol('proto.fonoster.secrets.v1beta1.Secret', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -36,16 +37,16 @@ goog.exportSymbol('proto.fonos.secrets.v1beta1.SecretName', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest = function(opt_data) { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.secrets.v1beta1.ListSecretIdRequest, jspb.Message); +goog.inherits(proto.fonoster.secrets.v1beta1.ListSecretsIdRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.secrets.v1beta1.ListSecretIdRequest.displayName = 'proto.fonos.secrets.v1beta1.ListSecretIdRequest'; + proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.displayName = 'proto.fonoster.secrets.v1beta1.ListSecretsIdRequest'; } /** * Generated by JsPbCodeGenerator. @@ -57,16 +58,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.secrets.v1beta1.ListSecretIdResponse.repeatedFields_, null); +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.repeatedFields_, null); }; -goog.inherits(proto.fonos.secrets.v1beta1.ListSecretIdResponse, jspb.Message); +goog.inherits(proto.fonoster.secrets.v1beta1.ListSecretsIdResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.secrets.v1beta1.ListSecretIdResponse.displayName = 'proto.fonos.secrets.v1beta1.ListSecretIdResponse'; + proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.displayName = 'proto.fonoster.secrets.v1beta1.ListSecretsIdResponse'; } /** * Generated by JsPbCodeGenerator. @@ -78,16 +79,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.secrets.v1beta1.GetSecretRequest = function(opt_data) { +proto.fonoster.secrets.v1beta1.GetSecretRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.secrets.v1beta1.GetSecretRequest, jspb.Message); +goog.inherits(proto.fonoster.secrets.v1beta1.GetSecretRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.secrets.v1beta1.GetSecretRequest.displayName = 'proto.fonos.secrets.v1beta1.GetSecretRequest'; + proto.fonoster.secrets.v1beta1.GetSecretRequest.displayName = 'proto.fonoster.secrets.v1beta1.GetSecretRequest'; } /** * Generated by JsPbCodeGenerator. @@ -99,16 +100,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.secrets.v1beta1.GetSecretResponse = function(opt_data) { +proto.fonoster.secrets.v1beta1.CreateSecretRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.secrets.v1beta1.GetSecretResponse, jspb.Message); +goog.inherits(proto.fonoster.secrets.v1beta1.CreateSecretRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.secrets.v1beta1.GetSecretResponse.displayName = 'proto.fonos.secrets.v1beta1.GetSecretResponse'; + proto.fonoster.secrets.v1beta1.CreateSecretRequest.displayName = 'proto.fonoster.secrets.v1beta1.CreateSecretRequest'; } /** * Generated by JsPbCodeGenerator. @@ -120,16 +121,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.secrets.v1beta1.CreateSecretRequest = function(opt_data) { +proto.fonoster.secrets.v1beta1.DeleteSecretRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.secrets.v1beta1.CreateSecretRequest, jspb.Message); +goog.inherits(proto.fonoster.secrets.v1beta1.DeleteSecretRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.secrets.v1beta1.CreateSecretRequest.displayName = 'proto.fonos.secrets.v1beta1.CreateSecretRequest'; + proto.fonoster.secrets.v1beta1.DeleteSecretRequest.displayName = 'proto.fonoster.secrets.v1beta1.DeleteSecretRequest'; } /** * Generated by JsPbCodeGenerator. @@ -141,79 +142,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.secrets.v1beta1.CreateSecretResponse = function(opt_data) { +proto.fonoster.secrets.v1beta1.Secret = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.secrets.v1beta1.CreateSecretResponse, jspb.Message); +goog.inherits(proto.fonoster.secrets.v1beta1.Secret, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.secrets.v1beta1.CreateSecretResponse.displayName = 'proto.fonos.secrets.v1beta1.CreateSecretResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.fonos.secrets.v1beta1.DeleteSecretRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.fonos.secrets.v1beta1.DeleteSecretRequest.displayName = 'proto.fonos.secrets.v1beta1.DeleteSecretRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.fonos.secrets.v1beta1.Secret = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.fonos.secrets.v1beta1.Secret, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.fonos.secrets.v1beta1.Secret.displayName = 'proto.fonos.secrets.v1beta1.Secret'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.fonos.secrets.v1beta1.SecretName = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.fonos.secrets.v1beta1.SecretName, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.fonos.secrets.v1beta1.SecretName.displayName = 'proto.fonos.secrets.v1beta1.SecretName'; + proto.fonoster.secrets.v1beta1.Secret.displayName = 'proto.fonoster.secrets.v1beta1.Secret'; } @@ -231,8 +169,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.ListSecretIdRequest.toObject(opt_includeInstance, this); +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.toObject(opt_includeInstance, this); }; @@ -241,11 +179,11 @@ proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.ListSecretIdRequest} msg The msg instance to transform. + * @param {!proto.fonoster.secrets.v1beta1.ListSecretsIdRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.toObject = function(includeInstance, msg) { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.toObject = function(includeInstance, msg) { var f, obj = { pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0), pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -263,23 +201,23 @@ proto.fonos.secrets.v1beta1.ListSecretIdRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdRequest} + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdRequest} */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.deserializeBinary = function(bytes) { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.ListSecretIdRequest; - return proto.fonos.secrets.v1beta1.ListSecretIdRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.secrets.v1beta1.ListSecretsIdRequest; + return proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.ListSecretIdRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.secrets.v1beta1.ListSecretsIdRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdRequest} + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdRequest} */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -295,7 +233,7 @@ proto.fonos.secrets.v1beta1.ListSecretIdRequest.deserializeBinaryFromReader = fu msg.setPageToken(value); break; case 3: - var value = /** @type {!proto.fonos.common.v1beta1.View} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.common.v1beta1.View} */ (reader.readEnum()); msg.setView(value); break; default: @@ -311,9 +249,9 @@ proto.fonos.secrets.v1beta1.ListSecretIdRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.serializeBinary = function() { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.ListSecretIdRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -321,11 +259,11 @@ proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.ListSecretIdRequest} message + * @param {!proto.fonoster.secrets.v1beta1.ListSecretsIdRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPageSize(); if (f !== 0) { @@ -355,16 +293,16 @@ proto.fonos.secrets.v1beta1.ListSecretIdRequest.serializeBinaryToWriter = functi * optional int32 page_size = 1; * @return {number} */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.getPageSize = function() { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.prototype.getPageSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdRequest} returns this + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdRequest} returns this */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.setPageSize = function(value) { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.prototype.setPageSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -373,34 +311,34 @@ proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.setPageSize = function * optional string page_token = 2; * @return {string} */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.getPageToken = function() { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.prototype.getPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdRequest} returns this + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdRequest} returns this */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.setPageToken = function(value) { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.prototype.setPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional fonos.common.v1beta1.View view = 3; - * @return {!proto.fonos.common.v1beta1.View} + * optional fonoster.common.v1beta1.View view = 3; + * @return {!proto.fonoster.common.v1beta1.View} */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.getView = function() { - return /** @type {!proto.fonos.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.prototype.getView = function() { + return /** @type {!proto.fonoster.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!proto.fonos.common.v1beta1.View} value - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdRequest} returns this + * @param {!proto.fonoster.common.v1beta1.View} value + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdRequest} returns this */ -proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.setView = function(value) { +proto.fonoster.secrets.v1beta1.ListSecretsIdRequest.prototype.setView = function(value) { return jspb.Message.setProto3EnumField(this, 3, value); }; @@ -411,7 +349,7 @@ proto.fonos.secrets.v1beta1.ListSecretIdRequest.prototype.setView = function(val * @private {!Array} * @const */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.repeatedFields_ = [1]; +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.repeatedFields_ = [1]; @@ -428,8 +366,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.ListSecretIdResponse.toObject(opt_includeInstance, this); +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.toObject(opt_includeInstance, this); }; @@ -438,14 +376,13 @@ proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.ListSecretIdResponse} msg The msg instance to transform. + * @param {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.toObject = function(includeInstance, msg) { +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.toObject = function(includeInstance, msg) { var f, obj = { - secretsList: jspb.Message.toObjectList(msg.getSecretsList(), - proto.fonos.secrets.v1beta1.SecretName.toObject, includeInstance), + secretsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; @@ -460,23 +397,23 @@ proto.fonos.secrets.v1beta1.ListSecretIdResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdResponse} + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.deserializeBinary = function(bytes) { +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.ListSecretIdResponse; - return proto.fonos.secrets.v1beta1.ListSecretIdResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.secrets.v1beta1.ListSecretsIdResponse; + return proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.ListSecretIdResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdResponse} + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -484,8 +421,7 @@ proto.fonos.secrets.v1beta1.ListSecretIdResponse.deserializeBinaryFromReader = f var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.fonos.secrets.v1beta1.SecretName; - reader.readMessage(value,proto.fonos.secrets.v1beta1.SecretName.deserializeBinaryFromReader); + var value = /** @type {string} */ (reader.readString()); msg.addSecrets(value); break; case 2: @@ -505,9 +441,9 @@ proto.fonos.secrets.v1beta1.ListSecretIdResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.serializeBinary = function() { +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.ListSecretIdResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -515,18 +451,17 @@ proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.ListSecretIdResponse} message + * @param {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSecretsList(); if (f.length > 0) { - writer.writeRepeatedMessage( + writer.writeRepeatedString( 1, - f, - proto.fonos.secrets.v1beta1.SecretName.serializeBinaryToWriter + f ); } f = message.getNextPageToken(); @@ -540,39 +475,38 @@ proto.fonos.secrets.v1beta1.ListSecretIdResponse.serializeBinaryToWriter = funct /** - * repeated SecretName secrets = 1; - * @return {!Array} + * repeated string secrets = 1; + * @return {!Array} */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.getSecretsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.fonos.secrets.v1beta1.SecretName, 1)); +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.prototype.getSecretsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {!Array} value - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdResponse} returns this -*/ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.setSecretsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + * @param {!Array} value + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} returns this + */ +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.prototype.setSecretsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * @param {!proto.fonos.secrets.v1beta1.SecretName=} opt_value + * @param {string} value * @param {number=} opt_index - * @return {!proto.fonos.secrets.v1beta1.SecretName} + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} returns this */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.addSecrets = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonos.secrets.v1beta1.SecretName, opt_index); +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.prototype.addSecrets = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdResponse} returns this + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} returns this */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.clearSecretsList = function() { +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.prototype.clearSecretsList = function() { return this.setSecretsList([]); }; @@ -581,16 +515,16 @@ proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.clearSecretsList = fu * optional string next_page_token = 2; * @return {string} */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.getNextPageToken = function() { +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.prototype.getNextPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.ListSecretIdResponse} returns this + * @return {!proto.fonoster.secrets.v1beta1.ListSecretsIdResponse} returns this */ -proto.fonos.secrets.v1beta1.ListSecretIdResponse.prototype.setNextPageToken = function(value) { +proto.fonoster.secrets.v1beta1.ListSecretsIdResponse.prototype.setNextPageToken = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -611,8 +545,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.secrets.v1beta1.GetSecretRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.GetSecretRequest.toObject(opt_includeInstance, this); +proto.fonoster.secrets.v1beta1.GetSecretRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.secrets.v1beta1.GetSecretRequest.toObject(opt_includeInstance, this); }; @@ -621,11 +555,11 @@ proto.fonos.secrets.v1beta1.GetSecretRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.GetSecretRequest} msg The msg instance to transform. + * @param {!proto.fonoster.secrets.v1beta1.GetSecretRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.GetSecretRequest.toObject = function(includeInstance, msg) { +proto.fonoster.secrets.v1beta1.GetSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), view: jspb.Message.getFieldWithDefault(msg, 2, 0) @@ -642,23 +576,23 @@ proto.fonos.secrets.v1beta1.GetSecretRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.GetSecretRequest} + * @return {!proto.fonoster.secrets.v1beta1.GetSecretRequest} */ -proto.fonos.secrets.v1beta1.GetSecretRequest.deserializeBinary = function(bytes) { +proto.fonoster.secrets.v1beta1.GetSecretRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.GetSecretRequest; - return proto.fonos.secrets.v1beta1.GetSecretRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.secrets.v1beta1.GetSecretRequest; + return proto.fonoster.secrets.v1beta1.GetSecretRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.GetSecretRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.secrets.v1beta1.GetSecretRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.GetSecretRequest} + * @return {!proto.fonoster.secrets.v1beta1.GetSecretRequest} */ -proto.fonos.secrets.v1beta1.GetSecretRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.secrets.v1beta1.GetSecretRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -670,7 +604,7 @@ proto.fonos.secrets.v1beta1.GetSecretRequest.deserializeBinaryFromReader = funct msg.setName(value); break; case 2: - var value = /** @type {!proto.fonos.common.v1beta1.View} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.common.v1beta1.View} */ (reader.readEnum()); msg.setView(value); break; default: @@ -686,9 +620,9 @@ proto.fonos.secrets.v1beta1.GetSecretRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.secrets.v1beta1.GetSecretRequest.prototype.serializeBinary = function() { +proto.fonoster.secrets.v1beta1.GetSecretRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.GetSecretRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.secrets.v1beta1.GetSecretRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -696,11 +630,11 @@ proto.fonos.secrets.v1beta1.GetSecretRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.GetSecretRequest} message + * @param {!proto.fonoster.secrets.v1beta1.GetSecretRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.GetSecretRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.secrets.v1beta1.GetSecretRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -723,34 +657,34 @@ proto.fonos.secrets.v1beta1.GetSecretRequest.serializeBinaryToWriter = function( * optional string name = 1; * @return {string} */ -proto.fonos.secrets.v1beta1.GetSecretRequest.prototype.getName = function() { +proto.fonoster.secrets.v1beta1.GetSecretRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.GetSecretRequest} returns this + * @return {!proto.fonoster.secrets.v1beta1.GetSecretRequest} returns this */ -proto.fonos.secrets.v1beta1.GetSecretRequest.prototype.setName = function(value) { +proto.fonoster.secrets.v1beta1.GetSecretRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional fonos.common.v1beta1.View view = 2; - * @return {!proto.fonos.common.v1beta1.View} + * optional fonoster.common.v1beta1.View view = 2; + * @return {!proto.fonoster.common.v1beta1.View} */ -proto.fonos.secrets.v1beta1.GetSecretRequest.prototype.getView = function() { - return /** @type {!proto.fonos.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.fonoster.secrets.v1beta1.GetSecretRequest.prototype.getView = function() { + return /** @type {!proto.fonoster.common.v1beta1.View} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.fonos.common.v1beta1.View} value - * @return {!proto.fonos.secrets.v1beta1.GetSecretRequest} returns this + * @param {!proto.fonoster.common.v1beta1.View} value + * @return {!proto.fonoster.secrets.v1beta1.GetSecretRequest} returns this */ -proto.fonos.secrets.v1beta1.GetSecretRequest.prototype.setView = function(value) { +proto.fonoster.secrets.v1beta1.GetSecretRequest.prototype.setView = function(value) { return jspb.Message.setProto3EnumField(this, 2, value); }; @@ -771,8 +705,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.GetSecretResponse.toObject(opt_includeInstance, this); +proto.fonoster.secrets.v1beta1.CreateSecretRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.secrets.v1beta1.CreateSecretRequest.toObject(opt_includeInstance, this); }; @@ -781,11 +715,11 @@ proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.GetSecretResponse} msg The msg instance to transform. + * @param {!proto.fonoster.secrets.v1beta1.CreateSecretRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.GetSecretResponse.toObject = function(includeInstance, msg) { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), secret: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -802,23 +736,23 @@ proto.fonos.secrets.v1beta1.GetSecretResponse.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.GetSecretResponse} + * @return {!proto.fonoster.secrets.v1beta1.CreateSecretRequest} */ -proto.fonos.secrets.v1beta1.GetSecretResponse.deserializeBinary = function(bytes) { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.GetSecretResponse; - return proto.fonos.secrets.v1beta1.GetSecretResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.secrets.v1beta1.CreateSecretRequest; + return proto.fonoster.secrets.v1beta1.CreateSecretRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.GetSecretResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.secrets.v1beta1.CreateSecretRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.GetSecretResponse} + * @return {!proto.fonoster.secrets.v1beta1.CreateSecretRequest} */ -proto.fonos.secrets.v1beta1.GetSecretResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -846,9 +780,9 @@ proto.fonos.secrets.v1beta1.GetSecretResponse.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.serializeBinary = function() { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.GetSecretResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.secrets.v1beta1.CreateSecretRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -856,11 +790,11 @@ proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.GetSecretResponse} message + * @param {!proto.fonoster.secrets.v1beta1.CreateSecretRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.GetSecretResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -883,16 +817,16 @@ proto.fonos.secrets.v1beta1.GetSecretResponse.serializeBinaryToWriter = function * optional string name = 1; * @return {string} */ -proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.getName = function() { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.GetSecretResponse} returns this + * @return {!proto.fonoster.secrets.v1beta1.CreateSecretRequest} returns this */ -proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.setName = function(value) { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -901,16 +835,16 @@ proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.setName = function(value * optional string secret = 2; * @return {string} */ -proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.getSecret = function() { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.prototype.getSecret = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.GetSecretResponse} returns this + * @return {!proto.fonoster.secrets.v1beta1.CreateSecretRequest} returns this */ -proto.fonos.secrets.v1beta1.GetSecretResponse.prototype.setSecret = function(value) { +proto.fonoster.secrets.v1beta1.CreateSecretRequest.prototype.setSecret = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -931,8 +865,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.CreateSecretRequest.toObject(opt_includeInstance, this); +proto.fonoster.secrets.v1beta1.DeleteSecretRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.secrets.v1beta1.DeleteSecretRequest.toObject(opt_includeInstance, this); }; @@ -941,171 +875,11 @@ proto.fonos.secrets.v1beta1.CreateSecretRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.CreateSecretRequest} msg The msg instance to transform. + * @param {!proto.fonoster.secrets.v1beta1.DeleteSecretRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - secret: jspb.Message.getFieldWithDefault(msg, 2, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.CreateSecretRequest} - */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.CreateSecretRequest; - return proto.fonos.secrets.v1beta1.CreateSecretRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.CreateSecretRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.CreateSecretRequest} - */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setSecret(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.CreateSecretRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.CreateSecretRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getSecret(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.CreateSecretRequest} returns this - */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string secret = 2; - * @return {string} - */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.prototype.getSecret = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.CreateSecretRequest} returns this - */ -proto.fonos.secrets.v1beta1.CreateSecretRequest.prototype.setSecret = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.fonos.secrets.v1beta1.CreateSecretResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.CreateSecretResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.CreateSecretResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.fonos.secrets.v1beta1.CreateSecretResponse.toObject = function(includeInstance, msg) { +proto.fonoster.secrets.v1beta1.DeleteSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1121,23 +895,23 @@ proto.fonos.secrets.v1beta1.CreateSecretResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.CreateSecretResponse} + * @return {!proto.fonoster.secrets.v1beta1.DeleteSecretRequest} */ -proto.fonos.secrets.v1beta1.CreateSecretResponse.deserializeBinary = function(bytes) { +proto.fonoster.secrets.v1beta1.DeleteSecretRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.CreateSecretResponse; - return proto.fonos.secrets.v1beta1.CreateSecretResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.secrets.v1beta1.DeleteSecretRequest; + return proto.fonoster.secrets.v1beta1.DeleteSecretRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.CreateSecretResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.secrets.v1beta1.DeleteSecretRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.CreateSecretResponse} + * @return {!proto.fonoster.secrets.v1beta1.DeleteSecretRequest} */ -proto.fonos.secrets.v1beta1.CreateSecretResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.secrets.v1beta1.DeleteSecretRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1161,9 +935,9 @@ proto.fonos.secrets.v1beta1.CreateSecretResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.secrets.v1beta1.CreateSecretResponse.prototype.serializeBinary = function() { +proto.fonoster.secrets.v1beta1.DeleteSecretRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.CreateSecretResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.secrets.v1beta1.DeleteSecretRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1171,11 +945,11 @@ proto.fonos.secrets.v1beta1.CreateSecretResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.CreateSecretResponse} message + * @param {!proto.fonoster.secrets.v1beta1.DeleteSecretRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.CreateSecretResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.secrets.v1beta1.DeleteSecretRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -1191,16 +965,16 @@ proto.fonos.secrets.v1beta1.CreateSecretResponse.serializeBinaryToWriter = funct * optional string name = 1; * @return {string} */ -proto.fonos.secrets.v1beta1.CreateSecretResponse.prototype.getName = function() { +proto.fonoster.secrets.v1beta1.DeleteSecretRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.CreateSecretResponse} returns this + * @return {!proto.fonoster.secrets.v1beta1.DeleteSecretRequest} returns this */ -proto.fonos.secrets.v1beta1.CreateSecretResponse.prototype.setName = function(value) { +proto.fonoster.secrets.v1beta1.DeleteSecretRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1221,8 +995,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.DeleteSecretRequest.toObject(opt_includeInstance, this); +proto.fonoster.secrets.v1beta1.Secret.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.secrets.v1beta1.Secret.toObject(opt_includeInstance, this); }; @@ -1231,141 +1005,11 @@ proto.fonos.secrets.v1beta1.DeleteSecretRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.DeleteSecretRequest} msg The msg instance to transform. + * @param {!proto.fonoster.secrets.v1beta1.Secret} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.DeleteSecretRequest} - */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.DeleteSecretRequest; - return proto.fonos.secrets.v1beta1.DeleteSecretRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.DeleteSecretRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.DeleteSecretRequest} - */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.DeleteSecretRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.DeleteSecretRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.DeleteSecretRequest} returns this - */ -proto.fonos.secrets.v1beta1.DeleteSecretRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.fonos.secrets.v1beta1.Secret.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.Secret.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.Secret} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.fonos.secrets.v1beta1.Secret.toObject = function(includeInstance, msg) { +proto.fonoster.secrets.v1beta1.Secret.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), secret: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1382,23 +1026,23 @@ proto.fonos.secrets.v1beta1.Secret.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.Secret} + * @return {!proto.fonoster.secrets.v1beta1.Secret} */ -proto.fonos.secrets.v1beta1.Secret.deserializeBinary = function(bytes) { +proto.fonoster.secrets.v1beta1.Secret.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.Secret; - return proto.fonos.secrets.v1beta1.Secret.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.secrets.v1beta1.Secret; + return proto.fonoster.secrets.v1beta1.Secret.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.Secret} msg The message object to deserialize into. + * @param {!proto.fonoster.secrets.v1beta1.Secret} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.Secret} + * @return {!proto.fonoster.secrets.v1beta1.Secret} */ -proto.fonos.secrets.v1beta1.Secret.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.secrets.v1beta1.Secret.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1426,9 +1070,9 @@ proto.fonos.secrets.v1beta1.Secret.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.secrets.v1beta1.Secret.prototype.serializeBinary = function() { +proto.fonoster.secrets.v1beta1.Secret.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.Secret.serializeBinaryToWriter(this, writer); + proto.fonoster.secrets.v1beta1.Secret.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1436,11 +1080,11 @@ proto.fonos.secrets.v1beta1.Secret.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.Secret} message + * @param {!proto.fonoster.secrets.v1beta1.Secret} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.secrets.v1beta1.Secret.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.secrets.v1beta1.Secret.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -1463,16 +1107,16 @@ proto.fonos.secrets.v1beta1.Secret.serializeBinaryToWriter = function(message, w * optional string name = 1; * @return {string} */ -proto.fonos.secrets.v1beta1.Secret.prototype.getName = function() { +proto.fonoster.secrets.v1beta1.Secret.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.Secret} returns this + * @return {!proto.fonoster.secrets.v1beta1.Secret} returns this */ -proto.fonos.secrets.v1beta1.Secret.prototype.setName = function(value) { +proto.fonoster.secrets.v1beta1.Secret.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1481,148 +1125,18 @@ proto.fonos.secrets.v1beta1.Secret.prototype.setName = function(value) { * optional string secret = 2; * @return {string} */ -proto.fonos.secrets.v1beta1.Secret.prototype.getSecret = function() { +proto.fonoster.secrets.v1beta1.Secret.prototype.getSecret = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.Secret} returns this + * @return {!proto.fonoster.secrets.v1beta1.Secret} returns this */ -proto.fonos.secrets.v1beta1.Secret.prototype.setSecret = function(value) { +proto.fonoster.secrets.v1beta1.Secret.prototype.setSecret = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.fonos.secrets.v1beta1.SecretName.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.secrets.v1beta1.SecretName.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.fonos.secrets.v1beta1.SecretName} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.fonos.secrets.v1beta1.SecretName.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.secrets.v1beta1.SecretName} - */ -proto.fonos.secrets.v1beta1.SecretName.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.secrets.v1beta1.SecretName; - return proto.fonos.secrets.v1beta1.SecretName.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.fonos.secrets.v1beta1.SecretName} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.secrets.v1beta1.SecretName} - */ -proto.fonos.secrets.v1beta1.SecretName.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.fonos.secrets.v1beta1.SecretName.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.fonos.secrets.v1beta1.SecretName.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.fonos.secrets.v1beta1.SecretName} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.fonos.secrets.v1beta1.SecretName.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.fonos.secrets.v1beta1.SecretName.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.fonos.secrets.v1beta1.SecretName} returns this - */ -proto.fonos.secrets.v1beta1.SecretName.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -goog.object.extend(exports, proto.fonos.secrets.v1beta1); +goog.object.extend(exports, proto.fonoster.secrets.v1beta1); diff --git a/mods/secrets/src/service/runner.ts b/mods/secrets/src/service/runner.ts index 294beb397..01f79bf65 100644 --- a/mods/secrets/src/service/runner.ts +++ b/mods/secrets/src/service/runner.ts @@ -1,9 +1,9 @@ #!/usr/bin/env node import SecretServer from "./secrets"; import {SecretsService} from "./protos/secrets_grpc_pb"; -import {AuthMiddleware} from "@fonos/auth"; -import {getSalt} from "@fonos/certs"; -import {runServices} from "@fonos/common"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; const services = [ { diff --git a/mods/secrets/src/service/secrets.ts b/mods/secrets/src/service/secrets.ts index 9de9de437..3d393f4c8 100644 --- a/mods/secrets/src/service/secrets.ts +++ b/mods/secrets/src/service/secrets.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -22,16 +22,15 @@ import createSecret from "./create_secret"; import deleteSecret from "./delete_secret"; import listSecret from "./list_secret"; import { - ListSecretIdRequest, - ListSecretIdResponse, GetSecretRequest, CreateSecretRequest, DeleteSecretRequest, - CreateSecretResponse, - GetSecretResponse + ListSecretsIdRequest, + ListSecretsIdResponse, + Secret, } from "./protos/secrets_pb"; import {Empty} from "./protos/common_pb"; -import {getAccessKeyId} from "@fonos/core"; +import {getAccessKeyId} from "@fonoster/core"; import { ISecretsService, SecretsService, @@ -41,8 +40,8 @@ import { class SecretServer implements ISecretsServer { [name: string]: grpc.UntypedHandleCall; async listSecretsId( - call: grpc.ServerUnaryCall, - callback: grpc.sendUnaryData + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData ) { try { const result = await listSecret( @@ -51,14 +50,14 @@ class SecretServer implements ISecretsServer { getAccessKeyId(call) ); - const response = new ListSecretIdResponse(); + const response = new ListSecretsIdResponse(); response.setSecretsList(result.secrets); if (result.pageToken) response.setNextPageToken("" + result.pageToken); callback(null, response); } catch (e) { - if (e.response.statusCode == 404) { - const response = new ListSecretIdResponse(); + if (e?.response?.statusCode === 404) { + const response = new ListSecretsIdResponse(); response.setSecretsList([]); callback(null, response); } else { @@ -68,8 +67,8 @@ class SecretServer implements ISecretsServer { } async getSecret( - call: grpc.ServerUnaryCall, - callback: grpc.sendUnaryData + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData ) { try { const name = call.request.getName(); @@ -82,8 +81,8 @@ class SecretServer implements ISecretsServer { } async createSecret( - call: grpc.ServerUnaryCall, - callback: grpc.sendUnaryData + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData ) { try { const name = call.request.getName(); diff --git a/mods/secrets/src/service/token.ts b/mods/secrets/src/service/token.ts index 786d20e10..aa45a17cc 100644 --- a/mods/secrets/src/service/token.ts +++ b/mods/secrets/src/service/token.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/secrets/src/utils/init.ts b/mods/secrets/src/utils/init.ts index 8c14fdb1a..ff9b0fb42 100644 --- a/mods/secrets/src/utils/init.ts +++ b/mods/secrets/src/utils/init.ts @@ -24,7 +24,7 @@ vault console.log("Vault unsealed"); // TODO: Adding initial policy - // vault policy write fonos-policy vault_policy.hcl + // vault policy write fonoster-policy vault_policy.hcl // TODO: Enable secret engine // vault secrets enable -path=secret kv diff --git a/mods/secrets/test/client.int.test.ts b/mods/secrets/test/client.int.test.ts deleted file mode 100644 index 51e7ced8e..000000000 --- a/mods/secrets/test/client.int.test.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos - * - * This file is part of Project Fonos - * - * Licensed under the MIT License (the "License"); - * you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * https://opensource.org/licenses/MIT - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import chai from "chai"; -import sinon from "sinon"; -import sinonChai from "sinon-chai"; -import chaiAsPromised from "chai-as-promised"; -import Secrets from "../src/client/secrets"; -chai.use(sinonChai); -chai.use(chaiAsPromised); -const sandbox = sinon.createSandbox(); - -describe("@Fonos/secrets/client", () => { - afterEach(() => sandbox.restore()); - - it("should create a new secret", (done) => { - const request = { - name: "jenkins", - secret: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9" - }; - - const secrets = new Secrets(); - - secrets - .createSecret(request) - .then(() => { - done(); - }) - .catch((err) => { - done(err); - }); - }); - - it("should delete a secret", (done) => { - const secrets = new Secrets(); - secrets - .deleteSecret("jenkins") - .then(() => { - done(); - }) - .catch((err) => { - done(err); - }); - }); - - it("should list all secret", (done) => { - const request = { - pageSize: 1, - pageToken: "1" - }; - - const secrets = new Secrets(); - secrets - .listSecret(request) - .then((result) => { - console.log(result); - done(); - }) - .catch((err) => { - done(err); - }); - }); - - it("should get a secret by name", (done) => { - const secrets = new Secrets(); - secrets - .getSecret("jenkins") - .then((result) => { - console.log(result); - done(); - }) - .catch((err) => { - done(err); - }); - }); -}); diff --git a/mods/secrets/test/client.unit.test.ts b/mods/secrets/test/client.unit.test.ts index 110d3f35e..7054ba0ca 100644 --- a/mods/secrets/test/client.unit.test.ts +++ b/mods/secrets/test/client.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -20,83 +20,96 @@ import chai from "chai"; import sinon from "sinon"; import sinonChai from "sinon-chai"; import chaiAsPromised from "chai-as-promised"; -import {FonosService} from "@fonos/common"; +import {APIClient} from "@fonoster/common"; import Secrets from "../src/client/secrets"; const expect = chai.expect; chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -const response = { - getName: () => "my-secret" +const secretsObj = { + getName: () => "my-secret", + getSecret: () => "abc" }; -describe("@Fonos/secrets/client", () => { +describe("@fonoster/secrets/client", () => { afterEach(() => sandbox.restore()); it("should create a secret", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ createSecret: () => { return { - sendMessage: () => Promise.resolve(response) + sendMessage: () => Promise.resolve(secretsObj) }; } }); const secrets = new Secrets(); const result = await secrets.createSecret({ - name: response.getName(), + name: secretsObj.getName(), secret: "test" }); - expect(result).to.have.property("name").to.be.equal(response.getName()); + expect(result).to.have.property("name").to.be.equal(secretsObj.getName()); }); it("should list all secrets", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ - createSecret: () => { - return { - sendMessage: () => Promise.resolve(response) - }; - } - }); - const secrets = new Secrets(); - const result = await secrets.createSecret({ - name: response.getName(), - secret: "test" - }); - expect(result).to.have.property("name").to.be.equal(response.getName()); - }); - - it("should get a secret", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - const stubFunc = sandbox - .stub(FonosService.prototype, "getService") + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") .returns({ - deleteSecret: () => { + listSecretsId: () => { return { - sendMessage: () => Promise.resolve(response) + sendMessage: () => + Promise.resolve({ + getNextPageToken: () => "1", + getSecretsList: () => [secretsObj.getName()] + }) }; } }); + + const request = { + pageSize: 0, + pageToken: "1", + view: 0 + }; + + const secretsAPI = new Secrets(); + const result = await secretsAPI.listSecrets(request); + + expect(serviceStub).to.be.calledTwice; + expect(result.secrets[0]) + .to.have.property("name") + .to.be.equal(secretsObj.getName()); + }); + + it("should get a secret", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const stubFunc = sandbox.stub(APIClient.prototype, "getService").returns({ + getSecret: () => { + return { + sendMessage: () => Promise.resolve(secretsObj) + }; + } + }); const secret = new Secrets(); - const result = await secret.deleteSecret(response.getName()); + const result = await secret.getSecret(secretsObj.getName()); + expect(result).to.have.property("name").to.be.equal(secretsObj.getName()); + expect(result).to.have.property("secret").to.be.equal(secretsObj.getSecret()); }); it("should delete a function", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - const stubFunc = sandbox - .stub(FonosService.prototype, "getService") - .returns({ - deleteSecret: () => { - return { - sendMessage: () => Promise.resolve({}) - }; - } - }); + sandbox.stub(APIClient.prototype, "init").returns(); + const stubFunc = sandbox.stub(APIClient.prototype, "getService").returns({ + deleteSecret: () => { + return { + sendMessage: () => Promise.resolve({}) + }; + } + }); const secret = new Secrets(); - const result = await secret.deleteSecret(response.getName()); + const result = await secret.deleteSecret(secretsObj.getName()); expect(stubFunc).to.be.calledTwice; - expect(result).to.be.an("undefined"); + expect(result).to.be.undefined }); }); diff --git a/mods/storage/.lerna-changed-buster-7825 b/mods/storage/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/storage/Dockerfile b/mods/storage/Dockerfile index 18c024735..a4791bc7e 100644 --- a/mods/storage/Dockerfile +++ b/mods/storage/Dockerfile @@ -3,7 +3,7 @@ COPY . /scripts RUN ./install.sh RUN link /usr/bin/run_storage /usr/bin/run \ && link /usr/bin/healthcheck_storage /usr/bin/healthcheck -USER fonos +USER fonoster HEALTHCHECK --interval=30s \ --timeout=30s \ --start-period=5s \ diff --git a/mods/storage/package.json b/mods/storage/package.json index 5012c7c6a..771411d45 100644 --- a/mods/storage/package.json +++ b/mods/storage/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/storage", - "version": "0.1.20-alpha.0", - "description": "Fonos Storage Servoce", + "name": "@fonoster/storage", + "version": "0.2.40", + "description": "Fonoster Storage Servoce", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/client/storage", "types": "dist/client/storage", @@ -37,18 +37,18 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/auth": "^0.1.20-alpha.0", - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/core": "^0.1.20-alpha.0", - "@fonos/errors": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", "@grpc/grpc-js": "^1.3.6", "google-protobuf": "^3.17.0", "grpc-promise": "^1.4.0", diff --git a/mods/storage/src/client/storage.ts b/mods/storage/src/client/storage.ts index 712c249a7..8f5a6eca0 100644 --- a/mods/storage/src/client/storage.ts +++ b/mods/storage/src/client/storage.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,48 +16,49 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {FonosService, ServiceOptions} from "@fonos/common"; +import {APIClient, ClientOptions} from "@fonoster/common"; import {StorageClient} from "../service/protos/storage_grpc_pb"; import StoragePB from "../service/protos/storage_pb"; import CommonPB from "../service/protos/common_pb"; import { GetObjectURLRequest, UploadObjectRequest, - getObjectURLResponse, - UploadObjectResponse + GetObjectURLResponse, + UploadObjectResponse, + IStorageClient } from "./types"; import {promisifyAll} from "grpc-promise"; import {getObjectServiceUtils, isDirectory, uploadServiceUtils} from "./utils"; /** - * @classdesc Use Fonos Storage, a capability of Fonos Object Storage subsystem, + * @classdesc Use Fonoster Storage, a capability of Fonoster Object Storage subsystem, * to upload, download, and delete objects. * - * @extends FonosService + * @extends APIClient * @example * - * const Fonos = require("@fonos/sdk") - * const storage = new Fonos.Storage() + * const Fonoster = require("@fonoster/sdk") + * const storage = new Fonoster.Storage() * * storage.uploadObject() * .then(result => { * console.log(result) // successful response * }).catch(e => console.error(e)) // an error occurred */ -export default class Storage extends FonosService { +export default class Storage extends APIClient implements IStorageClient { /** * Constructs a new Storage object. - * @param {ServiceOptions} options - Options to indicate the objects endpoint - * @see module:core:FonosService + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient */ - constructor(options?: ServiceOptions) { + constructor(options?: ClientOptions) { super(StorageClient, options); super.init(); promisifyAll(super.getService(), {metadata: super.getMeta()}); } /** - * Upload an object to Fonos Object Storage subsystem. + * Upload an object toFonosterObject Storage subsystem. * * @param {UploadObjectRequest} request - Object with information about the origin and * destination of an object @@ -117,7 +118,7 @@ export default class Storage extends FonosService { */ async getObjectURL( request: GetObjectURLRequest - ): Promise { + ): Promise { const result = await this.getService() .getObjectURL() .sendMessage(getObjectServiceUtils(request)); @@ -126,7 +127,7 @@ export default class Storage extends FonosService { } } -export {StoragePB, CommonPB}; +export {StoragePB, CommonPB, IStorageClient}; // WARNING: Workaround to support commonjs clients module.exports = Storage; diff --git a/mods/storage/src/client/types.ts b/mods/storage/src/client/types.ts index 98bbdcd57..0d08ca7a4 100644 --- a/mods/storage/src/client/types.ts +++ b/mods/storage/src/client/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +export interface IStorageClient { + uploadObject(request: UploadObjectRequest): Promise; + getObjectURL(request: GetObjectURLRequest): Promise; +} + export interface UploadObjectRequest { bucket: string; filename: string; @@ -29,7 +34,7 @@ export interface GetObjectURLRequest { accessKeyId?: string; } -export interface getObjectURLResponse { +export interface GetObjectURLResponse { url: string; } diff --git a/mods/storage/src/client/utils.ts b/mods/storage/src/client/utils.ts index 55a2037b5..533f5924e 100644 --- a/mods/storage/src/client/utils.ts +++ b/mods/storage/src/client/utils.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/storage/src/protos/storage.proto b/mods/storage/src/protos/storage.proto index 4e24a130d..429dfa765 100644 --- a/mods/storage/src/protos/storage.proto +++ b/mods/storage/src/protos/storage.proto @@ -1,50 +1,56 @@ /** * MIT License - * Copyright (c) 2020 Fonoster Inc + * Copyright (c) 2021 Fonoster Inc * * The Storage proto contains the artificats for bucket and objects * management. */ syntax = "proto3"; -package fonos.storage.v1beta1; +package fonoster.storage.v1beta1; + +option go_package = "github.com/fonoster/fonoster/mods/storage/fonoster/services/protos/storage"; + +import "google/api/annotations.proto"; service Storage { - rpc UploadObject (stream UploadObjectRequest) returns (UploadObjectResponse) {}; - rpc GetObjectURL (GetObjectURLRequest) returns (GetObjectURLResponse) {}; + rpc UploadObject (stream UploadObjectRequest) returns (UploadObjectResponse) {}; + rpc GetObjectURL (GetObjectURLRequest) returns (GetObjectURLResponse) { + option (google.api.http) = { get: "/v1beta1/storage/{bucket}/{filename}" }; + }; } message UploadObjectRequest { - enum Bucket { - APPS = 0; - RECORDINGS = 1; - PUBLIC = 2; - FUNCS = 3; - } - Bucket bucket = 1; - string filename = 2; - bytes chunks = 3; - string access_key_id = 4; - map metadata = 5; + enum Bucket { + APPS = 0; + RECORDINGS = 1; + PUBLIC = 2; + FUNCS = 3; + } + Bucket bucket = 1; + string filename = 2; + bytes chunks = 3; + string access_key_id = 4; + map metadata = 5; } message UploadObjectResponse { - // File size in bytes - int32 size = 1; + // File size in bytes + int32 size = 1; } message GetObjectURLRequest { - enum Bucket { - APPS = 0; - RECORDINGS = 1; - PUBLIC = 2; - FUNCS = 3; - } - Bucket bucket = 1; - string filename = 2; - string access_key_id = 3; + enum Bucket { + APPS = 0; + RECORDINGS = 1; + PUBLIC = 2; + FUNCS = 3; + } + Bucket bucket = 1; + string filename = 2; + string access_key_id = 3; } message GetObjectURLResponse { - string url = 1; + string url = 1; } diff --git a/mods/storage/src/service/get_object_url.ts b/mods/storage/src/service/get_object_url.ts index 804b93377..275ed1855 100644 --- a/mods/storage/src/service/get_object_url.ts +++ b/mods/storage/src/service/get_object_url.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,9 +16,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import grpc from "@grpc/grpc-js"; -import {FonosError} from "@fonos/errors"; +import {FonosterError} from "@fonoster/errors"; import {fsInstance} from "../utils/storage"; export default async function ( @@ -28,7 +28,7 @@ export default async function ( ): Promise { logger.log( "debug", - `@fonos/core getObjectURL [bucket: ${bucket}, filename: ${filename}, accessKeId: ${accessKeyId}}]` + `@fonoster/core getObjectURL [bucket: ${bucket}, filename: ${filename}, accessKeId: ${accessKeyId}}]` ); return new Promise((resolve, reject) => { @@ -38,7 +38,7 @@ export default async function ( (err: {message: string}) => { if (err) { reject( - new FonosError( + new FonosterError( `${err.message}: filename ${accessKeyId}/${filename} in bucket '${bucket}'`, grpc.status.NOT_FOUND ) diff --git a/mods/storage/src/service/healthcheck.ts b/mods/storage/src/service/healthcheck.ts index 03ef418cd..c024ae500 100644 --- a/mods/storage/src/service/healthcheck.ts +++ b/mods/storage/src/service/healthcheck.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -//import {healthcheck} from "@fonos/common"; +//import {healthcheck} from "@fonoster/common"; //healthcheck(); diff --git a/mods/storage/src/service/protos/common_pb.d.ts b/mods/storage/src/service/protos/common_pb.d.ts index 5311b1717..f8b5fb810 100644 --- a/mods/storage/src/service/protos/common_pb.d.ts +++ b/mods/storage/src/service/protos/common_pb.d.ts @@ -1,42 +1,49 @@ -// package: fonos.common.v1beta1 +// package: fonoster.common.v1beta1 // file: common.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; -export class Error extends jspb.Message { +export class Empty extends jspb.Message { serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Error.AsObject; - static toObject(includeInstance: boolean, msg: Error): Error.AsObject; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Error; - static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; } -export namespace Error { +export namespace Empty { export type AsObject = { } } -export class Empty extends jspb.Message { +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Empty.AsObject; - static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Empty; - static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; } -export namespace Empty { +export namespace ErrorResponse { export type AsObject = { + status: number, + message: string, } } diff --git a/mods/storage/src/service/protos/common_pb.js b/mods/storage/src/service/protos/common_pb.js index 4efc688db..b7f99c7ea 100644 --- a/mods/storage/src/service/protos/common_pb.js +++ b/mods/storage/src/service/protos/common_pb.js @@ -15,9 +15,11 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.common.v1beta1.Empty', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.Error', null, global); -goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -28,16 +30,16 @@ goog.exportSymbol('proto.fonos.common.v1beta1.View', null, global); * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Error = function(opt_data) { +proto.fonoster.common.v1beta1.Empty = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Error, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Error.displayName = 'proto.fonos.common.v1beta1.Error'; + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; } /** * Generated by JsPbCodeGenerator. @@ -49,16 +51,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.common.v1beta1.Empty = function(opt_data) { +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.common.v1beta1.Empty, jspb.Message); +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.common.v1beta1.Empty.displayName = 'proto.fonos.common.v1beta1.Empty'; + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; } @@ -76,8 +78,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Error.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); }; @@ -86,11 +88,11 @@ proto.fonos.common.v1beta1.Error.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Error} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -106,23 +108,23 @@ proto.fonos.common.v1beta1.Error.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Error; - return proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Error} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Error} + * @return {!proto.fonoster.common.v1beta1.Empty} */ -proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -142,9 +144,9 @@ proto.fonos.common.v1beta1.Error.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Error.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -152,11 +154,11 @@ proto.fonos.common.v1beta1.Error.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Error} message + * @param {!proto.fonoster.common.v1beta1.Empty} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Error.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -177,8 +179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.common.v1beta1.Empty.toObject(opt_includeInstance, this); +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); }; @@ -187,13 +189,14 @@ proto.fonos.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.common.v1beta1.Empty} msg The msg instance to transform. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { var f, obj = { - + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -207,29 +210,37 @@ proto.fonos.common.v1beta1.Empty.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinary = function(bytes) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.common.v1beta1.Empty; - return proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.common.v1beta1.Empty} + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} */ -proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; default: reader.skipField(); break; @@ -243,9 +254,9 @@ proto.fonos.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -253,22 +264,72 @@ proto.fonos.common.v1beta1.Empty.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.common.v1beta1.Empty} message + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** * @enum {number} */ -proto.fonos.common.v1beta1.View = { +proto.fonoster.common.v1beta1.View = { BASIC: 0, STANDARD: 1, FULL: 2 }; -goog.object.extend(exports, proto.fonos.common.v1beta1); +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/storage/src/service/protos/google/api/annotations_grpc_pb.js b/mods/storage/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/storage/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/storage/src/service/protos/google/api/annotations_pb.d.ts b/mods/storage/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/storage/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/storage/src/service/protos/google/api/annotations_pb.js b/mods/storage/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/storage/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/storage/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/storage/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/storage/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/storage/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/storage/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/storage/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/storage/src/service/protos/google/api/field_behavior_pb.js b/mods/storage/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/storage/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/storage/src/service/protos/google/api/http_grpc_pb.js b/mods/storage/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/storage/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/storage/src/service/protos/google/api/http_pb.d.ts b/mods/storage/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/storage/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/storage/src/service/protos/google/api/http_pb.js b/mods/storage/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/storage/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/storage/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/storage/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/storage/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/storage/src/service/protos/google/api/httpbody_pb.d.ts b/mods/storage/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/storage/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/storage/src/service/protos/google/api/httpbody_pb.js b/mods/storage/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/storage/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/storage/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/storage/src/service/protos/storage_grpc_pb.d.ts b/mods/storage/src/service/protos/storage_grpc_pb.d.ts index d5e5c9571..3367912ea 100644 --- a/mods/storage/src/service/protos/storage_grpc_pb.d.ts +++ b/mods/storage/src/service/protos/storage_grpc_pb.d.ts @@ -1,10 +1,11 @@ -// package: fonos.storage.v1beta1 +// package: fonoster.storage.v1beta1 // file: storage.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as storage_pb from "./storage_pb"; interface IStorageService extends grpc.ServiceDefinition { @@ -13,7 +14,7 @@ interface IStorageService extends grpc.ServiceDefinition { - path: "/fonos.storage.v1beta1.Storage/UploadObject"; + path: "/fonoster.storage.v1beta1.Storage/UploadObject"; requestStream: true; responseStream: false; requestSerialize: grpc.serialize; @@ -22,7 +23,7 @@ interface IStorageService_IUploadObject extends grpc.MethodDefinition; } interface IStorageService_IGetObjectURL extends grpc.MethodDefinition { - path: "/fonos.storage.v1beta1.Storage/GetObjectURL"; + path: "/fonoster.storage.v1beta1.Storage/GetObjectURL"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; @@ -34,7 +35,7 @@ interface IStorageService_IGetObjectURL extends grpc.MethodDefinition; + uploadObject: handleClientStreamingCall; getObjectURL: grpc.handleUnaryCall; } diff --git a/mods/storage/src/service/protos/storage_grpc_pb.js b/mods/storage/src/service/protos/storage_grpc_pb.js index 9b833fea9..bf1509491 100644 --- a/mods/storage/src/service/protos/storage_grpc_pb.js +++ b/mods/storage/src/service/protos/storage_grpc_pb.js @@ -3,81 +3,82 @@ // Original file comments: // * // MIT License -// Copyright (c) 2020 Fonoster Inc +// Copyright (c) 2021 Fonoster Inc // // The Storage proto contains the artificats for bucket and objects // management. 'use strict'; var grpc = require('@grpc/grpc-js'); var storage_pb = require('./storage_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); -function serialize_fonos_storage_v1beta1_GetObjectURLRequest(arg) { +function serialize_fonoster_storage_v1beta1_GetObjectURLRequest(arg) { if (!(arg instanceof storage_pb.GetObjectURLRequest)) { - throw new Error('Expected argument of type fonos.storage.v1beta1.GetObjectURLRequest'); + throw new Error('Expected argument of type fonoster.storage.v1beta1.GetObjectURLRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_storage_v1beta1_GetObjectURLRequest(buffer_arg) { +function deserialize_fonoster_storage_v1beta1_GetObjectURLRequest(buffer_arg) { return storage_pb.GetObjectURLRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_storage_v1beta1_GetObjectURLResponse(arg) { +function serialize_fonoster_storage_v1beta1_GetObjectURLResponse(arg) { if (!(arg instanceof storage_pb.GetObjectURLResponse)) { - throw new Error('Expected argument of type fonos.storage.v1beta1.GetObjectURLResponse'); + throw new Error('Expected argument of type fonoster.storage.v1beta1.GetObjectURLResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_storage_v1beta1_GetObjectURLResponse(buffer_arg) { +function deserialize_fonoster_storage_v1beta1_GetObjectURLResponse(buffer_arg) { return storage_pb.GetObjectURLResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_storage_v1beta1_UploadObjectRequest(arg) { +function serialize_fonoster_storage_v1beta1_UploadObjectRequest(arg) { if (!(arg instanceof storage_pb.UploadObjectRequest)) { - throw new Error('Expected argument of type fonos.storage.v1beta1.UploadObjectRequest'); + throw new Error('Expected argument of type fonoster.storage.v1beta1.UploadObjectRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_storage_v1beta1_UploadObjectRequest(buffer_arg) { +function deserialize_fonoster_storage_v1beta1_UploadObjectRequest(buffer_arg) { return storage_pb.UploadObjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_fonos_storage_v1beta1_UploadObjectResponse(arg) { +function serialize_fonoster_storage_v1beta1_UploadObjectResponse(arg) { if (!(arg instanceof storage_pb.UploadObjectResponse)) { - throw new Error('Expected argument of type fonos.storage.v1beta1.UploadObjectResponse'); + throw new Error('Expected argument of type fonoster.storage.v1beta1.UploadObjectResponse'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_fonos_storage_v1beta1_UploadObjectResponse(buffer_arg) { +function deserialize_fonoster_storage_v1beta1_UploadObjectResponse(buffer_arg) { return storage_pb.UploadObjectResponse.deserializeBinary(new Uint8Array(buffer_arg)); } var StorageService = exports.StorageService = { uploadObject: { - path: '/fonos.storage.v1beta1.Storage/UploadObject', + path: '/fonoster.storage.v1beta1.Storage/UploadObject', requestStream: true, responseStream: false, requestType: storage_pb.UploadObjectRequest, responseType: storage_pb.UploadObjectResponse, - requestSerialize: serialize_fonos_storage_v1beta1_UploadObjectRequest, - requestDeserialize: deserialize_fonos_storage_v1beta1_UploadObjectRequest, - responseSerialize: serialize_fonos_storage_v1beta1_UploadObjectResponse, - responseDeserialize: deserialize_fonos_storage_v1beta1_UploadObjectResponse, + requestSerialize: serialize_fonoster_storage_v1beta1_UploadObjectRequest, + requestDeserialize: deserialize_fonoster_storage_v1beta1_UploadObjectRequest, + responseSerialize: serialize_fonoster_storage_v1beta1_UploadObjectResponse, + responseDeserialize: deserialize_fonoster_storage_v1beta1_UploadObjectResponse, }, getObjectURL: { - path: '/fonos.storage.v1beta1.Storage/GetObjectURL', + path: '/fonoster.storage.v1beta1.Storage/GetObjectURL', requestStream: false, responseStream: false, requestType: storage_pb.GetObjectURLRequest, responseType: storage_pb.GetObjectURLResponse, - requestSerialize: serialize_fonos_storage_v1beta1_GetObjectURLRequest, - requestDeserialize: deserialize_fonos_storage_v1beta1_GetObjectURLRequest, - responseSerialize: serialize_fonos_storage_v1beta1_GetObjectURLResponse, - responseDeserialize: deserialize_fonos_storage_v1beta1_GetObjectURLResponse, + requestSerialize: serialize_fonoster_storage_v1beta1_GetObjectURLRequest, + requestDeserialize: deserialize_fonoster_storage_v1beta1_GetObjectURLRequest, + responseSerialize: serialize_fonoster_storage_v1beta1_GetObjectURLResponse, + responseDeserialize: deserialize_fonoster_storage_v1beta1_GetObjectURLResponse, }, }; diff --git a/mods/storage/src/service/protos/storage_pb.d.ts b/mods/storage/src/service/protos/storage_pb.d.ts index 86ff0b44e..90e55262c 100644 --- a/mods/storage/src/service/protos/storage_pb.d.ts +++ b/mods/storage/src/service/protos/storage_pb.d.ts @@ -1,4 +1,4 @@ -// package: fonos.storage.v1beta1 +// package: fonoster.storage.v1beta1 // file: storage.proto /* tslint:disable */ diff --git a/mods/storage/src/service/protos/storage_pb.js b/mods/storage/src/service/protos/storage_pb.js index 719fe085a..b467b45f8 100644 --- a/mods/storage/src/service/protos/storage_pb.js +++ b/mods/storage/src/service/protos/storage_pb.js @@ -15,12 +15,14 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); -goog.exportSymbol('proto.fonos.storage.v1beta1.GetObjectURLRequest', null, global); -goog.exportSymbol('proto.fonos.storage.v1beta1.GetObjectURLRequest.Bucket', null, global); -goog.exportSymbol('proto.fonos.storage.v1beta1.GetObjectURLResponse', null, global); -goog.exportSymbol('proto.fonos.storage.v1beta1.UploadObjectRequest', null, global); -goog.exportSymbol('proto.fonos.storage.v1beta1.UploadObjectRequest.Bucket', null, global); -goog.exportSymbol('proto.fonos.storage.v1beta1.UploadObjectResponse', null, global); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +goog.exportSymbol('proto.fonoster.storage.v1beta1.GetObjectURLRequest', null, global); +goog.exportSymbol('proto.fonoster.storage.v1beta1.GetObjectURLRequest.Bucket', null, global); +goog.exportSymbol('proto.fonoster.storage.v1beta1.GetObjectURLResponse', null, global); +goog.exportSymbol('proto.fonoster.storage.v1beta1.UploadObjectRequest', null, global); +goog.exportSymbol('proto.fonoster.storage.v1beta1.UploadObjectRequest.Bucket', null, global); +goog.exportSymbol('proto.fonoster.storage.v1beta1.UploadObjectResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -31,16 +33,16 @@ goog.exportSymbol('proto.fonos.storage.v1beta1.UploadObjectResponse', null, glob * @extends {jspb.Message} * @constructor */ -proto.fonos.storage.v1beta1.UploadObjectRequest = function(opt_data) { +proto.fonoster.storage.v1beta1.UploadObjectRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.storage.v1beta1.UploadObjectRequest, jspb.Message); +goog.inherits(proto.fonoster.storage.v1beta1.UploadObjectRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.storage.v1beta1.UploadObjectRequest.displayName = 'proto.fonos.storage.v1beta1.UploadObjectRequest'; + proto.fonoster.storage.v1beta1.UploadObjectRequest.displayName = 'proto.fonoster.storage.v1beta1.UploadObjectRequest'; } /** * Generated by JsPbCodeGenerator. @@ -52,16 +54,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.storage.v1beta1.UploadObjectResponse = function(opt_data) { +proto.fonoster.storage.v1beta1.UploadObjectResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.storage.v1beta1.UploadObjectResponse, jspb.Message); +goog.inherits(proto.fonoster.storage.v1beta1.UploadObjectResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.storage.v1beta1.UploadObjectResponse.displayName = 'proto.fonos.storage.v1beta1.UploadObjectResponse'; + proto.fonoster.storage.v1beta1.UploadObjectResponse.displayName = 'proto.fonoster.storage.v1beta1.UploadObjectResponse'; } /** * Generated by JsPbCodeGenerator. @@ -73,16 +75,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.storage.v1beta1.GetObjectURLRequest = function(opt_data) { +proto.fonoster.storage.v1beta1.GetObjectURLRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.storage.v1beta1.GetObjectURLRequest, jspb.Message); +goog.inherits(proto.fonoster.storage.v1beta1.GetObjectURLRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.storage.v1beta1.GetObjectURLRequest.displayName = 'proto.fonos.storage.v1beta1.GetObjectURLRequest'; + proto.fonoster.storage.v1beta1.GetObjectURLRequest.displayName = 'proto.fonoster.storage.v1beta1.GetObjectURLRequest'; } /** * Generated by JsPbCodeGenerator. @@ -94,16 +96,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.fonos.storage.v1beta1.GetObjectURLResponse = function(opt_data) { +proto.fonoster.storage.v1beta1.GetObjectURLResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.fonos.storage.v1beta1.GetObjectURLResponse, jspb.Message); +goog.inherits(proto.fonoster.storage.v1beta1.GetObjectURLResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.fonos.storage.v1beta1.GetObjectURLResponse.displayName = 'proto.fonos.storage.v1beta1.GetObjectURLResponse'; + proto.fonoster.storage.v1beta1.GetObjectURLResponse.displayName = 'proto.fonoster.storage.v1beta1.GetObjectURLResponse'; } @@ -121,8 +123,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.storage.v1beta1.UploadObjectRequest.toObject(opt_includeInstance, this); +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.storage.v1beta1.UploadObjectRequest.toObject(opt_includeInstance, this); }; @@ -131,11 +133,11 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.storage.v1beta1.UploadObjectRequest} msg The msg instance to transform. + * @param {!proto.fonoster.storage.v1beta1.UploadObjectRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.storage.v1beta1.UploadObjectRequest.toObject = function(includeInstance, msg) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.toObject = function(includeInstance, msg) { var f, obj = { bucket: jspb.Message.getFieldWithDefault(msg, 1, 0), filename: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -155,23 +157,23 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.storage.v1beta1.UploadObjectRequest} + * @return {!proto.fonoster.storage.v1beta1.UploadObjectRequest} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.deserializeBinary = function(bytes) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.storage.v1beta1.UploadObjectRequest; - return proto.fonos.storage.v1beta1.UploadObjectRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.storage.v1beta1.UploadObjectRequest; + return proto.fonoster.storage.v1beta1.UploadObjectRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.storage.v1beta1.UploadObjectRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.storage.v1beta1.UploadObjectRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.storage.v1beta1.UploadObjectRequest} + * @return {!proto.fonoster.storage.v1beta1.UploadObjectRequest} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -179,7 +181,7 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.fonos.storage.v1beta1.UploadObjectRequest.Bucket} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.storage.v1beta1.UploadObjectRequest.Bucket} */ (reader.readEnum()); msg.setBucket(value); break; case 2: @@ -213,9 +215,9 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.serializeBinary = function() { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.storage.v1beta1.UploadObjectRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.storage.v1beta1.UploadObjectRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -223,11 +225,11 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.storage.v1beta1.UploadObjectRequest} message + * @param {!proto.fonoster.storage.v1beta1.UploadObjectRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.storage.v1beta1.UploadObjectRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBucket(); if (f !== 0.0) { @@ -267,7 +269,7 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.serializeBinaryToWriter = functi /** * @enum {number} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.Bucket = { +proto.fonoster.storage.v1beta1.UploadObjectRequest.Bucket = { APPS: 0, RECORDINGS: 1, PUBLIC: 2, @@ -276,18 +278,18 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.Bucket = { /** * optional Bucket bucket = 1; - * @return {!proto.fonos.storage.v1beta1.UploadObjectRequest.Bucket} + * @return {!proto.fonoster.storage.v1beta1.UploadObjectRequest.Bucket} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getBucket = function() { - return /** @type {!proto.fonos.storage.v1beta1.UploadObjectRequest.Bucket} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.getBucket = function() { + return /** @type {!proto.fonoster.storage.v1beta1.UploadObjectRequest.Bucket} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.fonos.storage.v1beta1.UploadObjectRequest.Bucket} value - * @return {!proto.fonos.storage.v1beta1.UploadObjectRequest} returns this + * @param {!proto.fonoster.storage.v1beta1.UploadObjectRequest.Bucket} value + * @return {!proto.fonoster.storage.v1beta1.UploadObjectRequest} returns this */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.setBucket = function(value) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.setBucket = function(value) { return jspb.Message.setProto3EnumField(this, 1, value); }; @@ -296,16 +298,16 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.setBucket = function(v * optional string filename = 2; * @return {string} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getFilename = function() { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.getFilename = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.storage.v1beta1.UploadObjectRequest} returns this + * @return {!proto.fonoster.storage.v1beta1.UploadObjectRequest} returns this */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.setFilename = function(value) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.setFilename = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -314,7 +316,7 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.setFilename = function * optional bytes chunks = 3; * @return {!(string|Uint8Array)} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getChunks = function() { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.getChunks = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; @@ -324,7 +326,7 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getChunks = function() * This is a type-conversion wrapper around `getChunks()` * @return {string} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getChunks_asB64 = function() { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.getChunks_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getChunks())); }; @@ -337,7 +339,7 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getChunks_asB64 = func * This is a type-conversion wrapper around `getChunks()` * @return {!Uint8Array} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getChunks_asU8 = function() { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.getChunks_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getChunks())); }; @@ -345,9 +347,9 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getChunks_asU8 = funct /** * @param {!(string|Uint8Array)} value - * @return {!proto.fonos.storage.v1beta1.UploadObjectRequest} returns this + * @return {!proto.fonoster.storage.v1beta1.UploadObjectRequest} returns this */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.setChunks = function(value) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.setChunks = function(value) { return jspb.Message.setProto3BytesField(this, 3, value); }; @@ -356,16 +358,16 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.setChunks = function(v * optional string access_key_id = 4; * @return {string} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getAccessKeyId = function() { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.getAccessKeyId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.fonos.storage.v1beta1.UploadObjectRequest} returns this + * @return {!proto.fonoster.storage.v1beta1.UploadObjectRequest} returns this */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.setAccessKeyId = function(value) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.setAccessKeyId = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -376,7 +378,7 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.setAccessKeyId = funct * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); @@ -385,9 +387,9 @@ proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.getMetadataMap = funct /** * Clears values from the map. The map will be non-null. - * @return {!proto.fonos.storage.v1beta1.UploadObjectRequest} returns this + * @return {!proto.fonoster.storage.v1beta1.UploadObjectRequest} returns this */ -proto.fonos.storage.v1beta1.UploadObjectRequest.prototype.clearMetadataMap = function() { +proto.fonoster.storage.v1beta1.UploadObjectRequest.prototype.clearMetadataMap = function() { this.getMetadataMap().clear(); return this;}; @@ -408,8 +410,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.storage.v1beta1.UploadObjectResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.storage.v1beta1.UploadObjectResponse.toObject(opt_includeInstance, this); +proto.fonoster.storage.v1beta1.UploadObjectResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.storage.v1beta1.UploadObjectResponse.toObject(opt_includeInstance, this); }; @@ -418,11 +420,11 @@ proto.fonos.storage.v1beta1.UploadObjectResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.storage.v1beta1.UploadObjectResponse} msg The msg instance to transform. + * @param {!proto.fonoster.storage.v1beta1.UploadObjectResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.storage.v1beta1.UploadObjectResponse.toObject = function(includeInstance, msg) { +proto.fonoster.storage.v1beta1.UploadObjectResponse.toObject = function(includeInstance, msg) { var f, obj = { size: jspb.Message.getFieldWithDefault(msg, 1, 0) }; @@ -438,23 +440,23 @@ proto.fonos.storage.v1beta1.UploadObjectResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.storage.v1beta1.UploadObjectResponse} + * @return {!proto.fonoster.storage.v1beta1.UploadObjectResponse} */ -proto.fonos.storage.v1beta1.UploadObjectResponse.deserializeBinary = function(bytes) { +proto.fonoster.storage.v1beta1.UploadObjectResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.storage.v1beta1.UploadObjectResponse; - return proto.fonos.storage.v1beta1.UploadObjectResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.storage.v1beta1.UploadObjectResponse; + return proto.fonoster.storage.v1beta1.UploadObjectResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.storage.v1beta1.UploadObjectResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.storage.v1beta1.UploadObjectResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.storage.v1beta1.UploadObjectResponse} + * @return {!proto.fonoster.storage.v1beta1.UploadObjectResponse} */ -proto.fonos.storage.v1beta1.UploadObjectResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.storage.v1beta1.UploadObjectResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -478,9 +480,9 @@ proto.fonos.storage.v1beta1.UploadObjectResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.storage.v1beta1.UploadObjectResponse.prototype.serializeBinary = function() { +proto.fonoster.storage.v1beta1.UploadObjectResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.storage.v1beta1.UploadObjectResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.storage.v1beta1.UploadObjectResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -488,11 +490,11 @@ proto.fonos.storage.v1beta1.UploadObjectResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.storage.v1beta1.UploadObjectResponse} message + * @param {!proto.fonoster.storage.v1beta1.UploadObjectResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.storage.v1beta1.UploadObjectResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.storage.v1beta1.UploadObjectResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSize(); if (f !== 0) { @@ -508,16 +510,16 @@ proto.fonos.storage.v1beta1.UploadObjectResponse.serializeBinaryToWriter = funct * optional int32 size = 1; * @return {number} */ -proto.fonos.storage.v1beta1.UploadObjectResponse.prototype.getSize = function() { +proto.fonoster.storage.v1beta1.UploadObjectResponse.prototype.getSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.fonos.storage.v1beta1.UploadObjectResponse} returns this + * @return {!proto.fonoster.storage.v1beta1.UploadObjectResponse} returns this */ -proto.fonos.storage.v1beta1.UploadObjectResponse.prototype.setSize = function(value) { +proto.fonoster.storage.v1beta1.UploadObjectResponse.prototype.setSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -538,8 +540,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.storage.v1beta1.GetObjectURLRequest.toObject(opt_includeInstance, this); +proto.fonoster.storage.v1beta1.GetObjectURLRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.storage.v1beta1.GetObjectURLRequest.toObject(opt_includeInstance, this); }; @@ -548,11 +550,11 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.storage.v1beta1.GetObjectURLRequest} msg The msg instance to transform. + * @param {!proto.fonoster.storage.v1beta1.GetObjectURLRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.toObject = function(includeInstance, msg) { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.toObject = function(includeInstance, msg) { var f, obj = { bucket: jspb.Message.getFieldWithDefault(msg, 1, 0), filename: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -570,23 +572,23 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.storage.v1beta1.GetObjectURLRequest} + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLRequest} */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.deserializeBinary = function(bytes) { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.storage.v1beta1.GetObjectURLRequest; - return proto.fonos.storage.v1beta1.GetObjectURLRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.storage.v1beta1.GetObjectURLRequest; + return proto.fonoster.storage.v1beta1.GetObjectURLRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.storage.v1beta1.GetObjectURLRequest} msg The message object to deserialize into. + * @param {!proto.fonoster.storage.v1beta1.GetObjectURLRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.storage.v1beta1.GetObjectURLRequest} + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLRequest} */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -594,7 +596,7 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.fonos.storage.v1beta1.GetObjectURLRequest.Bucket} */ (reader.readEnum()); + var value = /** @type {!proto.fonoster.storage.v1beta1.GetObjectURLRequest.Bucket} */ (reader.readEnum()); msg.setBucket(value); break; case 2: @@ -618,9 +620,9 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.serializeBinary = function() { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.storage.v1beta1.GetObjectURLRequest.serializeBinaryToWriter(this, writer); + proto.fonoster.storage.v1beta1.GetObjectURLRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -628,11 +630,11 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.storage.v1beta1.GetObjectURLRequest} message + * @param {!proto.fonoster.storage.v1beta1.GetObjectURLRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBucket(); if (f !== 0.0) { @@ -661,7 +663,7 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.serializeBinaryToWriter = functi /** * @enum {number} */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.Bucket = { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.Bucket = { APPS: 0, RECORDINGS: 1, PUBLIC: 2, @@ -670,18 +672,18 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.Bucket = { /** * optional Bucket bucket = 1; - * @return {!proto.fonos.storage.v1beta1.GetObjectURLRequest.Bucket} + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLRequest.Bucket} */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.getBucket = function() { - return /** @type {!proto.fonos.storage.v1beta1.GetObjectURLRequest.Bucket} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.fonoster.storage.v1beta1.GetObjectURLRequest.prototype.getBucket = function() { + return /** @type {!proto.fonoster.storage.v1beta1.GetObjectURLRequest.Bucket} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.fonos.storage.v1beta1.GetObjectURLRequest.Bucket} value - * @return {!proto.fonos.storage.v1beta1.GetObjectURLRequest} returns this + * @param {!proto.fonoster.storage.v1beta1.GetObjectURLRequest.Bucket} value + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLRequest} returns this */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.setBucket = function(value) { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.prototype.setBucket = function(value) { return jspb.Message.setProto3EnumField(this, 1, value); }; @@ -690,16 +692,16 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.setBucket = function(v * optional string filename = 2; * @return {string} */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.getFilename = function() { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.prototype.getFilename = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.fonos.storage.v1beta1.GetObjectURLRequest} returns this + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLRequest} returns this */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.setFilename = function(value) { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.prototype.setFilename = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -708,16 +710,16 @@ proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.setFilename = function * optional string access_key_id = 3; * @return {string} */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.getAccessKeyId = function() { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.prototype.getAccessKeyId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.fonos.storage.v1beta1.GetObjectURLRequest} returns this + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLRequest} returns this */ -proto.fonos.storage.v1beta1.GetObjectURLRequest.prototype.setAccessKeyId = function(value) { +proto.fonoster.storage.v1beta1.GetObjectURLRequest.prototype.setAccessKeyId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -738,8 +740,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.fonos.storage.v1beta1.GetObjectURLResponse.prototype.toObject = function(opt_includeInstance) { - return proto.fonos.storage.v1beta1.GetObjectURLResponse.toObject(opt_includeInstance, this); +proto.fonoster.storage.v1beta1.GetObjectURLResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.storage.v1beta1.GetObjectURLResponse.toObject(opt_includeInstance, this); }; @@ -748,11 +750,11 @@ proto.fonos.storage.v1beta1.GetObjectURLResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.fonos.storage.v1beta1.GetObjectURLResponse} msg The msg instance to transform. + * @param {!proto.fonoster.storage.v1beta1.GetObjectURLResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.storage.v1beta1.GetObjectURLResponse.toObject = function(includeInstance, msg) { +proto.fonoster.storage.v1beta1.GetObjectURLResponse.toObject = function(includeInstance, msg) { var f, obj = { url: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -768,23 +770,23 @@ proto.fonos.storage.v1beta1.GetObjectURLResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.fonos.storage.v1beta1.GetObjectURLResponse} + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLResponse} */ -proto.fonos.storage.v1beta1.GetObjectURLResponse.deserializeBinary = function(bytes) { +proto.fonoster.storage.v1beta1.GetObjectURLResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.fonos.storage.v1beta1.GetObjectURLResponse; - return proto.fonos.storage.v1beta1.GetObjectURLResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.fonoster.storage.v1beta1.GetObjectURLResponse; + return proto.fonoster.storage.v1beta1.GetObjectURLResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.fonos.storage.v1beta1.GetObjectURLResponse} msg The message object to deserialize into. + * @param {!proto.fonoster.storage.v1beta1.GetObjectURLResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.fonos.storage.v1beta1.GetObjectURLResponse} + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLResponse} */ -proto.fonos.storage.v1beta1.GetObjectURLResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.fonoster.storage.v1beta1.GetObjectURLResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -808,9 +810,9 @@ proto.fonos.storage.v1beta1.GetObjectURLResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.fonos.storage.v1beta1.GetObjectURLResponse.prototype.serializeBinary = function() { +proto.fonoster.storage.v1beta1.GetObjectURLResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.fonos.storage.v1beta1.GetObjectURLResponse.serializeBinaryToWriter(this, writer); + proto.fonoster.storage.v1beta1.GetObjectURLResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -818,11 +820,11 @@ proto.fonos.storage.v1beta1.GetObjectURLResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.fonos.storage.v1beta1.GetObjectURLResponse} message + * @param {!proto.fonoster.storage.v1beta1.GetObjectURLResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.fonos.storage.v1beta1.GetObjectURLResponse.serializeBinaryToWriter = function(message, writer) { +proto.fonoster.storage.v1beta1.GetObjectURLResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUrl(); if (f.length > 0) { @@ -838,18 +840,18 @@ proto.fonos.storage.v1beta1.GetObjectURLResponse.serializeBinaryToWriter = funct * optional string url = 1; * @return {string} */ -proto.fonos.storage.v1beta1.GetObjectURLResponse.prototype.getUrl = function() { +proto.fonoster.storage.v1beta1.GetObjectURLResponse.prototype.getUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.fonos.storage.v1beta1.GetObjectURLResponse} returns this + * @return {!proto.fonoster.storage.v1beta1.GetObjectURLResponse} returns this */ -proto.fonos.storage.v1beta1.GetObjectURLResponse.prototype.setUrl = function(value) { +proto.fonoster.storage.v1beta1.GetObjectURLResponse.prototype.setUrl = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; -goog.object.extend(exports, proto.fonos.storage.v1beta1); +goog.object.extend(exports, proto.fonoster.storage.v1beta1); diff --git a/mods/storage/src/service/runner.ts b/mods/storage/src/service/runner.ts index 2cc9d6348..b230efc61 100644 --- a/mods/storage/src/service/runner.ts +++ b/mods/storage/src/service/runner.ts @@ -1,9 +1,9 @@ #!/usr/bin/env node import StorageServer from "./storage"; import {StorageService} from "./protos/storage_grpc_pb"; -import {AuthMiddleware} from "@fonos/auth"; -import {getSalt} from "@fonos/certs"; -import {runServices} from "@fonos/common"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; const services = [ { diff --git a/mods/storage/src/service/storage.ts b/mods/storage/src/service/storage.ts index a8a459f58..b76554d99 100644 --- a/mods/storage/src/service/storage.ts +++ b/mods/storage/src/service/storage.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -26,7 +26,7 @@ import { GetObjectURLResponse } from "./protos/storage_pb"; import {IStorageServer, StorageService} from "./protos/storage_grpc_pb"; -import {getAccessKeyId} from "@fonos/core"; +import {getAccessKeyId} from "@fonoster/core"; const getBucketName = (bucket: GetObjectURLRequest.Bucket) => { switch (bucket) { diff --git a/mods/storage/src/service/upload_object.ts b/mods/storage/src/service/upload_object.ts index 7281cb50e..e32815e0c 100644 --- a/mods/storage/src/service/upload_object.ts +++ b/mods/storage/src/service/upload_object.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,10 +16,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import fs from "fs"; import {UploadObjectRequest} from "./protos/storage_pb"; -import {getAccessKeyId} from "@fonos/core"; +import {getAccessKeyId} from "@fonoster/core"; import {getFilesizeInBytes, isCompressFile} from "../utils/files"; import {handleCompressUpload, handleUncompressUpload} from "../utils/helper"; import {getBucketAsString, handleError} from "../utils/utils"; @@ -35,7 +35,7 @@ export default async function (call: any, callback: any) { call.on("error", (err: any) => { logger.log( "error", - `@fonos/storage upload [an error ocurred while uploading object ${object} to bucket '${bucket}']` + `@fonoster/storage upload [an error ocurred while uploading object ${object} to bucket '${bucket}']` ); logger.log("error", err); }); @@ -59,13 +59,13 @@ export default async function (call: any, callback: any) { accessKeyId = request.getAccessKeyId(); } logger.debug( - `@fonos/storage upload [started uploading object ${object} into "${bucket}" bucket]` + `@fonoster/storage upload [started uploading object ${object} into "${bucket}" bucket]` ); } logger.log( "verbose", - `@fonos/storage upload [received chunk(${chunk.length}) for ${object}]` + `@fonoster/storage upload [received chunk(${chunk.length}) for ${object}]` ); }); @@ -75,11 +75,11 @@ export default async function (call: any, callback: any) { fs.renameSync(`/tmp/${tmpName}`, `/tmp/${object}`); logger.verbose( - `@fonos/storage upload [moved ${tmpName} into ${object} (final name)]` + `@fonoster/storage upload [moved ${tmpName} into ${object} (final name)]` ); logger.verbose( - `@fonos/storage upload [uploading file to storage backend (s3)]` + `@fonoster/storage upload [uploading file to storage backend (s3)]` ); const response = isCompressFile(object) @@ -87,12 +87,12 @@ export default async function (call: any, callback: any) { : await handleUncompressUpload(accessKeyId, object, bucket, fileSize); logger.verbose( - `@fonos/storage upload [removing tmp file /tmp/${object}]` + `@fonoster/storage upload [removing tmp file /tmp/${object}]` ); fs.unlink(`/tmp/${object}`, () => callback(null, response)); } catch (e) { - logger.log("error", `@fonos/storage upload [${e}]`); + logger.log("error", `@fonoster/storage upload [${e}]`); callback(handleError(e, bucket)); } }); diff --git a/mods/storage/src/utils/constants.ts b/mods/storage/src/utils/constants.ts index 70298fc72..84c63a41b 100644 --- a/mods/storage/src/utils/constants.ts +++ b/mods/storage/src/utils/constants.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/storage/src/utils/files.ts b/mods/storage/src/utils/files.ts index a34e24f94..901a5706f 100644 --- a/mods/storage/src/utils/files.ts +++ b/mods/storage/src/utils/files.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,15 +18,15 @@ */ import fs from "fs"; import tar from "tar"; -import logger from "@fonos/logger"; -import {FonosError} from "@fonos/errors"; +import logger from "@fonoster/logger"; +import {FonosterError} from "@fonoster/errors"; export const extract = (source: string, target: string) => tar.extract({file: source, cwd: target}); export const getFilesizeInBytes = (filename: string) => { if (!fs.existsSync(filename)) { - throw new FonosError(`file ${filename} does not exist`); + throw new FonosterError(`file ${filename} does not exist`); } return fs.statSync(filename)["size"]; }; diff --git a/mods/storage/src/utils/helper.ts b/mods/storage/src/utils/helper.ts index 4845a210f..885f06ca4 100644 --- a/mods/storage/src/utils/helper.ts +++ b/mods/storage/src/utils/helper.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -19,7 +19,7 @@ import {UploadObjectResponse} from "../service/protos/storage_pb"; import {extract, removeDirSync} from "./files"; import {uploadToFS} from "./storage"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export const handleCompressUpload = async ( accessKeyId: string, @@ -30,13 +30,13 @@ export const handleCompressUpload = async ( const response = new UploadObjectResponse(); const nameWithoutExt = object.split(".")[0]; response.setSize(fileSize); - logger.verbose(`@fonos/storage helper [extrating ${object} into /tmp]`); + logger.verbose(`@fonoster/storage helper [extrating ${object} into /tmp]`); await extract(`/tmp/${object}`, "/tmp"); logger.verbose( - `@fonos/storage helper [uploading ${nameWithoutExt} to bucket ${bucket}]` + `@fonoster/storage helper [uploading ${nameWithoutExt} to bucket ${bucket}]` ); await uploadToFS(accessKeyId, bucket, `/tmp/${nameWithoutExt}`); - logger.verbose(`@fonos/storage helper [removing /tmp/${nameWithoutExt}]`); + logger.verbose(`@fonoster/storage helper [removing /tmp/${nameWithoutExt}]`); removeDirSync(`/tmp/${nameWithoutExt}`); return response; }; diff --git a/mods/storage/src/utils/storage.ts b/mods/storage/src/utils/storage.ts index 45d2f5966..d05889147 100644 --- a/mods/storage/src/utils/storage.ts +++ b/mods/storage/src/utils/storage.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ */ import walk from "walk"; import path from "path"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import policyForBucket from "./bucket_policy"; const splitPath = (p: string) => path.dirname(p).split(path.sep); @@ -55,16 +55,16 @@ export const uploadToFS = async ( `${accessKeyId}/` + destFilePath.substring(baseDir.length + 1); logger.verbose( - `@fonos/storage upload fs [uploading ${stats.name} file to ${bucket}]` + `@fonoster/storage upload fs [uploading ${stats.name} file to ${bucket}]` ); fsInstance().fPutObject(bucket, dest, filePath, metadata, (e: any) => { if (e) { - logger.error(`@fonos/storage upload fs [${e}]`); + logger.error(`@fonoster/storage upload fs [${e}]`); reject(e); } else { logger.verbose( - `@fonos/storage upload fs [finished uploading ${stats.name} file]` + `@fonoster/storage upload fs [finished uploading ${stats.name} file]` ); next(); } @@ -78,7 +78,7 @@ export const uploadToFS = async ( walker.on("end", () => { logger.verbose( - `@fonos/storage upload fs [finished uploading ${pathToObject}]` + `@fonoster/storage upload fs [finished uploading ${pathToObject}]` ); resolve(); }); @@ -91,7 +91,7 @@ export default async function (bucket: string) { if (!exists) { logger.log( "verbose", - `@fonos/core fsutils [Creating storage and setting policy bucket: ${bucket}]` + `@fonoster/core fsutils [Creating storage and setting policy bucket: ${bucket}]` ); await fsConn.makeBucket(bucket, "us-west-1"); await fsConn.setBucketPolicy(bucket, policyForBucket(bucket)); diff --git a/mods/storage/src/utils/utils.ts b/mods/storage/src/utils/utils.ts index 2fc160f99..a9f021872 100644 --- a/mods/storage/src/utils/utils.ts +++ b/mods/storage/src/utils/utils.ts @@ -1,11 +1,11 @@ -import {FonosError, FonosFailedPrecondition} from "@fonos/errors"; +import {FonosterError, FonosterFailedPrecondition} from "@fonoster/errors"; import {UploadObjectRequest} from "../service/protos/storage_pb"; /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -45,11 +45,13 @@ export const handleError = ( ) => { switch (err.code) { case "NoSuchBucket": - return new FonosFailedPrecondition(`${err.message} -> bucket: ${bucket}`); + return new FonosterFailedPrecondition( + `${err.message} -> bucket: ${bucket}` + ); case "TAR_BAD_ARCHIVE": - return new FonosError(err.message, grpc.status.DATA_LOSS); + return new FonosterError(err.message, grpc.status.DATA_LOSS); default: - return new FonosError(err.message, grpc.status.UNKNOWN); + return new FonosterError(err.message, grpc.status.UNKNOWN); } }; @@ -77,6 +79,6 @@ export const getBucketAsPB = (bucket: string): UploadObjectRequest.Bucket => { case constants.PUBLIC_BUCKET: return StoragePB.GetObjectURLRequest.Bucket.PUBLIC; default: - throw new FonosError(`Bucket ${bucket} is not a valid one`); + throw new FonosterError(`Bucket ${bucket} is not a valid one`); } }; diff --git a/mods/storage/test/storage.unit.test.ts b/mods/storage/test/storage.unit.test.ts index 73e540822..a63e3f46c 100644 --- a/mods/storage/test/storage.unit.test.ts +++ b/mods/storage/test/storage.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -22,7 +22,7 @@ import sinon from "sinon"; import sinonChai from "sinon-chai"; import chaiAsPromised from "chai-as-promised"; import fs, {Stats} from "fs"; -import {FonosService} from "@fonos/common"; +import {APIClient} from "@fonoster/common"; const expect = chai.expect; chai.use(sinonChai); chai.use(chaiAsPromised); @@ -31,7 +31,7 @@ import path from "path"; import fiber from "fibers"; import * as utils from "../src/client/utils"; -describe("@fonos/storage", () => { +describe("@fonoster/storage", () => { const objectUrlReturn = { url: "http://api.fonoster.net:9000/recordings/60368b263e9a7d0800000004/test.txt" }; @@ -58,9 +58,9 @@ describe("@fonos/storage", () => { afterEach(() => sandbox.restore()); it("should reject because is a directory", () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); sandbox.stub(utils, "isDirectory").returns(true); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "getService").returns({ uploadObject: () => { return uploadObjectStubReturn; } @@ -76,7 +76,7 @@ describe("@fonos/storage", () => { }); it("should upload a file with apps bucket correctly and return an UploadObjectResponse", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const objectSize = 15; const fileNameReturn = "hello-monkeys.tgz"; sandbox.stub(utils, "isDirectory").returns(false); @@ -84,7 +84,7 @@ describe("@fonos/storage", () => { sandbox .stub(fs, "statSync") .returns({...Stats.prototype, size: objectSize}); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "getService").returns({ uploadObject: () => { return uploadObjectStubReturn; } @@ -100,7 +100,7 @@ describe("@fonos/storage", () => { }); it("should upload a file with recordings bucket correctly and return an UploadObjectResponse", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); const objectSize = 15; const fileNameReturn = "hello-monkeys.tgz"; sandbox.stub(utils, "isDirectory").returns(false); @@ -108,7 +108,7 @@ describe("@fonos/storage", () => { sandbox .stub(fs, "statSync") .returns({...Stats.prototype, size: objectSize}); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "getService").returns({ uploadObject: () => { return uploadObjectStubReturn; } @@ -127,13 +127,13 @@ describe("@fonos/storage", () => { const objectSize = 15; const fileNameReturn = "hello-monkeys.tgz"; - sandbox.stub(FonosService.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "init").returns(); sandbox.stub(utils, "isDirectory").returns(false); sandbox.stub(path, "basename").returns(fileNameReturn); sandbox .stub(fs, "statSync") .returns({...Stats.prototype, size: objectSize}); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "getService").returns({ uploadObject: () => { return uploadObjectStubReturn; } @@ -149,8 +149,8 @@ describe("@fonos/storage", () => { }); it("should return an URL with apps bucket from the service", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ getObjectURL: (a: any, b: any) => { return getUrlObjectStubReturn; } @@ -166,8 +166,8 @@ describe("@fonos/storage", () => { }); it("should return an URL with public bucket from the service", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ getObjectURL: () => { return getUrlObjectStubReturn; } @@ -183,8 +183,8 @@ describe("@fonos/storage", () => { }); it("should return an URL with recordings bucket from the service", async () => { - sandbox.stub(FonosService.prototype, "init").returns(); - sandbox.stub(FonosService.prototype, "getService").returns({ + sandbox.stub(APIClient.prototype, "init").returns(); + sandbox.stub(APIClient.prototype, "getService").returns({ getObjectURL: () => { return getUrlObjectStubReturn; } diff --git a/mods/tts/.lerna-changed-buster-7825 b/mods/tts/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/tts/package.json b/mods/tts/package.json index e42b02ed4..6086f00cc 100644 --- a/mods/tts/package.json +++ b/mods/tts/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/tts", - "version": "0.1.20-alpha.0", - "description": "Fonos TTS module", + "name": "@fonoster/tts", + "version": "0.2.40", + "description": "Fonoster TTS module", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,10 +23,10 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { "flat": "^5.0.2", diff --git a/mods/tts/src/index.ts b/mods/tts/src/index.ts index 90535532a..9e48fd380 100644 --- a/mods/tts/src/index.ts +++ b/mods/tts/src/index.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/tts/src/types.ts b/mods/tts/src/types.ts index 96b31b8bf..bc34f5517 100644 --- a/mods/tts/src/types.ts +++ b/mods/tts/src/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -17,7 +17,11 @@ * limitations under the License. */ export interface TTSPlugin { - synthetize(text: string, options: any): Promise; + /** + * @deprecated The method should not be used, please use synthesize instead + */ + synthetize?(text: string, options: any): Promise; + synthesize(text: string, options: any): Promise; } export interface SynthResult { diff --git a/mods/tts/src/utils.ts b/mods/tts/src/utils.ts index a3ebb90cd..7e966b212 100644 --- a/mods/tts/src/utils.ts +++ b/mods/tts/src/utils.ts @@ -4,7 +4,7 @@ import crypto from "crypto"; * Uses the input text and options to generate a filename. This is * later used to cache a file generated by a TTS engine. * - * @param {string} - the text to synthetize + * @param {string} - the text to synthesize * @param {object} - json object with configuration for the TTS engine * @param {sting} - resulting format. Defaults to '.wav' * @returns {string} compute filename diff --git a/mods/tts/test/tts.unit.test.ts b/mods/tts/test/tts.unit.test.ts index 1d71020f2..19b31f975 100644 --- a/mods/tts/test/tts.unit.test.ts +++ b/mods/tts/test/tts.unit.test.ts @@ -14,7 +14,7 @@ if (process.env.NODE_ENV === "dev") { require("dotenv").config({path: join(__dirname, "..", "..", ".env")}); } -describe("@fonos/tts/utils", () => { +describe("@fonoster/tts/utils", () => { afterEach(() => sandbox.restore()); it("converts a json object into a query string", () => { diff --git a/mods/types/.lerna-changed-buster-7825 b/mods/types/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/types/package.json b/mods/types/package.json index 2ec37f6ca..c71d6d31f 100644 --- a/mods/types/package.json +++ b/mods/types/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/types", - "version": "0.1.20-alpha.0", - "description": "Handles Fonos types", + "name": "@fonoster/types", + "version": "0.2.40", + "description": "Handles Fonoster types", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,10 +23,10 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" } diff --git a/mods/users/.dockerignore b/mods/users/.dockerignore new file mode 100644 index 000000000..b512c09d4 --- /dev/null +++ b/mods/users/.dockerignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/mods/users/.lerna-changed-buster-7825 b/mods/users/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/users/.npmignore b/mods/users/.npmignore new file mode 100644 index 000000000..d188afa88 --- /dev/null +++ b/mods/users/.npmignore @@ -0,0 +1,6 @@ +node_modules +.nyc_output +coverage +src +test +*.log diff --git a/mods/users/Dockerfile b/mods/users/Dockerfile new file mode 100644 index 000000000..1df19a282 --- /dev/null +++ b/mods/users/Dockerfile @@ -0,0 +1,11 @@ +FROM fonoster/base +COPY . /scripts +RUN ./install.sh +RUN link /usr/bin/run_users /usr/bin/run \ + && link /usr/bin/healthcheck_users /usr/bin/healthcheck +USER fonoster +HEALTHCHECK --interval=30s \ + --timeout=30s \ + --start-period=5s \ + --retries=3 \ + CMD [ "healthcheck" ] diff --git a/mods/users/package.json b/mods/users/package.json new file mode 100644 index 000000000..d436224ac --- /dev/null +++ b/mods/users/package.json @@ -0,0 +1,59 @@ +{ + "name": "@fonoster/users", + "version": "0.2.40", + "description": "System wide Users", + "author": "Pedro Sanders ", + "homepage": "https://github.com/fonoster/fonoster#readme", + "license": "MIT", + "main": "dist/client/users", + "types": "dist/client/users", + "scripts": { + "prebuild": "rimraf ./dist tsconfig.tsbuildinfo", + "postbuild": "cp -a ./src/service/protos/ ./dist/service/protos", + "build": "tsc -b tsconfig.json", + "start": "cross-env NODE_ENV=dev nodemon src/srv_runner" + }, + "bin": { + "run_users": "dist/service/runner.js", + "healthcheck_users": "dist/service/healthcheck.js" + }, + "nodemonConfig": { + "watch": [ + "../" + ], + "ext": "ts", + "exec": "ts-node", + "ignore": "**/*.d.ts" + }, + "directories": { + "src": "src", + "test": "test" + }, + "files": [ + "dist" + ], + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/fonoster/fonoster.git" + }, + "bugs": { + "url": "https://github.com/fonoster/fonoster/issues" + }, + "dependencies": { + "@fonoster/auth": "^0.2.40", + "@fonoster/certs": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/core": "^0.2.40", + "@fonoster/errors": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@grpc/grpc-js": "^1.3.6", + "bcrypt": "^5.0.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "objectid": "^3.2.1" + }, + "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" +} diff --git a/mods/users/src/client/types.ts b/mods/users/src/client/types.ts new file mode 100644 index 000000000..bc80eb187 --- /dev/null +++ b/mods/users/src/client/types.ts @@ -0,0 +1,107 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export interface IUsersClient { + listUsers(request: ListUsersRequest): Promise; + createUser(request: CreateUserRequest): Promise; + getUser(ref: string): Promise; + updateUser(request: UpdateUserRequest): Promise; + deleteUser(ref: string): Promise; + createUserCredentials( + request: CreateUserCredentialsRequest + ): Promise; +} + +export interface ListUsersRequest { + email?: string; +} +export interface ListUsersResponse { + users: User[]; +} + +export interface User { + ref: string; + accessKeyId: string; + email: string; + name: string; + avatar?: string; + createTime: string; + updateTime: string; +} + +export interface CreateUserCredentialsRequest { + email: string; + secret: string; + expiration?: string; +} + +export interface CreateUserCredentialsResponse { + accessKeyId: string; + accessKeySecret: string; +} + +export interface CreateUserRequest { + email: string; + name: string; + secret: string; + avatar?: string; +} + +export interface CreateUserResponse { + ref: string; + accessKeyId: string; + email: string; + name: string; + avatar?: string; + createTime: string; + updateTime: string; +} + +export interface UpdateUserRequest { + ref: string; + email?: string; + name?: string; + secret?: string; + avatar?: string; +} + +export interface UpdateUserResponse { + ref: string; +} + +export interface GetUserRequest { + ref: string; +} + +export interface GetUserResponse { + ref: string; + accessKeyId: string; + email: string; + name: string; + avatar: string; + createTime: string; + updateTime: string; +} + +export interface DeleteUserRequest { + ref: string; +} + +export interface DeleteUserResponse { + ref: string; +} diff --git a/mods/users/src/client/users.ts b/mods/users/src/client/users.ts new file mode 100644 index 000000000..583daaf6a --- /dev/null +++ b/mods/users/src/client/users.ts @@ -0,0 +1,282 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {APIClient, ClientOptions} from "@fonoster/common"; +import {UsersClient} from "../service/protos/users_grpc_pb"; +import UsersPB from "../service/protos/users_pb"; +import CommonPB from "../service/protos/common_pb"; +import {promisifyAll} from "grpc-promise"; +import { + CreateUserRequest, + CreateUserResponse, + DeleteUserResponse, + GetUserResponse, + CreateUserCredentialsRequest, + UpdateUserRequest, + UpdateUserResponse, + CreateUserCredentialsResponse, + IUsersClient, + ListUsersRequest, + ListUsersResponse +} from "./types"; + +/** + * @classdesc Use Fonoster Users, a capability of Fonoster, + * to create, update, get and delete Users. Users requires of a + * running Fonoster deployment. + * + * @extends APIClient + * @example + * + * const Fonoster = require("@fonoster/sdk") + * const users = new Fonoster.Users() + * + * const request = { + * email: "john.doe@email.com", + * name: "John Doe", + * secret: "s3cur3pass", + * avatar: "https://avatar.com/avt?userId=2124252" + * } + * + * users.createUser(request) + * .then(result => { + * console.log(result) // successful response + * }).catch(e => console.error(e)) // an error occurred + */ +export default class Users extends APIClient implements IUsersClient { + /** + * Constructs a new Users object. + * + * @param {ClientOptions} options - Options to indicate the objects endpoint + * @see module:core:APIClient + */ + constructor(options?: ClientOptions) { + super(UsersClient, options); + super.init(); + promisifyAll(super.getService(), {metadata: super.getMeta()}); + } + + /** + * Return a list of Users. + * + * @param {ListUsersRequest} request - Request filters + * @param {string} request.email - Optional email filter + * @return {Promise} + * @example + * + * projects.listUsers({ email: "john.doe@email.com" }) + * .then(result => { + * console.log(result) // successful response + * }).catch(e => console.error(e)) // an error occurred + */ + async listUsers(request?: ListUsersRequest): Promise { + const res = new UsersPB.ListUsersRequest(); + res.getFiltersMap().set("email", request.email); + + const paginatedList = await super.getService().listUsers().sendMessage(res); + + return { + users: paginatedList.getUsersList().map((p: UsersPB.User) => { + return { + ref: p.getRef(), + accessKeyId: p.getAccessKeyId(), + email: p.getEmail(), + name: p.getName(), + avatar: p.getAvatar(), + createTime: p.getCreateTime(), + updateTime: p.getUpdateTime() + }; + }) + }; + } + + /** + * Create a new Fonoster User. + * + * @param {CreateUserRequest} request - Request for the provision of a new User + * @param {string} request.email - User's email + * @param {string} request.name - User's full name + * @param {string} request.secret - Login password + * @param {string} request.avatar - Optional URL to User's avatar + * @return {Promise} + * @example + * + * const request = { + * email: "john.doe@email.com", + * name: "John Doe", + * secret: "s3cur3pass", + * avatar: "https://avatar.com/avt?userId=2124252" + * } + * + * users.createUser(request) + * .then(result => { + * console.log(result) // successful response + * }).catch(e => console.error(e)) // an error occurred + */ + async createUser(request: CreateUserRequest): Promise { + const user = new UsersPB.CreateUserRequest(); + user.setEmail(request.email); + user.setName(request.name); + user.setSecret(request.secret); + user.setAvatar(request.avatar); + + const res = await super.getService().createUser().sendMessage(user); + + return { + ref: res.getRef(), + accessKeyId: res.getAccessKeyId(), + email: res.getEmail(), + name: res.getName(), + avatar: res.getAvatar(), + createTime: res.getCreateTime(), + updateTime: res.getUpdateTime() + }; + } + + /** + * Retrives an User by reference. + * + * @param {string} ref - Reference to User + * @return {Promise} The User + * @throws if ref is null or User does not exist + * @example + * + * const ref = "507f1f77bcf86cd799439011"; + * + * users.getUser(ref) + * .then(result => { + * console.log(result) // returns the User payload + * }).catch(e => console.error(e)) // an error occurred + */ + async getUser(ref: string): Promise { + const request = new UsersPB.GetUserRequest(); + request.setRef(ref); + const res = await super.getService().getUser().sendMessage(request); + + return { + ref: res.getRef(), + accessKeyId: res.getAccessKeyId(), + email: res.getEmail(), + name: res.getName(), + avatar: res.getAvatar(), + createTime: res.getCreateTime(), + updateTime: res.getUpdateTime() + }; + } + + /** + * Update a Fonoster User. + * + * @param {UpdateUserRequest} request - Request update of an User + * @param {string} request.ref - Required reference to the User + * @param {string} request.name - Optionally update the name + * @param {string} request.avatar - Optionally update the avatar + * @param {string} request.secret - Optionally update User's password + * @return {Promise} + * @example + * + * const request = { + * name: "John Dee", + * secret: "s3cur3pass" + * } + * + * users.updateUser(request) + * .then(result => { + * console.log(result) // returns the UpdateUserResponse payload + * }).catch(e => console.error(e)) // an error occurred + */ + async updateUser(request: UpdateUserRequest): Promise { + const req = new UsersPB.UpdateUserRequest(); + req.setRef(request.ref); + if (request.name) req.setName(request.name); + if (request.secret) req.setSecret(request.secret); + if (request.avatar) req.setAvatar(request.avatar); + + const res = await super.getService().updateUser().sendMessage(req); + + return { + ref: res.getRef() + }; + } + + /** + * Delete an Fonoster User. + * + * @param {string} ref - User's reference + * @example + * + * const ref = "507f1f77bcf86cd799439011" + * + * users.deleteUser(ref) + * .then(() => { + * console.log("done") // returns a reference of the User + * }).catch(e => console.error(e)) // an error occurred + */ + async deleteUser(ref: string): Promise { + const req = new UsersPB.DeleteUserRequest(); + req.setRef(ref); + await super.getService().deleteUser().sendMessage(req); + return {ref}; + } + + /** + * Login using email and a password. + * + * @param {createUserCredentials} request - Request update of an User + * @param {string} request.email - Login username + * @param {string} request.secret - Login password + * @example + * + * const request = { + * email: "john.doe@email.com", + * secret: "s3cur3pass", + * expiration: "30d" + * } + * + * users.createUserCredentials(request) + * .then(result => { + * console.log(result) // returns an accessKeyId and accessKeySecret + * }).catch(e => console.error(e)) // an error occurred + */ + async createUserCredentials( + request: CreateUserCredentialsRequest + ): Promise { + const req = new UsersPB.CreateUserCredentialsRequest(); + req.setEmail(request.email); + req.setSecret(request.secret); + + if (request.expiration) req.setExpiration(request.expiration); + + const res = await super + .getService() + .createUserCredentials() + .sendMessage(req); + + return { + accessKeyId: res.getAccessKeyId(), + accessKeySecret: res.getAccessKeySecret() + }; + } +} + +export {UsersPB, CommonPB, IUsersClient}; + +// WARNING: Workaround for support to commonjs clients +module.exports = Users; +module.exports.UsersPB = UsersPB; +module.exports.CommonPB = CommonPB; diff --git a/mods/users/src/protos/users.proto b/mods/users/src/protos/users.proto new file mode 100644 index 000000000..71499edb4 --- /dev/null +++ b/mods/users/src/protos/users.proto @@ -0,0 +1,124 @@ +/** +* MIT License +* Copyright (c) 2021 Fonoster Inc +* +* The Users proto contains the artificats for the administration +* of Users. +*/ +syntax = "proto3"; + +package fonoster.users.v1beta1; + +option go_package = "github.com/fonoster/fonoster/mods/users/fonoster/services/protos/users"; + +import "protoc-gen-openapiv2/options/annotations.proto"; +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "common.proto"; + +service Users { + // Lists all the Users you have access to + rpc ListUsers (ListUsersRequest) returns (ListUsersResponse) { + option (google.api.http) = { get: "/v1beta1/users" }; + }; + // Creates a new User resource + rpc CreateUser (CreateUserRequest) returns (User) { + option (google.api.http) = { + post: "/v1beta1/users" + body: "*" + }; + }; + // Gets User by reference + rpc GetUser (GetUserRequest) returns (User) { + option (google.api.http) = { get: "/v1beta1/users/{ref}" }; + }; + // Change or update fields in a resource + rpc UpdateUser (UpdateUserRequest) returns (User) { + option (google.api.http) = { + put: "/v1beta1/users/{ref}" + body: "*" + }; + }; + // WARNING: Hard delete of an User will remove all related projects and its resources. + rpc DeleteUser (DeleteUserRequest) returns (fonoster.common.v1beta1.Empty) { + option (google.api.http) = { delete: "/v1beta1/users/{ref}" }; + }; + // Creates a set of credentials + rpc CreateUserCredentials (CreateUserCredentialsRequest) returns (CreateUserCredentialsResponse) { + option (google.api.http) = { + post: "/v1beta1/users/credentials" + body: "*" + }; + }; +} + +message ListUsersRequest { + map filters = 1; +} + +message ListUsersResponse { + repeated User users = 1; +} + +message CreateUserCredentialsRequest { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"email\": \"john.doe@fonoster.io\", \"secret\": \"$U@tl0125\", \"expiration\": \"7d\"}" + }; + string email = 1; + string secret = 2; + string expiration = 3; +} + +message CreateUserCredentialsResponse { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"accessKeyId\": \"407f1679010c19729de860rp\", \"accessKeySecret\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\"}" + }; + string access_key_id = 1; + string access_key_secret = 2; +} + +message CreateUserRequest { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"email\": \"john.doe@fonoster.io\", \"name\": \"John Doe\", \"secret\": \"$U@tl0125\", \"avatar\": \"https://avatar.net/0121323/image.jpg\"}" + }; + string email = 1 [(google.api.field_behavior) = REQUIRED]; + string name = 2 [(google.api.field_behavior) = REQUIRED]; + string secret = 3 [(google.api.field_behavior) = REQUIRED]; + // Url to the User's avatar + string avatar = 4; +} + +message UpdateUserRequest { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"ref\": \"407f1679010c19729de860rp\", \"name\": \"John Doe\", \"avatar\": \"https://avatar.net/0121323/image.jpg\"}" + }; + // User's reference + string ref = 1; + string name = 2; + string secret = 3; + string avatar = 4; +} + +message GetUserRequest { + // User's reference + string ref = 1; +} + +message DeleteUserRequest { + // User's reference + string ref = 1; +} + +message User { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + example: "{\"ref\": \"407f1679010c19729de860rp\", \"accessKeyId\": \"407f1679010c19729de860rp\", \"email\": \"john.doe@acme.com\", \"name\": \"John Doe\", \"avatar\": \"https://avatar.net/0121323/image.jpg\", \"createTime\": \"2021-10-05T13:23:07.221Z\", \"updateTime\": \"2021-10-05T13:23:07.221Z\"}" + }; + // User's reference + string ref = 1 [(google.api.field_behavior) = REQUIRED]; + string access_key_id = 2 [(google.api.field_behavior) = REQUIRED]; + string email = 3 [(google.api.field_behavior) = REQUIRED]; + string name = 4 [(google.api.field_behavior) = REQUIRED]; + string avatar = 5; + string create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + string update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/mods/users/src/service/assertions.ts b/mods/users/src/service/assertions.ts new file mode 100644 index 000000000..e9e4115a9 --- /dev/null +++ b/mods/users/src/service/assertions.ts @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {FonosterError, ErrorCodes} from "@fonoster/errors"; + +export const assertValidEmail = (email: string): void => { + if (/\S+@\S+\.\S+/.test(email) == false) + throw new FonosterError( + `invalid email: ${email}`, + ErrorCodes.INVALID_ARGUMENT + ); +}; + +// TODO: Move to @fonoster/common +export const assertNotEmpty = (name: string, value: string): void => { + if (value.length == 0) + throw new FonosterError( + `the parameter '${name}' is required but was not found`, + ErrorCodes.INVALID_ARGUMENT + ); +}; + +export const assertValidURL = (url: string): void => { + if ( + url && + /(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/g.test( + url + ) == false + ) { + throw new FonosterError(`invalid url: ${url}`, ErrorCodes.INVALID_ARGUMENT); + } +}; diff --git a/mods/users/src/service/decoder.ts b/mods/users/src/service/decoder.ts new file mode 100644 index 000000000..5da4caf62 --- /dev/null +++ b/mods/users/src/service/decoder.ts @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {User} from "./protos/users_pb"; + +export default (raw: string): User => { + const userJSON = JSON.parse(raw); + const user = new User(); + user.setRef(userJSON.ref); + user.setAccessKeyId(userJSON.accessKeyId); + user.setEmail(userJSON.email); + user.setName(userJSON.name); + user.setAvatar(userJSON.avatar); + user.setCreateTime(userJSON.createTime); + user.setUpdateTime(userJSON.updateTime); + return user; +}; diff --git a/mods/users/src/service/encoder.ts b/mods/users/src/service/encoder.ts new file mode 100644 index 000000000..01793ccd5 --- /dev/null +++ b/mods/users/src/service/encoder.ts @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {User} from "./protos/users_pb"; + +export default (user: User, secretHash: string): string => { + const userJSON = { + ref: user.getRef(), + accessKeyId: user.getAccessKeyId(), + email: user.getEmail(), + name: user.getName(), + avatar: user.getAvatar(), + createTime: user.getCreateTime(), + updateTime: user.getUpdateTime(), + secretHash + }; + return JSON.stringify(userJSON); +}; diff --git a/mods/users/src/service/healthcheck.ts b/mods/users/src/service/healthcheck.ts new file mode 100644 index 000000000..eb0e7f693 --- /dev/null +++ b/mods/users/src/service/healthcheck.ts @@ -0,0 +1,21 @@ +#!/usr/bin/env node +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// import {healthcheck} from "@fonoster/common"; +// healthcheck(); diff --git a/mods/users/src/service/protos/common_grpc_pb.js b/mods/users/src/service/protos/common_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/users/src/service/protos/common_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/users/src/service/protos/common_pb.d.ts b/mods/users/src/service/protos/common_pb.d.ts new file mode 100644 index 000000000..f8b5fb810 --- /dev/null +++ b/mods/users/src/service/protos/common_pb.d.ts @@ -0,0 +1,54 @@ +// package: fonoster.common.v1beta1 +// file: common.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; + +export class Empty extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Empty.AsObject; + static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Empty; + static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; +} + +export namespace Empty { + export type AsObject = { + } +} + +export class ErrorResponse extends jspb.Message { + getStatus(): number; + setStatus(value: number): ErrorResponse; + getMessage(): string; + setMessage(value: string): ErrorResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ErrorResponse.AsObject; + static toObject(includeInstance: boolean, msg: ErrorResponse): ErrorResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ErrorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ErrorResponse; + static deserializeBinaryFromReader(message: ErrorResponse, reader: jspb.BinaryReader): ErrorResponse; +} + +export namespace ErrorResponse { + export type AsObject = { + status: number, + message: string, + } +} + +export enum View { + BASIC = 0, + STANDARD = 1, + FULL = 2, +} diff --git a/mods/users/src/service/protos/common_pb.js b/mods/users/src/service/protos/common_pb.js new file mode 100644 index 000000000..b7f99c7ea --- /dev/null +++ b/mods/users/src/service/protos/common_pb.js @@ -0,0 +1,335 @@ +// source: common.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +goog.exportSymbol('proto.fonoster.common.v1beta1.Empty', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.ErrorResponse', null, global); +goog.exportSymbol('proto.fonoster.common.v1beta1.View', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.Empty = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.Empty, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.Empty.displayName = 'proto.fonoster.common.v1beta1.Empty'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.common.v1beta1.ErrorResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.common.v1beta1.ErrorResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.common.v1beta1.ErrorResponse.displayName = 'proto.fonoster.common.v1beta1.ErrorResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.Empty.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.Empty.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.Empty} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.Empty; + return proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.Empty} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.Empty} + */ +proto.fonoster.common.v1beta1.Empty.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.Empty.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.Empty} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.Empty.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.common.v1beta1.ErrorResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.toObject = function(includeInstance, msg) { + var f, obj = { + status: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.common.v1beta1.ErrorResponse; + return proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} + */ +proto.fonoster.common.v1beta1.ErrorResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStatus(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.common.v1beta1.ErrorResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.common.v1beta1.ErrorResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStatus(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional int32 status = 1; + * @return {number} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setStatus = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.common.v1beta1.ErrorResponse} returns this + */ +proto.fonoster.common.v1beta1.ErrorResponse.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * @enum {number} + */ +proto.fonoster.common.v1beta1.View = { + BASIC: 0, + STANDARD: 1, + FULL: 2 +}; + +goog.object.extend(exports, proto.fonoster.common.v1beta1); diff --git a/mods/users/src/service/protos/google/api/annotations_grpc_pb.js b/mods/users/src/service/protos/google/api/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/users/src/service/protos/google/api/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/users/src/service/protos/google/api/annotations_pb.d.ts b/mods/users/src/service/protos/google/api/annotations_pb.d.ts new file mode 100644 index 000000000..06072f3bd --- /dev/null +++ b/mods/users/src/service/protos/google/api/annotations_pb.d.ts @@ -0,0 +1,11 @@ +// package: google.api +// file: google/api/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_api_http_pb from "../../google/api/http_pb"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const http: jspb.ExtensionFieldInfo; diff --git a/mods/users/src/service/protos/google/api/annotations_pb.js b/mods/users/src/service/protos/google/api/annotations_pb.js new file mode 100644 index 000000000..99e4c1824 --- /dev/null +++ b/mods/users/src/service/protos/google/api/annotations_pb.js @@ -0,0 +1,48 @@ +// source: google/api/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_api_http_pb = require('../../google/api/http_pb.js'); +goog.object.extend(proto, google_api_http_pb); +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.http', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `http`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.google.api.http = new jspb.ExtensionFieldInfo( + 72295728, + {http: 0}, + google_api_http_pb.HttpRule, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + google_api_http_pb.HttpRule.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.http, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + google_api_http_pb.HttpRule.serializeBinaryToWriter, + google_api_http_pb.HttpRule.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/users/src/service/protos/google/api/field_behavior_grpc_pb.js b/mods/users/src/service/protos/google/api/field_behavior_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/users/src/service/protos/google/api/field_behavior_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/users/src/service/protos/google/api/field_behavior_pb.d.ts b/mods/users/src/service/protos/google/api/field_behavior_pb.d.ts new file mode 100644 index 000000000..9b853705f --- /dev/null +++ b/mods/users/src/service/protos/google/api/field_behavior_pb.d.ts @@ -0,0 +1,21 @@ +// package: google.api +// file: google/api/field_behavior.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const fieldBehavior: jspb.ExtensionFieldInfo; + +export enum FieldBehavior { + FIELD_BEHAVIOR_UNSPECIFIED = 0, + OPTIONAL = 1, + REQUIRED = 2, + OUTPUT_ONLY = 3, + INPUT_ONLY = 4, + IMMUTABLE = 5, + UNORDERED_LIST = 6, + NON_EMPTY_DEFAULT = 7, +} diff --git a/mods/users/src/service/protos/google/api/field_behavior_pb.js b/mods/users/src/service/protos/google/api/field_behavior_pb.js new file mode 100644 index 000000000..44160cc41 --- /dev/null +++ b/mods/users/src/service/protos/google/api/field_behavior_pb.js @@ -0,0 +1,61 @@ +// source: google/api/field_behavior.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.google.api.FieldBehavior', null, global); +goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); +/** + * @enum {number} + */ +proto.google.api.FieldBehavior = { + FIELD_BEHAVIOR_UNSPECIFIED: 0, + OPTIONAL: 1, + REQUIRED: 2, + OUTPUT_ONLY: 3, + INPUT_ONLY: 4, + IMMUTABLE: 5, + UNORDERED_LIST: 6, + NON_EMPTY_DEFAULT: 7 +}; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `fieldBehaviorList`. + * @type {!jspb.ExtensionFieldInfo>} + */ +proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( + 1052, + {fieldBehaviorList: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 1); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( + proto.google.api.fieldBehaviorList, + jspb.BinaryReader.prototype.readPackedEnum, + jspb.BinaryWriter.prototype.writePackedEnum, + undefined, + undefined, + true); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; + +goog.object.extend(exports, proto.google.api); diff --git a/mods/users/src/service/protos/google/api/http_grpc_pb.js b/mods/users/src/service/protos/google/api/http_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/users/src/service/protos/google/api/http_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/users/src/service/protos/google/api/http_pb.d.ts b/mods/users/src/service/protos/google/api/http_pb.d.ts new file mode 100644 index 000000000..02c3b1ece --- /dev/null +++ b/mods/users/src/service/protos/google/api/http_pb.d.ts @@ -0,0 +1,135 @@ +// package: google.api +// file: google/api/http.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Http extends jspb.Message { + clearRulesList(): void; + getRulesList(): Array; + setRulesList(value: Array): Http; + addRules(value?: HttpRule, index?: number): HttpRule; + getFullyDecodeReservedExpansion(): boolean; + setFullyDecodeReservedExpansion(value: boolean): Http; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Http.AsObject; + static toObject(includeInstance: boolean, msg: Http): Http.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Http; + static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http; +} + +export namespace Http { + export type AsObject = { + rulesList: Array, + fullyDecodeReservedExpansion: boolean, + } +} + +export class HttpRule extends jspb.Message { + getSelector(): string; + setSelector(value: string): HttpRule; + + hasGet(): boolean; + clearGet(): void; + getGet(): string; + setGet(value: string): HttpRule; + + hasPut(): boolean; + clearPut(): void; + getPut(): string; + setPut(value: string): HttpRule; + + hasPost(): boolean; + clearPost(): void; + getPost(): string; + setPost(value: string): HttpRule; + + hasDelete(): boolean; + clearDelete(): void; + getDelete(): string; + setDelete(value: string): HttpRule; + + hasPatch(): boolean; + clearPatch(): void; + getPatch(): string; + setPatch(value: string): HttpRule; + + hasCustom(): boolean; + clearCustom(): void; + getCustom(): CustomHttpPattern | undefined; + setCustom(value?: CustomHttpPattern): HttpRule; + getBody(): string; + setBody(value: string): HttpRule; + getResponseBody(): string; + setResponseBody(value: string): HttpRule; + clearAdditionalBindingsList(): void; + getAdditionalBindingsList(): Array; + setAdditionalBindingsList(value: Array): HttpRule; + addAdditionalBindings(value?: HttpRule, index?: number): HttpRule; + + getPatternCase(): HttpRule.PatternCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpRule.AsObject; + static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpRule; + static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule; +} + +export namespace HttpRule { + export type AsObject = { + selector: string, + get: string, + put: string, + post: string, + pb_delete: string, + patch: string, + custom?: CustomHttpPattern.AsObject, + body: string, + responseBody: string, + additionalBindingsList: Array, + } + + export enum PatternCase { + PATTERN_NOT_SET = 0, + GET = 2, + PUT = 3, + POST = 4, + DELETE = 5, + PATCH = 6, + CUSTOM = 8, + } + +} + +export class CustomHttpPattern extends jspb.Message { + getKind(): string; + setKind(value: string): CustomHttpPattern; + getPath(): string; + setPath(value: string): CustomHttpPattern; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CustomHttpPattern.AsObject; + static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CustomHttpPattern; + static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern; +} + +export namespace CustomHttpPattern { + export type AsObject = { + kind: string, + path: string, + } +} diff --git a/mods/users/src/service/protos/google/api/http_pb.js b/mods/users/src/service/protos/google/api/http_pb.js new file mode 100644 index 000000000..0359c5eec --- /dev/null +++ b/mods/users/src/service/protos/google/api/http_pb.js @@ -0,0 +1,1006 @@ +// source: google/api/http.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); +goog.exportSymbol('proto.google.api.Http', null, global); +goog.exportSymbol('proto.google.api.HttpRule', null, global); +goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.Http = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); +}; +goog.inherits(proto.google.api.Http, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.Http.displayName = 'proto.google.api.Http'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpRule = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); +}; +goog.inherits(proto.google.api.HttpRule, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.CustomHttpPattern = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.Http.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.Http.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.Http} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.toObject = function(includeInstance, msg) { + var f, obj = { + rulesList: jspb.Message.toObjectList(msg.getRulesList(), + proto.google.api.HttpRule.toObject, includeInstance), + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.Http; + return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.Http} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.Http} + */ +proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addRules(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFullyDecodeReservedExpansion(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.Http.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.Http.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.Http} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRulesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } + f = message.getFullyDecodeReservedExpansion(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * repeated HttpRule rules = 1; + * @return {!Array} + */ +proto.google.api.Http.prototype.getRulesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.Http} returns this +*/ +proto.google.api.Http.prototype.setRulesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.clearRulesList = function() { + return this.setRulesList([]); +}; + + +/** + * optional bool fully_decode_reserved_expansion = 2; + * @return {boolean} + */ +proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.api.Http} returns this + */ +proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpRule.repeatedFields_ = [11]; + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.google.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; + +/** + * @enum {number} + */ +proto.google.api.HttpRule.PatternCase = { + PATTERN_NOT_SET: 0, + GET: 2, + PUT: 3, + POST: 4, + DELETE: 5, + PATCH: 6, + CUSTOM: 8 +}; + +/** + * @return {proto.google.api.HttpRule.PatternCase} + */ +proto.google.api.HttpRule.prototype.getPatternCase = function() { + return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpRule.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpRule} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.toObject = function(includeInstance, msg) { + var f, obj = { + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + proto.google.api.HttpRule.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpRule; + return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSelector(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setGet(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPut(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPost(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDelete(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPatch(value); + break; + case 8: + var value = new proto.google.api.CustomHttpPattern; + reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); + msg.setCustom(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setBody(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setResponseBody(value); + break; + case 11: + var value = new proto.google.api.HttpRule; + reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); + msg.addAdditionalBindings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpRule.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpRule.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpRule} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelector(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getCustom(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.api.CustomHttpPattern.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getResponseBody(); + if (f.length > 0) { + writer.writeString( + 12, + f + ); + } + f = message.getAdditionalBindingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 11, + f, + proto.google.api.HttpRule.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string selector = 1; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getSelector = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setSelector = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string get = 2; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getGet = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setGet = function(value) { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearGet = function() { + return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasGet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string put = 3; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPut = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPut = function(value) { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPut = function() { + return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPut = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string post = 4; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPost = function(value) { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPost = function() { + return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPost = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string delete = 5; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getDelete = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setDelete = function(value) { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearDelete = function() { + return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasDelete = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string patch = 6; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getPatch = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setPatch = function(value) { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearPatch = function() { + return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasPatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional CustomHttpPattern custom = 8; + * @return {?proto.google.api.CustomHttpPattern} + */ +proto.google.api.HttpRule.prototype.getCustom = function() { + return /** @type{?proto.google.api.CustomHttpPattern} */ ( + jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); +}; + + +/** + * @param {?proto.google.api.CustomHttpPattern|undefined} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setCustom = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearCustom = function() { + return this.setCustom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.api.HttpRule.prototype.hasCustom = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional string body = 7; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setBody = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string response_body = 12; + * @return {string} + */ +proto.google.api.HttpRule.prototype.getResponseBody = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.setResponseBody = function(value) { + return jspb.Message.setProto3StringField(this, 12, value); +}; + + +/** + * repeated HttpRule additional_bindings = 11; + * @return {!Array} + */ +proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpRule} returns this +*/ +proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 11, value); +}; + + +/** + * @param {!proto.google.api.HttpRule=} opt_value + * @param {number=} opt_index + * @return {!proto.google.api.HttpRule} + */ +proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpRule} returns this + */ +proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { + return this.setAdditionalBindingsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.CustomHttpPattern.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { + var f, obj = { + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.CustomHttpPattern; + return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.CustomHttpPattern} + */ +proto.google.api.CustomHttpPattern.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKind(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.CustomHttpPattern} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKind(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string kind = 1; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getKind = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.google.api.CustomHttpPattern.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.CustomHttpPattern} returns this + */ +proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/users/src/service/protos/google/api/httpbody_grpc_pb.js b/mods/users/src/service/protos/google/api/httpbody_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/users/src/service/protos/google/api/httpbody_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/users/src/service/protos/google/api/httpbody_pb.d.ts b/mods/users/src/service/protos/google/api/httpbody_pb.d.ts new file mode 100644 index 000000000..98d973068 --- /dev/null +++ b/mods/users/src/service/protos/google/api/httpbody_pb.d.ts @@ -0,0 +1,38 @@ +// package: google.api +// file: google/api/httpbody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class HttpBody extends jspb.Message { + getContentType(): string; + setContentType(value: string): HttpBody; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): HttpBody; + clearExtensionsList(): void; + getExtensionsList(): Array; + setExtensionsList(value: Array): HttpBody; + addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HttpBody.AsObject; + static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HttpBody; + static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody; +} + +export namespace HttpBody { + export type AsObject = { + contentType: string, + data: Uint8Array | string, + extensionsList: Array, + } +} diff --git a/mods/users/src/service/protos/google/api/httpbody_pb.js b/mods/users/src/service/protos/google/api/httpbody_pb.js new file mode 100644 index 000000000..5539f5936 --- /dev/null +++ b/mods/users/src/service/protos/google/api/httpbody_pb.js @@ -0,0 +1,286 @@ +// source: google/api/httpbody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.google.api.HttpBody', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.api.HttpBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null); +}; +goog.inherits(proto.google.api.HttpBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.HttpBody.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { + return proto.google.api.HttpBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.api.HttpBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.toObject = function(includeInstance, msg) { + var f, obj = { + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + google_protobuf_any_pb.Any.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.api.HttpBody; + return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.api.HttpBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.api.HttpBody} + */ +proto.google.api.HttpBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setContentType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.addExtensions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.api.HttpBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.api.HttpBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContentType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getExtensionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string content_type = 1; + * @return {string} + */ +proto.google.api.HttpBody.prototype.getContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setContentType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.google.api.HttpBody.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.google.api.HttpBody.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.google.api.HttpBody.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * repeated google.protobuf.Any extensions = 3; + * @return {!Array} + */ +proto.google.api.HttpBody.prototype.getExtensionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.HttpBody} returns this +*/ +proto.google.api.HttpBody.prototype.setExtensionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.Any=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.Any} + */ +proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.HttpBody} returns this + */ +proto.google.api.HttpBody.prototype.clearExtensionsList = function() { + return this.setExtensionsList([]); +}; + + +goog.object.extend(exports, proto.google.api); diff --git a/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js b/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts b/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts new file mode 100644 index 000000000..8e3a35012 --- /dev/null +++ b/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.d.ts @@ -0,0 +1,19 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/annotations.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; +import * as protoc_gen_openapiv2_options_openapiv2_pb from "../../protoc-gen-openapiv2/options/openapiv2_pb"; + +export const openapiv2Swagger: jspb.ExtensionFieldInfo; + +export const openapiv2Operation: jspb.ExtensionFieldInfo; + +export const openapiv2Schema: jspb.ExtensionFieldInfo; + +export const openapiv2Tag: jspb.ExtensionFieldInfo; + +export const openapiv2Field: jspb.ExtensionFieldInfo; diff --git a/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js b/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js new file mode 100644 index 000000000..e92ccec18 --- /dev/null +++ b/mods/users/src/service/protos/protoc-gen-openapiv2/options/annotations_pb.js @@ -0,0 +1,152 @@ +// source: protoc-gen-openapiv2/options/annotations.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Swagger`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Swagger: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Operation`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Operation: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Operation, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject), + 0); + +google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Schema`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Schema: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Schema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Tag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Tag: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.Tag, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject), + 0); + +google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `openapiv2Field`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo( + 1042, + {openapiv2Field: 0}, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo( + proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field, + jspb.BinaryReader.prototype.readMessage, + jspb.BinaryWriter.prototype.writeMessage, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter, + protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js b/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js new file mode 100644 index 000000000..97b3a2461 --- /dev/null +++ b/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts b/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts new file mode 100644 index 000000000..3c3972ea9 --- /dev/null +++ b/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.d.ts @@ -0,0 +1,685 @@ +// package: grpc.gateway.protoc_gen_openapiv2.options +// file: protoc-gen-openapiv2/options/openapiv2.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class Swagger extends jspb.Message { + getSwagger(): string; + setSwagger(value: string): Swagger; + + hasInfo(): boolean; + clearInfo(): void; + getInfo(): Info | undefined; + setInfo(value?: Info): Swagger; + getHost(): string; + setHost(value: string): Swagger; + getBasePath(): string; + setBasePath(value: string): Swagger; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Swagger; + addSchemes(value: Scheme, index?: number): Scheme; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Swagger; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Swagger; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + + hasSecurityDefinitions(): boolean; + clearSecurityDefinitions(): void; + getSecurityDefinitions(): SecurityDefinitions | undefined; + setSecurityDefinitions(value?: SecurityDefinitions): Swagger; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Swagger; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Swagger; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swagger.AsObject; + static toObject(includeInstance: boolean, msg: Swagger): Swagger.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swagger, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swagger; + static deserializeBinaryFromReader(message: Swagger, reader: jspb.BinaryReader): Swagger; +} + +export namespace Swagger { + export type AsObject = { + swagger: string, + info?: Info.AsObject, + host: string, + basePath: string, + schemesList: Array, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + securityDefinitions?: SecurityDefinitions.AsObject, + securityList: Array, + externalDocs?: ExternalDocumentation.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Operation extends jspb.Message { + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): Operation; + addTags(value: string, index?: number): string; + getSummary(): string; + setSummary(value: string): Operation; + getDescription(): string; + setDescription(value: string): Operation; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Operation; + getOperationId(): string; + setOperationId(value: string): Operation; + clearConsumesList(): void; + getConsumesList(): Array; + setConsumesList(value: Array): Operation; + addConsumes(value: string, index?: number): string; + clearProducesList(): void; + getProducesList(): Array; + setProducesList(value: Array): Operation; + addProduces(value: string, index?: number): string; + + getResponsesMap(): jspb.Map; + clearResponsesMap(): void; + clearSchemesList(): void; + getSchemesList(): Array; + setSchemesList(value: Array): Operation; + addSchemes(value: Scheme, index?: number): Scheme; + getDeprecated(): boolean; + setDeprecated(value: boolean): Operation; + clearSecurityList(): void; + getSecurityList(): Array; + setSecurityList(value: Array): Operation; + addSecurity(value?: SecurityRequirement, index?: number): SecurityRequirement; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Operation.AsObject; + static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Operation; + static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation; +} + +export namespace Operation { + export type AsObject = { + tagsList: Array, + summary: string, + description: string, + externalDocs?: ExternalDocumentation.AsObject, + operationId: string, + consumesList: Array, + producesList: Array, + + responsesMap: Array<[string, Response.AsObject]>, + schemesList: Array, + deprecated: boolean, + securityList: Array, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Header extends jspb.Message { + getDescription(): string; + setDescription(value: string): Header; + getType(): string; + setType(value: string): Header; + getFormat(): string; + setFormat(value: string): Header; + getDefault(): string; + setDefault(value: string): Header; + getPattern(): string; + setPattern(value: string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + description: string, + type: string, + format: string, + pb_default: string, + pattern: string, + } +} + +export class Response extends jspb.Message { + getDescription(): string; + setDescription(value: string): Response; + + hasSchema(): boolean; + clearSchema(): void; + getSchema(): Schema | undefined; + setSchema(value?: Schema): Response; + + getHeadersMap(): jspb.Map; + clearHeadersMap(): void; + + getExamplesMap(): jspb.Map; + clearExamplesMap(): void; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Response.AsObject; + static toObject(includeInstance: boolean, msg: Response): Response.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Response; + static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; +} + +export namespace Response { + export type AsObject = { + description: string, + schema?: Schema.AsObject, + + headersMap: Array<[string, Header.AsObject]>, + + examplesMap: Array<[string, string]>, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Info extends jspb.Message { + getTitle(): string; + setTitle(value: string): Info; + getDescription(): string; + setDescription(value: string): Info; + getTermsOfService(): string; + setTermsOfService(value: string): Info; + + hasContact(): boolean; + clearContact(): void; + getContact(): Contact | undefined; + setContact(value?: Contact): Info; + + hasLicense(): boolean; + clearLicense(): void; + getLicense(): License | undefined; + setLicense(value?: License): Info; + getVersion(): string; + setVersion(value: string): Info; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Info.AsObject; + static toObject(includeInstance: boolean, msg: Info): Info.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Info, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Info; + static deserializeBinaryFromReader(message: Info, reader: jspb.BinaryReader): Info; +} + +export namespace Info { + export type AsObject = { + title: string, + description: string, + termsOfService: string, + contact?: Contact.AsObject, + license?: License.AsObject, + version: string, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class Contact extends jspb.Message { + getName(): string; + setName(value: string): Contact; + getUrl(): string; + setUrl(value: string): Contact; + getEmail(): string; + setEmail(value: string): Contact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contact.AsObject; + static toObject(includeInstance: boolean, msg: Contact): Contact.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contact, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contact; + static deserializeBinaryFromReader(message: Contact, reader: jspb.BinaryReader): Contact; +} + +export namespace Contact { + export type AsObject = { + name: string, + url: string, + email: string, + } +} + +export class License extends jspb.Message { + getName(): string; + setName(value: string): License; + getUrl(): string; + setUrl(value: string): License; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): License.AsObject; + static toObject(includeInstance: boolean, msg: License): License.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): License; + static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License; +} + +export namespace License { + export type AsObject = { + name: string, + url: string, + } +} + +export class ExternalDocumentation extends jspb.Message { + getDescription(): string; + setDescription(value: string): ExternalDocumentation; + getUrl(): string; + setUrl(value: string): ExternalDocumentation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExternalDocumentation.AsObject; + static toObject(includeInstance: boolean, msg: ExternalDocumentation): ExternalDocumentation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExternalDocumentation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExternalDocumentation; + static deserializeBinaryFromReader(message: ExternalDocumentation, reader: jspb.BinaryReader): ExternalDocumentation; +} + +export namespace ExternalDocumentation { + export type AsObject = { + description: string, + url: string, + } +} + +export class Schema extends jspb.Message { + + hasJsonSchema(): boolean; + clearJsonSchema(): void; + getJsonSchema(): JSONSchema | undefined; + setJsonSchema(value?: JSONSchema): Schema; + getDiscriminator(): string; + setDiscriminator(value: string): Schema; + getReadOnly(): boolean; + setReadOnly(value: boolean): Schema; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Schema; + getExample(): string; + setExample(value: string): Schema; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Schema.AsObject; + static toObject(includeInstance: boolean, msg: Schema): Schema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Schema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Schema; + static deserializeBinaryFromReader(message: Schema, reader: jspb.BinaryReader): Schema; +} + +export namespace Schema { + export type AsObject = { + jsonSchema?: JSONSchema.AsObject, + discriminator: string, + readOnly: boolean, + externalDocs?: ExternalDocumentation.AsObject, + example: string, + } +} + +export class JSONSchema extends jspb.Message { + getRef(): string; + setRef(value: string): JSONSchema; + getTitle(): string; + setTitle(value: string): JSONSchema; + getDescription(): string; + setDescription(value: string): JSONSchema; + getDefault(): string; + setDefault(value: string): JSONSchema; + getReadOnly(): boolean; + setReadOnly(value: boolean): JSONSchema; + getExample(): string; + setExample(value: string): JSONSchema; + getMultipleOf(): number; + setMultipleOf(value: number): JSONSchema; + getMaximum(): number; + setMaximum(value: number): JSONSchema; + getExclusiveMaximum(): boolean; + setExclusiveMaximum(value: boolean): JSONSchema; + getMinimum(): number; + setMinimum(value: number): JSONSchema; + getExclusiveMinimum(): boolean; + setExclusiveMinimum(value: boolean): JSONSchema; + getMaxLength(): number; + setMaxLength(value: number): JSONSchema; + getMinLength(): number; + setMinLength(value: number): JSONSchema; + getPattern(): string; + setPattern(value: string): JSONSchema; + getMaxItems(): number; + setMaxItems(value: number): JSONSchema; + getMinItems(): number; + setMinItems(value: number): JSONSchema; + getUniqueItems(): boolean; + setUniqueItems(value: boolean): JSONSchema; + getMaxProperties(): number; + setMaxProperties(value: number): JSONSchema; + getMinProperties(): number; + setMinProperties(value: number): JSONSchema; + clearRequiredList(): void; + getRequiredList(): Array; + setRequiredList(value: Array): JSONSchema; + addRequired(value: string, index?: number): string; + clearArrayList(): void; + getArrayList(): Array; + setArrayList(value: Array): JSONSchema; + addArray(value: string, index?: number): string; + clearTypeList(): void; + getTypeList(): Array; + setTypeList(value: Array): JSONSchema; + addType(value: JSONSchema.JSONSchemaSimpleTypes, index?: number): JSONSchema.JSONSchemaSimpleTypes; + getFormat(): string; + setFormat(value: string): JSONSchema; + clearEnumList(): void; + getEnumList(): Array; + setEnumList(value: Array): JSONSchema; + addEnum(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): JSONSchema.AsObject; + static toObject(includeInstance: boolean, msg: JSONSchema): JSONSchema.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: JSONSchema, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): JSONSchema; + static deserializeBinaryFromReader(message: JSONSchema, reader: jspb.BinaryReader): JSONSchema; +} + +export namespace JSONSchema { + export type AsObject = { + ref: string, + title: string, + description: string, + pb_default: string, + readOnly: boolean, + example: string, + multipleOf: number, + maximum: number, + exclusiveMaximum: boolean, + minimum: number, + exclusiveMinimum: boolean, + maxLength: number, + minLength: number, + pattern: string, + maxItems: number, + minItems: number, + uniqueItems: boolean, + maxProperties: number, + minProperties: number, + requiredList: Array, + arrayList: Array, + typeList: Array, + format: string, + pb_enumList: Array, + } + + export enum JSONSchemaSimpleTypes { + UNKNOWN = 0, + ARRAY = 1, + BOOLEAN = 2, + INTEGER = 3, + NULL = 4, + NUMBER = 5, + OBJECT = 6, + STRING = 7, + } + +} + +export class Tag extends jspb.Message { + getDescription(): string; + setDescription(value: string): Tag; + + hasExternalDocs(): boolean; + clearExternalDocs(): void; + getExternalDocs(): ExternalDocumentation | undefined; + setExternalDocs(value?: ExternalDocumentation): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + description: string, + externalDocs?: ExternalDocumentation.AsObject, + } +} + +export class SecurityDefinitions extends jspb.Message { + + getSecurityMap(): jspb.Map; + clearSecurityMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityDefinitions.AsObject; + static toObject(includeInstance: boolean, msg: SecurityDefinitions): SecurityDefinitions.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityDefinitions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityDefinitions; + static deserializeBinaryFromReader(message: SecurityDefinitions, reader: jspb.BinaryReader): SecurityDefinitions; +} + +export namespace SecurityDefinitions { + export type AsObject = { + + securityMap: Array<[string, SecurityScheme.AsObject]>, + } +} + +export class SecurityScheme extends jspb.Message { + getType(): SecurityScheme.Type; + setType(value: SecurityScheme.Type): SecurityScheme; + getDescription(): string; + setDescription(value: string): SecurityScheme; + getName(): string; + setName(value: string): SecurityScheme; + getIn(): SecurityScheme.In; + setIn(value: SecurityScheme.In): SecurityScheme; + getFlow(): SecurityScheme.Flow; + setFlow(value: SecurityScheme.Flow): SecurityScheme; + getAuthorizationUrl(): string; + setAuthorizationUrl(value: string): SecurityScheme; + getTokenUrl(): string; + setTokenUrl(value: string): SecurityScheme; + + hasScopes(): boolean; + clearScopes(): void; + getScopes(): Scopes | undefined; + setScopes(value?: Scopes): SecurityScheme; + + getExtensionsMap(): jspb.Map; + clearExtensionsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityScheme.AsObject; + static toObject(includeInstance: boolean, msg: SecurityScheme): SecurityScheme.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityScheme, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityScheme; + static deserializeBinaryFromReader(message: SecurityScheme, reader: jspb.BinaryReader): SecurityScheme; +} + +export namespace SecurityScheme { + export type AsObject = { + type: SecurityScheme.Type, + description: string, + name: string, + pb_in: SecurityScheme.In, + flow: SecurityScheme.Flow, + authorizationUrl: string, + tokenUrl: string, + scopes?: Scopes.AsObject, + + extensionsMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } + + export enum Type { + TYPE_INVALID = 0, + TYPE_BASIC = 1, + TYPE_API_KEY = 2, + TYPE_OAUTH2 = 3, + } + + export enum In { + IN_INVALID = 0, + IN_QUERY = 1, + IN_HEADER = 2, + } + + export enum Flow { + FLOW_INVALID = 0, + FLOW_IMPLICIT = 1, + FLOW_PASSWORD = 2, + FLOW_APPLICATION = 3, + FLOW_ACCESS_CODE = 4, + } + +} + +export class SecurityRequirement extends jspb.Message { + + getSecurityRequirementMap(): jspb.Map; + clearSecurityRequirementMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirement.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirement): SecurityRequirement.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirement, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirement; + static deserializeBinaryFromReader(message: SecurityRequirement, reader: jspb.BinaryReader): SecurityRequirement; +} + +export namespace SecurityRequirement { + export type AsObject = { + + securityRequirementMap: Array<[string, SecurityRequirement.SecurityRequirementValue.AsObject]>, + } + + + export class SecurityRequirementValue extends jspb.Message { + clearScopeList(): void; + getScopeList(): Array; + setScopeList(value: Array): SecurityRequirementValue; + addScope(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SecurityRequirementValue.AsObject; + static toObject(includeInstance: boolean, msg: SecurityRequirementValue): SecurityRequirementValue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SecurityRequirementValue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SecurityRequirementValue; + static deserializeBinaryFromReader(message: SecurityRequirementValue, reader: jspb.BinaryReader): SecurityRequirementValue; + } + + export namespace SecurityRequirementValue { + export type AsObject = { + scopeList: Array, + } + } + +} + +export class Scopes extends jspb.Message { + + getScopeMap(): jspb.Map; + clearScopeMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Scopes.AsObject; + static toObject(includeInstance: boolean, msg: Scopes): Scopes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Scopes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Scopes; + static deserializeBinaryFromReader(message: Scopes, reader: jspb.BinaryReader): Scopes; +} + +export namespace Scopes { + export type AsObject = { + + scopeMap: Array<[string, string]>, + } +} + +export enum Scheme { + UNKNOWN = 0, + HTTP = 1, + HTTPS = 2, + WS = 3, + WSS = 4, +} diff --git a/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js b/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js new file mode 100644 index 000000000..be8a6bfd2 --- /dev/null +++ b/mods/users/src/service/protos/protoc-gen-openapiv2/options/openapiv2_pb.js @@ -0,0 +1,5367 @@ +// source: protoc-gen-openapiv2/options/openapiv2.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Info', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.License', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Operation', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Response', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Schema', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger', null, global); +goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Tag', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Operation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Operation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Response, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Response'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Info, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Info'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Contact'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.License, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.License.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.License'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.repeatedFields_ = [5,6,7,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.toObject = function(includeInstance, msg) { + var f, obj = { + swagger: jspb.Message.getFieldWithDefault(msg, 1, ""), + info: (f = msg.getInfo()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(includeInstance, f), + host: jspb.Message.getFieldWithDefault(msg, 3, ""), + basePath: jspb.Message.getFieldWithDefault(msg, 4, ""), + schemesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + securityDefinitions: (f = msg.getSecurityDefinitions()) && proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(includeInstance, f), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSwagger(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader); + msg.setInfo(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBasePath(value); + break; + case 5: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 10: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 11: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader); + msg.setSecurityDefinitions(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 14: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 15: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwagger(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter + ); + } + f = message.getHost(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBasePath(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSecurityDefinitions(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string swagger = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSwagger = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSwagger = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Info info = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getInfo = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Info} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Info, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Info|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearInfo = function() { + return this.setInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string host = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setHost = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string base_path = 4; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getBasePath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setBasePath = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Scheme schemes = 5; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * optional SecurityDefinitions security_definitions = 11; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityDefinitions = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions, 11)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityDefinitions = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityDefinitions = function() { + return this.setSecurityDefinitions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasSecurityDefinitions = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * optional ExternalDocumentation external_docs = 14; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 14)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map extensions = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.repeatedFields_ = [1,6,7,10,12]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.toObject = function(includeInstance, msg) { + var f, obj = { + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + summary: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + operationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + consumesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + producesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + responsesMap: (f = msg.getResponsesMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject) : [], + schemesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + securityList: jspb.Message.toObjectList(msg.getSecurityList(), + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject, includeInstance), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Operation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addTags(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSummary(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationId(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addConsumes(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.addProduces(value); + break; + case 9: + var value = msg.getResponsesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Response()); + }); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addSchemes(values[i]); + } + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 12: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader); + msg.addSecurity(value); + break; + case 13: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getSummary(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getOperationId(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getConsumesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } + f = message.getProducesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 7, + f + ); + } + f = message.getResponsesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter); + } + f = message.getSchemesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } + f = message.getDeprecated(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getSecurityList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 12, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setTagsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addTags = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + +/** + * optional string summary = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSummary = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSummary = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string operation_id = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getOperationId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setOperationId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string consumes = 6; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getConsumesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setConsumesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addConsumes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearConsumesList = function() { + return this.setConsumesList([]); +}; + + +/** + * repeated string produces = 7; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getProducesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setProducesList = function(value) { + return jspb.Message.setField(this, 7, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addProduces = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearProducesList = function() { + return this.setProducesList([]); +}; + + +/** + * map responses = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getResponsesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Response)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearResponsesMap = function() { + this.getResponsesMap().clear(); + return this;}; + + +/** + * repeated Scheme schemes = 10; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSchemesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSchemesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSchemes = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSchemesList = function() { + return this.setSchemesList([]); +}; + + +/** + * optional bool deprecated = 11; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setDeprecated = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * repeated SecurityRequirement security = 12; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getSecurityList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, 12)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.setSecurityList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 12, value); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement=} opt_value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.addSecurity = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearSecurityList = function() { + return this.setSecurityList([]); +}; + + +/** + * map extensions = 13; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 13, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Operation.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + format: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 6, ""), + pattern: jspb.Message.getFieldWithDefault(msg, 13, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Header; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string format = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string default = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string pattern = 13; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Header} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Header.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + schema: (f = msg.getSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(includeInstance, f), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.toObject) : [], + examplesMap: (f = msg.getExamplesMap()) ? f.toObject(includeInstance, undefined) : [], + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Response; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader); + msg.setSchema(value); + break; + case 3: + var value = msg.getHeadersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.Header()); + }); + break; + case 4: + var value = msg.getExamplesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSchema(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter + ); + } + f = message.getHeadersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.Header.serializeBinaryToWriter); + } + f = message.getExamplesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional Schema schema = 2; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Schema, 2)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Schema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.setSchema = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearSchema = function() { + return this.setSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.hasSchema = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * map headers = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getHeadersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.Header)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearHeadersMap = function() { + this.getHeadersMap().clear(); + return this;}; + + +/** + * map examples = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExamplesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExamplesMap = function() { + this.getExamplesMap().clear(); + return this;}; + + +/** + * map extensions = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Response} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Response.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.toObject = function(includeInstance, msg) { + var f, obj = { + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + termsOfService: jspb.Message.getFieldWithDefault(msg, 3, ""), + contact: (f = msg.getContact()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(includeInstance, f), + license: (f = msg.getLicense()) && proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(includeInstance, f), + version: jspb.Message.getFieldWithDefault(msg, 6, ""), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Info; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTermsOfService(value); + break; + case 4: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader); + msg.setContact(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader); + msg.setLicense(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 7: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTermsOfService(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getContact(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter + ); + } + f = message.getLicense(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string terms_of_service = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getTermsOfService = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setTermsOfService = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Contact contact = 4; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getContact = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Contact, 4)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Contact|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setContact = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearContact = function() { + return this.setContact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasContact = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional License license = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getLicense = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.License} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.License, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.License|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setLicense = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearLicense = function() { + return this.setLicense(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.hasLicense = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string version = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * map extensions = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Info} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Info.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Contact; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Contact} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Contact.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.License; + return proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.License} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.License.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + return proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getUrl(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string url = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.getUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.prototype.setUrl = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.toObject = function(includeInstance, msg) { + var f, obj = { + jsonSchema: (f = msg.getJsonSchema()) && proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(includeInstance, f), + discriminator: jspb.Message.getFieldWithDefault(msg, 2, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f), + example: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Schema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader); + msg.setJsonSchema(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDiscriminator(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 5: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJsonSchema(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter + ); + } + f = message.getDiscriminator(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional JSONSchema json_schema = 1; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getJsonSchema = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema, 1)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setJsonSchema = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearJsonSchema = function() { + return this.setJsonSchema(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasJsonSchema = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string discriminator = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getDiscriminator = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setDiscriminator = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool read_only = 3; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 5; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 5)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string example = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.repeatedFields_ = [26,34,35,46]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 3, ""), + title: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + pb_default: jspb.Message.getFieldWithDefault(msg, 7, ""), + readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + example: jspb.Message.getFieldWithDefault(msg, 9, ""), + multipleOf: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + maximum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + exclusiveMaximum: jspb.Message.getBooleanFieldWithDefault(msg, 12, false), + minimum: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + exclusiveMinimum: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), + maxLength: jspb.Message.getFieldWithDefault(msg, 15, 0), + minLength: jspb.Message.getFieldWithDefault(msg, 16, 0), + pattern: jspb.Message.getFieldWithDefault(msg, 17, ""), + maxItems: jspb.Message.getFieldWithDefault(msg, 20, 0), + minItems: jspb.Message.getFieldWithDefault(msg, 21, 0), + uniqueItems: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), + maxProperties: jspb.Message.getFieldWithDefault(msg, 24, 0), + minProperties: jspb.Message.getFieldWithDefault(msg, 25, 0), + requiredList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, + arrayList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f, + typeList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f, + format: jspb.Message.getFieldWithDefault(msg, 36, ""), + enumList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema; + return proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefault(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReadOnly(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExample(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMultipleOf(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMaximum(value); + break; + case 12: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMaximum(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setMinimum(value); + break; + case 14: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExclusiveMinimum(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxLength(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinLength(value); + break; + case 17: + var value = /** @type {string} */ (reader.readString()); + msg.setPattern(value); + break; + case 20: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxItems(value); + break; + case 21: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinItems(value); + break; + case 22: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUniqueItems(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMaxProperties(value); + break; + case 25: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMinProperties(value); + break; + case 26: + var value = /** @type {string} */ (reader.readString()); + msg.addRequired(value); + break; + case 34: + var value = /** @type {string} */ (reader.readString()); + msg.addArray(value); + break; + case 35: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addType(values[i]); + } + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setFormat(value); + break; + case 46: + var value = /** @type {string} */ (reader.readString()); + msg.addEnum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getDefault(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getReadOnly(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExample(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } + f = message.getMultipleOf(); + if (f !== 0.0) { + writer.writeDouble( + 10, + f + ); + } + f = message.getMaximum(); + if (f !== 0.0) { + writer.writeDouble( + 11, + f + ); + } + f = message.getExclusiveMaximum(); + if (f) { + writer.writeBool( + 12, + f + ); + } + f = message.getMinimum(); + if (f !== 0.0) { + writer.writeDouble( + 13, + f + ); + } + f = message.getExclusiveMinimum(); + if (f) { + writer.writeBool( + 14, + f + ); + } + f = message.getMaxLength(); + if (f !== 0) { + writer.writeUint64( + 15, + f + ); + } + f = message.getMinLength(); + if (f !== 0) { + writer.writeUint64( + 16, + f + ); + } + f = message.getPattern(); + if (f.length > 0) { + writer.writeString( + 17, + f + ); + } + f = message.getMaxItems(); + if (f !== 0) { + writer.writeUint64( + 20, + f + ); + } + f = message.getMinItems(); + if (f !== 0) { + writer.writeUint64( + 21, + f + ); + } + f = message.getUniqueItems(); + if (f) { + writer.writeBool( + 22, + f + ); + } + f = message.getMaxProperties(); + if (f !== 0) { + writer.writeUint64( + 24, + f + ); + } + f = message.getMinProperties(); + if (f !== 0) { + writer.writeUint64( + 25, + f + ); + } + f = message.getRequiredList(); + if (f.length > 0) { + writer.writeRepeatedString( + 26, + f + ); + } + f = message.getArrayList(); + if (f.length > 0) { + writer.writeRepeatedString( + 34, + f + ); + } + f = message.getTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 35, + f + ); + } + f = message.getFormat(); + if (f.length > 0) { + writer.writeString( + 36, + f + ); + } + f = message.getEnumList(); + if (f.length > 0) { + writer.writeRepeatedString( + 46, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes = { + UNKNOWN: 0, + ARRAY: 1, + BOOLEAN: 2, + INTEGER: 3, + NULL: 4, + NUMBER: 5, + OBJECT: 6, + STRING: 7 +}; + +/** + * optional string ref = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string title = 5; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string description = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string default = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getDefault = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setDefault = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional bool read_only = 8; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getReadOnly = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setReadOnly = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional string example = 9; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExample = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExample = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + +/** + * optional double multiple_of = 10; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMultipleOf = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMultipleOf = function(value) { + return jspb.Message.setProto3FloatField(this, 10, value); +}; + + +/** + * optional double maximum = 11; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaximum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaximum = function(value) { + return jspb.Message.setProto3FloatField(this, 11, value); +}; + + +/** + * optional bool exclusive_maximum = 12; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMaximum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMaximum = function(value) { + return jspb.Message.setProto3BooleanField(this, 12, value); +}; + + +/** + * optional double minimum = 13; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinimum = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinimum = function(value) { + return jspb.Message.setProto3FloatField(this, 13, value); +}; + + +/** + * optional bool exclusive_minimum = 14; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getExclusiveMinimum = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setExclusiveMinimum = function(value) { + return jspb.Message.setProto3BooleanField(this, 14, value); +}; + + +/** + * optional uint64 max_length = 15; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxLength = function(value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + + +/** + * optional uint64 min_length = 16; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinLength = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional string pattern = 17; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getPattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setPattern = function(value) { + return jspb.Message.setProto3StringField(this, 17, value); +}; + + +/** + * optional uint64 max_items = 20; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxItems = function(value) { + return jspb.Message.setProto3IntField(this, 20, value); +}; + + +/** + * optional uint64 min_items = 21; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinItems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinItems = function(value) { + return jspb.Message.setProto3IntField(this, 21, value); +}; + + +/** + * optional bool unique_items = 22; + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getUniqueItems = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setUniqueItems = function(value) { + return jspb.Message.setProto3BooleanField(this, 22, value); +}; + + +/** + * optional uint64 max_properties = 24; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMaxProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMaxProperties = function(value) { + return jspb.Message.setProto3IntField(this, 24, value); +}; + + +/** + * optional uint64 min_properties = 25; + * @return {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getMinProperties = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setMinProperties = function(value) { + return jspb.Message.setProto3IntField(this, 25, value); +}; + + +/** + * repeated string required = 26; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getRequiredList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setRequiredList = function(value) { + return jspb.Message.setField(this, 26, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addRequired = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 26, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearRequiredList = function() { + return this.setRequiredList([]); +}; + + +/** + * repeated string array = 34; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getArrayList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 34)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setArrayList = function(value) { + return jspb.Message.setField(this, 34, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addArray = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 34, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearArrayList = function() { + return this.setArrayList([]); +}; + + +/** + * repeated JSONSchemaSimpleTypes type = 35; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 35)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setTypeList = function(value) { + return jspb.Message.setField(this, 35, value || []); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 35, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearTypeList = function() { + return this.setTypeList([]); +}; + + +/** + * optional string format = 36; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getFormat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setFormat = function(value) { + return jspb.Message.setProto3StringField(this, 36, value); +}; + + +/** + * repeated string enum = 46; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.getEnumList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 46)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.setEnumList = function(value) { + return jspb.Message.setField(this, 46, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.addEnum = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 46, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.prototype.clearEnumList = function() { + return this.setEnumList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Tag; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader); + msg.setExternalDocs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExternalDocs(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional ExternalDocumentation external_docs = 3; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.getExternalDocs = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 3)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.setExternalDocs = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.clearExternalDocs = function() { + return this.setExternalDocs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Tag.prototype.hasExternalDocs = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.toObject = function(includeInstance, msg) { + var f, obj = { + securityMap: (f = msg.getSecurityMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter); + } +}; + + +/** + * map security = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.getSecurityMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.prototype.clearSecurityMap = function() { + this.getSecurityMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + pb_in: jspb.Message.getFieldWithDefault(msg, 4, 0), + flow: jspb.Message.getFieldWithDefault(msg, 5, 0), + authorizationUrl: jspb.Message.getFieldWithDefault(msg, 6, ""), + tokenUrl: jspb.Message.getFieldWithDefault(msg, 7, ""), + scopes: (f = msg.getScopes()) && proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(includeInstance, f), + extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (reader.readEnum()); + msg.setIn(value); + break; + case 5: + var value = /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (reader.readEnum()); + msg.setFlow(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setAuthorizationUrl(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTokenUrl(value); + break; + case 8: + var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader); + msg.setScopes(value); + break; + case 9: + var value = msg.getExtensionsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIn(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getFlow(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getAuthorizationUrl(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getTokenUrl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getScopes(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter + ); + } + f = message.getExtensionsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type = { + TYPE_INVALID: 0, + TYPE_BASIC: 1, + TYPE_API_KEY: 2, + TYPE_OAUTH2: 3 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In = { + IN_INVALID: 0, + IN_QUERY: 1, + IN_HEADER: 2 +}; + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow = { + FLOW_INVALID: 0, + FLOW_IMPLICIT: 1, + FLOW_PASSWORD: 2, + FLOW_APPLICATION: 3, + FLOW_ACCESS_CODE: 4 +}; + +/** + * optional Type type = 1; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getType = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional In in = 4; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getIn = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setIn = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional Flow flow = 5; + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getFlow = function() { + return /** @type {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setFlow = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional string authorization_url = 6; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getAuthorizationUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setAuthorizationUrl = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string token_url = 7; + * @return {string} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getTokenUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setTokenUrl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional Scopes scopes = 8; + * @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getScopes = function() { + return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} */ ( + jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes, 8)); +}; + + +/** + * @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes|undefined} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this +*/ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.setScopes = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearScopes = function() { + return this.setScopes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.hasScopes = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map extensions = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.getExtensionsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.prototype.clearExtensionsMap = function() { + this.getExtensionsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.toObject = function(includeInstance, msg) { + var f, obj = { + securityRequirementMap: (f = msg.getSecurityRequirementMap()) ? f.toObject(includeInstance, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getSecurityRequirementMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader, "", new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecurityRequirementMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.toObject = function(includeInstance, msg) { + var f, obj = { + scopeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue; + return proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addScope(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string scope = 1; + * @return {!Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.getScopeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.setScopeList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.addScope = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.prototype.clearScopeList = function() { + return this.setScopeList([]); +}; + + +/** + * map security_requirement = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.getSecurityRequirementMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.prototype.clearSecurityRequirementMap = function() { + this.getSecurityRequirementMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.toObject = function(opt_includeInstance) { + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.toObject = function(includeInstance, msg) { + var f, obj = { + scopeMap: (f = msg.getScopeMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes; + return proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getScopeMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getScopeMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map scope = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.getScopeMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes} returns this + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scopes.prototype.clearScopeMap = function() { + this.getScopeMap().clear(); + return this;}; + + +/** + * @enum {number} + */ +proto.grpc.gateway.protoc_gen_openapiv2.options.Scheme = { + UNKNOWN: 0, + HTTP: 1, + HTTPS: 2, + WS: 3, + WSS: 4 +}; + +goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options); diff --git a/mods/users/src/service/protos/users_grpc_pb.d.ts b/mods/users/src/service/protos/users_grpc_pb.d.ts new file mode 100644 index 000000000..81b0ec8a5 --- /dev/null +++ b/mods/users/src/service/protos/users_grpc_pb.d.ts @@ -0,0 +1,130 @@ +// package: fonoster.users.v1beta1 +// file: users.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "@grpc/grpc-js"; +import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; +import * as users_pb from "./users_pb"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; +import * as common_pb from "./common_pb"; + +interface IUsersService extends grpc.ServiceDefinition { + listUsers: IUsersService_IListUsers; + createUser: IUsersService_ICreateUser; + getUser: IUsersService_IGetUser; + updateUser: IUsersService_IUpdateUser; + deleteUser: IUsersService_IDeleteUser; + createUserCredentials: IUsersService_ICreateUserCredentials; +} + +interface IUsersService_IListUsers extends grpc.MethodDefinition { + path: "/fonoster.users.v1beta1.Users/ListUsers"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IUsersService_ICreateUser extends grpc.MethodDefinition { + path: "/fonoster.users.v1beta1.Users/CreateUser"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IUsersService_IGetUser extends grpc.MethodDefinition { + path: "/fonoster.users.v1beta1.Users/GetUser"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IUsersService_IUpdateUser extends grpc.MethodDefinition { + path: "/fonoster.users.v1beta1.Users/UpdateUser"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IUsersService_IDeleteUser extends grpc.MethodDefinition { + path: "/fonoster.users.v1beta1.Users/DeleteUser"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IUsersService_ICreateUserCredentials extends grpc.MethodDefinition { + path: "/fonoster.users.v1beta1.Users/CreateUserCredentials"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const UsersService: IUsersService; + +export interface IUsersServer extends grpc.UntypedServiceImplementation { + listUsers: grpc.handleUnaryCall; + createUser: grpc.handleUnaryCall; + getUser: grpc.handleUnaryCall; + updateUser: grpc.handleUnaryCall; + deleteUser: grpc.handleUnaryCall; + createUserCredentials: grpc.handleUnaryCall; +} + +export interface IUsersClient { + listUsers(request: users_pb.ListUsersRequest, callback: (error: grpc.ServiceError | null, response: users_pb.ListUsersResponse) => void): grpc.ClientUnaryCall; + listUsers(request: users_pb.ListUsersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.ListUsersResponse) => void): grpc.ClientUnaryCall; + listUsers(request: users_pb.ListUsersRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.ListUsersResponse) => void): grpc.ClientUnaryCall; + createUser(request: users_pb.CreateUserRequest, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + createUser(request: users_pb.CreateUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + createUser(request: users_pb.CreateUserRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + getUser(request: users_pb.GetUserRequest, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + getUser(request: users_pb.GetUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + getUser(request: users_pb.GetUserRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + updateUser(request: users_pb.UpdateUserRequest, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + updateUser(request: users_pb.UpdateUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + updateUser(request: users_pb.UpdateUserRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + deleteUser(request: users_pb.DeleteUserRequest, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + deleteUser(request: users_pb.DeleteUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + deleteUser(request: users_pb.DeleteUserRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + createUserCredentials(request: users_pb.CreateUserCredentialsRequest, callback: (error: grpc.ServiceError | null, response: users_pb.CreateUserCredentialsResponse) => void): grpc.ClientUnaryCall; + createUserCredentials(request: users_pb.CreateUserCredentialsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.CreateUserCredentialsResponse) => void): grpc.ClientUnaryCall; + createUserCredentials(request: users_pb.CreateUserCredentialsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.CreateUserCredentialsResponse) => void): grpc.ClientUnaryCall; +} + +export class UsersClient extends grpc.Client implements IUsersClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); + public listUsers(request: users_pb.ListUsersRequest, callback: (error: grpc.ServiceError | null, response: users_pb.ListUsersResponse) => void): grpc.ClientUnaryCall; + public listUsers(request: users_pb.ListUsersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.ListUsersResponse) => void): grpc.ClientUnaryCall; + public listUsers(request: users_pb.ListUsersRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.ListUsersResponse) => void): grpc.ClientUnaryCall; + public createUser(request: users_pb.CreateUserRequest, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public createUser(request: users_pb.CreateUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public createUser(request: users_pb.CreateUserRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public getUser(request: users_pb.GetUserRequest, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public getUser(request: users_pb.GetUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public getUser(request: users_pb.GetUserRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public updateUser(request: users_pb.UpdateUserRequest, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public updateUser(request: users_pb.UpdateUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public updateUser(request: users_pb.UpdateUserRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.User) => void): grpc.ClientUnaryCall; + public deleteUser(request: users_pb.DeleteUserRequest, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + public deleteUser(request: users_pb.DeleteUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + public deleteUser(request: users_pb.DeleteUserRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_pb.Empty) => void): grpc.ClientUnaryCall; + public createUserCredentials(request: users_pb.CreateUserCredentialsRequest, callback: (error: grpc.ServiceError | null, response: users_pb.CreateUserCredentialsResponse) => void): grpc.ClientUnaryCall; + public createUserCredentials(request: users_pb.CreateUserCredentialsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: users_pb.CreateUserCredentialsResponse) => void): grpc.ClientUnaryCall; + public createUserCredentials(request: users_pb.CreateUserCredentialsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: users_pb.CreateUserCredentialsResponse) => void): grpc.ClientUnaryCall; +} diff --git a/mods/users/src/service/protos/users_grpc_pb.js b/mods/users/src/service/protos/users_grpc_pb.js new file mode 100644 index 000000000..d346b279f --- /dev/null +++ b/mods/users/src/service/protos/users_grpc_pb.js @@ -0,0 +1,204 @@ +// GENERATED CODE -- DO NOT EDIT! + +// Original file comments: +// * +// MIT License +// Copyright (c) 2021 Fonoster Inc +// +// The Users proto contains the artificats for the administration +// of Users. +'use strict'; +var grpc = require('@grpc/grpc-js'); +var users_pb = require('./users_pb.js'); +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +var common_pb = require('./common_pb.js'); + +function serialize_fonoster_common_v1beta1_Empty(arg) { + if (!(arg instanceof common_pb.Empty)) { + throw new Error('Expected argument of type fonoster.common.v1beta1.Empty'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_common_v1beta1_Empty(buffer_arg) { + return common_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_CreateUserCredentialsRequest(arg) { + if (!(arg instanceof users_pb.CreateUserCredentialsRequest)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.CreateUserCredentialsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_CreateUserCredentialsRequest(buffer_arg) { + return users_pb.CreateUserCredentialsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_CreateUserCredentialsResponse(arg) { + if (!(arg instanceof users_pb.CreateUserCredentialsResponse)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.CreateUserCredentialsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_CreateUserCredentialsResponse(buffer_arg) { + return users_pb.CreateUserCredentialsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_CreateUserRequest(arg) { + if (!(arg instanceof users_pb.CreateUserRequest)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.CreateUserRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_CreateUserRequest(buffer_arg) { + return users_pb.CreateUserRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_DeleteUserRequest(arg) { + if (!(arg instanceof users_pb.DeleteUserRequest)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.DeleteUserRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_DeleteUserRequest(buffer_arg) { + return users_pb.DeleteUserRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_GetUserRequest(arg) { + if (!(arg instanceof users_pb.GetUserRequest)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.GetUserRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_GetUserRequest(buffer_arg) { + return users_pb.GetUserRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_ListUsersRequest(arg) { + if (!(arg instanceof users_pb.ListUsersRequest)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.ListUsersRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_ListUsersRequest(buffer_arg) { + return users_pb.ListUsersRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_ListUsersResponse(arg) { + if (!(arg instanceof users_pb.ListUsersResponse)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.ListUsersResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_ListUsersResponse(buffer_arg) { + return users_pb.ListUsersResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_UpdateUserRequest(arg) { + if (!(arg instanceof users_pb.UpdateUserRequest)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.UpdateUserRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_UpdateUserRequest(buffer_arg) { + return users_pb.UpdateUserRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_fonoster_users_v1beta1_User(arg) { + if (!(arg instanceof users_pb.User)) { + throw new Error('Expected argument of type fonoster.users.v1beta1.User'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_fonoster_users_v1beta1_User(buffer_arg) { + return users_pb.User.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +var UsersService = exports.UsersService = { + // Lists all the Users you have access to +listUsers: { + path: '/fonoster.users.v1beta1.Users/ListUsers', + requestStream: false, + responseStream: false, + requestType: users_pb.ListUsersRequest, + responseType: users_pb.ListUsersResponse, + requestSerialize: serialize_fonoster_users_v1beta1_ListUsersRequest, + requestDeserialize: deserialize_fonoster_users_v1beta1_ListUsersRequest, + responseSerialize: serialize_fonoster_users_v1beta1_ListUsersResponse, + responseDeserialize: deserialize_fonoster_users_v1beta1_ListUsersResponse, + }, + // Creates a new User resource +createUser: { + path: '/fonoster.users.v1beta1.Users/CreateUser', + requestStream: false, + responseStream: false, + requestType: users_pb.CreateUserRequest, + responseType: users_pb.User, + requestSerialize: serialize_fonoster_users_v1beta1_CreateUserRequest, + requestDeserialize: deserialize_fonoster_users_v1beta1_CreateUserRequest, + responseSerialize: serialize_fonoster_users_v1beta1_User, + responseDeserialize: deserialize_fonoster_users_v1beta1_User, + }, + // Gets User by reference +getUser: { + path: '/fonoster.users.v1beta1.Users/GetUser', + requestStream: false, + responseStream: false, + requestType: users_pb.GetUserRequest, + responseType: users_pb.User, + requestSerialize: serialize_fonoster_users_v1beta1_GetUserRequest, + requestDeserialize: deserialize_fonoster_users_v1beta1_GetUserRequest, + responseSerialize: serialize_fonoster_users_v1beta1_User, + responseDeserialize: deserialize_fonoster_users_v1beta1_User, + }, + // Change or update fields in a resource +updateUser: { + path: '/fonoster.users.v1beta1.Users/UpdateUser', + requestStream: false, + responseStream: false, + requestType: users_pb.UpdateUserRequest, + responseType: users_pb.User, + requestSerialize: serialize_fonoster_users_v1beta1_UpdateUserRequest, + requestDeserialize: deserialize_fonoster_users_v1beta1_UpdateUserRequest, + responseSerialize: serialize_fonoster_users_v1beta1_User, + responseDeserialize: deserialize_fonoster_users_v1beta1_User, + }, + // WARNING: Hard delete of an User will remove all related projects and its resources. +deleteUser: { + path: '/fonoster.users.v1beta1.Users/DeleteUser', + requestStream: false, + responseStream: false, + requestType: users_pb.DeleteUserRequest, + responseType: common_pb.Empty, + requestSerialize: serialize_fonoster_users_v1beta1_DeleteUserRequest, + requestDeserialize: deserialize_fonoster_users_v1beta1_DeleteUserRequest, + responseSerialize: serialize_fonoster_common_v1beta1_Empty, + responseDeserialize: deserialize_fonoster_common_v1beta1_Empty, + }, + // Creates a set of credentials +createUserCredentials: { + path: '/fonoster.users.v1beta1.Users/CreateUserCredentials', + requestStream: false, + responseStream: false, + requestType: users_pb.CreateUserCredentialsRequest, + responseType: users_pb.CreateUserCredentialsResponse, + requestSerialize: serialize_fonoster_users_v1beta1_CreateUserCredentialsRequest, + requestDeserialize: deserialize_fonoster_users_v1beta1_CreateUserCredentialsRequest, + responseSerialize: serialize_fonoster_users_v1beta1_CreateUserCredentialsResponse, + responseDeserialize: deserialize_fonoster_users_v1beta1_CreateUserCredentialsResponse, + }, +}; + +exports.UsersClient = grpc.makeGenericClientConstructor(UsersService); diff --git a/mods/users/src/service/protos/users_pb.d.ts b/mods/users/src/service/protos/users_pb.d.ts new file mode 100644 index 000000000..85d8854a4 --- /dev/null +++ b/mods/users/src/service/protos/users_pb.d.ts @@ -0,0 +1,239 @@ +// package: fonoster.users.v1beta1 +// file: users.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as protoc_gen_openapiv2_options_annotations_pb from "./protoc-gen-openapiv2/options/annotations_pb"; +import * as google_api_field_behavior_pb from "./google/api/field_behavior_pb"; +import * as common_pb from "./common_pb"; + +export class ListUsersRequest extends jspb.Message { + + getFiltersMap(): jspb.Map; + clearFiltersMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListUsersRequest.AsObject; + static toObject(includeInstance: boolean, msg: ListUsersRequest): ListUsersRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ListUsersRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListUsersRequest; + static deserializeBinaryFromReader(message: ListUsersRequest, reader: jspb.BinaryReader): ListUsersRequest; +} + +export namespace ListUsersRequest { + export type AsObject = { + + filtersMap: Array<[string, string]>, + } +} + +export class ListUsersResponse extends jspb.Message { + clearUsersList(): void; + getUsersList(): Array; + setUsersList(value: Array): ListUsersResponse; + addUsers(value?: User, index?: number): User; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListUsersResponse.AsObject; + static toObject(includeInstance: boolean, msg: ListUsersResponse): ListUsersResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ListUsersResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListUsersResponse; + static deserializeBinaryFromReader(message: ListUsersResponse, reader: jspb.BinaryReader): ListUsersResponse; +} + +export namespace ListUsersResponse { + export type AsObject = { + usersList: Array, + } +} + +export class CreateUserCredentialsRequest extends jspb.Message { + getEmail(): string; + setEmail(value: string): CreateUserCredentialsRequest; + getSecret(): string; + setSecret(value: string): CreateUserCredentialsRequest; + getExpiration(): string; + setExpiration(value: string): CreateUserCredentialsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateUserCredentialsRequest.AsObject; + static toObject(includeInstance: boolean, msg: CreateUserCredentialsRequest): CreateUserCredentialsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateUserCredentialsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateUserCredentialsRequest; + static deserializeBinaryFromReader(message: CreateUserCredentialsRequest, reader: jspb.BinaryReader): CreateUserCredentialsRequest; +} + +export namespace CreateUserCredentialsRequest { + export type AsObject = { + email: string, + secret: string, + expiration: string, + } +} + +export class CreateUserCredentialsResponse extends jspb.Message { + getAccessKeyId(): string; + setAccessKeyId(value: string): CreateUserCredentialsResponse; + getAccessKeySecret(): string; + setAccessKeySecret(value: string): CreateUserCredentialsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateUserCredentialsResponse.AsObject; + static toObject(includeInstance: boolean, msg: CreateUserCredentialsResponse): CreateUserCredentialsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateUserCredentialsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateUserCredentialsResponse; + static deserializeBinaryFromReader(message: CreateUserCredentialsResponse, reader: jspb.BinaryReader): CreateUserCredentialsResponse; +} + +export namespace CreateUserCredentialsResponse { + export type AsObject = { + accessKeyId: string, + accessKeySecret: string, + } +} + +export class CreateUserRequest extends jspb.Message { + getEmail(): string; + setEmail(value: string): CreateUserRequest; + getName(): string; + setName(value: string): CreateUserRequest; + getSecret(): string; + setSecret(value: string): CreateUserRequest; + getAvatar(): string; + setAvatar(value: string): CreateUserRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateUserRequest.AsObject; + static toObject(includeInstance: boolean, msg: CreateUserRequest): CreateUserRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateUserRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateUserRequest; + static deserializeBinaryFromReader(message: CreateUserRequest, reader: jspb.BinaryReader): CreateUserRequest; +} + +export namespace CreateUserRequest { + export type AsObject = { + email: string, + name: string, + secret: string, + avatar: string, + } +} + +export class UpdateUserRequest extends jspb.Message { + getRef(): string; + setRef(value: string): UpdateUserRequest; + getName(): string; + setName(value: string): UpdateUserRequest; + getSecret(): string; + setSecret(value: string): UpdateUserRequest; + getAvatar(): string; + setAvatar(value: string): UpdateUserRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UpdateUserRequest.AsObject; + static toObject(includeInstance: boolean, msg: UpdateUserRequest): UpdateUserRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UpdateUserRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UpdateUserRequest; + static deserializeBinaryFromReader(message: UpdateUserRequest, reader: jspb.BinaryReader): UpdateUserRequest; +} + +export namespace UpdateUserRequest { + export type AsObject = { + ref: string, + name: string, + secret: string, + avatar: string, + } +} + +export class GetUserRequest extends jspb.Message { + getRef(): string; + setRef(value: string): GetUserRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetUserRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetUserRequest): GetUserRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetUserRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetUserRequest; + static deserializeBinaryFromReader(message: GetUserRequest, reader: jspb.BinaryReader): GetUserRequest; +} + +export namespace GetUserRequest { + export type AsObject = { + ref: string, + } +} + +export class DeleteUserRequest extends jspb.Message { + getRef(): string; + setRef(value: string): DeleteUserRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DeleteUserRequest.AsObject; + static toObject(includeInstance: boolean, msg: DeleteUserRequest): DeleteUserRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DeleteUserRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DeleteUserRequest; + static deserializeBinaryFromReader(message: DeleteUserRequest, reader: jspb.BinaryReader): DeleteUserRequest; +} + +export namespace DeleteUserRequest { + export type AsObject = { + ref: string, + } +} + +export class User extends jspb.Message { + getRef(): string; + setRef(value: string): User; + getAccessKeyId(): string; + setAccessKeyId(value: string): User; + getEmail(): string; + setEmail(value: string): User; + getName(): string; + setName(value: string): User; + getAvatar(): string; + setAvatar(value: string): User; + getCreateTime(): string; + setCreateTime(value: string): User; + getUpdateTime(): string; + setUpdateTime(value: string): User; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): User.AsObject; + static toObject(includeInstance: boolean, msg: User): User.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: User, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): User; + static deserializeBinaryFromReader(message: User, reader: jspb.BinaryReader): User; +} + +export namespace User { + export type AsObject = { + ref: string, + accessKeyId: string, + email: string, + name: string, + avatar: string, + createTime: string, + updateTime: string, + } +} diff --git a/mods/users/src/service/protos/users_pb.js b/mods/users/src/service/protos/users_pb.js new file mode 100644 index 000000000..7b4e8211f --- /dev/null +++ b/mods/users/src/service/protos/users_pb.js @@ -0,0 +1,1877 @@ +// source: users.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = Function('return this')(); + +var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js'); +goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb); +var google_api_annotations_pb = require('./google/api/annotations_pb.js'); +goog.object.extend(proto, google_api_annotations_pb); +var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js'); +goog.object.extend(proto, google_api_field_behavior_pb); +var common_pb = require('./common_pb.js'); +goog.object.extend(proto, common_pb); +goog.exportSymbol('proto.fonoster.users.v1beta1.CreateUserCredentialsRequest', null, global); +goog.exportSymbol('proto.fonoster.users.v1beta1.CreateUserCredentialsResponse', null, global); +goog.exportSymbol('proto.fonoster.users.v1beta1.CreateUserRequest', null, global); +goog.exportSymbol('proto.fonoster.users.v1beta1.DeleteUserRequest', null, global); +goog.exportSymbol('proto.fonoster.users.v1beta1.GetUserRequest', null, global); +goog.exportSymbol('proto.fonoster.users.v1beta1.ListUsersRequest', null, global); +goog.exportSymbol('proto.fonoster.users.v1beta1.ListUsersResponse', null, global); +goog.exportSymbol('proto.fonoster.users.v1beta1.UpdateUserRequest', null, global); +goog.exportSymbol('proto.fonoster.users.v1beta1.User', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.ListUsersRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.ListUsersRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.ListUsersRequest.displayName = 'proto.fonoster.users.v1beta1.ListUsersRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.ListUsersResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.users.v1beta1.ListUsersResponse.repeatedFields_, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.ListUsersResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.ListUsersResponse.displayName = 'proto.fonoster.users.v1beta1.ListUsersResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.CreateUserCredentialsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.displayName = 'proto.fonoster.users.v1beta1.CreateUserCredentialsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.CreateUserCredentialsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.displayName = 'proto.fonoster.users.v1beta1.CreateUserCredentialsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.CreateUserRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.CreateUserRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.CreateUserRequest.displayName = 'proto.fonoster.users.v1beta1.CreateUserRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.UpdateUserRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.UpdateUserRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.UpdateUserRequest.displayName = 'proto.fonoster.users.v1beta1.UpdateUserRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.GetUserRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.GetUserRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.GetUserRequest.displayName = 'proto.fonoster.users.v1beta1.GetUserRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.DeleteUserRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.DeleteUserRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.DeleteUserRequest.displayName = 'proto.fonoster.users.v1beta1.DeleteUserRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.fonoster.users.v1beta1.User = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.fonoster.users.v1beta1.User, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.fonoster.users.v1beta1.User.displayName = 'proto.fonoster.users.v1beta1.User'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.ListUsersRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.ListUsersRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.ListUsersRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.ListUsersRequest.toObject = function(includeInstance, msg) { + var f, obj = { + filtersMap: (f = msg.getFiltersMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.ListUsersRequest} + */ +proto.fonoster.users.v1beta1.ListUsersRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.ListUsersRequest; + return proto.fonoster.users.v1beta1.ListUsersRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.ListUsersRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.ListUsersRequest} + */ +proto.fonoster.users.v1beta1.ListUsersRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getFiltersMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.ListUsersRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.ListUsersRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.ListUsersRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.ListUsersRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFiltersMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map filters = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.fonoster.users.v1beta1.ListUsersRequest.prototype.getFiltersMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.fonoster.users.v1beta1.ListUsersRequest} returns this + */ +proto.fonoster.users.v1beta1.ListUsersRequest.prototype.clearFiltersMap = function() { + this.getFiltersMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.fonoster.users.v1beta1.ListUsersResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.ListUsersResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.ListUsersResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.ListUsersResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.ListUsersResponse.toObject = function(includeInstance, msg) { + var f, obj = { + usersList: jspb.Message.toObjectList(msg.getUsersList(), + proto.fonoster.users.v1beta1.User.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.ListUsersResponse} + */ +proto.fonoster.users.v1beta1.ListUsersResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.ListUsersResponse; + return proto.fonoster.users.v1beta1.ListUsersResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.ListUsersResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.ListUsersResponse} + */ +proto.fonoster.users.v1beta1.ListUsersResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.fonoster.users.v1beta1.User; + reader.readMessage(value,proto.fonoster.users.v1beta1.User.deserializeBinaryFromReader); + msg.addUsers(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.ListUsersResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.ListUsersResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.ListUsersResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.ListUsersResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUsersList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.fonoster.users.v1beta1.User.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated User users = 1; + * @return {!Array} + */ +proto.fonoster.users.v1beta1.ListUsersResponse.prototype.getUsersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.fonoster.users.v1beta1.User, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.fonoster.users.v1beta1.ListUsersResponse} returns this +*/ +proto.fonoster.users.v1beta1.ListUsersResponse.prototype.setUsersList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.fonoster.users.v1beta1.User=} opt_value + * @param {number=} opt_index + * @return {!proto.fonoster.users.v1beta1.User} + */ +proto.fonoster.users.v1beta1.ListUsersResponse.prototype.addUsers = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.users.v1beta1.User, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.fonoster.users.v1beta1.ListUsersResponse} returns this + */ +proto.fonoster.users.v1beta1.ListUsersResponse.prototype.clearUsersList = function() { + return this.setUsersList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.CreateUserCredentialsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + email: jspb.Message.getFieldWithDefault(msg, 1, ""), + secret: jspb.Message.getFieldWithDefault(msg, 2, ""), + expiration: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsRequest} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.CreateUserCredentialsRequest; + return proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.CreateUserCredentialsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsRequest} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSecret(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setExpiration(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.CreateUserCredentialsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSecret(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExpiration(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string email = 1; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsRequest} returns this + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string secret = 2; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.prototype.getSecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsRequest} returns this + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.prototype.setSecret = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string expiration = 3; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.prototype.getExpiration = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsRequest} returns this + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsRequest.prototype.setExpiration = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.CreateUserCredentialsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + accessKeyId: jspb.Message.getFieldWithDefault(msg, 1, ""), + accessKeySecret: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsResponse} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.CreateUserCredentialsResponse; + return proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.CreateUserCredentialsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsResponse} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setAccessKeyId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setAccessKeySecret(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.CreateUserCredentialsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAccessKeyId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getAccessKeySecret(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string access_key_id = 1; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.prototype.getAccessKeyId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsResponse} returns this + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.prototype.setAccessKeyId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string access_key_secret = 2; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.prototype.getAccessKeySecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserCredentialsResponse} returns this + */ +proto.fonoster.users.v1beta1.CreateUserCredentialsResponse.prototype.setAccessKeySecret = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.CreateUserRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.CreateUserRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.CreateUserRequest.toObject = function(includeInstance, msg) { + var f, obj = { + email: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + secret: jspb.Message.getFieldWithDefault(msg, 3, ""), + avatar: jspb.Message.getFieldWithDefault(msg, 4, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.CreateUserRequest} + */ +proto.fonoster.users.v1beta1.CreateUserRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.CreateUserRequest; + return proto.fonoster.users.v1beta1.CreateUserRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.CreateUserRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.CreateUserRequest} + */ +proto.fonoster.users.v1beta1.CreateUserRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setSecret(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setAvatar(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.CreateUserRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.CreateUserRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.CreateUserRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getSecret(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getAvatar(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } +}; + + +/** + * optional string email = 1; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserRequest} returns this + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserRequest} returns this + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string secret = 3; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.getSecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserRequest} returns this + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.setSecret = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string avatar = 4; + * @return {string} + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.getAvatar = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.CreateUserRequest} returns this + */ +proto.fonoster.users.v1beta1.CreateUserRequest.prototype.setAvatar = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.UpdateUserRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.UpdateUserRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + secret: jspb.Message.getFieldWithDefault(msg, 3, ""), + avatar: jspb.Message.getFieldWithDefault(msg, 4, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.UpdateUserRequest} + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.UpdateUserRequest; + return proto.fonoster.users.v1beta1.UpdateUserRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.UpdateUserRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.UpdateUserRequest} + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setSecret(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setAvatar(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.UpdateUserRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.UpdateUserRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getSecret(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getAvatar(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.UpdateUserRequest} returns this + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.UpdateUserRequest} returns this + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string secret = 3; + * @return {string} + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.getSecret = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.UpdateUserRequest} returns this + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.setSecret = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string avatar = 4; + * @return {string} + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.getAvatar = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.UpdateUserRequest} returns this + */ +proto.fonoster.users.v1beta1.UpdateUserRequest.prototype.setAvatar = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.GetUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.GetUserRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.GetUserRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.GetUserRequest.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.GetUserRequest} + */ +proto.fonoster.users.v1beta1.GetUserRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.GetUserRequest; + return proto.fonoster.users.v1beta1.GetUserRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.GetUserRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.GetUserRequest} + */ +proto.fonoster.users.v1beta1.GetUserRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.GetUserRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.GetUserRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.GetUserRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.GetUserRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.users.v1beta1.GetUserRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.GetUserRequest} returns this + */ +proto.fonoster.users.v1beta1.GetUserRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.DeleteUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.DeleteUserRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.DeleteUserRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.DeleteUserRequest.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.DeleteUserRequest} + */ +proto.fonoster.users.v1beta1.DeleteUserRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.DeleteUserRequest; + return proto.fonoster.users.v1beta1.DeleteUserRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.DeleteUserRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.DeleteUserRequest} + */ +proto.fonoster.users.v1beta1.DeleteUserRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.DeleteUserRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.DeleteUserRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.DeleteUserRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.DeleteUserRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.users.v1beta1.DeleteUserRequest.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.DeleteUserRequest} returns this + */ +proto.fonoster.users.v1beta1.DeleteUserRequest.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.fonoster.users.v1beta1.User.prototype.toObject = function(opt_includeInstance) { + return proto.fonoster.users.v1beta1.User.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.fonoster.users.v1beta1.User} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.User.toObject = function(includeInstance, msg) { + var f, obj = { + ref: jspb.Message.getFieldWithDefault(msg, 1, ""), + accessKeyId: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, ""), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + avatar: jspb.Message.getFieldWithDefault(msg, 5, ""), + createTime: jspb.Message.getFieldWithDefault(msg, 6, ""), + updateTime: jspb.Message.getFieldWithDefault(msg, 7, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.fonoster.users.v1beta1.User} + */ +proto.fonoster.users.v1beta1.User.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.fonoster.users.v1beta1.User; + return proto.fonoster.users.v1beta1.User.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.fonoster.users.v1beta1.User} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.fonoster.users.v1beta1.User} + */ +proto.fonoster.users.v1beta1.User.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRef(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setAccessKeyId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setAvatar(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setCreateTime(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setUpdateTime(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.fonoster.users.v1beta1.User.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.fonoster.users.v1beta1.User.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.fonoster.users.v1beta1.User} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.fonoster.users.v1beta1.User.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRef(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getAccessKeyId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getAvatar(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getCreateTime(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getUpdateTime(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } +}; + + +/** + * optional string ref = 1; + * @return {string} + */ +proto.fonoster.users.v1beta1.User.prototype.getRef = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.User} returns this + */ +proto.fonoster.users.v1beta1.User.prototype.setRef = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string access_key_id = 2; + * @return {string} + */ +proto.fonoster.users.v1beta1.User.prototype.getAccessKeyId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.User} returns this + */ +proto.fonoster.users.v1beta1.User.prototype.setAccessKeyId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string email = 3; + * @return {string} + */ +proto.fonoster.users.v1beta1.User.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.User} returns this + */ +proto.fonoster.users.v1beta1.User.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string name = 4; + * @return {string} + */ +proto.fonoster.users.v1beta1.User.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.User} returns this + */ +proto.fonoster.users.v1beta1.User.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string avatar = 5; + * @return {string} + */ +proto.fonoster.users.v1beta1.User.prototype.getAvatar = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.User} returns this + */ +proto.fonoster.users.v1beta1.User.prototype.setAvatar = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string create_time = 6; + * @return {string} + */ +proto.fonoster.users.v1beta1.User.prototype.getCreateTime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.User} returns this + */ +proto.fonoster.users.v1beta1.User.prototype.setCreateTime = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string update_time = 7; + * @return {string} + */ +proto.fonoster.users.v1beta1.User.prototype.getUpdateTime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.fonoster.users.v1beta1.User} returns this + */ +proto.fonoster.users.v1beta1.User.prototype.setUpdateTime = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +goog.object.extend(exports, proto.fonoster.users.v1beta1); diff --git a/mods/users/src/service/runner.ts b/mods/users/src/service/runner.ts new file mode 100644 index 000000000..c308b24ba --- /dev/null +++ b/mods/users/src/service/runner.ts @@ -0,0 +1,40 @@ +#!/usr/bin/env node +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import UsersServer from "./users"; +import {UsersService} from "./protos/users_grpc_pb"; +import {AuthMiddleware} from "@fonoster/auth"; +import {getSalt} from "@fonoster/certs"; +import {runServices} from "@fonoster/common"; + +const services = [ + { + name: "users", + version: "v1beta1", + service: UsersService, + server: new UsersServer() + } +]; + +const middleware = { + name: "authentication", + middlewareObj: new AuthMiddleware(getSalt()).middleware +}; + +runServices(services, [middleware]); diff --git a/mods/users/src/service/users.ts b/mods/users/src/service/users.ts new file mode 100644 index 000000000..60b5f6318 --- /dev/null +++ b/mods/users/src/service/users.ts @@ -0,0 +1,272 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* eslint-disable require-jsdoc */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ +import grpc from "@grpc/grpc-js"; +import UserPB, { + CreateUserRequest, + UpdateUserRequest, + GetUserRequest, + DeleteUserRequest, + CreateUserCredentialsRequest, + CreateUserCredentialsResponse, + ListUsersRequest, + ListUsersResponse, + User +} from "./protos/users_pb"; +import {Empty} from "./protos/common_pb"; +import { + IUsersService, + UsersService, + IUsersServer +} from "./protos/users_grpc_pb"; +import {assertNotEmpty, assertValidEmail, assertValidURL} from "./assertions"; +import { + getRedisConnection, + getAccessKeyId, + getAccessKeySecret +} from "@fonoster/core"; +import objectid from "objectid"; +import encoder from "./encoder"; +import decoder from "./decoder"; +import {FonosterError} from "@fonoster/errors"; +import {ErrorCodes} from "@fonoster/errors"; +import Auth from "@fonoster/auth/dist/utils/auth_utils"; +import JWT from "@fonoster/auth/dist/utils/jwt"; +import {AUTH_ISS, getSalt} from "@fonoster/certs"; +import logger from "@fonoster/logger"; +import bcrypt from "bcrypt"; + +const authenticator = new Auth(new JWT()); +const redis = getRedisConnection(); + +// TODO: Move to commons or core +async function getTokenRole(token: string): Promise { + try { + const jwt = new JWT(); + const payload = (await jwt.decode(token, getSalt())) as any; + return payload.role; + } catch (e) { + return null; + } +} + +class UsersServer implements IUsersServer { + [name: string]: grpc.UntypedHandleCall; + + async listUsers( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + const role = await getTokenRole(getAccessKeySecret(call)); + const accessKeyId = getAccessKeyId(call); + const list = await redis.smembers("fn_users"); + const emailFilter = call.request.getFiltersMap().get("email"); + const users: User[] = await Promise.all( + list.map(async (ref) => { + const raw = (await redis.get(ref)).toString(); + const asObj = decoder(raw); + if (emailFilter && emailFilter !== asObj.getEmail()) { + return; + } + + if ( + accessKeyId === asObj.getAccessKeyId() || + role === "SERVICE" || + role === "ADMIN" + ) { + return asObj; + } + }) + ); + + const response = new ListUsersResponse(); + response.setUsersList(users[0] ? users : []); + callback(null, response); + } catch (e) { + callback(e, null); + } + } + + async createUser( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + assertNotEmpty("name", call.request.getName()); + assertNotEmpty("secret", call.request.getSecret()); + assertValidEmail(call.request.getEmail()); + assertValidURL(call.request.getAvatar()); + + const emailExist = await redis.get(call.request.getEmail()); + + if (emailExist) { + throw new FonosterError( + "user already exist", + ErrorCodes.ALREADY_EXISTS + ); + } + + const ref = "US" + objectid(); + const user = new UserPB.User(); + + user.setRef(ref); + user.setAccessKeyId(ref); + user.setName(call.request.getName()); + user.setEmail(call.request.getEmail()); + user.setAvatar(call.request.getAvatar()); + user.setUpdateTime(new Date().toISOString()); + user.setCreateTime(new Date().toISOString()); + // TODO: Apply strong cypher + const secretHash = await bcrypt.hash(call.request.getSecret(), 10); + + redis.set(ref, encoder(user, secretHash)); + redis.set(call.request.getEmail(), ref); + redis.sadd("fn_users", ref); + callback(null, user); + } catch (e) { + callback(e, null); + } + } + + async updateUser( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + const ref = getAccessKeyId(call); + const raw = await redis.get(ref); + if (!raw) throw new FonosterError("not found", ErrorCodes.NOT_FOUND); + let secretHash = JSON.parse(raw.toString()).secretHash; + const user = decoder(raw); + + if (call.request.getName()) user.setName(call.request.getName()); + if (call.request.getSecret()) { + secretHash = await bcrypt.hash(call.request.getSecret(), 10); + } + if (call.request.getAvatar()) { + assertValidURL(call.request.getAvatar()); + user.setAvatar(call.request.getAvatar()); + } + + user.setUpdateTime(new Date().toISOString()); + redis.set(ref, encoder(user, secretHash)); + callback(null, user); + } catch (e) { + callback(e, null); + } + } + + async getUser( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + const accessKeyId = getAccessKeyId(call); + + if (accessKeyId !== call.request.getRef()) { + throw new FonosterError( + "permission denied", + ErrorCodes.PERMISSION_DENIED + ); + } + + // Get result here + const raw = await redis.get(call.request.getRef()); + + if (!raw) throw new FonosterError("not found", ErrorCodes.NOT_FOUND); + + const user = decoder(raw.toString()); + callback(null, user); + } catch (e) { + callback(e, null); + } + } + + async deleteUser( + call: grpc.ServerUnaryCall, + callback: grpc.sendUnaryData + ) { + try { + const raw = await redis.get(call.request.getRef()); + if (!raw) throw new FonosterError("not found", ErrorCodes.NOT_FOUND); + const user = decoder(raw.toString()); + await redis.del(user.getRef()); + await redis.del(user.getEmail()); + // TODO: Also unlink all of the User's projects + callback(null, new Empty()); + } catch (e) { + callback(e, null); + } + } + + async createUserCredentials( + call: grpc.ServerUnaryCall< + CreateUserCredentialsRequest, + CreateUserCredentialsResponse + >, + callback: grpc.sendUnaryData + ) { + try { + logger.verbose( + `@fonoster/auth creating token [email is ${call.request.getEmail()}]` + ); + const ref = await redis.get(call.request.getEmail()); + + // Compare the value send with the value stored + if (!ref) { + throw new FonosterError( + "invalid credentials", + ErrorCodes.PERMISSION_DENIED + ); + } + + const raw = await redis.get(ref); + + if (!raw) throw new FonosterError("not found", ErrorCodes.NOT_FOUND); + + const user = JSON.parse(raw.toString()); + + if (!bcrypt.compareSync(call.request.getSecret(), user.secretHash)) { + throw new FonosterError( + "invalid credentials", + ErrorCodes.PERMISSION_DENIED + ); + } + + const result = await authenticator.createToken( + user.accessKeyId, + AUTH_ISS, + "USER", + getSalt(), + call.request.getExpiration() || "30d" + ); + + const response = new CreateUserCredentialsResponse(); + response.setAccessKeyId(user.accessKeyId); + response.setAccessKeySecret(result.accessToken); + callback(null, response); + } catch (e) { + callback(e, null); + } + } +} + +export {UsersServer as default, IUsersService, UsersService}; diff --git a/mods/users/test/users.unit.test.ts b/mods/users/test/users.unit.test.ts new file mode 100644 index 000000000..e7c417a1c --- /dev/null +++ b/mods/users/test/users.unit.test.ts @@ -0,0 +1,216 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import chai from "chai"; +import sinon from "sinon"; +import sinonChai from "sinon-chai"; +import Users, {UsersPB} from "../src/client/users"; +import chaiAsPromised from "chai-as-promised"; +import {APIClient} from "@fonoster/common"; + +const expect = chai.expect; +chai.use(sinonChai); +chai.use(chaiAsPromised); +const sandbox = sinon.createSandbox(); + +describe("@fonoster/users", () => { + const userObj = new UsersPB.User(); + userObj.setRef("Nx05y-ldZa"); + userObj.setName("John Doe"); + userObj.setEmail("john@email.com"); + userObj.setAvatar("https://avatar.io/avt.png"); + + afterEach(() => sandbox.restore()); + + it("should list users", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + listUsers: () => { + return { + sendMessage: () => + Promise.resolve({ + getUsersList: () => [userObj] + }) + }; + } + }); + + const usersAPI = new Users(); + const result = await usersAPI.listUsers({}); + + expect(serviceStub).to.be.calledTwice; + expect(result.users[0]) + .to.have.property("ref") + .to.be.equal(userObj.getRef()); + expect(result.users[0]) + .to.have.property("name") + .to.be.equal(userObj.getName()); + expect(result.users[0]) + .to.have.property("email") + .to.be.equal(userObj.getEmail()); + expect(result.users[0]) + .to.have.property("accessKeyId") + .to.be.equal(userObj.getAccessKeyId()); + expect(result.users[0]) + .to.have.property("avatar") + .to.be.equal(userObj.getAvatar()); + expect(result.users[0]) + .to.have.property("createTime") + .to.be.equal(userObj.getCreateTime()); + expect(result.users[0]) + .to.have.property("updateTime") + .to.be.equal(userObj.getUpdateTime()); + }); + + it("should create a user", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + createUser: () => { + return { + sendMessage: () => Promise.resolve(userObj) + }; + } + }); + + const req = { + name: userObj.getName(), + email: userObj.getEmail(), + secret: "1234", + avatar: userObj.getAvatar() + }; + + const usersAPI = new Users(); + const result = await usersAPI.createUser(req); + + expect(result).to.have.property("ref").to.be.equal(userObj.getRef()); + expect(result) + .to.have.property("accessKeyId") + .to.be.equal(userObj.getAccessKeyId()); + expect(result).to.have.property("email").to.be.equal(userObj.getEmail()); + expect(result).to.have.property("name").to.be.equal(userObj.getName()); + expect(result).to.have.property("avatar").to.be.equal(userObj.getAvatar()); + expect(result).to.have.property("createTime").not.to.be.null; + expect(result).to.have.property("updateTime").not.to.be.null; + expect(serviceStub).to.have.been.calledTwice; + }); + + it("should get a user", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + getUser: () => { + return { + sendMessage: () => Promise.resolve(userObj) + }; + } + }); + + const ref = "Nx05y-ldZa"; + const usersAPI = new Users(); + const result = await usersAPI.getUser(ref); + + expect(result).to.have.property("ref").to.be.equal(userObj.getRef()); + expect(result) + .to.have.property("accessKeyId") + .to.be.equal(userObj.getAccessKeyId()); + expect(result).to.have.property("email").to.be.equal(userObj.getEmail()); + expect(result).to.have.property("name").to.be.equal(userObj.getName()); + expect(result).to.have.property("avatar").to.be.equal(userObj.getAvatar()); + expect(result).to.have.property("createTime").not.to.be.null; + expect(result).to.have.property("updateTime").not.to.be.null; + expect(serviceStub).to.have.been.calledTwice; + }); + + it("should delete a user", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const serviceStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + deleteUser: () => { + return { + sendMessage: () => Promise.resolve({ref: "Nx05y-ldZa"}) + }; + } + }); + + const usersAPI = new Users(); + const res = await usersAPI.deleteUser(userObj.getRef()); + + expect(serviceStub).to.have.been.calledTwice; + expect(res).to.have.property("ref").to.be.equal(userObj.getRef()); + }); + + it("should update a user", async () => { + const request = { + ref: userObj.getRef(), + secret: "1234", + avatar: userObj.getAvatar() + }; + + sandbox.stub(APIClient.prototype, "init").returns(); + const updateUserStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + updateUser: () => { + return { + sendMessage: () => Promise.resolve({getRef: () => userObj.getRef()}) + }; + } + }); + + const usersAPI = new Users(); + const result = await usersAPI.updateUser(request); + expect(result).to.have.property("ref").to.be.equal(userObj.getRef()); + expect(updateUserStub).to.be.calledTwice; + }); + + it("should login a user", async () => { + sandbox.stub(APIClient.prototype, "init").returns(); + const loginUserStub = sandbox + .stub(APIClient.prototype, "getService") + .returns({ + createUserCredentials: () => { + return { + sendMessage: () => + Promise.resolve({ + getAccessKeyId: () => userObj.getAccessKeyId(), + getAccessKeySecret: () => "..." + }) + }; + } + }); + + const request = { + email: userObj.getEmail(), + secret: "1234" + }; + + const usersAPI = new Users(); + const result = await usersAPI.createUserCredentials(request); + expect(result) + .to.have.property("accessKeyId") + .to.be.equal(userObj.getAccessKeyId()); + expect(result).to.have.property("accessKeySecret").to.be.equal("..."); + expect(loginUserStub).to.be.calledTwice; + }); +}); diff --git a/mods/users/tsconfig.json b/mods/users/tsconfig.json new file mode 100644 index 000000000..c593c959a --- /dev/null +++ b/mods/users/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "./dist", + "rootDir": "./src" + }, + "references": [ + {"path": "../common"}, + {"path": "../core"}, + {"path": "../logger"} + ], + "exclude": ["node_modules", "dist", "test"] +} diff --git a/mods/voice/.lerna-changed-buster-7825 b/mods/voice/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/voice/package-lock.json b/mods/voice/package-lock.json index 2137e72fc..da31e4b5a 100644 --- a/mods/voice/package-lock.json +++ b/mods/voice/package-lock.json @@ -1,1872 +1,3636 @@ { - "name": "@fonos/voice", - "version": "0.1.20-alpha.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@fonos/voice", - "version": "0.1.20-alpha.0", - "license": "MIT", - "dependencies": { - "@fonos/common": "*", - "axios": "^0.21.1", - "deepmerge": "^4.2.2", - "express": "^4.17.1", - "express-ws": "^4.0.0", - "objectid": "^3.2.1", - "pubsub-js": "^1.9.3", - "sync": "^0.2.5" - }, - "devDependencies": { - "@types/pubsub-js": "^1.8.2" - } - }, - "../certs": { - "name": "@fonos/certs", - "version": "0.1.20-alpha.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "../common": { - "name": "@fonos/common", - "version": "0.1.20-alpha.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "../events": { - "name": "@fonos/events", - "version": "0.1.20-alpha.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "@fonos/logger": "^0.1.20-alpha.0", - "amqp-connection-manager": "^3.2.2", - "amqplib": "^0.8.0" - }, - "devDependencies": { - "@types/amqp-connection-manager": "^2.0.10" - } - }, - "../googleasr": { - "name": "@fonos/googleasr", - "version": "0.1.20-alpha.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/logger": "*", - "@google-cloud/speech": "^4.0.0", - "axios": "^0.21.1", - "node-record-lpcm16": "^1.0.1", - "objectid": "^3.2.1", - "sync": "^0.2.5" - } - }, - "../logger": { - "name": "@fonos/logger", - "version": "0.1.20-alpha.0", - "license": "MIT", - "dependencies": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - }, - "devDependencies": { - "rimraf": "^3.0.2" - } - }, - "../tts": { - "name": "@fonos/tts", - "version": "0.1.20-alpha.0", - "extraneous": true, - "license": "MIT", - "dependencies": { - "flat": "^5.0.2", - "sox-audio": "^0.3.0" - } - }, - "node_modules/@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "node_modules/@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", - "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "node_modules/@fonos/logger": { - "resolved": "../logger", - "link": true - }, - "node_modules/@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", - "dependencies": { - "@types/node": ">=12.12.47" - }, - "engines": { - "node": "^8.13.0 || >=10.10.0" - } - }, - "node_modules/@speedymonster/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", - "dependencies": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - }, - "peerDependencies": { - "@grpc/grpc-js": "^1.3.7" - } - }, - "node_modules/@types/jsonwebtoken": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.5.tgz", - "integrity": "sha512-OGqtHQ7N5/Ap/TUwO6IgHDuLiAoTmHhGpNvgkCm/F4N6pKzx/RBSfr2OXZSwC6vkfnsEdb6+7DNZVtiXiwdwFw==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/node": { - "version": "16.7.11", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.11.tgz", - "integrity": "sha512-OtOGO+DYmNNqJQG9HG4e5a6iqoRcNfdCf4ha3div7XF5w/uOa3YVpb5aRGClwSDKLmfOysv2hFIvoklffnQi4w==" - }, - "node_modules/@types/pubsub-js": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@types/pubsub-js/-/pubsub-js-1.8.2.tgz", - "integrity": "sha512-cj3ZoAopr2ZmUYwRuXUiq48PlfNj5sBcUIkBnSJunfXlmf6y8o2kx4l70h1X1j0fR3IBorPrPM3B9SoyWwoqLg==", - "dev": true - }, - "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "dependencies": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/acme-client/node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/acme-client/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "engines": { - "node": "*" - } - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "dependencies": { - "follow-redirects": "^1.10.0" - } - }, - "node_modules/backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", - "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", - "hasInstallScript": true, - "engines": { - "node": ">=0.6.19" - } - }, - "node_modules/btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", - "bin": { - "btoa": "bin/btoa.js" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", - "engines": { - "node": "*" - } - }, - "node_modules/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "dependencies": { - "safe-buffer": "5.1.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "dependencies": { - "type-detect": "^4.0.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "dependencies": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/express-ws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", - "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", - "dependencies": { - "ws": "^5.2.0" - }, - "engines": { - "node": ">=4.5.0" - }, - "peerDependencies": { - "express": "^4.0.0 || ^5.0.0-alpha.1" - } - }, - "node_modules/fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "hasInstallScript": true, - "dependencies": { - "detect-libc": "^1.0.3" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/follow-redirects": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.2.tgz", - "integrity": "sha512-yLR6WaE2lbF0x4K2qE2p9PEXKLDjUjnR/xmjS3wHAYxtlsI9MLLBJUZirAHKzUZDGLxje7w/cXR49WOUo4rbsA==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", - "engines": { - "node": "*" - } - }, - "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "dependencies": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=4", - "npm": ">=1.4.28" - } - }, - "node_modules/jsonwebtoken/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "dependencies": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "dependencies": { - "mime-db": "1.49.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", - "bin": { - "network-address": "cli.js" - } - }, - "node_modules/node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "dependencies": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - }, - "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "dependencies": { - "bson": "^0.1.9" - } - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "engines": { - "node": "*" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/pubsub-js": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.3.tgz", - "integrity": "sha512-FhYYlPNOywTh7zN38u5AlG67emA47w6JZd7YgdQU1w8gQbZhhIGxVM0AQosdaINHb2ALb+fhfnVyBJAt4D4IzA==" - }, - "node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "dependencies": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - }, - "node_modules/serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "dependencies": { - "fibers": ">=0.6" - }, - "engines": { - "node": ">=0.5.2" - } - }, - "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/ws": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", - "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, - "node_modules/zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "dependencies": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "node_modules/zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "dependencies": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - } - } - }, - "dependencies": { - "@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", - "requires": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "@fonos/logger": { - "version": "file:../logger", - "requires": { - "fluent-logger": "^3.4.1", - "rimraf": "^3.0.2", - "winston": "^3.3.3" - } - }, - "@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", - "requires": { - "@types/node": ">=12.12.47" - } - }, - "@speedymonster/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", - "requires": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - } - }, - "@types/jsonwebtoken": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.5.tgz", - "integrity": "sha512-OGqtHQ7N5/Ap/TUwO6IgHDuLiAoTmHhGpNvgkCm/F4N6pKzx/RBSfr2OXZSwC6vkfnsEdb6+7DNZVtiXiwdwFw==", - "requires": { - "@types/node": "*" - } - }, - "@types/node": { - "version": "16.7.11", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.11.tgz", - "integrity": "sha512-OtOGO+DYmNNqJQG9HG4e5a6iqoRcNfdCf4ha3div7XF5w/uOa3YVpb5aRGClwSDKLmfOysv2hFIvoklffnQi4w==" - }, - "@types/pubsub-js": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@types/pubsub-js/-/pubsub-js-1.8.2.tgz", - "integrity": "sha512-cj3ZoAopr2ZmUYwRuXUiq48PlfNj5sBcUIkBnSJunfXlmf6y8o2kx4l70h1X1j0fR3IBorPrPM3B9SoyWwoqLg==", - "dev": true - }, - "accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "requires": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - } - }, - "acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "requires": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - }, - "dependencies": { - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - } - } - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" - }, - "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "requires": { - "follow-redirects": "^1.10.0" - } - }, - "backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "requires": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - } - }, - "bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" - }, - "btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" - }, - "buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" - }, - "chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", - "requires": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" - } - }, - "check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" - }, - "content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "requires": { - "type-detect": "^4.0.0" - } - }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" - }, - "ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" - }, - "encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "requires": { - "iconv-lite": "^0.6.2" - }, - "dependencies": { - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - } - } - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "requires": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - } - }, - "express-ws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", - "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", - "requires": { - "ws": "^5.2.0" - } - }, - "fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "requires": { - "detect-libc": "^1.0.3" - } - }, - "finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - } - }, - "follow-redirects": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.2.tgz", - "integrity": "sha512-yLR6WaE2lbF0x4K2qE2p9PEXKLDjUjnR/xmjS3wHAYxtlsI9MLLBJUZirAHKzUZDGLxje7w/cXR49WOUo4rbsA==" - }, - "forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, - "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" - }, - "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" - }, - "is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "requires": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "dependencies": { - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - } - } - }, - "jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "requires": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, - "mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" - }, - "mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "requires": { - "mime-db": "1.49.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" - }, - "network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - }, - "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" - }, - "objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "requires": { - "bson": "^0.1.9" - } - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" - }, - "proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "requires": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - } - }, - "pubsub-js": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.3.tgz", - "integrity": "sha512-FhYYlPNOywTh7zN38u5AlG67emA47w6JZd7YgdQU1w8gQbZhhIGxVM0AQosdaINHb2ALb+fhfnVyBJAt4D4IzA==" - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" - }, - "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "requires": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "dependencies": { - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - } - } - }, - "serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - } - }, - "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" - }, - "sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "requires": { - "fibers": ">=0.6" - } - }, - "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" - }, - "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" - }, - "ws": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", - "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", - "requires": { - "async-limiter": "~1.0.0" - } - }, - "zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "requires": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "requires": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - } - } - } + "name": "@fonoster/voice", + "version": "0.2.40", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@fonoster/voice", + "version": "0.2.40", + "license": "MIT", + "dependencies": { + "@fonoster/common": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@opentelemetry/api": "^1.0.2", + "@opentelemetry/node": "^0.24.0", + "@opentelemetry/plugin-express": "^0.15.0", + "@opentelemetry/plugin-http": "^0.18.2", + "@opentelemetry/plugin-https": "^0.18.2", + "@opentelemetry/resources": "0.25.0", + "@opentelemetry/sdk-metrics-base": "0.25.0", + "@opentelemetry/sdk-trace-base": "0.25.0", + "@opentelemetry/semantic-conventions": "0.25.0", + "@opentelemetry/tracing": "^0.24.0", + "deepmerge": "^4.2.2", + "express": "^4.17.1", + "express-ws": "^4.0.0", + "objectid": "^3.2.1", + "pubsub-js": "^1.9.3", + "sync": "^0.2.5" + }, + "devDependencies": { + "@types/pubsub-js": "^1.8.2" + } + }, + "../certs": { + "name": "@fonoster/certs", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "../common": { + "name": "@fonoster/common", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@fonoster/certs": "^0.2.29", + "@fonoster/logger": "^0.2.29", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "../logger": { + "name": "@fonoster/logger", + "version": "0.2.29", + "extraneous": true, + "license": "MIT", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "node_modules/@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "node_modules/@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "dependencies": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "node_modules/@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "node_modules/@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "dependencies": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@opentelemetry/api": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.0.4.tgz", + "integrity": "sha512-BuJuXRSJNQ3QoKA6GWWDyuLpOUck+9hAXNMCnrloc1aWVoy6Xq6t9PUV08aBZ4Lutqq2LEHM486bpZqoViScog==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/api-metrics": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api-metrics/-/api-metrics-0.25.0.tgz", + "integrity": "sha512-9T0c9NQAEGRujUC7HzPa2/qZ5px/UvB2sfSU5CAKFRrAlDl2gn25B0oUbDqSRHW/IG1X2rnQ3z2bBQkJyJvE4g==", + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.2" + } + }, + "node_modules/@opentelemetry/context-async-hooks": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-0.24.0.tgz", + "integrity": "sha512-Db8AgMByBEFKLJGSUBlNq4Un/Tqzj5W0hTxx3hIic8DvBwqbvUvkMGuiQYLKE2Ay21cLYMT01xK4TEKz0OxADw==", + "engines": { + "node": ">=8.1.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.1" + } + }, + "node_modules/@opentelemetry/core": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.24.0.tgz", + "integrity": "sha512-KpsfxBbFTZT9zaB4Es/fFLbvSzVl9Io/8UUu/TYl4/HgqkmyVInNlWTgRiKyz9nsHzFpGP1kdZJj+YIut0IFsw==", + "dependencies": { + "@opentelemetry/semantic-conventions": "0.24.0", + "semver": "^7.1.3" + }, + "engines": { + "node": ">=8.5.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.1" + } + }, + "node_modules/@opentelemetry/core/node_modules/@opentelemetry/semantic-conventions": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz", + "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/node": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/node/-/node-0.24.0.tgz", + "integrity": "sha512-Sy8QooZFOeVUcJIKetw5xsq15/1ivZovWg0RnKWtzURMQrcOxmQ3bGrXPORklOJxOtf5snDHgT37Y7dBgr+c+g==", + "deprecated": "Package renamed to @opentelemetry/sdk-trace-node", + "dependencies": { + "@opentelemetry/context-async-hooks": "0.24.0", + "@opentelemetry/core": "0.24.0", + "@opentelemetry/propagator-b3": "0.24.0", + "@opentelemetry/propagator-jaeger": "0.24.0", + "@opentelemetry/tracing": "0.24.0", + "semver": "^7.1.3" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.1" + } + }, + "node_modules/@opentelemetry/plugin-express": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/plugin-express/-/plugin-express-0.15.0.tgz", + "integrity": "sha512-8ZqCXcrU436Dzw1S6Jg6ceMbtGYAFyGcEmEp4rWtZi1P/i0de0i8n2P0oWlW5KxTPIpgZ/e+Ynstjs631WsKow==", + "deprecated": "Deprecated in favor of @opentelemetry/instrumentation-express", + "dependencies": { + "@opentelemetry/api": "^0.18.0", + "@opentelemetry/core": "^0.18.0", + "shimmer": "^1.2.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/plugin-express/node_modules/@opentelemetry/api": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.18.1.tgz", + "integrity": "sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/plugin-express/node_modules/@opentelemetry/core": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.18.2.tgz", + "integrity": "sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA==", + "dependencies": { + "@opentelemetry/api": "^0.18.1", + "semver": "^7.1.3" + }, + "engines": { + "node": ">=8.5.0" + } + }, + "node_modules/@opentelemetry/plugin-http": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/plugin-http/-/plugin-http-0.18.2.tgz", + "integrity": "sha512-YxwglRLnKMKvTngm12Kr12tIC+7dMcl+0jpHsUbcCj8hDJoG3MPGtfJsHdFH80TWiZmLbFz0mIlSBwlk2izZJA==", + "deprecated": "Deprecated in favor of @opentelemetry/instrumentation-http", + "dependencies": { + "@opentelemetry/api": "^0.18.1", + "@opentelemetry/core": "^0.18.2", + "@opentelemetry/semantic-conventions": "^0.18.2", + "semver": "^7.1.3", + "shimmer": "^1.2.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/plugin-http/node_modules/@opentelemetry/api": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.18.1.tgz", + "integrity": "sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/plugin-http/node_modules/@opentelemetry/core": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.18.2.tgz", + "integrity": "sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA==", + "dependencies": { + "@opentelemetry/api": "^0.18.1", + "semver": "^7.1.3" + }, + "engines": { + "node": ">=8.5.0" + } + }, + "node_modules/@opentelemetry/plugin-http/node_modules/@opentelemetry/semantic-conventions": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.18.2.tgz", + "integrity": "sha512-+0P+PrP9qSFVaayNdek4P1OAGE+PEl2SsufuHDRmUpOY25Wzjo7Atyar56Trjc32jkNy4lID6ZFT6BahsR9P9A==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/plugin-https": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/plugin-https/-/plugin-https-0.18.2.tgz", + "integrity": "sha512-U86gevKk8vq3gEgBR8KWSgWeKDbevzHaJ2Q7HloI/fvCy1DqUQoBh3kPCJao4bAahYnGzdiuhbF53ZEubS5Ekg==", + "deprecated": "Deprecated in favor of @opentelemetry/instrumentation-http", + "dependencies": { + "@opentelemetry/api": "^0.18.1", + "@opentelemetry/core": "^0.18.2", + "@opentelemetry/plugin-http": "^0.18.2", + "@opentelemetry/semantic-conventions": "^0.18.2", + "semver": "^7.1.3", + "shimmer": "^1.2.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/plugin-https/node_modules/@opentelemetry/api": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.18.1.tgz", + "integrity": "sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/plugin-https/node_modules/@opentelemetry/core": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.18.2.tgz", + "integrity": "sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA==", + "dependencies": { + "@opentelemetry/api": "^0.18.1", + "semver": "^7.1.3" + }, + "engines": { + "node": ">=8.5.0" + } + }, + "node_modules/@opentelemetry/plugin-https/node_modules/@opentelemetry/semantic-conventions": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.18.2.tgz", + "integrity": "sha512-+0P+PrP9qSFVaayNdek4P1OAGE+PEl2SsufuHDRmUpOY25Wzjo7Atyar56Trjc32jkNy4lID6ZFT6BahsR9P9A==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/propagator-b3": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-0.24.0.tgz", + "integrity": "sha512-iV7KSN0LkEAkeVCbhaIJAgTEb7HCnVkprmpgkL6q79rP3vTW4dylwfBYgIwod7y0GT4Ofgomm0NrwwWiuGLbQA==", + "dependencies": { + "@opentelemetry/core": "0.24.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.1" + } + }, + "node_modules/@opentelemetry/propagator-jaeger": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-jaeger/-/propagator-jaeger-0.24.0.tgz", + "integrity": "sha512-QXCxBwuSka+vXbBZdumtF7YKO84gwTyKy3GelZV5BPlgWoge0AbLR3DfsO9Beu13pmD+4PyuwMw3LfYsgG1+3g==", + "dependencies": { + "@opentelemetry/core": "0.24.0" + }, + "engines": { + "node": ">=8.5.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.1" + } + }, + "node_modules/@opentelemetry/resources": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-0.25.0.tgz", + "integrity": "sha512-O46u53vDBlxCML8O9dIjsRcCC2VT5ri1upwhp02ITobgJ16aVD/iScCo1lPl/x2E7yq9uwzMINENiiYZRFb6XA==", + "dependencies": { + "@opentelemetry/core": "0.25.0", + "@opentelemetry/semantic-conventions": "0.25.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.2" + } + }, + "node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.25.0.tgz", + "integrity": "sha512-8OTWF4vfCENU112XB5ElLqf0eq/FhsY0SBvvY65vB3+fbZ2Oi+CPsRASrUZWGtC9MJ5rK2lBlY+/jI4a/NPPBg==", + "dependencies": { + "@opentelemetry/semantic-conventions": "0.25.0", + "semver": "^7.3.5" + }, + "engines": { + "node": ">=8.5.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.2" + } + }, + "node_modules/@opentelemetry/sdk-metrics-base": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics-base/-/sdk-metrics-base-0.25.0.tgz", + "integrity": "sha512-7fwPlAFB5Xw8mnVQfq0wqKNw3RXiAMad9T1bk5Sza9LK/L6hz8RTuHWCsFMsj+1OOSAaiPFuUMYrK1J75+2IAg==", + "dependencies": { + "@opentelemetry/api-metrics": "0.25.0", + "@opentelemetry/core": "0.25.0", + "@opentelemetry/resources": "0.25.0", + "lodash.merge": "^4.6.2" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.2" + } + }, + "node_modules/@opentelemetry/sdk-metrics-base/node_modules/@opentelemetry/core": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.25.0.tgz", + "integrity": "sha512-8OTWF4vfCENU112XB5ElLqf0eq/FhsY0SBvvY65vB3+fbZ2Oi+CPsRASrUZWGtC9MJ5rK2lBlY+/jI4a/NPPBg==", + "dependencies": { + "@opentelemetry/semantic-conventions": "0.25.0", + "semver": "^7.3.5" + }, + "engines": { + "node": ">=8.5.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.2" + } + }, + "node_modules/@opentelemetry/sdk-trace-base": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-0.25.0.tgz", + "integrity": "sha512-TInkLSF/ThM3GNVM+9tgnCVjyNLnRxvAkG585Fhu0HNwaEtCTUwI0r7AvMRIREOreeRWttBG6kvT0LOKdo8yjw==", + "dependencies": { + "@opentelemetry/core": "0.25.0", + "@opentelemetry/resources": "0.25.0", + "@opentelemetry/semantic-conventions": "0.25.0", + "lodash.merge": "^4.6.2" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.2" + } + }, + "node_modules/@opentelemetry/sdk-trace-base/node_modules/@opentelemetry/core": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.25.0.tgz", + "integrity": "sha512-8OTWF4vfCENU112XB5ElLqf0eq/FhsY0SBvvY65vB3+fbZ2Oi+CPsRASrUZWGtC9MJ5rK2lBlY+/jI4a/NPPBg==", + "dependencies": { + "@opentelemetry/semantic-conventions": "0.25.0", + "semver": "^7.3.5" + }, + "engines": { + "node": ">=8.5.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.2" + } + }, + "node_modules/@opentelemetry/semantic-conventions": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.25.0.tgz", + "integrity": "sha512-V3N+MDBiv0TUlorbgiSqk6CvcP876CYUk/41Tg6s8OIyvniTwprE6vPvFQayuABiVkGlHOxv1Mlvp0w4qNdnVg==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/tracing": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/tracing/-/tracing-0.24.0.tgz", + "integrity": "sha512-sTLEs1SIon3xV8vLe53PzfbU0FahoxL9NPY/CYvA1mwGbMu4zHkHAjqy1Tc8JmqRrfa+XrHkmzeSM4hrvloBaA==", + "deprecated": "Package renamed to @opentelemetry/sdk-trace-base", + "dependencies": { + "@opentelemetry/core": "0.24.0", + "@opentelemetry/resources": "0.24.0", + "@opentelemetry/semantic-conventions": "0.24.0", + "lodash.merge": "^4.6.2" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.1" + } + }, + "node_modules/@opentelemetry/tracing/node_modules/@opentelemetry/resources": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-0.24.0.tgz", + "integrity": "sha512-uEr2m13IRkjQAjX6fsYqJ21aONCspRvuQunaCl8LbH1NS1Gj82TuRUHF6TM82ulBPK8pU+nrrqXKuky2cMcIzw==", + "dependencies": { + "@opentelemetry/core": "0.24.0", + "@opentelemetry/semantic-conventions": "0.24.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.1" + } + }, + "node_modules/@opentelemetry/tracing/node_modules/@opentelemetry/semantic-conventions": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz", + "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "node_modules/@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "dependencies": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + }, + "peerDependencies": { + "@grpc/grpc-js": "^1.3.7" + } + }, + "node_modules/@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "node_modules/@types/node": { + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" + }, + "node_modules/@types/pubsub-js": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@types/pubsub-js/-/pubsub-js-1.8.3.tgz", + "integrity": "sha512-6BqY04dh2UV1dNV690tyJVJYQ0U6qBH4tU+FCwY1Mhl8jOPOP9qiIvgLnB59cVik/E6/R002oXZpGiDm+2C8eA==", + "dev": true + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "dependencies": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ansi-styles/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "engines": { + "node": "*" + } + }, + "node_modules/async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "node_modules/async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, + "node_modules/backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "node_modules/body-parser": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "dependencies": { + "bytes": "3.1.1", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/bson": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", + "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", + "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", + "hasInstallScript": true, + "engines": { + "node": ">=0.6.19" + } + }, + "node_modules/btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "node_modules/bytes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "engines": { + "node": "*" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "node_modules/color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + }, + "node_modules/express": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", + "dependencies": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express-ws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", + "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", + "dependencies": { + "ws": "^5.2.0" + }, + "engines": { + "node": ">=4.5.0" + }, + "peerDependencies": { + "express": "^4.0.0 || ^5.0.0-alpha.1" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + }, + "node_modules/fibers": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", + "hasInstallScript": true, + "dependencies": { + "detect-libc": "^1.0.3" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "dependencies": { + "msgpack-lite": "*" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + }, + "node_modules/follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "engines": { + "node": "*" + } + }, + "node_modules/http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "node_modules/jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=4", + "npm": ">=1.4.28" + } + }, + "node_modules/jsonwebtoken/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "node_modules/logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "dependencies": { + "mime-db": "1.51.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "dependencies": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + }, + "bin": { + "msgpack": "bin/msgpack" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", + "bin": { + "network-address": "cli.js" + } + }, + "node_modules/node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, + "node_modules/node-fetch/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==", + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/objectid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", + "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", + "dependencies": { + "bson": "^0.1.9" + } + }, + "node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "engines": { + "node": "*" + } + }, + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pubsub-js": { + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.4.tgz", + "integrity": "sha512-hJYpaDvPH4w8ZX/0Fdf9ma1AwRgU353GfbaVfPjfJQf1KxZ2iHaHl3fAUw1qlJIR5dr4F3RzjGaWohYUEyoh7A==" + }, + "node_modules/qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "dependencies": { + "bytes": "3.1.1", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==", + "engines": { + "node": ">=10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "dependencies": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/shimmer": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/shimmer/-/shimmer-1.2.1.tgz", + "integrity": "sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==" + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", + "engines": { + "node": "*" + } + }, + "node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/sync": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", + "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "dependencies": { + "fibers": ">=0.6" + }, + "engines": { + "node": ">=0.5.2" + } + }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "dependencies": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/ws": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", + "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", + "dependencies": { + "async-limiter": "~1.0.0" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } + }, + "node_modules/zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "dependencies": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "node_modules/zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "dependencies": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + } + } + }, + "dependencies": { + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==" + }, + "@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "requires": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "requires": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "requires": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "requires": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + } + }, + "@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + } + }, + "@opentelemetry/api": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.0.4.tgz", + "integrity": "sha512-BuJuXRSJNQ3QoKA6GWWDyuLpOUck+9hAXNMCnrloc1aWVoy6Xq6t9PUV08aBZ4Lutqq2LEHM486bpZqoViScog==" + }, + "@opentelemetry/api-metrics": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api-metrics/-/api-metrics-0.25.0.tgz", + "integrity": "sha512-9T0c9NQAEGRujUC7HzPa2/qZ5px/UvB2sfSU5CAKFRrAlDl2gn25B0oUbDqSRHW/IG1X2rnQ3z2bBQkJyJvE4g==", + "requires": {} + }, + "@opentelemetry/context-async-hooks": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-0.24.0.tgz", + "integrity": "sha512-Db8AgMByBEFKLJGSUBlNq4Un/Tqzj5W0hTxx3hIic8DvBwqbvUvkMGuiQYLKE2Ay21cLYMT01xK4TEKz0OxADw==", + "requires": {} + }, + "@opentelemetry/core": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.24.0.tgz", + "integrity": "sha512-KpsfxBbFTZT9zaB4Es/fFLbvSzVl9Io/8UUu/TYl4/HgqkmyVInNlWTgRiKyz9nsHzFpGP1kdZJj+YIut0IFsw==", + "requires": { + "@opentelemetry/semantic-conventions": "0.24.0", + "semver": "^7.1.3" + }, + "dependencies": { + "@opentelemetry/semantic-conventions": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz", + "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==" + } + } + }, + "@opentelemetry/node": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/node/-/node-0.24.0.tgz", + "integrity": "sha512-Sy8QooZFOeVUcJIKetw5xsq15/1ivZovWg0RnKWtzURMQrcOxmQ3bGrXPORklOJxOtf5snDHgT37Y7dBgr+c+g==", + "requires": { + "@opentelemetry/context-async-hooks": "0.24.0", + "@opentelemetry/core": "0.24.0", + "@opentelemetry/propagator-b3": "0.24.0", + "@opentelemetry/propagator-jaeger": "0.24.0", + "@opentelemetry/tracing": "0.24.0", + "semver": "^7.1.3" + } + }, + "@opentelemetry/plugin-express": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/plugin-express/-/plugin-express-0.15.0.tgz", + "integrity": "sha512-8ZqCXcrU436Dzw1S6Jg6ceMbtGYAFyGcEmEp4rWtZi1P/i0de0i8n2P0oWlW5KxTPIpgZ/e+Ynstjs631WsKow==", + "requires": { + "@opentelemetry/api": "^0.18.0", + "@opentelemetry/core": "^0.18.0", + "shimmer": "^1.2.1" + }, + "dependencies": { + "@opentelemetry/api": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.18.1.tgz", + "integrity": "sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg==" + }, + "@opentelemetry/core": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.18.2.tgz", + "integrity": "sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA==", + "requires": { + "@opentelemetry/api": "^0.18.1", + "semver": "^7.1.3" + } + } + } + }, + "@opentelemetry/plugin-http": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/plugin-http/-/plugin-http-0.18.2.tgz", + "integrity": "sha512-YxwglRLnKMKvTngm12Kr12tIC+7dMcl+0jpHsUbcCj8hDJoG3MPGtfJsHdFH80TWiZmLbFz0mIlSBwlk2izZJA==", + "requires": { + "@opentelemetry/api": "^0.18.1", + "@opentelemetry/core": "^0.18.2", + "@opentelemetry/semantic-conventions": "^0.18.2", + "semver": "^7.1.3", + "shimmer": "^1.2.1" + }, + "dependencies": { + "@opentelemetry/api": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.18.1.tgz", + "integrity": "sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg==" + }, + "@opentelemetry/core": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.18.2.tgz", + "integrity": "sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA==", + "requires": { + "@opentelemetry/api": "^0.18.1", + "semver": "^7.1.3" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.18.2.tgz", + "integrity": "sha512-+0P+PrP9qSFVaayNdek4P1OAGE+PEl2SsufuHDRmUpOY25Wzjo7Atyar56Trjc32jkNy4lID6ZFT6BahsR9P9A==" + } + } + }, + "@opentelemetry/plugin-https": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/plugin-https/-/plugin-https-0.18.2.tgz", + "integrity": "sha512-U86gevKk8vq3gEgBR8KWSgWeKDbevzHaJ2Q7HloI/fvCy1DqUQoBh3kPCJao4bAahYnGzdiuhbF53ZEubS5Ekg==", + "requires": { + "@opentelemetry/api": "^0.18.1", + "@opentelemetry/core": "^0.18.2", + "@opentelemetry/plugin-http": "^0.18.2", + "@opentelemetry/semantic-conventions": "^0.18.2", + "semver": "^7.1.3", + "shimmer": "^1.2.1" + }, + "dependencies": { + "@opentelemetry/api": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.18.1.tgz", + "integrity": "sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg==" + }, + "@opentelemetry/core": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.18.2.tgz", + "integrity": "sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA==", + "requires": { + "@opentelemetry/api": "^0.18.1", + "semver": "^7.1.3" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.18.2.tgz", + "integrity": "sha512-+0P+PrP9qSFVaayNdek4P1OAGE+PEl2SsufuHDRmUpOY25Wzjo7Atyar56Trjc32jkNy4lID6ZFT6BahsR9P9A==" + } + } + }, + "@opentelemetry/propagator-b3": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-0.24.0.tgz", + "integrity": "sha512-iV7KSN0LkEAkeVCbhaIJAgTEb7HCnVkprmpgkL6q79rP3vTW4dylwfBYgIwod7y0GT4Ofgomm0NrwwWiuGLbQA==", + "requires": { + "@opentelemetry/core": "0.24.0" + } + }, + "@opentelemetry/propagator-jaeger": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-jaeger/-/propagator-jaeger-0.24.0.tgz", + "integrity": "sha512-QXCxBwuSka+vXbBZdumtF7YKO84gwTyKy3GelZV5BPlgWoge0AbLR3DfsO9Beu13pmD+4PyuwMw3LfYsgG1+3g==", + "requires": { + "@opentelemetry/core": "0.24.0" + } + }, + "@opentelemetry/resources": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-0.25.0.tgz", + "integrity": "sha512-O46u53vDBlxCML8O9dIjsRcCC2VT5ri1upwhp02ITobgJ16aVD/iScCo1lPl/x2E7yq9uwzMINENiiYZRFb6XA==", + "requires": { + "@opentelemetry/core": "0.25.0", + "@opentelemetry/semantic-conventions": "0.25.0" + }, + "dependencies": { + "@opentelemetry/core": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.25.0.tgz", + "integrity": "sha512-8OTWF4vfCENU112XB5ElLqf0eq/FhsY0SBvvY65vB3+fbZ2Oi+CPsRASrUZWGtC9MJ5rK2lBlY+/jI4a/NPPBg==", + "requires": { + "@opentelemetry/semantic-conventions": "0.25.0", + "semver": "^7.3.5" + } + } + } + }, + "@opentelemetry/sdk-metrics-base": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics-base/-/sdk-metrics-base-0.25.0.tgz", + "integrity": "sha512-7fwPlAFB5Xw8mnVQfq0wqKNw3RXiAMad9T1bk5Sza9LK/L6hz8RTuHWCsFMsj+1OOSAaiPFuUMYrK1J75+2IAg==", + "requires": { + "@opentelemetry/api-metrics": "0.25.0", + "@opentelemetry/core": "0.25.0", + "@opentelemetry/resources": "0.25.0", + "lodash.merge": "^4.6.2" + }, + "dependencies": { + "@opentelemetry/core": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.25.0.tgz", + "integrity": "sha512-8OTWF4vfCENU112XB5ElLqf0eq/FhsY0SBvvY65vB3+fbZ2Oi+CPsRASrUZWGtC9MJ5rK2lBlY+/jI4a/NPPBg==", + "requires": { + "@opentelemetry/semantic-conventions": "0.25.0", + "semver": "^7.3.5" + } + } + } + }, + "@opentelemetry/sdk-trace-base": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-0.25.0.tgz", + "integrity": "sha512-TInkLSF/ThM3GNVM+9tgnCVjyNLnRxvAkG585Fhu0HNwaEtCTUwI0r7AvMRIREOreeRWttBG6kvT0LOKdo8yjw==", + "requires": { + "@opentelemetry/core": "0.25.0", + "@opentelemetry/resources": "0.25.0", + "@opentelemetry/semantic-conventions": "0.25.0", + "lodash.merge": "^4.6.2" + }, + "dependencies": { + "@opentelemetry/core": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-0.25.0.tgz", + "integrity": "sha512-8OTWF4vfCENU112XB5ElLqf0eq/FhsY0SBvvY65vB3+fbZ2Oi+CPsRASrUZWGtC9MJ5rK2lBlY+/jI4a/NPPBg==", + "requires": { + "@opentelemetry/semantic-conventions": "0.25.0", + "semver": "^7.3.5" + } + } + } + }, + "@opentelemetry/semantic-conventions": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.25.0.tgz", + "integrity": "sha512-V3N+MDBiv0TUlorbgiSqk6CvcP876CYUk/41Tg6s8OIyvniTwprE6vPvFQayuABiVkGlHOxv1Mlvp0w4qNdnVg==" + }, + "@opentelemetry/tracing": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/tracing/-/tracing-0.24.0.tgz", + "integrity": "sha512-sTLEs1SIon3xV8vLe53PzfbU0FahoxL9NPY/CYvA1mwGbMu4zHkHAjqy1Tc8JmqRrfa+XrHkmzeSM4hrvloBaA==", + "requires": { + "@opentelemetry/core": "0.24.0", + "@opentelemetry/resources": "0.24.0", + "@opentelemetry/semantic-conventions": "0.24.0", + "lodash.merge": "^4.6.2" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-0.24.0.tgz", + "integrity": "sha512-uEr2m13IRkjQAjX6fsYqJ21aONCspRvuQunaCl8LbH1NS1Gj82TuRUHF6TM82ulBPK8pU+nrrqXKuky2cMcIzw==", + "requires": { + "@opentelemetry/core": "0.24.0", + "@opentelemetry/semantic-conventions": "0.24.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz", + "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==" + } + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + }, + "@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "requires": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + } + }, + "@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "requires": { + "@types/node": "*" + } + }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + }, + "@types/node": { + "version": "17.0.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz", + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" + }, + "@types/pubsub-js": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@types/pubsub-js/-/pubsub-js-1.8.3.tgz", + "integrity": "sha512-6BqY04dh2UV1dNV690tyJVJYQ0U6qBH4tU+FCwY1Mhl8jOPOP9qiIvgLnB59cVik/E6/R002oXZpGiDm+2C8eA==", + "dev": true + }, + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "requires": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + }, + "dependencies": { + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } + } + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" + }, + "async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" + }, + "axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "requires": { + "follow-redirects": "^1.14.0" + } + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "body-parser": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "requires": { + "bytes": "3.1.1", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "bson": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", + "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" + }, + "btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" + }, + "buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "bytes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==" + }, + "chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "requires": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "requires": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "requires": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "requires": { + "safe-buffer": "5.2.1" + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" + }, + "cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "requires": { + "type-detect": "^4.0.0" + } + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + }, + "ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, + "encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "requires": { + "iconv-lite": "^0.6.2" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + }, + "event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + }, + "express": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", + "requires": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "express-ws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", + "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", + "requires": { + "ws": "^5.2.0" + } + }, + "fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + }, + "fibers": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "requires": { + "msgpack-lite": "*" + } + }, + "fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + }, + "follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==" + }, + "forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" + }, + "http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" + }, + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + }, + "is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "requires": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } + } + }, + "jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "requires": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + }, + "lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "requires": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "requires": { + "get-func-name": "^2.0.0" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" + }, + "mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "requires": { + "mime-db": "1.51.0" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "requires": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + } + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" + }, + "network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" + }, + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + }, + "dependencies": { + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + } + } + }, + "node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==" + }, + "objectid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", + "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", + "requires": { + "bson": "^0.1.9" + } + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "requires": { + "ee-first": "1.1.1" + } + }, + "one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "requires": { + "fn.name": "1.x.x" + } + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" + }, + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } + }, + "proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "requires": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + } + }, + "pubsub-js": { + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.4.tgz", + "integrity": "sha512-hJYpaDvPH4w8ZX/0Fdf9ma1AwRgU353GfbaVfPjfJQf1KxZ2iHaHl3fAUw1qlJIR5dr4F3RzjGaWohYUEyoh7A==" + }, + "qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + }, + "raw-body": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "requires": { + "bytes": "3.1.1", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + } + } + }, + "serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + } + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "shimmer": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/shimmer/-/shimmer-1.2.1.tgz", + "integrity": "sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==" + }, + "simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "requires": { + "is-arrayish": "^0.3.1" + } + }, + "stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "sync": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", + "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "requires": { + "fibers": ">=0.6" + } + }, + "text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" + }, + "triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" + }, + "winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "requires": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + } + }, + "winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "requires": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "ws": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", + "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", + "requires": { + "async-limiter": "~1.0.0" + } + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + }, + "zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "requires": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "requires": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + } + } + } } diff --git a/mods/voice/package.json b/mods/voice/package.json index fa5ceb647..fa0927a1c 100644 --- a/mods/voice/package.json +++ b/mods/voice/package.json @@ -1,9 +1,9 @@ { - "name": "@fonos/voice", - "version": "0.1.20-alpha.0", + "name": "@fonoster/voice", + "version": "0.2.40", "description": "Voice verbs", "author": "Pedro Sanders ", - "homepage": "https://github.com/fonoster/fonos#readme", + "homepage": "https://github.com/fonoster/fonoster#readme", "license": "MIT", "main": "dist/index", "types": "dist/index", @@ -23,15 +23,24 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fonoster/fonos.git" + "url": "git+https://github.com/fonoster/fonoster.git" }, "bugs": { - "url": "https://github.com/fonoster/fonos/issues" + "url": "https://github.com/fonoster/fonoster/issues" }, "dependencies": { - "@fonos/common": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "axios": "^0.21.1", + "@fonoster/common": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@opentelemetry/api": "^1.0.2", + "@opentelemetry/node": "^0.24.0", + "@opentelemetry/plugin-express": "^0.15.0", + "@opentelemetry/plugin-http": "^0.18.2", + "@opentelemetry/plugin-https": "^0.18.2", + "@opentelemetry/resources": "0.25.0", + "@opentelemetry/sdk-metrics-base": "0.25.0", + "@opentelemetry/sdk-trace-base": "0.25.0", + "@opentelemetry/semantic-conventions": "0.25.0", + "@opentelemetry/tracing": "^0.24.0", "deepmerge": "^4.2.2", "express": "^4.17.1", "express-ws": "^4.0.0", diff --git a/mods/voice/src/answer/answer.ts b/mods/voice/src/answer/answer.ts new file mode 100644 index 000000000..c4fff7858 --- /dev/null +++ b/mods/voice/src/answer/answer.ts @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import PubSub from "pubsub-js"; +import logger from "@fonoster/logger"; +import {objectToQString} from "../utils"; +import {Verb} from "../verb"; + +export default class AnswerVerb extends Verb { + async run(): Promise { + logger.verbose( + `@fonoster/voice sending answer request [sessionId = ${this.request.sessionId}]` + ); + + return new Promise(async (resolve, reject) => { + let token: string; + try { + token = PubSub.subscribe( + `SessionOpen.${this.request.sessionId}`, + (type, data) => { + resolve(); + PubSub.unsubscribe(token); + } + ); + + await super.post( + `events/user/Answer`, + objectToQString({ + // WARNING: Harcoded value + application: "mediacontroller" + }), + { + variables: { + sessionId: this.request.sessionId + } + } + ); + } catch (e) { + reject(e); + PubSub.unsubscribe(token); + } + }); + } +} diff --git a/mods/voice/src/asserts.ts b/mods/voice/src/asserts.ts index c58a0ccc7..6a7382c3b 100644 --- a/mods/voice/src/asserts.ts +++ b/mods/voice/src/asserts.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/dial/dial.ts b/mods/voice/src/dial/dial.ts new file mode 100644 index 000000000..280bb74f9 --- /dev/null +++ b/mods/voice/src/dial/dial.ts @@ -0,0 +1,86 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import PubSub from "pubsub-js"; +import logger from "@fonoster/logger"; +import {objectToQString} from "../utils"; +import {Verb} from "../verb"; +import {DialOptions} from "./types"; +import StatusStream from "./status_stream"; +import {Stream} from "stream"; + +export default class DialVerb extends Verb { + async run( + destination: string, + options: DialOptions = {} + ): Promise { + const streamStatus = new StatusStream(); + logger.verbose( + `@fonoster/voice dialing [sessionId = ${this.request.sessionId}, number = ${this.request.number}]` + ); + + // We should reject if DialFailed + return new Promise(async (resolve, reject) => { + let dialFailedToken: string; + let statusChangeToken: string; + try { + statusChangeToken = PubSub.subscribe( + `DialStatusChanged.${this.request.sessionId}`, + (type, d) => { + if (d.data.status === "trying") { + resolve(streamStatus); + } else { + streamStatus.emit(d.data.status, d.data); + } + } + ); + + dialFailedToken = PubSub.subscribe( + `DialFailed.${this.request.sessionId}`, + (type, data) => { + reject(data.error); + PubSub.unsubscribe(dialFailedToken); + PubSub.unsubscribe(statusChangeToken); + } + ); + + await super.post( + `events/user/Dial`, + objectToQString({ + // WARNING: Harcoded value + application: "mediacontroller" + }), + { + variables: { + accessKeyId: this.request.accessKeyId, + sessionId: this.request.sessionId, + // Could be a Number or an Agent + destination, + number: this.request.number, + timeout: options.timeout || -1, + record: options.record + } + } + ); + } catch (e) { + reject(e); + PubSub.unsubscribe(dialFailedToken); + } + }); + } +} diff --git a/mods/voice/src/dial/status_stream.ts b/mods/voice/src/dial/status_stream.ts new file mode 100644 index 000000000..7897109e5 --- /dev/null +++ b/mods/voice/src/dial/status_stream.ts @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {Stream} from "stream"; + +export default class StatusStream { + stream: Stream; + constructor() { + this.stream = new Stream(); + } + + close() { + this.stream.removeAllListeners(); + } + + on(event: string, callback: Function) { + this.stream.on(event, (data) => { + callback(data); + }); + } + + emit(event: string, data: any) { + this.stream.emit(event, data); + } +} diff --git a/examples/presidential-poll/config.js b/mods/voice/src/dial/types.ts similarity index 58% rename from examples/presidential-poll/config.js rename to mods/voice/src/dial/types.ts index 19f78cab9..6e103ad31 100644 --- a/examples/presidential-poll/config.js +++ b/mods/voice/src/dial/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,18 +16,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -const GoogleTTS = require("@fonos/googletts"); -const {join} = require("path"); -const PROJECT_ID = "clever-tube-275321"; - -// You need to have a set of Google credentials for this to work -function getCredentials() { - return { - PROJECT_ID, - keyFilename: join(__dirname, "../google_credentials.json") +export interface DialOptions { + timeout?: number; + record?: { + direction?: "in" | "out" | "both"; }; } - -module.exports = { - tts: new GoogleTTS(getCredentials()) -}; diff --git a/mods/voice/src/dtmf/asserts.ts b/mods/voice/src/dtmf/asserts.ts new file mode 100644 index 000000000..161204be9 --- /dev/null +++ b/mods/voice/src/dtmf/asserts.ts @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import {DtmfOptions} from "./types"; + +export const assertsHasDtmf = (options: DtmfOptions) => { + if (!options || !options.dtmf) { + throw new Error("you must provide the dtmf tones"); + } +}; diff --git a/mods/voice/src/dtmf/dtmf.ts b/mods/voice/src/dtmf/dtmf.ts new file mode 100644 index 000000000..0c8456a4c --- /dev/null +++ b/mods/voice/src/dtmf/dtmf.ts @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import logger from "@fonoster/logger"; +import PubSub from "pubsub-js"; +import {objectToQString} from "../utils"; +import {Verb} from "../verb"; +import {assertsHasDtmf} from "./asserts"; +import {DtmfOptions} from "./types"; + +export default class DtmfVerb extends Verb { + async run(opts: DtmfOptions): Promise { + logger.verbose( + `@fonoster/voice sending dtmf request [sessionId = ${ + this.request.sessionId + }, opts = ${JSON.stringify(opts)}]` + ); + + assertsHasDtmf(opts); + + return new Promise(async (resolve, reject) => { + let token; + try { + token = PubSub.subscribe( + `SendDtmfFinished.${this.request.sessionId}`, + (type, data) => { + resolve(); + PubSub.unsubscribe(token); + } + ); + + await super.post( + `events/user/SendDtmf`, + objectToQString({ + // WARNING: Harcoded value + application: "mediacontroller" + }), + { + variables: { + sessionId: this.request.sessionId, + dtmf: opts.dtmf + } + } + ); + } catch (e) { + reject(e); + PubSub.unsubscribe(token); + } + }); + } +} diff --git a/mods/voice/src/dtmf/types.ts b/mods/voice/src/dtmf/types.ts new file mode 100644 index 000000000..8454992c4 --- /dev/null +++ b/mods/voice/src/dtmf/types.ts @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export interface DtmfOptions { + dtmf: string; +} diff --git a/mods/voice/src/gather/asserts.ts b/mods/voice/src/gather/asserts.ts index 62fe312d2..2d230497d 100644 --- a/mods/voice/src/gather/asserts.ts +++ b/mods/voice/src/gather/asserts.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/gather/gather.ts b/mods/voice/src/gather/gather.ts index 0a30d915a..e42acb006 100644 --- a/mods/voice/src/gather/gather.ts +++ b/mods/voice/src/gather/gather.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,7 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {SpeechProvider} from "@fonos/common"; +import {SpeechProvider} from "@fonoster/common"; import merge from "deepmerge"; import {assertsFinishOnKeyIsChar, assertsValueIsPositive} from "../asserts"; import {VoiceRequest} from "../types"; @@ -25,7 +25,7 @@ import {assertsHasNumDigitsOrTimeout} from "./asserts"; import waitForDtmf from "./source_dtmf"; import waitForSpeech from "./source_speech"; import {GatherOptions} from "./types"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; const defaultOptions: GatherOptions = { timeout: 4000, @@ -52,7 +52,7 @@ export default class GatherVerb extends Verb { return new Promise(async (resolve, reject) => { logger.verbose( - `@fonos/voice started gather [sources = ${options.source}]` + `@fonoster/voice started gather [source = ${options.source}]` ); if (options.source.includes("dtmf")) { waitForDtmf(this.request.sessionId, options) diff --git a/mods/voice/src/gather/source_dtmf.ts b/mods/voice/src/gather/source_dtmf.ts index ac4e4ac10..d16efa061 100644 --- a/mods/voice/src/gather/source_dtmf.ts +++ b/mods/voice/src/gather/source_dtmf.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/gather/source_speech.ts b/mods/voice/src/gather/source_speech.ts index ac2dca02c..464b29cdd 100644 --- a/mods/voice/src/gather/source_speech.ts +++ b/mods/voice/src/gather/source_speech.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -20,7 +20,7 @@ import Stream from "stream"; import PubSub from "pubsub-js"; import {GatherOptions} from "./types"; import {startMediaTransfer, stopMediaTransfer} from "../utils"; -import {SpeechProvider} from "@fonos/common"; +import {SpeechProvider} from "@fonoster/common"; import {Verb} from "../verb"; const waitForSpeech = async ( diff --git a/mods/voice/src/gather/types.ts b/mods/voice/src/gather/types.ts index fb7852789..42e5fc2f8 100644 --- a/mods/voice/src/gather/types.ts +++ b/mods/voice/src/gather/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/hangup/hangup.ts b/mods/voice/src/hangup/hangup.ts index cbf24cad7..8691e47ad 100644 --- a/mods/voice/src/hangup/hangup.ts +++ b/mods/voice/src/hangup/hangup.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,22 +16,44 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import PubSub from "pubsub-js"; +import logger from "@fonoster/logger"; import {objectToQString} from "../utils"; import {Verb} from "../verb"; export default class HangupVerb extends Verb { async run(): Promise { - await super.post( - `events/user/Hangup`, - objectToQString({ - // WARNING: Harcoded value - application: "mediacontroller" - }), - { - variables: { - sessionId: this.request.sessionId - } - } + logger.verbose( + `@fonoster/voice sending hangup request [sessionId = ${this.request.sessionId}]` ); + + return new Promise(async (resolve, reject) => { + let token: string; + try { + token = PubSub.subscribe( + `SessionClosed.${this.request.sessionId}`, + (type, data) => { + resolve(); + PubSub.unsubscribe(token); + } + ); + + await super.post( + `events/user/Hangup`, + objectToQString({ + // WARNING: Harcoded value + application: "mediacontroller" + }), + { + variables: { + sessionId: this.request.sessionId + } + } + ); + } catch (e) { + reject(e); + PubSub.unsubscribe(token); + } + }); } } diff --git a/mods/voice/src/index.ts b/mods/voice/src/index.ts index 4ffecfe41..d8a41e9d2 100644 --- a/mods/voice/src/index.ts +++ b/mods/voice/src/index.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/mute/mute.ts b/mods/voice/src/mute/mute.ts index 78e1d8e61..32ae38072 100644 --- a/mods/voice/src/mute/mute.ts +++ b/mods/voice/src/mute/mute.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/mute/types.ts b/mods/voice/src/mute/types.ts index 6beb5ada5..94cc34308 100644 --- a/mods/voice/src/mute/types.ts +++ b/mods/voice/src/mute/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/play/play.ts b/mods/voice/src/play/play.ts index 8f718ea36..756b4168f 100644 --- a/mods/voice/src/play/play.ts +++ b/mods/voice/src/play/play.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/play/types.ts b/mods/voice/src/play/types.ts index 8cdf2ef16..7f316f6d8 100644 --- a/mods/voice/src/play/types.ts +++ b/mods/voice/src/play/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/playback/playback.ts b/mods/voice/src/playback/playback.ts index de3ae9001..a5cff487a 100644 --- a/mods/voice/src/playback/playback.ts +++ b/mods/voice/src/playback/playback.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ */ import {Verb} from "../verb"; import {VoiceRequest} from "../types"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; export class PlaybackControl extends Verb { playbackId: string; @@ -29,12 +29,29 @@ export class PlaybackControl extends Verb { private async operation(name: string) { logger.verbose( - `@fonos/voice calling [playbacks/${this.playbackId}/control?operation=${name}]` - ); - await super.post( - `playbacks/${this.playbackId}/control`, - `operation=${name}` + `@fonoster/voice playback control [operation = ${name}, playbackId = ${this.playbackId}]` ); + + try { + switch (name) { + case "stop": + await super.delete(`playbacks/${this.playbackId}`); + break; + default: + await super.post( + `playbacks/${this.playbackId}/control`, + `operation=${name}` + ); + } + } catch (e) { + if (!e.response || e.response.status !== 404) { + logger.error(e); + } + } + } + + async stop() { + await this.operation("stop"); } async restart() { diff --git a/mods/voice/src/record/record.ts b/mods/voice/src/record/record.ts index 1fb0994b3..6e80b0835 100644 --- a/mods/voice/src/record/record.ts +++ b/mods/voice/src/record/record.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/record/types.ts b/mods/voice/src/record/types.ts index cd3000aba..e0d237885 100644 --- a/mods/voice/src/record/types.ts +++ b/mods/voice/src/record/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/say/types.ts b/mods/voice/src/say/types.ts index 930ee4b96..5fd0c21c6 100644 --- a/mods/voice/src/say/types.ts +++ b/mods/voice/src/say/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/server.ts b/mods/voice/src/server.ts index 76de4e1bd..be906a3f0 100644 --- a/mods/voice/src/server.ts +++ b/mods/voice/src/server.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,12 +18,14 @@ */ import {ServerConfig} from "./types"; import VoiceResponse from "./voice"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import express from "express"; -import {join} from "path"; +import {join, posix} from "path"; +import {Plugin} from "@fonoster/common"; import fs from "fs"; -import {Plugin} from "@fonos/common"; +import os from "os"; import PubSub from "pubsub-js"; +import {VoiceTracer} from "./tracer"; const merge = require("deepmerge"); const app = express(); app.use(express.json()); @@ -33,12 +35,14 @@ const defaultServerConfig: ServerConfig = { base: "/", port: 3000, bind: "0.0.0.0", - pathToFiles: "/tmp" + pathToFiles: os.tmpdir(), + otlSpanExporters: [] }; export default class VoiceServer { config: ServerConfig; plugins: {}; + voiceTracer: VoiceTracer; constructor(config: ServerConfig = defaultServerConfig) { this.config = merge(defaultServerConfig, config); this.init(); @@ -56,7 +60,7 @@ export default class VoiceServer { } listen(handler: Function, port = this.config.port) { - app.get(`${this.config.base}/tts/:file`, (req, res) => { + app.get(posix.join(this.config.base, "/tts/:file"), (req, res) => { // TODO: Update to use a stream instead of fs.readFile fs.readFile( join(this.config.pathToFiles, req.params.file), @@ -73,15 +77,21 @@ export default class VoiceServer { ); }); - app.post(this.config.base, async (req, res) => { - const response = new VoiceResponse(req.body); + app.get("/ping", (req, res) => { + res.send("pong"); + }); + + app.post(posix.join(this.config.base), async (req, res) => { + this.voiceTracer = new VoiceTracer(this.config.otlSpanExporters); + this.voiceTracer.init(); + const response = new VoiceResponse(req.body, this.voiceTracer); response.plugins = this.plugins; - await handler(req.body, response); + handler(req.body, response); res.end(); }); logger.info( - `starting voice server on @ ${this.config.bind}, port=${this.config.port}` + `starting voice server @ ${this.config.bind}, port=${this.config.port}, path=${this.config.base}` ); app.listen(port, this.config.bind); @@ -113,10 +123,11 @@ export default class VoiceServer { } logger.verbose( - `@fonos/voice received event [eventName = ${event.type}, sessionId = ${event.sessionId}]` - ); - logger.silly( - `@fonos/voice received event [${JSON.stringify(event, null, " ")}]` + `@fonoster/voice received event [${JSON.stringify( + event, + null, + " " + )}]` ); } }).on("error", console.error); diff --git a/mods/voice/src/sgather/gather.ts b/mods/voice/src/sgather/gather.ts index e1fff03b5..632a4d51d 100644 --- a/mods/voice/src/sgather/gather.ts +++ b/mods/voice/src/sgather/gather.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,12 +16,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import {SpeechProvider} from "@fonos/common"; +import {SpeechProvider} from "@fonoster/common"; import {VoiceRequest} from "../types"; import {Verb} from "../verb"; import {SGatherOptions, SGatherStream} from "./types"; import PubSub from "pubsub-js"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; import merge from "deepmerge"; import StreamData from "./stream_data"; import startSpeechSource from "./source_speech"; @@ -42,10 +42,9 @@ export default class SGatherVerb extends Verb { const options = merge(defaultOptions, opts); const streamData = new StreamData(); logger.verbose( - `@fonos/voice started sgather [sources = ${options.source}]` + `@fonoster/voice started sgather [source = ${options.source}]` ); if (options.source.includes("dtmf")) { - // TODO: Subscribe to dtmf events const token = PubSub.subscribe( `DtmfReceived.${this.request.sessionId}`, (type, data) => { @@ -63,7 +62,7 @@ export default class SGatherVerb extends Verb { super.getSelf(), this.speechProvider ); - streamData.setDtmfSubscribeToken(token); + streamData.setSpeechSubscribeToken(token); speechStream.on("transcript", (data) => streamData.emit("transcript", data) ); diff --git a/mods/voice/src/sgather/source_speech.ts b/mods/voice/src/sgather/source_speech.ts index 28173cbc9..c0ec6f113 100644 --- a/mods/voice/src/sgather/source_speech.ts +++ b/mods/voice/src/sgather/source_speech.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -21,7 +21,7 @@ import PubSub from "pubsub-js"; import {SGatherOptions} from "./types"; import {startMediaTransfer} from "../utils"; import {Verb} from "../verb"; -import {SpeechProvider} from "@fonos/common"; +import {SpeechProvider} from "@fonoster/common"; export default async function startSpeechSource( sessionId: string, diff --git a/mods/voice/src/sgather/stream_data.ts b/mods/voice/src/sgather/stream_data.ts index 29e96cfa3..a58b3f4cd 100644 --- a/mods/voice/src/sgather/stream_data.ts +++ b/mods/voice/src/sgather/stream_data.ts @@ -1,5 +1,24 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {Stream} from "stream"; import {SGatherStream} from "./types"; +import PubSub from "pubsub-js"; export default class StreamData implements SGatherStream { stream: Stream; diff --git a/mods/voice/src/sgather/types.ts b/mods/voice/src/sgather/types.ts index a94741ae3..636a840a2 100644 --- a/mods/voice/src/sgather/types.ts +++ b/mods/voice/src/sgather/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/tracer.ts b/mods/voice/src/tracer.ts new file mode 100644 index 000000000..aa8f5698c --- /dev/null +++ b/mods/voice/src/tracer.ts @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import opentelemetry, {Context, Span, Tracer} from "@opentelemetry/api"; +import {Resource} from "@opentelemetry/resources"; +import {SemanticResourceAttributes} from "@opentelemetry/semantic-conventions"; +import {BatchSpanProcessor, SpanExporter} from "@opentelemetry/sdk-trace-base"; +const {NodeTracerProvider} = require("@opentelemetry/node"); + +export class VoiceTracer { + callTracer: Tracer; + parentSpan: Span; + ctx: Context; + constructor(otlSpanExporters: Array) { + // Configure span processor to send spans to the exporter + const provider = new NodeTracerProvider({ + resource: new Resource({ + [SemanticResourceAttributes.SERVICE_NAME]: "voice-service" + }) + }); + + for (const exp of otlSpanExporters) { + const exporter = new exp.exporter(exp.config); + provider.addSpanProcessor(new BatchSpanProcessor(exporter)); + } + + provider.register(); + this.callTracer = opentelemetry.trace.getTracer("call_tracer"); + } + + init() { + this.parentSpan = this.callTracer.startSpan("call"); + this.ctx = opentelemetry.trace.setSpan( + opentelemetry.context.active(), + this.parentSpan + ); + } + + close() { + this.parentSpan.end(); + } + + createSpan(name: string): Span { + return this.callTracer.startSpan(name, undefined, this.ctx); + } +} diff --git a/mods/voice/src/types.ts b/mods/voice/src/types.ts index fc4707bed..7032bc76a 100644 --- a/mods/voice/src/types.ts +++ b/mods/voice/src/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import {MeterProvider} from "@opentelemetry/sdk-metrics-base"; + export interface VoiceRequest { accessKeyId: string; sessionToken: string; @@ -32,6 +34,8 @@ export interface ServerConfig { port?: number; base?: string; pathToFiles?: string; + otlSpanExporters?: Array; + meterProvider?: MeterProvider; } export interface VoiceEventData { diff --git a/mods/voice/src/unmute/types.ts b/mods/voice/src/unmute/types.ts index 6beb5ada5..94cc34308 100644 --- a/mods/voice/src/unmute/types.ts +++ b/mods/voice/src/unmute/types.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/unmute/unmute.ts b/mods/voice/src/unmute/unmute.ts index 40bfbfb60..e43efc671 100644 --- a/mods/voice/src/unmute/unmute.ts +++ b/mods/voice/src/unmute/unmute.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/voice/src/utils.ts b/mods/voice/src/utils.ts index 5aa498fb6..c3eb6809c 100644 --- a/mods/voice/src/utils.ts +++ b/mods/voice/src/utils.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,7 +16,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import {Verb} from "./verb"; /** diff --git a/mods/voice/src/verb.ts b/mods/voice/src/verb.ts index 1574a7112..66061b5d1 100644 --- a/mods/voice/src/verb.ts +++ b/mods/voice/src/verb.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -18,7 +18,7 @@ */ import axios from "axios"; import {VoiceRequest} from "./types"; -import logger from "@fonos/logger"; +import logger from "@fonoster/logger"; const auth = process.env.NODE_ENV != "production" @@ -51,7 +51,7 @@ export class Verb { this.getRequest().dialbackEnpoint }/ari/${apiPath}?${queryParameters}`; - logger.silly(`@fonos/voice posting [url: ${url}]`); + logger.silly(`@fonoster/voice posting [url: ${url}]`); return await axios({ method: "post", @@ -65,12 +65,12 @@ export class Verb { }); } - async delete(apiPath: string, queryParameters: string) { + async delete(apiPath: string, queryParameters?: string) { const url = `${ this.getRequest().dialbackEnpoint }/ari/${apiPath}?${queryParameters}`; - logger.silly(`@fonos/voice posting [url: ${url}]`); + logger.silly(`@fonoster/voice posting [url: ${url}]`); return await axios({ method: "delete", diff --git a/mods/voice/src/voice.ts b/mods/voice/src/voice.ts index c6845fd4e..026f50cb4 100644 --- a/mods/voice/src/voice.ts +++ b/mods/voice/src/voice.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,6 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import AnswerVerb from "./answer/answer"; import HangupVerb from "./hangup/hangup"; import UnmuteVerb from "./unmute/unmute"; import GatherVerb, {GatherOptions} from "./gather/gather"; @@ -25,13 +26,19 @@ import RecordVerb, {RecordOptions, RecordResult} from "./record/record"; import {PlaybackControl} from "./playback/playback"; import {SayOptions} from "./say/types"; import {VoiceRequest} from "./types"; -import {Plugin} from "@fonos/common"; +import {Plugin} from "@fonoster/common"; import {assertPluginExist} from "./asserts"; import PubSub from "pubsub-js"; import {Verb} from "./verb"; import {startMediaTransfer, stopMediaTransfer} from "./utils"; import SGatherVerb, {SGatherOptions} from "./sgather/gather"; import {SGatherStream} from "./sgather/types"; +import {DtmfOptions} from "./dtmf/types"; +import DtmfVerb from "./dtmf/dtmf"; +import DialVerb from "./dial/dial"; +import {DialOptions} from "./dial/types"; +import StreamStatus from "./dial/status_stream"; +import {VoiceTracer} from "./tracer"; /** * @classdesc Use the VoiceResponse object, to construct advance Interactive @@ -40,27 +47,30 @@ import {SGatherStream} from "./sgather/types"; * @extends Verb * @example * - * import { VoiceServer } from "@fonos/voice"; + * import { VoiceServer } from "@fonoster/voice"; * * async function handler (request, response) { + * await response.answer(); * await response.play("sound:hello-world"); * } * * const voiceServer = new VoiceServer({base: '/voiceapp'}) * voiceServer.listen(handler, { port: 3000 }) */ -export default class { +export default class VoiceResponse { request: VoiceRequest; plugins: {}; + voiceTracer: VoiceTracer; /** * Constructs a new VoiceResponse object. * * @param {VoiceRequest} request - Options to indicate the objects endpoint - * @see module:core:FonosService + * @see module:core:APIClient */ - constructor(request: VoiceRequest) { + constructor(request: VoiceRequest, voiceTracer: VoiceTracer) { this.request = request; + this.voiceTracer = voiceTracer; this.plugins = {}; } @@ -76,7 +86,7 @@ export default class { } /** - * Plays an audio in the channel. + * Play an audio in the channel. * * @param {string} media - Sound name or uri with audio file * @param {PlayOptions} options - Optional parameters to alter the command's normal @@ -88,11 +98,14 @@ export default class { * @example * * async function handler (request, response) { + * await response.answer(); * await response.play("https://soundsserver:9000/sounds/hello-world.wav"); * } */ async play(media: string, options: PlayOptions = {}): Promise { + const span = this.voiceTracer.createSpan("play"); await new PlayVerb(this.request).run(media, options); + span.end(); } /** @@ -110,6 +123,7 @@ export default class { * @example * * async function handler (request, response) { + * await response.answer(); * response.use(new GoogleTTS()) * await response.say("Hello workd"); // Plays the sound using GoogleTTS's default values * } @@ -118,9 +132,18 @@ export default class { assertPluginExist(this, "tts"); const tts = this.plugins["tts"]; // It should return the filename and the generated file location - const result = await tts.synthetize(text, options); + const main = this.voiceTracer.createSpan("play"); + const span = this.voiceTracer.createSpan("synthesize"); + const result = await tts.synthesize(text, options); + span.setAttribute("text", text); + span.setAttribute("options", JSON.stringify(options)); + span.end(); const media = `sound:${this.request.selfEndpoint}/tts/${result.filename}`; + await new PlayVerb(this.request).run(media, options); + main.setAttribute("media", media); + main.setAttribute("options", JSON.stringify(options)); + main.end(); } /** @@ -137,32 +160,40 @@ export default class { * @example * * async function handler (request, response) { - * const digits = await response.gather({numDigits: 3}); + * await response.answer(); + * const digits = await response.gather({source: "dtmf,speech", numDigits: 3}); * console.log("digits: " + digits); * } */ - async gather(options: {source: "speech,dtmf"}): Promise { + async gather( + options: GatherOptions = {source: "speech,dtmf"} + ): Promise { let asr = null; if (options.source.includes("speech")) { assertPluginExist(this, "asr"); asr = this.plugins["asr"]; } - return await new GatherVerb(this.request, asr).run(options); + const span = this.voiceTracer.createSpan("gather"); + const result = await new GatherVerb(this.request, asr).run(options); + span.setAttribute("options", JSON.stringify(options)); + span.end(); + return result; } /** * Waits for data entry from the user's keypad or from a stream speech provider. This command is different from `gather` * in that it returns a stream of results instead of a single result. You can think of it as active listening. * - * @param {SGatherOptions} options - Options to select the + * @param {SGatherOptions} options - Options object for the SGather verb * @param {string} options.source - Where to listen as input source. This option accepts `dtmf` and `speech`. A speech provider must be configure * when including the `speech` source. You might inclue both with `dtmf,speech`. Defaults to `speech,dtmf` - * @return {SGatherStream} The SGatherStream fires events via am `on` method for `transcription`, `dtmf`, and `error`. And the stream can be close + * @return {SGatherStream} The SGatherStream fires events via the `on` method for `transcription`, `dtmf`, and `error`. And the stream can be close * with the `close` function. * @see StreamSpeechProvider * @example * * async function handler (request, response) { + * await response.answer(); * const stream = await response.sgather({source: "dtmf,speech"}); * * stream.on("transcript", (text, isFinal) => { @@ -186,6 +217,58 @@ export default class { return await new SGatherVerb(this.request, asr).run(options); } + /** + * Sends dtmf tones to the current session. + * + * @param {DtmfOptions} options - Options object for the Dtmf verb + * @param {string} options.dtmf - A string of the dtmf tones + * @example + * + * async function handler (request, response) { + * await response.answer(); + * await response.play("sound:hello-world"); + * await response.dtmf({dtmf: "1234"}); + * } + */ + async dtmf(options: DtmfOptions): Promise { + const span = this.voiceTracer.createSpan("dtmf"); + const result = await new DtmfVerb(this.request).run(options); + span.setAttribute("options", JSON.stringify(options)); + span.end(); + return result; + } + + /** + * Forwards the call to an Agent or the PSTN. + * + * @param {string} destination - Number or Agent to forward the call to + * @param {DialOptions} options - Options object for the Dial verb + * @param {timeout} options.timeout - Dial timeout + * @return {StatusStream} The StatusStream fires events via the `on` method for `progress`, `answer`, `noanswer`, and `busy`. And the stream can be close + * with the `close` function. + * @example + * + * async function handler (request, response) { + * await response.answer(); + * await response.say("dialing number"); + * const stream = await response.dial("17853178070"); + * stream.on("progress", console.log) + * stream.on("answer", console.log) + * stream.on("busy", console.log) + * } + */ + async dial( + destination: string, + options?: DialOptions + ): Promise { + const span = this.voiceTracer.createSpan("dial"); + const result = await new DialVerb(this.request).run(destination, options); + span.setAttribute("destination", destination); + span.setAttribute("options", JSON.stringify(options)); + span.end(); + return result; + } + /** * Returns a PlaybackControl control object. * @@ -194,6 +277,7 @@ export default class { * @example * * async function handler (request, response) { + * await response.answer(); * response.onDtmfReceived(async(digit) => { * const control = response.playback("1234") * digit === "3" @@ -207,7 +291,11 @@ export default class { * } */ playback(playbackId: string): PlaybackControl { - return new PlaybackControl(this.request, playbackId); + const span = this.voiceTracer.createSpan("playback"); + const result = new PlaybackControl(this.request, playbackId); + span.setAttribute("playbackId", playbackId); + span.end(); + return result; } /** @@ -217,6 +305,7 @@ export default class { * @example * * async function handler (request, response) { + * await response.answer(); * response.on("DtmfReceived", async(digit) => { * const control = response.playback("1234") * digit === "3" @@ -244,11 +333,16 @@ export default class { * @example * * async function handler (request, response) { + * await response.answer(); * await response.mute(); // Will mute both directions * } */ async mute(options?: MuteOptions): Promise { - await new MuteVerb(this.request).run(options); + const span = this.voiceTracer.createSpan("mute"); + const result = new MuteVerb(this.request).run(options); + span.setAttribute("options", JSON.stringify(options)); + span.end(); + await result; } /** @@ -260,11 +354,34 @@ export default class { * @example * * async function handler (request, response) { + * ... * await response.unmute({direction: "out"}); // Will unmute only the "out" direction * } */ async unmute(options?: MuteOptions): Promise { - await new UnmuteVerb(this.request).run(options); + const span = this.voiceTracer.createSpan("unmute"); + const result = new UnmuteVerb(this.request).run(options); + span.setAttribute("options", JSON.stringify(options)); + span.end(); + await result; + } + + /** + * Answer the communication channel. Before running any other verb you + * must run the anwer command. + * + * @example + * + * async function handler (request, response) { + * await response.answer(); + * ... + * } + */ + async answer(): Promise { + const span = this.voiceTracer.createSpan("answer"); + const result = new AnswerVerb(this.request).run(); + span.end(); + await result; } /** @@ -273,11 +390,17 @@ export default class { * @example * * async function handler (request, response) { + * ... * await response.hangup(); * } */ async hangup(): Promise { - await new HangupVerb(this.request).run(); + const span = this.voiceTracer.createSpan("hangup"); + const result = new HangupVerb(this.request).run(); + span.end(); + // Need to close or the span will be lost + this.voiceTracer.close(); + await result; } /** @@ -293,23 +416,31 @@ export default class { * @example * * async function handler (request, response) { + * await response.answer();; * const result = await response.record({finishOnKey: "#"}); * console.log("recording result: " + JSON.stringify(result)) // recording result: { duration: 30 ...} * } */ async record(options: RecordOptions): Promise { - return await new RecordVerb(this.request).run(options); + const span = this.voiceTracer.createSpan("record"); + const result = await new RecordVerb(this.request).run(options); + span.end(); + return result; } // Requests media from Media server async openMediaPipe() { + const span = this.voiceTracer.createSpan("openMediaPipe"); const genericVerb = new Verb(this.request); await startMediaTransfer(genericVerb, this.request.sessionId); + span.end(); } // Requests media stop from Media server async closeMediaPipe() { + const span = this.voiceTracer.createSpan("stopMediaTransfer"); const genericVerb = new Verb(this.request); await stopMediaTransfer(genericVerb, this.request.sessionId); + span.end(); } } diff --git a/mods/voice/test/asserts.unit.test.ts b/mods/voice/test/asserts.unit.test.ts index 4e3ed02e6..02f56906f 100644 --- a/mods/voice/test/asserts.unit.test.ts +++ b/mods/voice/test/asserts.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -28,7 +28,7 @@ const expect = chai.expect; chai.use(sinonChai); chai.use(chaiAsPromised); -describe("@fonos/voice/asserts", () => { +describe("@fonoster/voice/asserts", () => { it("ensures that numDigits and timeout are both positive numbers", () => { expect(() => assertsValueIsPositive("numDigits", 0)).to.throw( "the option 'numDigits' must be a number greater than zero" diff --git a/mods/voice/test/gather.unit.test.ts b/mods/voice/test/gather.unit.test.ts index c44ade471..e6779c6f1 100644 --- a/mods/voice/test/gather.unit.test.ts +++ b/mods/voice/test/gather.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -30,7 +30,7 @@ chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@fonos/voice/gather", () => { +describe("@fonoster/voice/gather", () => { afterEach(() => sandbox.restore()); it.skip("waits for dtmf send from phone", (done) => { diff --git a/mods/voice/test/play.unit.test.ts b/mods/voice/test/play.unit.test.ts index 73d9d4416..dd09ec149 100644 --- a/mods/voice/test/play.unit.test.ts +++ b/mods/voice/test/play.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -29,7 +29,7 @@ chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); import PubSub from "pubsub-js"; -describe("@fonos/voice/play", () => { +describe("@fonoster/voice/play", () => { afterEach(() => sandbox.restore()); it.skip("play a sound on a remote media server", (done) => { diff --git a/mods/voice/test/record.unit.test.ts b/mods/voice/test/record.unit.test.ts index fa7576c0e..93b091b7f 100644 --- a/mods/voice/test/record.unit.test.ts +++ b/mods/voice/test/record.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -29,7 +29,7 @@ chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); import PubSub from "pubsub-js"; -describe("@fonos/voice/record", () => { +describe("@fonoster/voice/record", () => { afterEach(() => sandbox.restore()); it.skip("records a channel and uploads the file to the storage subsystem", (done) => { diff --git a/mods/voice/test/utils.unit.test.ts b/mods/voice/test/utils.unit.test.ts index 855469030..3af8710b1 100644 --- a/mods/voice/test/utils.unit.test.ts +++ b/mods/voice/test/utils.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -26,7 +26,7 @@ chai.use(sinonChai); chai.use(chaiAsPromised); const sandbox = sinon.createSandbox(); -describe("@fonos/voice/utils", () => { +describe("@fonoster/voice/utils", () => { it("will convert an object to a query string", () => { const testObject = { optionA: "A", diff --git a/mods/voice/test/voice_request.ts b/mods/voice/test/voice_request.ts index 70a83abc0..0d97cfe5b 100644 --- a/mods/voice/test/voice_request.ts +++ b/mods/voice/test/voice_request.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with diff --git a/mods/websdk/.lerna-changed-buster-7825 b/mods/websdk/.lerna-changed-buster-7825 new file mode 100644 index 000000000..e69de29bb diff --git a/mods/websdk/.npmignore b/mods/websdk/.npmignore new file mode 100644 index 000000000..fb9c29370 --- /dev/null +++ b/mods/websdk/.npmignore @@ -0,0 +1,7 @@ +node_modules +.nyc_output +coverage +src +test +*.log +generated diff --git a/mods/websdk/.scripts/download_swagger_file.sh b/mods/websdk/.scripts/download_swagger_file.sh new file mode 100755 index 000000000..f53179dcf --- /dev/null +++ b/mods/websdk/.scripts/download_swagger_file.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +npx wget https://raw.githubusercontent.com/fonoster/grpc-gateway/main/swagger.json -O swagger.json \ No newline at end of file diff --git a/mods/websdk/babel.config.json b/mods/websdk/babel.config.json new file mode 100644 index 000000000..910557898 --- /dev/null +++ b/mods/websdk/babel.config.json @@ -0,0 +1,5 @@ +{ + "sourceType": "unambiguous", + "plugins": ["@babel/plugin-transform-runtime"], + "presets": ["@babel/preset-env"] +} diff --git a/mods/websdk/index.html b/mods/websdk/index.html new file mode 100644 index 000000000..bcaafcfcc --- /dev/null +++ b/mods/websdk/index.html @@ -0,0 +1,19 @@ + +WebSDK Test + + diff --git a/mods/websdk/openapitools.json b/mods/websdk/openapitools.json new file mode 100644 index 000000000..3b40e47a4 --- /dev/null +++ b/mods/websdk/openapitools.json @@ -0,0 +1,7 @@ +{ + "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", + "spaces": 2, + "generator-cli": { + "version": "5.3.0" + } +} diff --git a/mods/websdk/package-lock.json b/mods/websdk/package-lock.json new file mode 100644 index 000000000..0728df455 --- /dev/null +++ b/mods/websdk/package-lock.json @@ -0,0 +1,20695 @@ +{ + "name": "@fonoster/websdk", + "version": "0.2.40", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@fonoster/websdk", + "version": "0.2.40", + "license": "MIT", + "devDependencies": { + "@babel/plugin-transform-runtime": "^7.15.8", + "@babel/preset-env": "^7.15.8", + "@fonoster/agents": "^0.2.40", + "@fonoster/auth": "^0.2.40", + "@fonoster/callmanager": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/domains": "^0.2.40", + "@fonoster/funcs": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/numbers": "^0.2.40", + "@fonoster/projects": "^0.2.40", + "@fonoster/providers": "^0.2.40", + "@fonoster/secrets": "^0.2.40", + "@fonoster/storage": "^0.2.40", + "@fonoster/users": "^0.2.40", + "@openapitools/openapi-generator-cli": "^2.4.13", + "babel": "^6.23.0", + "babel-core": "^6.26.3", + "babel-loader": "^8.2.3", + "http-server": "^0.12.3", + "rollup": "2.56.3", + "tslib": "2.3.1", + "webpack": "^5.60.0", + "webpack-cli": "^4.9.1" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.1.tgz", + "integrity": "sha512-Aolwjd7HSC2PyY0fDj/wA/EimQT4HfEnFYNp5s9CQlrdhyvWTtvZ5YzrUPu6R6/1jKiUlxu8bUhkdSnKHNAHMA==", + "dev": true, + "peer": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.0.tgz", + "integrity": "sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.2.tgz", + "integrity": "sha512-R3VH5G42VSDolRHyUO4V2cfag8WHcZyxdq5Z/m8Xyb92lW/Erm/6kM+XtRFGf3Mulre3mveni2NHfEUws8wSvw==", + "dev": true, + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.0.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.0", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helpers": "^7.17.2", + "@babel/parser": "^7.17.0", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.0", + "@babel/types": "^7.17.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.1.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.0.tgz", + "integrity": "sha512-I3Omiv6FGOC29dtlZhkfXO6pgkmukJSlT26QjVvS1DGZe/NzSVCPG41X0tS21oZkJYlovfj9qDWgKP+Cn4bXxw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.17.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", + "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", + "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "dev": true, + "dependencies": { + "@babel/helper-explode-assignable-expression": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", + "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.16.4", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.17.1", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.1.tgz", + "integrity": "sha512-JBdSr/LtyYIno/pNnJ75lBcqc3Z1XXujzPanHqjvvrhOA+DTceTFuJi8XjmWTZh4r3fsdfqaCMN0iZemdkxZHQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz", + "integrity": "sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "regexpu-core": "^5.0.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", + "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.13.0", + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/traverse": "^7.13.0", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0-0" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-explode-assignable-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", + "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", + "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", + "dev": true, + "dependencies": { + "@babel/helper-get-function-arity": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-get-function-arity": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", + "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.7.tgz", + "integrity": "sha512-VtJ/65tYiU/6AbMTDwyoXGPKHgTsfRarivm+YbB5uAzKUyuPjgZSgAFeG87FCigc7KNHu2Pegh1XIT3lXjvz3Q==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.7.tgz", + "integrity": "sha512-gaqtLDxJEFCeQbYp9aLAefjhkKdjKcdh6DB7jniIGU3Pz52WAmP268zK0VgPz9hUNkMSYeH976K2/Y6yPadpng==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", + "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", + "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", + "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-wrap-function": "^7.16.8", + "@babel/types": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", + "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", + "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", + "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "dev": true, + "dependencies": { + "@babel/helper-function-name": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.2.tgz", + "integrity": "sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==", + "dev": true, + "peer": true, + "dependencies": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.0", + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.16.10", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz", + "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.0.tgz", + "integrity": "sha512-VKXSCQx5D8S04ej+Dqsr1CzYvvWgf20jIw2D+YhQCrIlr2UZGaDds23Y0xg75/skOxpLCRpUZvk/1EAVkGoDOw==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz", + "integrity": "sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz", + "integrity": "sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "node_modules/@babel/plugin-proposal-async-generator-functions": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz", + "integrity": "sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-class-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz", + "integrity": "sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-class-static-block": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.16.7.tgz", + "integrity": "sha512-dgqJJrcZoG/4CkMopzhPJjGxsIe9A8RlkQLnL/Vhhx8AA9ZuaRwGSlscSh42hazc7WSrya/IK7mTeoF0DP9tEw==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "node_modules/@babel/plugin-proposal-dynamic-import": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", + "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-export-namespace-from": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz", + "integrity": "sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-json-strings": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz", + "integrity": "sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz", + "integrity": "sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz", + "integrity": "sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-numeric-separator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", + "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-object-rest-spread": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.16.7.tgz", + "integrity": "sha512-3O0Y4+dw94HA86qSg9IHfyPktgR7q3gpNVAeiKQd+8jBKFaU5NQS1Yatgo4wY+UFNuLjvxcSmzcsHqrhgTyBUA==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.16.4", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-optional-catch-binding": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", + "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz", + "integrity": "sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-methods": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz", + "integrity": "sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.16.10", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz", + "integrity": "sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-unicode-property-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz", + "integrity": "sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz", + "integrity": "sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz", + "integrity": "sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", + "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz", + "integrity": "sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-classes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz", + "integrity": "sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz", + "integrity": "sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.16.7.tgz", + "integrity": "sha512-VqAwhTHBnu5xBVDCvrvqJbtLUa++qZaWC0Fgr2mqokBlulZARGyIvZDoqbPlPaKImQ9dKAcCzbv+ul//uqu70A==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", + "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz", + "integrity": "sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", + "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "dev": true, + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz", + "integrity": "sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", + "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz", + "integrity": "sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", + "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz", + "integrity": "sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz", + "integrity": "sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.7.tgz", + "integrity": "sha512-DuK5E3k+QQmnOqBR9UkusByy5WZWGRxfzV529s9nPra1GE7olmxfqO2FHobEOYSPIjPBTr4p66YDcjQnt8cBmw==", + "dev": true, + "dependencies": { + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz", + "integrity": "sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz", + "integrity": "sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-new-target": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz", + "integrity": "sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-super": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", + "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz", + "integrity": "sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-property-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", + "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-regenerator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.7.tgz", + "integrity": "sha512-mF7jOgGYCkSJagJ6XCujSQg+6xC1M77/03K2oBmVJWoFGNUtnVJO4WHKJk3dnPC8HCcj4xBQP1Egm8DWh3Pb3Q==", + "dev": true, + "dependencies": { + "regenerator-transform": "^0.14.2" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz", + "integrity": "sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.17.0.tgz", + "integrity": "sha512-fr7zPWnKXNc1xoHfrIU9mN/4XKX4VLZ45Q+oMhfsYIaHvg7mHgmhfOy/ckRWqDK7XF3QDigRpkh5DKq6+clE8A==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", + "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-spread": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz", + "integrity": "sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", + "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz", + "integrity": "sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz", + "integrity": "sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", + "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", + "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.11.tgz", + "integrity": "sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.16.8", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-async-generator-functions": "^7.16.8", + "@babel/plugin-proposal-class-properties": "^7.16.7", + "@babel/plugin-proposal-class-static-block": "^7.16.7", + "@babel/plugin-proposal-dynamic-import": "^7.16.7", + "@babel/plugin-proposal-export-namespace-from": "^7.16.7", + "@babel/plugin-proposal-json-strings": "^7.16.7", + "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", + "@babel/plugin-proposal-numeric-separator": "^7.16.7", + "@babel/plugin-proposal-object-rest-spread": "^7.16.7", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", + "@babel/plugin-proposal-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-private-methods": "^7.16.11", + "@babel/plugin-proposal-private-property-in-object": "^7.16.7", + "@babel/plugin-proposal-unicode-property-regex": "^7.16.7", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.16.7", + "@babel/plugin-transform-async-to-generator": "^7.16.8", + "@babel/plugin-transform-block-scoped-functions": "^7.16.7", + "@babel/plugin-transform-block-scoping": "^7.16.7", + "@babel/plugin-transform-classes": "^7.16.7", + "@babel/plugin-transform-computed-properties": "^7.16.7", + "@babel/plugin-transform-destructuring": "^7.16.7", + "@babel/plugin-transform-dotall-regex": "^7.16.7", + "@babel/plugin-transform-duplicate-keys": "^7.16.7", + "@babel/plugin-transform-exponentiation-operator": "^7.16.7", + "@babel/plugin-transform-for-of": "^7.16.7", + "@babel/plugin-transform-function-name": "^7.16.7", + "@babel/plugin-transform-literals": "^7.16.7", + "@babel/plugin-transform-member-expression-literals": "^7.16.7", + "@babel/plugin-transform-modules-amd": "^7.16.7", + "@babel/plugin-transform-modules-commonjs": "^7.16.8", + "@babel/plugin-transform-modules-systemjs": "^7.16.7", + "@babel/plugin-transform-modules-umd": "^7.16.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.8", + "@babel/plugin-transform-new-target": "^7.16.7", + "@babel/plugin-transform-object-super": "^7.16.7", + "@babel/plugin-transform-parameters": "^7.16.7", + "@babel/plugin-transform-property-literals": "^7.16.7", + "@babel/plugin-transform-regenerator": "^7.16.7", + "@babel/plugin-transform-reserved-words": "^7.16.7", + "@babel/plugin-transform-shorthand-properties": "^7.16.7", + "@babel/plugin-transform-spread": "^7.16.7", + "@babel/plugin-transform-sticky-regex": "^7.16.7", + "@babel/plugin-transform-template-literals": "^7.16.7", + "@babel/plugin-transform-typeof-symbol": "^7.16.7", + "@babel/plugin-transform-unicode-escapes": "^7.16.7", + "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.16.8", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.20.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.2.tgz", + "integrity": "sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==", + "dev": true, + "dependencies": { + "regenerator-runtime": "^0.13.4" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/runtime/node_modules/regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true + }, + "node_modules/@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.0.tgz", + "integrity": "sha512-fpFIXvqD6kC7c7PUNnZ0Z8cQXlarCLtCUpt2S1Dx7PjoRtCFffvOkHHSom+m5HIxMZn5bIBVb71lhabcmjEsqg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.0", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.17.0", + "@babel/types": "^7.17.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", + "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dev": true, + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz", + "integrity": "sha512-ws57AidsDvREKrZKYffXddNkyaF14iHNHm8VQnZH6t99E8gczjNN0GpvcGny0imC80yQ0tHz1xVUKk/KFQSUyA==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@fonoster/agents": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/agents/-/agents-0.2.43.tgz", + "integrity": "sha512-x3E7Uj9Uox0y3GbLvvc4ezmwkO4RS8GuWFTm4WgcfpmCy785RfCgEmrkwq3dHZbMaS6rV/Lnq/RgeWPu3VijVg==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0" + }, + "bin": { + "healthcheck_agents": "dist/service/healthcheck.js", + "run_agents": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", + "dev": true, + "dependencies": { + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + }, + "bin": { + "healthcheck_auth": "dist/service/healthcheck.js", + "run_auth": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/callmanager": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/callmanager/-/callmanager-0.2.43.tgz", + "integrity": "sha512-15aRThWgYymcbyT39dMt8aS/kHuvyJYqeFGimnydiB3lIb0hgjApCccb+ljfugJzceZ6ETvWkmrJgCn1/zXkng==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "ari-client": "^2.2.0", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + }, + "bin": { + "healthcheck_callmanager": "dist/service/healthcheck.js", + "run_callmanager": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "dev": true, + "dependencies": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "node_modules/@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "dev": true, + "dependencies": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "node_modules/@fonoster/core": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/core/-/core-0.2.43.tgz", + "integrity": "sha512-ceCtPPXKkBleJyqY4b9Olx9VUpx/Ib6K/HvLza2M4yMJo1MVbAEAD5bwg6l8z0XmtcNLWzQAizXKFA7v+TLYyg==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + } + }, + "node_modules/@fonoster/domains": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/domains/-/domains-0.2.43.tgz", + "integrity": "sha512-RPeg3ICz7wnFYS9hHkwdGYMGGSwlW0i8SXioIpVYZElKZ3epdPl7oiS7f2ZRfYDrdTT2gh2aAd7iQH5NF6taBQ==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "is-valid-domain": "^0.1.2" + }, + "bin": { + "healthcheck_domains": "dist/service/healthcheck.js", + "run_domains": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==", + "dev": true + }, + "node_modules/@fonoster/funcs": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/funcs/-/funcs-0.2.43.tgz", + "integrity": "sha512-pv/ikjFW9X5ifXCs1NRxJa3Uz4+dm9zNO/p4RKyTsSKKauPTeIno/H/G95qizNnlntfvnHyUddcTl+Ma5Cwlcg==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@fonoster/storage": "^0.2.43", + "@grpc/grpc-js": "^1.3.6", + "btoa": "^1.2.1", + "container-image-builder": "^3.2.0", + "cron-validate": "^1.4.3", + "cross-spawn": "^7.0.3", + "dockerode": "^3.3.0", + "fs-extra": "^8.1.0", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "ndjson": "^2.0.0", + "openfaas-client": "^0.0.2", + "tar": "^6.1.0", + "walk": "^2.3.14" + }, + "bin": { + "healthcheck_funcs": "dist/service/healthcheck.js", + "run_funcs": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "dev": true, + "dependencies": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "node_modules/@fonoster/numbers": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/numbers/-/numbers-0.2.43.tgz", + "integrity": "sha512-eKm4vm9eQcLx6exCgrr7SS0pv0xV2kZt32RXD64cV0jPalZYLlZpMdhwIUTxIJ/Ab3Jc4Midkm2KQ76LuKIPOg==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0" + }, + "bin": { + "healthcheck_numbers": "dist/service/healthcheck.js", + "run_numbers": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/projects": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/projects/-/projects-0.2.43.tgz", + "integrity": "sha512-8TlBdFJunx0wy3VquCYwSoBTWkNMLwgBxt37wIXa6gWL8GnqOH/ABf2mGHGY44ImgfkOtrkSN8Elb5vEAtW0mw==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "objectid": "^3.2.1" + }, + "bin": { + "healthcheck_projects": "dist/service/healthcheck.js", + "run_projects": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/providers": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/providers/-/providers-0.2.43.tgz", + "integrity": "sha512-zK+nxTx6joKCeuZROSddNtAdvO3bdXzaQE52fDu+rqpsnCgikKfNxut+/9421OWsUVqfkWhm072+g0sSG7AjIw==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "is-valid-host": "^1.0.1" + }, + "bin": { + "healthcheck_providers": "dist/service/healthcheck.js", + "run_providers": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/secrets": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/secrets/-/secrets-0.2.43.tgz", + "integrity": "sha512-k9xkL90VilT1+M7byfrrgRuc5pYZroqwB4bEZGnadrK8oh8iuOknAMBweRnKyVJ7V6rmlkJbtTjZ7GTzVZ/K4g==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "grpc-promise": "^1.4.0", + "node-vault": "^0.9.21" + }, + "bin": { + "healthcheck_secrets": "dist/service/healthcheck.js", + "init": "dist/utils/init.js", + "run_secrets": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/storage": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/storage/-/storage-0.2.43.tgz", + "integrity": "sha512-oA414q6S9c+Ravr/aekNZ0AybHt8yo0IVmuPymQV8jefDqvrBh4X279m4DldeAaeCiRgeA2HIMZpSgOX43lWjg==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "minio": "^7.0.18", + "objectid": "^3.2.1", + "sync": "^0.2.5", + "tar": "^6.1.0", + "walk": "^2.3.14" + }, + "bin": { + "healthcheck_storage": "dist/service/healthcheck.js", + "run_storage": "dist/service/runner.js" + } + }, + "node_modules/@fonoster/users": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/users/-/users-0.2.43.tgz", + "integrity": "sha512-FHuHAf2qku9EuplNU/bXw/UDmtyTQt4yT1ZQyZtwqML0mm3f8fZD8pDF9cDENHGi9zFDxK2EeeW9yQvY2fgB0A==", + "dev": true, + "dependencies": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "bcrypt": "^5.0.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "objectid": "^3.2.1" + }, + "bin": { + "healthcheck_users": "dist/service/healthcheck.js", + "run_users": "dist/service/runner.js" + } + }, + "node_modules/@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "dev": true, + "dependencies": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dev": true, + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", + "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==", + "dev": true, + "peer": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", + "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==", + "dev": true, + "peer": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", + "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", + "dev": true, + "peer": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@mapbox/node-pre-gyp": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.8.tgz", + "integrity": "sha512-CMGKi28CF+qlbXh26hDe6NxCd7amqeAzEqnS6IHeO6LoaKyM/n+Xw3HT1COdq8cuioOdlKdqn/hCmqPUOMOywg==", + "dev": true, + "dependencies": { + "detect-libc": "^1.0.3", + "https-proxy-agent": "^5.0.0", + "make-dir": "^3.1.0", + "node-fetch": "^2.6.5", + "nopt": "^5.0.0", + "npmlog": "^5.0.1", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.11" + }, + "bin": { + "node-pre-gyp": "bin/node-pre-gyp" + } + }, + "node_modules/@mapbox/node-pre-gyp/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@mapbox/node-pre-gyp/node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@mapbox/node-pre-gyp/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/@nestjs/common": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.6.tgz", + "integrity": "sha512-flLYSXunxcKyjbYddrhwbc49uE705MxBt85rS3mHyhDbAIPSGGeZEqME44YyAzCg1NTfJSNe7ztmOce5kNkb9A==", + "dev": true, + "dependencies": { + "axios": "0.24.0", + "iterare": "1.2.1", + "tslib": "2.3.1", + "uuid": "8.3.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "cache-manager": "*", + "class-transformer": "*", + "class-validator": "*", + "reflect-metadata": "^0.1.12", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "cache-manager": { + "optional": true + }, + "class-transformer": { + "optional": true + }, + "class-validator": { + "optional": true + } + } + }, + "node_modules/@nestjs/core": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.6.tgz", + "integrity": "sha512-NwPcEIMmCsucs3QaDlQvkoU1FlFM2wm/WjaqLQhkSoIEmAR1gNtBo88f5io5cpMwCo1k5xYhqGlaSl6TfngwWQ==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@nuxtjs/opencollective": "0.3.2", + "fast-safe-stringify": "2.1.1", + "iterare": "1.2.1", + "object-hash": "2.2.0", + "path-to-regexp": "3.2.0", + "tslib": "2.3.1", + "uuid": "8.3.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "@nestjs/common": "^8.0.0", + "@nestjs/microservices": "^8.0.0", + "@nestjs/platform-express": "^8.0.0", + "@nestjs/websockets": "^8.0.0", + "reflect-metadata": "^0.1.12", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "@nestjs/microservices": { + "optional": true + }, + "@nestjs/platform-express": { + "optional": true + }, + "@nestjs/websockets": { + "optional": true + } + } + }, + "node_modules/@nuxtjs/opencollective": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", + "integrity": "sha512-um0xL3fO7Mf4fDxcqx9KryrB7zgRM5JSlvGN5AGkP6JLM5XEKyjeAiPbNxdXVXQ16isuAhYpvP88NgL2BGd6aA==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "consola": "^2.15.0", + "node-fetch": "^2.6.1" + }, + "bin": { + "opencollective": "bin/opencollective.js" + }, + "engines": { + "node": ">=8.0.0", + "npm": ">=5.0.0" + } + }, + "node_modules/@nuxtjs/opencollective/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@nuxtjs/opencollective/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@nuxtjs/opencollective/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@nuxtjs/opencollective/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@nuxtjs/opencollective/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@nuxtjs/opencollective/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@openapitools/openapi-generator-cli": { + "version": "2.4.26", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.26.tgz", + "integrity": "sha512-O42H9q1HWGoIpcpMaUu318b6bmOgcjP3MieHwOrFdoG3KyttceBGlbLf9Kbf7WM91WSNCDXum7cnEKASuoGjAg==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@nestjs/common": "8.2.6", + "@nestjs/core": "8.2.6", + "@nuxtjs/opencollective": "0.3.2", + "chalk": "4.1.2", + "commander": "8.3.0", + "compare-versions": "3.6.0", + "concurrently": "6.5.1", + "console.table": "0.10.0", + "fs-extra": "10.0.0", + "glob": "7.1.6", + "inquirer": "8.2.0", + "lodash": "4.17.21", + "reflect-metadata": "0.1.13", + "rxjs": "7.5.2", + "tslib": "2.0.3" + }, + "bin": { + "openapi-generator-cli": "main.js" + }, + "engines": { + "node": ">=10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/openapi_generator" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/fs-extra": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", + "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/tslib": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", + "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==", + "dev": true + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=", + "dev": true + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "dev": true + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", + "dev": true + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=", + "dev": true + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dev": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=", + "dev": true + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=", + "dev": true + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=", + "dev": true + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=", + "dev": true + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=", + "dev": true + }, + "node_modules/@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "dev": true, + "dependencies": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + }, + "peerDependencies": { + "@grpc/grpc-js": "^1.3.7" + } + }, + "node_modules/@types/eslint": { + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz", + "integrity": "sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA==", + "dev": true, + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", + "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", + "dev": true, + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "0.0.50", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz", + "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", + "dev": true + }, + "node_modules/@types/json-schema": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", + "dev": true + }, + "node_modules/@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/lodash": { + "version": "4.14.178", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.178.tgz", + "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==", + "dev": true + }, + "node_modules/@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==", + "dev": true + }, + "node_modules/@types/node": { + "version": "16.11.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.6.tgz", + "integrity": "sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==", + "dev": true + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", + "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "dev": true, + "dependencies": { + "@webassemblyjs/helper-numbers": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", + "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", + "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", + "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", + "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "dev": true, + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", + "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", + "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", + "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "dev": true, + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", + "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "dev": true, + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", + "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "dev": true + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", + "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/helper-wasm-section": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-opt": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "@webassemblyjs/wast-printer": "1.11.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", + "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", + "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", + "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", + "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webpack-cli/configtest": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.1.tgz", + "integrity": "sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg==", + "dev": true, + "peerDependencies": { + "webpack": "4.x.x || 5.x.x", + "webpack-cli": "4.x.x" + } + }, + "node_modules/@webpack-cli/info": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.1.tgz", + "integrity": "sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA==", + "dev": true, + "dependencies": { + "envinfo": "^7.7.3" + }, + "peerDependencies": { + "webpack-cli": "4.x.x" + } + }, + "node_modules/@webpack-cli/serve": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.1.tgz", + "integrity": "sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw==", + "dev": true, + "peerDependencies": { + "webpack-cli": "4.x.x" + }, + "peerDependenciesMeta": { + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true + }, + "node_modules/@zxing/text-encoding": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", + "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", + "dev": true, + "optional": true + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dev": true, + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "dev": true, + "dependencies": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/acme-client/node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, + "node_modules/acorn": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-assertions": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", + "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "dev": true, + "peerDependencies": { + "acorn": "^8" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/aproba": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", + "dev": true + }, + "node_modules/are-we-there-yet": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", + "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", + "dev": true, + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ari-client": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ari-client/-/ari-client-2.2.0.tgz", + "integrity": "sha512-DPz+vC/dZyvy5HqBrEzYpNH6X2hDb+AIyRith6f8IVLHyveRWaHPO0S7rF1Q91qry/U8G+504KUZfeaBPwzIVQ==", + "dev": true, + "dependencies": { + "backoff-func": "^0.1.2", + "bluebird": "^3.5.2", + "lodash": "^4.17.10", + "request": "^2.34.0", + "swagger-client": "2.0.26", + "uuid": "^3.0.0", + "ws": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ari-client/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "dev": true, + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "node_modules/array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dev": true, + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "dev": true, + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/asn1.js/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", + "dev": true + }, + "node_modules/async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", + "dev": true + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true, + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "node_modules/ax": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/ax/-/ax-0.1.8.tgz", + "integrity": "sha1-J8qac/pMeKR41i2CfK2GCiT91Jc=", + "dev": true + }, + "node_modules/axios": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", + "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.14.4" + } + }, + "node_modules/babel": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel/-/babel-6.23.0.tgz", + "integrity": "sha1-0NHn2APpdHZb7qMjLU4VPA77kPQ=", + "deprecated": "In 6.x, the babel package has been deprecated in favor of babel-cli. Check https://opencollective.com/babel to support the Babel maintainers", + "dev": true, + "bin": { + "babel": "lib/cli.js", + "babel-external-helpers": "lib/cli.js", + "babel-node": "lib/cli.js" + } + }, + "node_modules/babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "dependencies": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "node_modules/babel-code-frame/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/babel-code-frame/node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/babel-code-frame/node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/babel-code-frame/node_modules/js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "node_modules/babel-code-frame/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/babel-code-frame/node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", + "dev": true, + "dependencies": { + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" + } + }, + "node_modules/babel-core/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/babel-core/node_modules/json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/babel-core/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "dependencies": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } + }, + "node_modules/babel-generator/node_modules/jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/babel-loader": { + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.3.tgz", + "integrity": "sha512-n4Zeta8NC3QAsuyiizu0GkmRcQ6clkV9WFUnUf1iXP//IeSKbWjofW3UHyZVwlOB4y039YQKefawyTn64Zwbuw==", + "dev": true, + "dependencies": { + "find-cache-dir": "^3.3.1", + "loader-utils": "^1.4.0", + "make-dir": "^3.1.0", + "schema-utils": "^2.6.5" + }, + "engines": { + "node": ">= 8.9" + }, + "peerDependencies": { + "@babel/core": "^7.0.0", + "webpack": ">=2" + } + }, + "node_modules/babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "dev": true, + "dependencies": { + "object.assign": "^4.1.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", + "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.13.11", + "@babel/helper-define-polyfill-provider": "^0.3.1", + "semver": "^6.1.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", + "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.3.1", + "core-js-compat": "^3.21.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", + "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "dev": true, + "dependencies": { + "babel-core": "^6.26.0", + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "home-or-tmp": "^2.0.0", + "lodash": "^4.17.4", + "mkdirp": "^0.5.1", + "source-map-support": "^0.4.15" + } + }, + "node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "node_modules/babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "dependencies": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + } + }, + "node_modules/babel-traverse/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/babel-traverse/node_modules/globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/babel-traverse/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-types/node_modules/to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true, + "bin": { + "babylon": "bin/babylon.js" + } + }, + "node_modules/backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, + "node_modules/backoff-func": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/backoff-func/-/backoff-func-0.1.2.tgz", + "integrity": "sha1-VMP64rreWHI0utXbh+NBLJ+ph4M=", + "dev": true + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/basic-auth": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-1.1.0.tgz", + "integrity": "sha1-RSIe5Cn37h5QNb4/UVM/HN/SmIQ=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/bcrypt": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/bcrypt/-/bcrypt-5.0.1.tgz", + "integrity": "sha512-9BTgmrhZM2t1bNuDtrtIMVSmmxZBrJ71n8Wg+YgdjHuIWYF7SjjmCPZFB+/5i/o/PIeRpwVJR3P+NrpIItUjqw==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@mapbox/node-pre-gyp": "^1.0.0", + "node-addon-api": "^3.1.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/bignumber.js": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", + "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/block-stream2": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", + "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", + "dev": true, + "dependencies": { + "readable-stream": "^3.4.0" + } + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, + "node_modules/bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", + "dev": true + }, + "node_modules/body-parser": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "dev": true, + "dependencies": { + "bytes": "3.1.1", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/braces/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/braces/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, + "node_modules/browser-or-node": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-1.3.0.tgz", + "integrity": "sha512-0F2z/VSnLbmEeBcUrSuDH5l0HxTXdQQzLjkmBR4cYfvg1zJrKSlmIZFqyFR8oX0NrwPhy3c3HQ6i3OxMbew4Tg==", + "dev": true + }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "dev": true, + "dependencies": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "node_modules/browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "dev": true, + "dependencies": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "node_modules/browserify-sign/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/browserslist": { + "version": "4.19.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz", + "integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==", + "dev": true, + "dependencies": { + "caniuse-lite": "^1.0.30001286", + "electron-to-chromium": "^1.4.17", + "escalade": "^3.1.1", + "node-releases": "^2.0.1", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + } + }, + "node_modules/bson": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", + "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", + "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", + "dev": true, + "hasInstallScript": true, + "engines": { + "node": ">=0.6.19" + } + }, + "node_modules/btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "dev": true, + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=", + "dev": true + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "node_modules/bytes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001312", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz", + "integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ==", + "dev": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + } + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "node_modules/chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dev": true, + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true, + "engines": { + "node": ">=6.0" + } + }, + "node_modules/cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", + "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/cluster-key-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", + "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "dev": true, + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "dev": true, + "bin": { + "color-support": "bin.js" + } + }, + "node_modules/colorette": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", + "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", + "dev": true + }, + "node_modules/colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "dev": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dev": true, + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true, + "engines": { + "node": ">= 12" + } + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "node_modules/compare-versions": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", + "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==", + "dev": true + }, + "node_modules/component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/concurrently": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", + "integrity": "sha512-FlSwNpGjWQfRwPLXvJ/OgysbBxPkWpiVjy1042b0U7on7S7qwwMIILRj7WTN1mTgqa582bG6NFuScOoh6Zgdag==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "date-fns": "^2.16.1", + "lodash": "^4.17.21", + "rxjs": "^6.6.3", + "spawn-command": "^0.0.2-1", + "supports-color": "^8.1.0", + "tree-kill": "^1.2.2", + "yargs": "^16.2.0" + }, + "bin": { + "concurrently": "bin/concurrently.js" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/concurrently/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/concurrently/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/concurrently/node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/concurrently/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/concurrently/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/concurrently/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/concurrently/node_modules/rxjs": { + "version": "6.6.7", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", + "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", + "dev": true, + "dependencies": { + "tslib": "^1.9.0" + }, + "engines": { + "npm": ">=2.0.0" + } + }, + "node_modules/concurrently/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/concurrently/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/consola": { + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", + "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==", + "dev": true + }, + "node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "node_modules/console.table": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/console.table/-/console.table-0.10.0.tgz", + "integrity": "sha1-CRcCVYiHW+/XDPLv9L7yxuLXXQQ=", + "dev": true, + "dependencies": { + "easy-table": "1.1.0" + }, + "engines": { + "node": "> 0.10" + } + }, + "node_modules/container-image-builder": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/container-image-builder/-/container-image-builder-3.2.0.tgz", + "integrity": "sha512-HHo1h+yqesR/2jqWsebzljuQAUuDCkyrtOUgAtJyvW1hZedzILPWnDiCFM8t5UqjwkFwta9RMrb8p3e4V8s6NA==", + "dev": true, + "dependencies": { + "google-auth-library": "^5.1.0", + "micromatch": "^3.1.10", + "p-retry": "^3.0.1", + "request": "^2.88.0", + "tar": "^4.4.8", + "walkdir": "^0.4.0" + } + }, + "node_modules/container-image-builder/node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true + }, + "node_modules/container-image-builder/node_modules/fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "dev": true, + "dependencies": { + "minipass": "^2.6.0" + } + }, + "node_modules/container-image-builder/node_modules/minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "node_modules/container-image-builder/node_modules/minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "dev": true, + "dependencies": { + "minipass": "^2.9.0" + } + }, + "node_modules/container-image-builder/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/container-image-builder/node_modules/tar": { + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", + "dev": true, + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-disposition/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "node_modules/cookiejar": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-1.3.1.tgz", + "integrity": "sha1-wEsEj2iPgBYjrNkM1YSMK/iJGhc=", + "dev": true + }, + "node_modules/copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "deprecated": "core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.", + "dev": true, + "hasInstallScript": true + }, + "node_modules/core-js-compat": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.21.0.tgz", + "integrity": "sha512-OSXseNPSK2OPJa6GdtkMz/XxeXx8/CJvfhQWTqd6neuUraujcL4jVsjkLQz1OWnax8xVQJnRPe0V2jqNWORA+A==", + "dev": true, + "dependencies": { + "browserslist": "^4.19.1", + "semver": "7.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-js-compat/node_modules/semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "node_modules/corser": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz", + "integrity": "sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c=", + "dev": true, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/cpu-features": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.2.tgz", + "integrity": "sha512-/2yieBqvMcRj8McNzkycjW2v3OIUOibBfd2dLEJ0nWts8NobAxwiyw9phVNS6oDL8x8tz9F7uNVFEVpJncQpeA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "dependencies": { + "nan": "^2.14.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "node_modules/create-ecdh/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/cron-validate": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/cron-validate/-/cron-validate-1.4.3.tgz", + "integrity": "sha512-N+qKw019oQBEPIP5Qwi8Z5XelQ00ThN6Maahwv+9UGu2u/b/MPb35zngMQI0T8pBoNiBrIXGlhvsmspNSYae/w==", + "dev": true, + "dependencies": { + "yup": "0.32.9" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dev": true, + "dependencies": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + }, + "engines": { + "node": "*" + } + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/date-fns": { + "version": "2.28.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", + "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==", + "dev": true, + "engines": { + "node": ">=0.11" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + } + }, + "node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "dev": true, + "dependencies": { + "clone": "^1.0.2" + } + }, + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "node_modules/denque": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "node_modules/detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "dependencies": { + "repeating": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/diffie-hellman/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/docker-modem": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.3.tgz", + "integrity": "sha512-Tgkn2a+yiNP9FoZgMa/D9Wk+D2Db///0KOyKSYZRJa8w4+DzKyzQMkczKSdR/adQ0x46BOpeNkoyEOKjPhCzjw==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "readable-stream": "^3.5.0", + "split-ca": "^1.0.1", + "ssh2": "^1.4.0" + }, + "engines": { + "node": ">= 8.0" + } + }, + "node_modules/dockerode": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.1.tgz", + "integrity": "sha512-AS2mr8Lp122aa5n6d99HkuTNdRV1wkkhHwBdcnY6V0+28D3DSYwhxAk85/mM9XwD3RMliTxyr63iuvn5ZblFYQ==", + "dev": true, + "dependencies": { + "docker-modem": "^3.0.0", + "tar-fs": "~2.0.1" + }, + "engines": { + "node": ">= 8.0" + } + }, + "node_modules/easy-table": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", + "integrity": "sha1-hvmrTBAvA3G3KXuSplHVgkvIy3M=", + "dev": true, + "optionalDependencies": { + "wcwidth": ">=1.0.1" + } + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ecstatic": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/ecstatic/-/ecstatic-3.3.2.tgz", + "integrity": "sha512-fLf9l1hnwrHI2xn9mEDT7KIi22UDqA2jaCwyCbSUJh9a1V+LEUSL/JO/6TIz/QyuBURWUHrFL5Kg2TtO1bkkog==", + "deprecated": "This package is unmaintained and deprecated. See the GH Issue 259.", + "dev": true, + "dependencies": { + "he": "^1.1.1", + "mime": "^1.6.0", + "minimist": "^1.1.0", + "url-join": "^2.0.5" + }, + "bin": { + "ecstatic": "lib/ecstatic.js" + } + }, + "node_modules/ecstatic/node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "node_modules/electron-to-chromium": { + "version": "1.4.71", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.71.tgz", + "integrity": "sha512-Hk61vXXKRb2cd3znPE9F+2pLWdIOmP7GjiTj45y6L3W/lO+hSnUSUhq+6lEaERWBdZOHbk2s3YV5c9xVl3boVw==", + "dev": true + }, + "node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", + "dev": true + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.0.tgz", + "integrity": "sha512-weDYmzbBygL7HzGGS26M3hGQx68vehdEg6VUmqSOaFzXExFqlnKuSvsEJCVGQHScS8CQMbrAqftT+AzzHNt/YA==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/envinfo": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", + "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "dev": true, + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-module-lexer": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", + "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "dev": true + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "dev": true + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==", + "dev": true + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/expand-brackets/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/express": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", + "dev": true, + "dependencies": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "node_modules/express/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true, + "engines": [ + "node >=0.6.0" + ] + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-safe-stringify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", + "dev": true + }, + "node_modules/fast-text-encoding": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", + "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==", + "dev": true + }, + "node_modules/fast-xml-parser": { + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.21.1.tgz", + "integrity": "sha512-FTFVjYoBOZTJekiUsawGsSYV9QL0A+zDYCRj7y34IO6Jg+2IMYEtQa+bbictpdpV8dHxXywqU7C0gRDEOFtBFg==", + "dev": true, + "dependencies": { + "strnum": "^1.0.4" + }, + "bin": { + "xml2js": "cli.js" + }, + "funding": { + "type": "paypal", + "url": "https://paypal.me/naturalintelligence" + } + }, + "node_modules/fastest-levenshtein": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", + "dev": true + }, + "node_modules/fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==", + "dev": true + }, + "node_modules/fibers": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "detect-libc": "^1.0.3" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fill-range/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fill-range/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "dev": true, + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "dev": true, + "dependencies": { + "msgpack-lite": "*" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", + "dev": true + }, + "node_modules/follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", + "dev": true + }, + "node_modules/foreachasync": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", + "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=", + "dev": true + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true + }, + "node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/gauge": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", + "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", + "dev": true, + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", + "signal-exit": "^3.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/gaxios": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", + "integrity": "sha512-US8UMj8C5pRnao3Zykc4AAVr+cffoNKRTg9Rsf2GiuZCW69vgJj38VK2PzlPuQU73FZ/nTk9/Av6/JGcE1N9vA==", + "dev": true, + "dependencies": { + "abort-controller": "^3.0.0", + "extend": "^3.0.2", + "https-proxy-agent": "^5.0.0", + "is-stream": "^2.0.0", + "node-fetch": "^2.3.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/gcp-metadata": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-3.5.0.tgz", + "integrity": "sha512-ZQf+DLZ5aKcRpLzYUyBS3yo3N0JSa82lNDO8rj3nMSlovLcz2riKFBsYgDzeXcv75oo5eqB2lx+B14UvPoCRnA==", + "dev": true, + "dependencies": { + "gaxios": "^2.1.0", + "json-bigint": "^0.3.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "peer": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/google-auth-library": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.10.1.tgz", + "integrity": "sha512-rOlaok5vlpV9rSiUu5EpR0vVpc+PhN62oF4RyX/6++DG1VsaulAFEMlDYBLjJDDPI6OcNOCGAKy9UVB/3NIDXg==", + "dev": true, + "dependencies": { + "arrify": "^2.0.0", + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "fast-text-encoding": "^1.0.0", + "gaxios": "^2.1.0", + "gcp-metadata": "^3.4.0", + "gtoken": "^4.1.0", + "jws": "^4.0.0", + "lru-cache": "^5.0.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/google-p12-pem": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.5.tgz", + "integrity": "sha512-7RLkxwSsMsYh9wQ5Vb2zRtkAHvqPvfoMGag+nugl1noYO7gf0844Yr9TIFA5NEBMAeVt2Z+Imu7CQMp3oNatzQ==", + "dev": true, + "dependencies": { + "node-forge": "^0.10.0" + }, + "bin": { + "gp12-pem": "build/src/bin/gp12-pem.js" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/google-p12-pem/node_modules/node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/google-protobuf": { + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==", + "dev": true + }, + "node_modules/graceful-fs": { + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", + "dev": true + }, + "node_modules/grpc-boom": { + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==", + "dev": true + }, + "node_modules/grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==", + "dev": true + }, + "node_modules/grpc-ts-health-check": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", + "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", + "dev": true, + "dependencies": { + "google-protobuf": "^3.12.2", + "grpc-boom": "^1.0.28" + } + }, + "node_modules/gtoken": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-4.1.4.tgz", + "integrity": "sha512-VxirzD0SWoFUo5p8RDP8Jt2AGyOmyYcT/pOUgDKJCK+iSw0TMqwrVfY37RXTNmoKwrzmDHSk0GMT9FsgVmnVSA==", + "dev": true, + "dependencies": { + "gaxios": "^2.1.0", + "google-p12-pem": "^2.0.0", + "jws": "^4.0.0", + "mime": "^2.2.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "dev": true, + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "node_modules/has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/hash-base/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "dev": true, + "dependencies": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dev": true, + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/http-server": { + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/http-server/-/http-server-0.12.3.tgz", + "integrity": "sha512-be0dKG6pni92bRjq0kvExtj/NrrAd28/8fCXkaI/4piTwQMSDSLMhWyW0NI1V+DBI3aa1HMlQu46/HjVLfmugA==", + "dev": true, + "dependencies": { + "basic-auth": "^1.0.3", + "colors": "^1.4.0", + "corser": "^2.0.1", + "ecstatic": "^3.3.2", + "http-proxy": "^1.18.0", + "minimist": "^1.2.5", + "opener": "^1.5.1", + "portfinder": "^1.0.25", + "secure-compare": "3.0.1", + "union": "~0.5.0" + }, + "bin": { + "hs": "bin/http-server", + "http-server": "bin/http-server" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dev": true, + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/import-local": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", + "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "dev": true, + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/inquirer": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.0.tgz", + "integrity": "sha512-0crLweprevJ02tTuA6ThpoAERAGyVILC4sS74uib58Xf/zSr1/ZWtmm7D5CI+bSQEaA04f0K7idaHpQbSWgiVQ==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.2.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/inquirer/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/inquirer/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/inquirer/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/inquirer/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/inquirer/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/inquirer/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=", + "dev": true + }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/interpret": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "node_modules/ioredis": { + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "dev": true, + "dependencies": { + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.1", + "denque": "^1.1.0", + "lodash.defaults": "^4.2.0", + "lodash.flatten": "^4.4.0", + "lodash.isarguments": "^3.1.0", + "p-map": "^2.1.0", + "redis-commands": "1.7.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + } + }, + "node_modules/ipaddr.js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "dev": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", + "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "dev": true, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", + "dev": true + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", + "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-valid-domain": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.1.5.tgz", + "integrity": "sha512-ilzfGo1kXzoVpSLplJWOexoiuAc6mRK+vPlNAeEPVJ29RagETpCz0izg6CZfY72DCuA+PCrEAEJeaecRLMNq5Q==", + "dev": true, + "dependencies": { + "punycode": "^2.1.1" + } + }, + "node_modules/is-valid-host": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-valid-host/-/is-valid-host-1.0.1.tgz", + "integrity": "sha512-LPjR7ypIMG/MLCh/dkz4lqQw4KZWFD2AeHNSbY4Y9pGp2rnWMMWqBY/iJLMwoVbOIG2r2y7L/wS9pHhr0gYRrg==", + "dev": true + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "node_modules/iterare": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", + "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-bigint": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.1.tgz", + "integrity": "sha512-DGWnSzmusIreWlEupsUelHrhwmPPE+FiQvg+drKfk2p+bdEYa5mp4PJ8JsCWqae0M2jQNb0HPvnwvf1qOTThzQ==", + "dev": true, + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-stream/-/json-stream-1.0.0.tgz", + "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=", + "dev": true + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "dev": true, + "peer": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "dev": true, + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=4", + "npm": ">=1.4.28" + } + }, + "node_modules/jsonwebtoken/node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dev": true, + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jsonwebtoken/node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dev": true, + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jsonwebtoken/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dev": true, + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", + "dev": true, + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "dev": true, + "dependencies": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", + "dev": true + }, + "node_modules/loader-runner": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", + "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==", + "dev": true, + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/loader-utils/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "dev": true + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", + "dev": true + }, + "node_modules/lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", + "dev": true + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=", + "dev": true + }, + "node_modules/lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=", + "dev": true + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=", + "dev": true + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=", + "dev": true + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=", + "dev": true + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", + "dev": true + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=", + "dev": true + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=", + "dev": true + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "dev": true, + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", + "dev": true + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dev": true, + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/miller-rabin/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "dev": true, + "dependencies": { + "mime-db": "1.51.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "node_modules/minimatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.1.tgz", + "integrity": "sha512-reLxBcKUPNBnc/sVtAbxgRVFSegoGeLaSjmphNhcwcolhYLRgtJscn5mRl6YRZNQv40Y7P6JM2YhSIsbL9OB5A==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "node_modules/minio": { + "version": "7.0.26", + "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.26.tgz", + "integrity": "sha512-knutnEZZMIUB/Xln6psVDrqObFKXDcF9m4IfFIX+zgDHYg3AlcF88DY1wdgg7bUkf+uU8iHkzP2q5CXAhia73w==", + "dev": true, + "dependencies": { + "async": "^3.1.0", + "block-stream2": "^2.0.0", + "browser-or-node": "^1.3.0", + "crypto-browserify": "^3.12.0", + "es6-error": "^4.1.1", + "fast-xml-parser": "^3.17.5", + "ipaddr.js": "^2.0.1", + "json-stream": "^1.0.0", + "lodash": "^4.17.21", + "mime-types": "^2.1.14", + "mkdirp": "^0.5.1", + "querystring": "0.2.0", + "through2": "^3.0.1", + "web-encoding": "^1.1.5", + "xml": "^1.0.0", + "xml2js": "^0.4.15" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/minipass": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", + "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minizlib/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "dev": true + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "dev": true, + "dependencies": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + }, + "bin": { + "msgpack": "bin/msgpack" + } + }, + "node_modules/mustache": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-2.3.2.tgz", + "integrity": "sha512-KpMNwdQsYz3O/SBS1qJ/o3sqUJ5wSb8gb0pul8CO0S56b9Y2ALm8zCfsjPXsqGFfoNBkDwZuZIAjhsZI03gYVQ==", + "dev": true, + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "node_modules/nan": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", + "dev": true, + "optional": true + }, + "node_modules/nanoclone": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz", + "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==", + "dev": true + }, + "node_modules/nanoid": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==", + "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ndjson": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ndjson/-/ndjson-2.0.0.tgz", + "integrity": "sha512-nGl7LRGrzugTtaFcJMhLbpzJM6XdivmbkdlaGcrk/LXg2KL/YBC6z1g70xh0/al+oFuVFP8N8kiWRucmeEH/qQ==", + "dev": true, + "dependencies": { + "json-stringify-safe": "^5.0.1", + "minimist": "^1.2.5", + "readable-stream": "^3.6.0", + "split2": "^3.0.0", + "through2": "^4.0.0" + }, + "bin": { + "ndjson": "cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ndjson/node_modules/through2": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", + "dev": true, + "dependencies": { + "readable-stream": "3" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true + }, + "node_modules/network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", + "dev": true, + "bin": { + "network-address": "cli.js" + } + }, + "node_modules/node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "dev": true + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==", + "dev": true, + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-releases": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.2.tgz", + "integrity": "sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==", + "dev": true + }, + "node_modules/node-vault": { + "version": "0.9.22", + "resolved": "https://registry.npmjs.org/node-vault/-/node-vault-0.9.22.tgz", + "integrity": "sha512-/IR+YvINFhCzxJA5x/KHUDymJerFaeqvPUE2zwceRig8yEIA41qfVKusmO6bqRGFkr/2f6CaBVp7YfabzQyteg==", + "dev": true, + "dependencies": { + "debug": "3.1.0", + "mustache": "^2.2.1", + "request": "2.88.0", + "request-promise-native": "1.0.7", + "tv4": "^1.2.7" + } + }, + "node_modules/node-vault/node_modules/debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/node-vault/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/node-vault/node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "node_modules/node-vault/node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/node-vault/node_modules/request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dev": true, + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/node-vault/node_modules/tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dev": true, + "dependencies": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/node-vault/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "dev": true, + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/nopt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "dev": true, + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npmlog": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", + "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", + "dev": true, + "dependencies": { + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" + } + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", + "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/objectid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", + "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", + "dev": true, + "dependencies": { + "bson": "^0.1.9" + } + }, + "node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dev": true, + "dependencies": { + "fn.name": "1.x.x" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/opener": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", + "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", + "dev": true, + "bin": { + "opener": "bin/opener-bin.js" + } + }, + "node_modules/openfaas-client": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/openfaas-client/-/openfaas-client-0.0.2.tgz", + "integrity": "sha512-Dv3sBrbRNmdh9Tjsam6E00Wyh7Ghspv3i9tv1kfRHiVnZV0bmH5rx6zJ8i4A8jCfYHuBdHONffhm9/xh/KSYBQ==", + "dev": true, + "dependencies": { + "bluebird": "^3.7.2", + "request": "^2.88.2", + "typescript": "^4.2.4" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dev": true, + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ora/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/ora/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ora/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/ora/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ora/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/p-retry": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-3.0.1.tgz", + "integrity": "sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w==", + "dev": true, + "dependencies": { + "retry": "^0.12.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "dev": true, + "dependencies": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-to-regexp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", + "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==", + "dev": true + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "dev": true, + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "node_modules/phone": { + "version": "2.4.22", + "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", + "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==", + "dev": true, + "engines": { + "node": ">=6.10.0" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/portfinder": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", + "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", + "dev": true, + "dependencies": { + "async": "^2.6.2", + "debug": "^3.1.1", + "mkdirp": "^0.5.5" + }, + "engines": { + "node": ">= 0.12.0" + } + }, + "node_modules/portfinder/node_modules/async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dev": true, + "dependencies": { + "lodash": "^4.17.14" + } + }, + "node_modules/portfinder/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/property-expr": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.5.tgz", + "integrity": "sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==", + "dev": true + }, + "node_modules/protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/proxy-addr/node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "node_modules/public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/public-encrypt/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "dev": true, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "dependencies": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "dev": true, + "dependencies": { + "bytes": "3.1.1", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/rechoir": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.1.tgz", + "integrity": "sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==", + "dev": true, + "dependencies": { + "resolve": "^1.9.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/redis-commands": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", + "dev": true + }, + "node_modules/redis-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", + "integrity": "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/redis-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", + "integrity": "sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ=", + "dev": true, + "dependencies": { + "redis-errors": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/reflect-metadata": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", + "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==", + "dev": true + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "node_modules/regenerate-unicode-properties": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", + "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/regenerator-transform": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", + "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "node_modules/regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/regexpu-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", + "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.0.1", + "regjsgen": "^0.6.0", + "regjsparser": "^0.8.2", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsgen": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", + "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==", + "dev": true + }, + "node_modules/regjsparser": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", + "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "dev": true, + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/repeat-element": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", + "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "dependencies": { + "is-finite": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dev": true, + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/request-promise-core": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz", + "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==", + "dev": true, + "dependencies": { + "lodash": "^4.17.11" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "node_modules/request-promise-native": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz", + "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==", + "deprecated": "request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142", + "dev": true, + "dependencies": { + "request-promise-core": "1.1.2", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "node_modules/request/node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "dev": true, + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "node_modules/resolve": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "deprecated": "https://github.com/lydell/resolve-url#deprecated", + "dev": true + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/rollup": { + "version": "2.56.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.56.3.tgz", + "integrity": "sha512-Au92NuznFklgQCUcV96iXlxUbHuB1vQMaH76DHl5M11TotjOHwqk9CwcrT78+Tnv4FN9uTBxq6p4EJoYkpyekg==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/rxjs": { + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.2.tgz", + "integrity": "sha512-PwDt186XaL3QN5qXj/H9DGyHhP3/RYYgZZwqBv9Tv8rsAaiwFH1IsJJlcgD37J7UW5a6O67qX0KWKS3/pu0m4w==", + "dev": true, + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "dependencies": { + "ret": "~0.1.10" + } + }, + "node_modules/safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + }, + "node_modules/schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 8.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/secure-compare": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/secure-compare/-/secure-compare-3.0.1.tgz", + "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", + "dev": true + }, + "node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/send/node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "dev": true, + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "node_modules/set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true + }, + "node_modules/sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/shred": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/shred/-/shred-0.8.10.tgz", + "integrity": "sha1-zxz+gPeb9TE9Ltw7kSJ4/RB6hxc=", + "dev": true, + "dependencies": { + "ax": "0.1.8", + "cookiejar": "1.3.1", + "iconv-lite": ">= 0.1.2", + "sprintf": "0.1.1" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "dev": true, + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/snapdragon/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", + "dev": true, + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "node_modules/source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "dependencies": { + "source-map": "^0.5.6" + } + }, + "node_modules/source-map-url": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", + "deprecated": "See https://github.com/lydell/source-map-url#deprecated", + "dev": true + }, + "node_modules/spawn-command": { + "version": "0.0.2-1", + "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", + "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=", + "dev": true + }, + "node_modules/split-ca": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split-ca/-/split-ca-1.0.1.tgz", + "integrity": "sha1-bIOv82kvphJW4M0ZfgXp3hV2kaY=", + "dev": true + }, + "node_modules/split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/split2": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "dev": true, + "dependencies": { + "readable-stream": "^3.0.0" + } + }, + "node_modules/sprintf": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/sprintf/-/sprintf-0.1.1.tgz", + "integrity": "sha1-6JJfyYlOGqaJnpCRx/KhITC3DeU=", + "deprecated": "The sprintf package is deprecated in favor of sprintf-js.", + "dev": true, + "engines": { + "node": ">=0.2.4" + } + }, + "node_modules/ssh2": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.6.0.tgz", + "integrity": "sha512-lxc+uvXqOxyQ99N2M7k5o4pkYDO5GptOTYduWw7hIM41icxvoBcCNHcj+LTKrjkL0vFcAl+qfZekthoSFRJn2Q==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "asn1": "^0.2.4", + "bcrypt-pbkdf": "^1.0.2" + }, + "engines": { + "node": ">=10.16.0" + }, + "optionalDependencies": { + "cpu-features": "0.0.2", + "nan": "^2.15.0" + } + }, + "node_modules/sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dev": true, + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "dev": true + }, + "node_modules/static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/stealthy-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", + "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==", + "dev": true + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/swagger-client": { + "version": "2.0.26", + "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-2.0.26.tgz", + "integrity": "sha1-c/FQk/be82nzG5ZwxtlkWzMWPk0=", + "deprecated": "No longer maintained, please upgrade to swagger-client@3.", + "dev": true, + "dependencies": { + "btoa": "1.1.1", + "shred": "0.8.10" + }, + "engines": { + "node": ">= 0.6.6" + } + }, + "node_modules/swagger-client/node_modules/btoa": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.1.tgz", + "integrity": "sha1-J8gQYmMQjp3UH/L6qtKhcEXjXro=", + "dev": true, + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/sync": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", + "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "dev": true, + "dependencies": { + "fibers": ">=0.6" + }, + "engines": { + "node": ">=0.5.2" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/tar": { + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "dev": true, + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/tar-fs": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.1.tgz", + "integrity": "sha512-6tzWDMeroL87uF/+lin46k+Q+46rAJ0SyPGz7OW7wTgblI273hsBqk2C1j0/xNadNLKDTUL9BukSjB7cwgmlPA==", + "dev": true, + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.0.0" + } + }, + "node_modules/tar-fs/node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tar/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/terser": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.10.0.tgz", + "integrity": "sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==", + "dev": true, + "dependencies": { + "commander": "^2.20.0", + "source-map": "~0.7.2", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "acorn": "^8.5.0" + }, + "peerDependenciesMeta": { + "acorn": { + "optional": true + } + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", + "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", + "dev": true, + "dependencies": { + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.0", + "source-map": "^0.6.1", + "terser": "^5.7.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser-webpack-plugin/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/terser-webpack-plugin/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/terser/node_modules/source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/terser/node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/terser/node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", + "dev": true + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "node_modules/through2": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + }, + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-object-path/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/toposort": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", + "integrity": "sha1-riF2gXXRVZ1IvvNUILL0li8JwzA=", + "dev": true + }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==", + "dev": true + }, + "node_modules/tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tv4": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.3.0.tgz", + "integrity": "sha1-0CDIRvrdUMhVq7JeuuzGj8EPeWM=", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typescript": { + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", + "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/union": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/union/-/union-0.5.0.tgz", + "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==", + "dev": true, + "dependencies": { + "qs": "^6.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/union-value/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "deprecated": "Please see https://github.com/lydell/urix#deprecated", + "dev": true + }, + "node_modules/url-join": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-2.0.5.tgz", + "integrity": "sha1-WvIvGMBSoACkjXuCxenC4v7tpyg=", + "dev": true + }, + "node_modules/use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/util": { + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", + "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "safe-buffer": "^5.1.2", + "which-typed-array": "^1.1.2" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/walk": { + "version": "2.3.15", + "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.15.tgz", + "integrity": "sha512-4eRTBZljBfIISK1Vnt69Gvr2w/wc3U6Vtrw7qiN5iqYJPH7LElcYh/iU4XWhdCy2dZqv1ToMyYlybDylfG/5Vg==", + "dev": true, + "dependencies": { + "foreachasync": "^3.0.0" + } + }, + "node_modules/walkdir": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz", + "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/watchpack": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", + "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", + "dev": true, + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "dev": true, + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/web-encoding": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.5.tgz", + "integrity": "sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==", + "dev": true, + "dependencies": { + "util": "^0.12.3" + }, + "optionalDependencies": { + "@zxing/text-encoding": "0.9.0" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + }, + "node_modules/webpack": { + "version": "5.68.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.68.0.tgz", + "integrity": "sha512-zUcqaUO0772UuuW2bzaES2Zjlm/y3kRBQDVFVCge+s2Y8mwuUTdperGaAv65/NtRL/1zanpSJOq/MD8u61vo6g==", + "dev": true, + "dependencies": { + "@types/eslint-scope": "^3.7.0", + "@types/estree": "^0.0.50", + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/wasm-edit": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "acorn": "^8.4.1", + "acorn-import-assertions": "^1.7.6", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.8.3", + "es-module-lexer": "^0.9.0", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.1.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.1.3", + "watchpack": "^2.3.1", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-cli": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.2.tgz", + "integrity": "sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ==", + "dev": true, + "dependencies": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^1.1.1", + "@webpack-cli/info": "^1.4.1", + "@webpack-cli/serve": "^1.6.1", + "colorette": "^2.0.14", + "commander": "^7.0.0", + "execa": "^5.0.0", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^2.2.0", + "rechoir": "^0.7.0", + "webpack-merge": "^5.7.3" + }, + "bin": { + "webpack-cli": "bin/cli.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "peerDependencies": { + "webpack": "4.x.x || 5.x.x" + }, + "peerDependenciesMeta": { + "@webpack-cli/generators": { + "optional": true + }, + "@webpack-cli/migrate": { + "optional": true + }, + "webpack-bundle-analyzer": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/webpack-cli/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/webpack-merge": { + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", + "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", + "dev": true, + "dependencies": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dev": true, + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", + "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wide-align": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "dev": true, + "dependencies": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, + "node_modules/wildcard": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", + "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", + "dev": true + }, + "node_modules/winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "dev": true, + "dependencies": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "dev": true, + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "node_modules/ws": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "dev": true, + "dependencies": { + "async-limiter": "~1.0.0" + } + }, + "node_modules/xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=", + "dev": true + }, + "node_modules/xml2js": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", + "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "dev": true, + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yup": { + "version": "0.32.9", + "resolved": "https://registry.npmjs.org/yup/-/yup-0.32.9.tgz", + "integrity": "sha512-Ci1qN+i2H0XpY7syDQ0k5zKQ/DoxO0LzPg8PAR/X4Mpj6DqaeCoIYEEjDJwhArh3Fa7GWbQQVDZKeXYlSH4JMg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.10.5", + "@types/lodash": "^4.14.165", + "lodash": "^4.17.20", + "lodash-es": "^4.17.15", + "nanoclone": "^0.2.1", + "property-expr": "^2.0.4", + "toposort": "^2.0.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "dev": true, + "dependencies": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "node_modules/zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "dev": true, + "dependencies": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + } + }, + "node_modules/zipkin-transport-http/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/zipkin-transport-http/node_modules/node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dev": true, + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + } + }, + "dependencies": { + "@ampproject/remapping": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.1.tgz", + "integrity": "sha512-Aolwjd7HSC2PyY0fDj/wA/EimQT4HfEnFYNp5s9CQlrdhyvWTtvZ5YzrUPu6R6/1jKiUlxu8bUhkdSnKHNAHMA==", + "dev": true, + "peer": true, + "requires": { + "@jridgewell/trace-mapping": "^0.3.0" + } + }, + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.16.7" + } + }, + "@babel/compat-data": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.0.tgz", + "integrity": "sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==", + "dev": true + }, + "@babel/core": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.2.tgz", + "integrity": "sha512-R3VH5G42VSDolRHyUO4V2cfag8WHcZyxdq5Z/m8Xyb92lW/Erm/6kM+XtRFGf3Mulre3mveni2NHfEUws8wSvw==", + "dev": true, + "peer": true, + "requires": { + "@ampproject/remapping": "^2.0.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.0", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helpers": "^7.17.2", + "@babel/parser": "^7.17.0", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.0", + "@babel/types": "^7.17.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.1.2", + "semver": "^6.3.0" + } + }, + "@babel/generator": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.0.tgz", + "integrity": "sha512-I3Omiv6FGOC29dtlZhkfXO6pgkmukJSlT26QjVvS1DGZe/NzSVCPG41X0tS21oZkJYlovfj9qDWgKP+Cn4bXxw==", + "dev": true, + "requires": { + "@babel/types": "^7.17.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + } + }, + "@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", + "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", + "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "dev": true, + "requires": { + "@babel/helper-explode-assignable-expression": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-compilation-targets": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", + "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.16.4", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + } + }, + "@babel/helper-create-class-features-plugin": { + "version": "7.17.1", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.1.tgz", + "integrity": "sha512-JBdSr/LtyYIno/pNnJ75lBcqc3Z1XXujzPanHqjvvrhOA+DTceTFuJi8XjmWTZh4r3fsdfqaCMN0iZemdkxZHQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7" + } + }, + "@babel/helper-create-regexp-features-plugin": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz", + "integrity": "sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "regexpu-core": "^5.0.1" + } + }, + "@babel/helper-define-polyfill-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", + "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "dev": true, + "requires": { + "@babel/helper-compilation-targets": "^7.13.0", + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/traverse": "^7.13.0", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + } + }, + "@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-explode-assignable-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", + "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", + "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", + "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.7.tgz", + "integrity": "sha512-VtJ/65tYiU/6AbMTDwyoXGPKHgTsfRarivm+YbB5uAzKUyuPjgZSgAFeG87FCigc7KNHu2Pegh1XIT3lXjvz3Q==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-transforms": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.7.tgz", + "integrity": "sha512-gaqtLDxJEFCeQbYp9aLAefjhkKdjKcdh6DB7jniIGU3Pz52WAmP268zK0VgPz9hUNkMSYeH976K2/Y6yPadpng==", + "dev": true, + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", + "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", + "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==", + "dev": true + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", + "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-wrap-function": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helper-replace-supers": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", + "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", + "dev": true, + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-simple-access": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", + "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true + }, + "@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "dev": true + }, + "@babel/helper-wrap-function": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", + "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helpers": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.2.tgz", + "integrity": "sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==", + "dev": true, + "peer": true, + "requires": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.0", + "@babel/types": "^7.17.0" + } + }, + "@babel/highlight": { + "version": "7.16.10", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz", + "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.0.tgz", + "integrity": "sha512-VKXSCQx5D8S04ej+Dqsr1CzYvvWgf20jIw2D+YhQCrIlr2UZGaDds23Y0xg75/skOxpLCRpUZvk/1EAVkGoDOw==", + "dev": true + }, + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz", + "integrity": "sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz", + "integrity": "sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.7" + } + }, + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz", + "integrity": "sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/plugin-syntax-async-generators": "^7.8.4" + } + }, + "@babel/plugin-proposal-class-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz", + "integrity": "sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-proposal-class-static-block": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.16.7.tgz", + "integrity": "sha512-dgqJJrcZoG/4CkMopzhPJjGxsIe9A8RlkQLnL/Vhhx8AA9ZuaRwGSlscSh42hazc7WSrya/IK7mTeoF0DP9tEw==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + } + }, + "@babel/plugin-proposal-dynamic-import": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", + "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + } + }, + "@babel/plugin-proposal-export-namespace-from": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz", + "integrity": "sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + } + }, + "@babel/plugin-proposal-json-strings": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz", + "integrity": "sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-json-strings": "^7.8.3" + } + }, + "@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz", + "integrity": "sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + } + }, + "@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz", + "integrity": "sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + } + }, + "@babel/plugin-proposal-numeric-separator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", + "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + } + }, + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.16.7.tgz", + "integrity": "sha512-3O0Y4+dw94HA86qSg9IHfyPktgR7q3gpNVAeiKQd+8jBKFaU5NQS1Yatgo4wY+UFNuLjvxcSmzcsHqrhgTyBUA==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.16.4", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.16.7" + } + }, + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", + "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + } + }, + "@babel/plugin-proposal-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz", + "integrity": "sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + } + }, + "@babel/plugin-proposal-private-methods": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz", + "integrity": "sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.10", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-proposal-private-property-in-object": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz", + "integrity": "sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + } + }, + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz", + "integrity": "sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.12.13" + } + }, + "@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz", + "integrity": "sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz", + "integrity": "sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", + "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz", + "integrity": "sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz", + "integrity": "sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "globals": "^11.1.0" + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz", + "integrity": "sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.16.7.tgz", + "integrity": "sha512-VqAwhTHBnu5xBVDCvrvqJbtLUa++qZaWC0Fgr2mqokBlulZARGyIvZDoqbPlPaKImQ9dKAcCzbv+ul//uqu70A==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", + "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz", + "integrity": "sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", + "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "dev": true, + "requires": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz", + "integrity": "sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", + "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "dev": true, + "requires": { + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz", + "integrity": "sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-member-expression-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", + "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz", + "integrity": "sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz", + "integrity": "sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.7.tgz", + "integrity": "sha512-DuK5E3k+QQmnOqBR9UkusByy5WZWGRxfzV529s9nPra1GE7olmxfqO2FHobEOYSPIjPBTr4p66YDcjQnt8cBmw==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz", + "integrity": "sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz", + "integrity": "sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz", + "integrity": "sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", + "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz", + "integrity": "sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", + "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.7.tgz", + "integrity": "sha512-mF7jOgGYCkSJagJ6XCujSQg+6xC1M77/03K2oBmVJWoFGNUtnVJO4WHKJk3dnPC8HCcj4xBQP1Egm8DWh3Pb3Q==", + "dev": true, + "requires": { + "regenerator-transform": "^0.14.2" + } + }, + "@babel/plugin-transform-reserved-words": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz", + "integrity": "sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-runtime": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.17.0.tgz", + "integrity": "sha512-fr7zPWnKXNc1xoHfrIU9mN/4XKX4VLZ45Q+oMhfsYIaHvg7mHgmhfOy/ckRWqDK7XF3QDigRpkh5DKq6+clE8A==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "semver": "^6.3.0" + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", + "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz", + "integrity": "sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", + "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz", + "integrity": "sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz", + "integrity": "sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-escapes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", + "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", + "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/preset-env": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.11.tgz", + "integrity": "sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.16.8", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-async-generator-functions": "^7.16.8", + "@babel/plugin-proposal-class-properties": "^7.16.7", + "@babel/plugin-proposal-class-static-block": "^7.16.7", + "@babel/plugin-proposal-dynamic-import": "^7.16.7", + "@babel/plugin-proposal-export-namespace-from": "^7.16.7", + "@babel/plugin-proposal-json-strings": "^7.16.7", + "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", + "@babel/plugin-proposal-numeric-separator": "^7.16.7", + "@babel/plugin-proposal-object-rest-spread": "^7.16.7", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", + "@babel/plugin-proposal-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-private-methods": "^7.16.11", + "@babel/plugin-proposal-private-property-in-object": "^7.16.7", + "@babel/plugin-proposal-unicode-property-regex": "^7.16.7", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.16.7", + "@babel/plugin-transform-async-to-generator": "^7.16.8", + "@babel/plugin-transform-block-scoped-functions": "^7.16.7", + "@babel/plugin-transform-block-scoping": "^7.16.7", + "@babel/plugin-transform-classes": "^7.16.7", + "@babel/plugin-transform-computed-properties": "^7.16.7", + "@babel/plugin-transform-destructuring": "^7.16.7", + "@babel/plugin-transform-dotall-regex": "^7.16.7", + "@babel/plugin-transform-duplicate-keys": "^7.16.7", + "@babel/plugin-transform-exponentiation-operator": "^7.16.7", + "@babel/plugin-transform-for-of": "^7.16.7", + "@babel/plugin-transform-function-name": "^7.16.7", + "@babel/plugin-transform-literals": "^7.16.7", + "@babel/plugin-transform-member-expression-literals": "^7.16.7", + "@babel/plugin-transform-modules-amd": "^7.16.7", + "@babel/plugin-transform-modules-commonjs": "^7.16.8", + "@babel/plugin-transform-modules-systemjs": "^7.16.7", + "@babel/plugin-transform-modules-umd": "^7.16.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.8", + "@babel/plugin-transform-new-target": "^7.16.7", + "@babel/plugin-transform-object-super": "^7.16.7", + "@babel/plugin-transform-parameters": "^7.16.7", + "@babel/plugin-transform-property-literals": "^7.16.7", + "@babel/plugin-transform-regenerator": "^7.16.7", + "@babel/plugin-transform-reserved-words": "^7.16.7", + "@babel/plugin-transform-shorthand-properties": "^7.16.7", + "@babel/plugin-transform-spread": "^7.16.7", + "@babel/plugin-transform-sticky-regex": "^7.16.7", + "@babel/plugin-transform-template-literals": "^7.16.7", + "@babel/plugin-transform-typeof-symbol": "^7.16.7", + "@babel/plugin-transform-unicode-escapes": "^7.16.7", + "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.16.8", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.20.2", + "semver": "^6.3.0" + } + }, + "@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + } + }, + "@babel/runtime": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.2.tgz", + "integrity": "sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.4" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true + } + } + }, + "@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/traverse": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.0.tgz", + "integrity": "sha512-fpFIXvqD6kC7c7PUNnZ0Z8cQXlarCLtCUpt2S1Dx7PjoRtCFffvOkHHSom+m5HIxMZn5bIBVb71lhabcmjEsqg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.0", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.17.0", + "@babel/types": "^7.17.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + } + }, + "@babel/types": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", + "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + } + }, + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true + }, + "@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dev": true, + "requires": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "@discoveryjs/json-ext": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz", + "integrity": "sha512-ws57AidsDvREKrZKYffXddNkyaF14iHNHm8VQnZH6t99E8gczjNN0GpvcGny0imC80yQ0tHz1xVUKk/KFQSUyA==", + "dev": true + }, + "@fonoster/agents": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/agents/-/agents-0.2.43.tgz", + "integrity": "sha512-x3E7Uj9Uox0y3GbLvvc4ezmwkO4RS8GuWFTm4WgcfpmCy785RfCgEmrkwq3dHZbMaS6rV/Lnq/RgeWPu3VijVg==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0" + } + }, + "@fonoster/auth": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/auth/-/auth-0.2.43.tgz", + "integrity": "sha512-3rrqXmh6jFSeOtfo0E0iR9ps/ym4GAu9XxohscrijTjFhMWu8jUlmtlwXe9ll2kYuqjZdQopWEPsB4SpwUNKKQ==", + "dev": true, + "requires": { + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "express": "^4.17.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/callmanager": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/callmanager/-/callmanager-0.2.43.tgz", + "integrity": "sha512-15aRThWgYymcbyT39dMt8aS/kHuvyJYqeFGimnydiB3lIb0hgjApCccb+ljfugJzceZ6ETvWkmrJgCn1/zXkng==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "ari-client": "^2.2.0", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + } + }, + "@fonoster/certs": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/certs/-/certs-0.2.42.tgz", + "integrity": "sha512-QgHivcFtHsU27qShKk6H4LDnUVNh66TyLOx1NLo0Q7/HpFmKVliOPUanV/uK8jZVl2mzpYrUypehcT04XsKR2Q==", + "dev": true, + "requires": { + "@types/jsonwebtoken": "^8.5.0", + "acme-client": "^4.1.3", + "btoa": "^1.2.1", + "jsonwebtoken": "^8.5.1" + } + }, + "@fonoster/common": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/common/-/common-0.2.42.tgz", + "integrity": "sha512-VfKn21JONk1XgS/MxX3n/v8oDdYv5a9CZ9w2/X01B/B+HW8QlEe/WiZg++aFk+gYnoZridUF5KlRjq9ATgSwsw==", + "dev": true, + "requires": { + "@fonoster/certs": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "@speedymonster/grpc-interceptors": "^0.2.5", + "atob": "^2.1.2", + "deepmerge": "^4.2.2" + } + }, + "@fonoster/core": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/core/-/core-0.2.43.tgz", + "integrity": "sha512-ceCtPPXKkBleJyqY4b9Olx9VUpx/Ib6K/HvLza2M4yMJo1MVbAEAD5bwg6l8z0XmtcNLWzQAizXKFA7v+TLYyg==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "deepmerge": "^4.2.2", + "grpc-ts-health-check": "^2.0.6", + "ioredis": "^4.16.0", + "nanoid": "^3.1.23", + "phone": "^2.4.21" + } + }, + "@fonoster/domains": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/domains/-/domains-0.2.43.tgz", + "integrity": "sha512-RPeg3ICz7wnFYS9hHkwdGYMGGSwlW0i8SXioIpVYZElKZ3epdPl7oiS7f2ZRfYDrdTT2gh2aAd7iQH5NF6taBQ==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "is-valid-domain": "^0.1.2" + } + }, + "@fonoster/errors": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/errors/-/errors-0.2.42.tgz", + "integrity": "sha512-ZWFUgnVH8gEWB6ehGFUUvGR+sLVa50fiMzxKQIeNQ2mcgQKfnOe7fDosjAwdZcj0AEcfOsZ33p6UQX1rB8kqaA==", + "dev": true + }, + "@fonoster/funcs": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/funcs/-/funcs-0.2.43.tgz", + "integrity": "sha512-pv/ikjFW9X5ifXCs1NRxJa3Uz4+dm9zNO/p4RKyTsSKKauPTeIno/H/G95qizNnlntfvnHyUddcTl+Ma5Cwlcg==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@fonoster/storage": "^0.2.43", + "@grpc/grpc-js": "^1.3.6", + "btoa": "^1.2.1", + "container-image-builder": "^3.2.0", + "cron-validate": "^1.4.3", + "cross-spawn": "^7.0.3", + "dockerode": "^3.3.0", + "fs-extra": "^8.1.0", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "ndjson": "^2.0.0", + "openfaas-client": "^0.0.2", + "tar": "^6.1.0", + "walk": "^2.3.14" + } + }, + "@fonoster/logger": { + "version": "0.2.42", + "resolved": "https://registry.npmjs.org/@fonoster/logger/-/logger-0.2.42.tgz", + "integrity": "sha512-+D7tRboJX2vJQNHwx8UUqDF3ELYe85k+82lDn8pEI+ePO4FPi4tD++AXbY0dr0+8y0VUnt9nT5vNzoLPAmDNjQ==", + "dev": true, + "requires": { + "fluent-logger": "^3.4.1", + "winston": "^3.3.3" + } + }, + "@fonoster/numbers": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/numbers/-/numbers-0.2.43.tgz", + "integrity": "sha512-eKm4vm9eQcLx6exCgrr7SS0pv0xV2kZt32RXD64cV0jPalZYLlZpMdhwIUTxIJ/Ab3Jc4Midkm2KQ76LuKIPOg==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0" + } + }, + "@fonoster/projects": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/projects/-/projects-0.2.43.tgz", + "integrity": "sha512-8TlBdFJunx0wy3VquCYwSoBTWkNMLwgBxt37wIXa6gWL8GnqOH/ABf2mGHGY44ImgfkOtrkSN8Elb5vEAtW0mw==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "objectid": "^3.2.1" + } + }, + "@fonoster/providers": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/providers/-/providers-0.2.43.tgz", + "integrity": "sha512-zK+nxTx6joKCeuZROSddNtAdvO3bdXzaQE52fDu+rqpsnCgikKfNxut+/9421OWsUVqfkWhm072+g0sSG7AjIw==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "is-valid-host": "^1.0.1" + } + }, + "@fonoster/secrets": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/secrets/-/secrets-0.2.43.tgz", + "integrity": "sha512-k9xkL90VilT1+M7byfrrgRuc5pYZroqwB4bEZGnadrK8oh8iuOknAMBweRnKyVJ7V6rmlkJbtTjZ7GTzVZ/K4g==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "grpc-promise": "^1.4.0", + "node-vault": "^0.9.21" + } + }, + "@fonoster/storage": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/storage/-/storage-0.2.43.tgz", + "integrity": "sha512-oA414q6S9c+Ravr/aekNZ0AybHt8yo0IVmuPymQV8jefDqvrBh4X279m4DldeAaeCiRgeA2HIMZpSgOX43lWjg==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "minio": "^7.0.18", + "objectid": "^3.2.1", + "sync": "^0.2.5", + "tar": "^6.1.0", + "walk": "^2.3.14" + } + }, + "@fonoster/users": { + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/@fonoster/users/-/users-0.2.43.tgz", + "integrity": "sha512-FHuHAf2qku9EuplNU/bXw/UDmtyTQt4yT1ZQyZtwqML0mm3f8fZD8pDF9cDENHGi9zFDxK2EeeW9yQvY2fgB0A==", + "dev": true, + "requires": { + "@fonoster/auth": "^0.2.43", + "@fonoster/certs": "^0.2.42", + "@fonoster/common": "^0.2.42", + "@fonoster/core": "^0.2.43", + "@fonoster/errors": "^0.2.42", + "@fonoster/logger": "^0.2.42", + "@grpc/grpc-js": "^1.3.6", + "bcrypt": "^5.0.1", + "google-protobuf": "^3.17.0", + "grpc-promise": "^1.4.0", + "objectid": "^3.2.1" + } + }, + "@grpc/grpc-js": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.5.tgz", + "integrity": "sha512-FTd27ItHlsSG/7hp62xgI9YnqSwRbHRSVmDVR8DwOoC+6t8JhHRXe2JL0U8N9GLc0jS0HrtEbO/KP5+G0ebjLQ==", + "dev": true, + "requires": { + "@grpc/proto-loader": "^0.6.4", + "@types/node": ">=12.12.47" + } + }, + "@grpc/proto-loader": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.9.tgz", + "integrity": "sha512-UlcCS8VbsU9d3XTXGiEVFonN7hXk+oMXZtoHHG2oSA1/GcDP1q6OUgs20PzHDGizzyi8ufGSUDlk3O2NyY7leg==", + "dev": true, + "requires": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^6.10.0", + "yargs": "^16.2.0" + } + }, + "@jridgewell/resolve-uri": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", + "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==", + "dev": true, + "peer": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", + "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==", + "dev": true, + "peer": true + }, + "@jridgewell/trace-mapping": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", + "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", + "dev": true, + "peer": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "@mapbox/node-pre-gyp": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.8.tgz", + "integrity": "sha512-CMGKi28CF+qlbXh26hDe6NxCd7amqeAzEqnS6IHeO6LoaKyM/n+Xw3HT1COdq8cuioOdlKdqn/hCmqPUOMOywg==", + "dev": true, + "requires": { + "detect-libc": "^1.0.3", + "https-proxy-agent": "^5.0.0", + "make-dir": "^3.1.0", + "node-fetch": "^2.6.5", + "nopt": "^5.0.0", + "npmlog": "^5.0.1", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.11" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } + } + }, + "@nestjs/common": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-8.2.6.tgz", + "integrity": "sha512-flLYSXunxcKyjbYddrhwbc49uE705MxBt85rS3mHyhDbAIPSGGeZEqME44YyAzCg1NTfJSNe7ztmOce5kNkb9A==", + "dev": true, + "requires": { + "axios": "0.24.0", + "iterare": "1.2.1", + "tslib": "2.3.1", + "uuid": "8.3.2" + } + }, + "@nestjs/core": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-8.2.6.tgz", + "integrity": "sha512-NwPcEIMmCsucs3QaDlQvkoU1FlFM2wm/WjaqLQhkSoIEmAR1gNtBo88f5io5cpMwCo1k5xYhqGlaSl6TfngwWQ==", + "dev": true, + "requires": { + "@nuxtjs/opencollective": "0.3.2", + "fast-safe-stringify": "2.1.1", + "iterare": "1.2.1", + "object-hash": "2.2.0", + "path-to-regexp": "3.2.0", + "tslib": "2.3.1", + "uuid": "8.3.2" + } + }, + "@nuxtjs/opencollective": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", + "integrity": "sha512-um0xL3fO7Mf4fDxcqx9KryrB7zgRM5JSlvGN5AGkP6JLM5XEKyjeAiPbNxdXVXQ16isuAhYpvP88NgL2BGd6aA==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "consola": "^2.15.0", + "node-fetch": "^2.6.1" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "@openapitools/openapi-generator-cli": { + "version": "2.4.26", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.4.26.tgz", + "integrity": "sha512-O42H9q1HWGoIpcpMaUu318b6bmOgcjP3MieHwOrFdoG3KyttceBGlbLf9Kbf7WM91WSNCDXum7cnEKASuoGjAg==", + "dev": true, + "requires": { + "@nestjs/common": "8.2.6", + "@nestjs/core": "8.2.6", + "@nuxtjs/opencollective": "0.3.2", + "chalk": "4.1.2", + "commander": "8.3.0", + "compare-versions": "3.6.0", + "concurrently": "6.5.1", + "console.table": "0.10.0", + "fs-extra": "10.0.0", + "glob": "7.1.6", + "inquirer": "8.2.0", + "lodash": "4.17.21", + "reflect-metadata": "0.1.13", + "rxjs": "7.5.2", + "tslib": "2.0.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "fs-extra": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", + "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "tslib": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", + "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==", + "dev": true + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } + } + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=", + "dev": true + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "dev": true + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", + "dev": true + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=", + "dev": true + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "dev": true, + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=", + "dev": true + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=", + "dev": true + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=", + "dev": true + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=", + "dev": true + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=", + "dev": true + }, + "@speedymonster/grpc-interceptors": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", + "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "dev": true, + "requires": { + "zipkin": "^0.12.0", + "zipkin-transport-http": "^0.12.0" + } + }, + "@types/eslint": { + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz", + "integrity": "sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA==", + "dev": true, + "requires": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "@types/eslint-scope": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", + "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", + "dev": true, + "requires": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "@types/estree": { + "version": "0.0.50", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz", + "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", + "dev": true + }, + "@types/json-schema": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", + "dev": true + }, + "@types/jsonwebtoken": { + "version": "8.5.8", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", + "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/lodash": { + "version": "4.14.178", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.178.tgz", + "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==", + "dev": true + }, + "@types/long": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", + "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==", + "dev": true + }, + "@types/node": { + "version": "16.11.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.6.tgz", + "integrity": "sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==", + "dev": true + }, + "@webassemblyjs/ast": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", + "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "dev": true, + "requires": { + "@webassemblyjs/helper-numbers": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + } + }, + "@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", + "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "dev": true + }, + "@webassemblyjs/helper-api-error": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", + "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "dev": true + }, + "@webassemblyjs/helper-buffer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", + "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "dev": true + }, + "@webassemblyjs/helper-numbers": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", + "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "dev": true, + "requires": { + "@webassemblyjs/floating-point-hex-parser": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@xtuc/long": "4.2.2" + } + }, + "@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", + "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "dev": true + }, + "@webassemblyjs/helper-wasm-section": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", + "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1" + } + }, + "@webassemblyjs/ieee754": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", + "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "dev": true, + "requires": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "@webassemblyjs/leb128": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", + "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "dev": true, + "requires": { + "@xtuc/long": "4.2.2" + } + }, + "@webassemblyjs/utf8": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", + "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "dev": true + }, + "@webassemblyjs/wasm-edit": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", + "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/helper-wasm-section": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-opt": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "@webassemblyjs/wast-printer": "1.11.1" + } + }, + "@webassemblyjs/wasm-gen": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", + "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" + } + }, + "@webassemblyjs/wasm-opt": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", + "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1" + } + }, + "@webassemblyjs/wasm-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", + "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" + } + }, + "@webassemblyjs/wast-printer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", + "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.11.1", + "@xtuc/long": "4.2.2" + } + }, + "@webpack-cli/configtest": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.1.tgz", + "integrity": "sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg==", + "dev": true, + "requires": {} + }, + "@webpack-cli/info": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.1.tgz", + "integrity": "sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA==", + "dev": true, + "requires": { + "envinfo": "^7.7.3" + } + }, + "@webpack-cli/serve": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.1.tgz", + "integrity": "sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw==", + "dev": true, + "requires": {} + }, + "@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true + }, + "@zxing/text-encoding": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", + "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", + "dev": true, + "optional": true + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dev": true, + "requires": { + "event-target-shim": "^5.0.0" + } + }, + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "acme-client": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.2.3.tgz", + "integrity": "sha512-fzNysQ7OdBWPlELQbjjjLo2eqrmMpdd6DZ9/d4jxHJItpKC4GKYLTxA3UIYca9BcY4Zr8un/axyEGnyRHKLGbw==", + "dev": true, + "requires": { + "axios": "0.21.4", + "backo2": "^1.0.0", + "bluebird": "^3.5.0", + "debug": "^4.1.1", + "node-forge": "^1.2.0" + }, + "dependencies": { + "axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dev": true, + "requires": { + "follow-redirects": "^1.14.0" + } + } + } + }, + "acorn": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "dev": true + }, + "acorn-import-assertions": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", + "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "dev": true, + "requires": {} + }, + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "requires": { + "debug": "4" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "requires": {} + }, + "ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "requires": { + "type-fest": "^0.21.3" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "aproba": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", + "dev": true + }, + "are-we-there-yet": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", + "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + } + }, + "ari-client": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ari-client/-/ari-client-2.2.0.tgz", + "integrity": "sha512-DPz+vC/dZyvy5HqBrEzYpNH6X2hDb+AIyRith6f8IVLHyveRWaHPO0S7rF1Q91qry/U8G+504KUZfeaBPwzIVQ==", + "dev": true, + "requires": { + "backoff-func": "^0.1.2", + "bluebird": "^3.5.2", + "lodash": "^4.17.10", + "request": "^2.34.0", + "swagger-client": "2.0.26", + "uuid": "^3.0.0", + "ws": "^6.0.0" + }, + "dependencies": { + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true + } + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true + }, + "asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", + "dev": true + }, + "async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "ax": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/ax/-/ax-0.1.8.tgz", + "integrity": "sha1-J8qac/pMeKR41i2CfK2GCiT91Jc=", + "dev": true + }, + "axios": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", + "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "dev": true, + "requires": { + "follow-redirects": "^1.14.4" + } + }, + "babel": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel/-/babel-6.23.0.tgz", + "integrity": "sha1-0NHn2APpdHZb7qMjLU4VPA77kPQ=", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true + } + } + }, + "babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-loader": { + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.3.tgz", + "integrity": "sha512-n4Zeta8NC3QAsuyiizu0GkmRcQ6clkV9WFUnUf1iXP//IeSKbWjofW3UHyZVwlOB4y039YQKefawyTn64Zwbuw==", + "dev": true, + "requires": { + "find-cache-dir": "^3.3.1", + "loader-utils": "^1.4.0", + "make-dir": "^3.1.0", + "schema-utils": "^2.6.5" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "dev": true, + "requires": { + "object.assign": "^4.1.0" + } + }, + "babel-plugin-polyfill-corejs2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", + "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.13.11", + "@babel/helper-define-polyfill-provider": "^0.3.1", + "semver": "^6.1.1" + } + }, + "babel-plugin-polyfill-corejs3": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", + "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "dev": true, + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1", + "core-js-compat": "^3.21.0" + } + }, + "babel-plugin-polyfill-regenerator": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", + "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "dev": true, + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1" + } + }, + "babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "dev": true, + "requires": { + "babel-core": "^6.26.0", + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "home-or-tmp": "^2.0.0", + "lodash": "^4.17.4", + "mkdirp": "^0.5.1", + "source-map-support": "^0.4.15" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + }, + "dependencies": { + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true + } + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, + "backoff-func": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/backoff-func/-/backoff-func-0.1.2.tgz", + "integrity": "sha1-VMP64rreWHI0utXbh+NBLJ+ph4M=", + "dev": true + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + } + } + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true + }, + "basic-auth": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-1.1.0.tgz", + "integrity": "sha1-RSIe5Cn37h5QNb4/UVM/HN/SmIQ=", + "dev": true + }, + "bcrypt": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/bcrypt/-/bcrypt-5.0.1.tgz", + "integrity": "sha512-9BTgmrhZM2t1bNuDtrtIMVSmmxZBrJ71n8Wg+YgdjHuIWYF7SjjmCPZFB+/5i/o/PIeRpwVJR3P+NrpIItUjqw==", + "dev": true, + "requires": { + "@mapbox/node-pre-gyp": "^1.0.0", + "node-addon-api": "^3.1.0" + } + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true + }, + "bignumber.js": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", + "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==", + "dev": true + }, + "bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "requires": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "block-stream2": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", + "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", + "dev": true, + "requires": { + "readable-stream": "^3.4.0" + } + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", + "dev": true + }, + "body-parser": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "dev": true, + "requires": { + "bytes": "3.1.1", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.9.6", + "raw-body": "2.4.2", + "type-is": "~1.6.18" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + } + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, + "browser-or-node": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-1.3.0.tgz", + "integrity": "sha512-0F2z/VSnLbmEeBcUrSuDH5l0HxTXdQQzLjkmBR4cYfvg1zJrKSlmIZFqyFR8oX0NrwPhy3c3HQ6i3OxMbew4Tg==", + "dev": true + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "dev": true, + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "dev": true, + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "browserslist": { + "version": "4.19.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz", + "integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001286", + "electron-to-chromium": "^1.4.17", + "escalade": "^3.1.1", + "node-releases": "^2.0.1", + "picocolors": "^1.0.0" + } + }, + "bson": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", + "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", + "dev": true + }, + "btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "dev": true + }, + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=", + "dev": true + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "bytes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", + "integrity": "sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "caniuse-lite": { + "version": "1.0.30001312", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz", + "integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ==", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dev": true, + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true + }, + "chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true + }, + "chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "requires": { + "restore-cursor": "^3.1.0" + } + }, + "cli-spinners": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", + "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", + "dev": true + }, + "cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "dev": true + }, + "clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + } + }, + "cluster-key-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", + "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==", + "dev": true + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dev": true, + "requires": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "color-string": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.0.tgz", + "integrity": "sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ==", + "dev": true, + "requires": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "dev": true + }, + "colorette": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", + "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", + "dev": true + }, + "colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "dev": true + }, + "colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dev": true, + "requires": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "compare-versions": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", + "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==", + "dev": true + }, + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concurrently": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", + "integrity": "sha512-FlSwNpGjWQfRwPLXvJ/OgysbBxPkWpiVjy1042b0U7on7S7qwwMIILRj7WTN1mTgqa582bG6NFuScOoh6Zgdag==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "date-fns": "^2.16.1", + "lodash": "^4.17.21", + "rxjs": "^6.6.3", + "spawn-command": "^0.0.2-1", + "supports-color": "^8.1.0", + "tree-kill": "^1.2.2", + "yargs": "^16.2.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "rxjs": { + "version": "6.6.7", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", + "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + } + } + }, + "consola": { + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", + "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==", + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "console.table": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/console.table/-/console.table-0.10.0.tgz", + "integrity": "sha1-CRcCVYiHW+/XDPLv9L7yxuLXXQQ=", + "dev": true, + "requires": { + "easy-table": "1.1.0" + } + }, + "container-image-builder": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/container-image-builder/-/container-image-builder-3.2.0.tgz", + "integrity": "sha512-HHo1h+yqesR/2jqWsebzljuQAUuDCkyrtOUgAtJyvW1hZedzILPWnDiCFM8t5UqjwkFwta9RMrb8p3e4V8s6NA==", + "dev": true, + "requires": { + "google-auth-library": "^5.1.0", + "micromatch": "^3.1.10", + "p-retry": "^3.0.1", + "request": "^2.88.0", + "tar": "^4.4.8", + "walkdir": "^0.4.0" + }, + "dependencies": { + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true + }, + "fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "dev": true, + "requires": { + "minipass": "^2.6.0" + } + }, + "minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "dev": true, + "requires": { + "minipass": "^2.9.0" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + }, + "tar": { + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", + "dev": true, + "requires": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + } + } + } + }, + "content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "requires": { + "safe-buffer": "5.2.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, + "convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "cookiejar": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-1.3.1.tgz", + "integrity": "sha1-wEsEj2iPgBYjrNkM1YSMK/iJGhc=", + "dev": true + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "dev": true + }, + "core-js-compat": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.21.0.tgz", + "integrity": "sha512-OSXseNPSK2OPJa6GdtkMz/XxeXx8/CJvfhQWTqd6neuUraujcL4jVsjkLQz1OWnax8xVQJnRPe0V2jqNWORA+A==", + "dev": true, + "requires": { + "browserslist": "^4.19.1", + "semver": "7.0.0" + }, + "dependencies": { + "semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "dev": true + } + } + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "corser": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz", + "integrity": "sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c=", + "dev": true + }, + "cpu-features": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.2.tgz", + "integrity": "sha512-/2yieBqvMcRj8McNzkycjW2v3OIUOibBfd2dLEJ0nWts8NobAxwiyw9phVNS6oDL8x8tz9F7uNVFEVpJncQpeA==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.14.1" + } + }, + "create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "cron-validate": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/cron-validate/-/cron-validate-1.4.3.tgz", + "integrity": "sha512-N+qKw019oQBEPIP5Qwi8Z5XelQ00ThN6Maahwv+9UGu2u/b/MPb35zngMQI0T8pBoNiBrIXGlhvsmspNSYae/w==", + "dev": true, + "requires": { + "yup": "0.32.9" + } + }, + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dev": true, + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "date-fns": { + "version": "2.28.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", + "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==", + "dev": true + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "requires": { + "type-detect": "^4.0.0" + } + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true + }, + "defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "dev": true, + "requires": { + "clone": "^1.0.2" + } + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "denque": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "dev": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "docker-modem": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.3.tgz", + "integrity": "sha512-Tgkn2a+yiNP9FoZgMa/D9Wk+D2Db///0KOyKSYZRJa8w4+DzKyzQMkczKSdR/adQ0x46BOpeNkoyEOKjPhCzjw==", + "dev": true, + "requires": { + "debug": "^4.1.1", + "readable-stream": "^3.5.0", + "split-ca": "^1.0.1", + "ssh2": "^1.4.0" + } + }, + "dockerode": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.1.tgz", + "integrity": "sha512-AS2mr8Lp122aa5n6d99HkuTNdRV1wkkhHwBdcnY6V0+28D3DSYwhxAk85/mM9XwD3RMliTxyr63iuvn5ZblFYQ==", + "dev": true, + "requires": { + "docker-modem": "^3.0.0", + "tar-fs": "~2.0.1" + } + }, + "easy-table": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", + "integrity": "sha1-hvmrTBAvA3G3KXuSplHVgkvIy3M=", + "dev": true, + "requires": { + "wcwidth": ">=1.0.1" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "ecstatic": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/ecstatic/-/ecstatic-3.3.2.tgz", + "integrity": "sha512-fLf9l1hnwrHI2xn9mEDT7KIi22UDqA2jaCwyCbSUJh9a1V+LEUSL/JO/6TIz/QyuBURWUHrFL5Kg2TtO1bkkog==", + "dev": true, + "requires": { + "he": "^1.1.1", + "mime": "^1.6.0", + "minimist": "^1.1.0", + "url-join": "^2.0.5" + }, + "dependencies": { + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + } + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "electron-to-chromium": { + "version": "1.4.71", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.71.tgz", + "integrity": "sha512-Hk61vXXKRb2cd3znPE9F+2pLWdIOmP7GjiTj45y6L3W/lO+hSnUSUhq+6lEaERWBdZOHbk2s3YV5c9xVl3boVw==", + "dev": true + }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true + }, + "enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, + "requires": { + "iconv-lite": "^0.6.2" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "enhanced-resolve": { + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.0.tgz", + "integrity": "sha512-weDYmzbBygL7HzGGS26M3hGQx68vehdEg6VUmqSOaFzXExFqlnKuSvsEJCVGQHScS8CQMbrAqftT+AzzHNt/YA==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + } + }, + "envinfo": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", + "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "dev": true + }, + "es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + } + }, + "es-module-lexer": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", + "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "dev": true + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "dev": true + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + } + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } + } + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "event-lite": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", + "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==", + "dev": true + }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "dev": true + }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "express": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", + "integrity": "sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==", + "dev": true, + "requires": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.4.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.9.6", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.17.2", + "serve-static": "1.14.2", + "setprototypeof": "1.2.0", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "requires": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-safe-stringify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", + "dev": true + }, + "fast-text-encoding": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", + "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==", + "dev": true + }, + "fast-xml-parser": { + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.21.1.tgz", + "integrity": "sha512-FTFVjYoBOZTJekiUsawGsSYV9QL0A+zDYCRj7y34IO6Jg+2IMYEtQa+bbictpdpV8dHxXywqU7C0gRDEOFtBFg==", + "dev": true, + "requires": { + "strnum": "^1.0.4" + } + }, + "fastest-levenshtein": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", + "dev": true + }, + "fecha": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", + "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==", + "dev": true + }, + "fibers": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.1.tgz", + "integrity": "sha512-VMC7Frt87Oo0AOJ6EcPFbi+tZmkQ4tD85aatwyWL6I9cYMJmm2e+pXUJsfGZ36U7MffXtjou2XIiWJMtHriErw==", + "dev": true, + "requires": { + "detect-libc": "^1.0.3" + } + }, + "figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + } + } + }, + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "fluent-logger": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", + "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "dev": true, + "requires": { + "msgpack-lite": "*" + } + }, + "fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", + "dev": true + }, + "follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "dev": true + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", + "dev": true + }, + "foreachasync": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", + "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, + "fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true + }, + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "requires": { + "minipass": "^3.0.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "gauge": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", + "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", + "dev": true, + "requires": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", + "signal-exit": "^3.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.2" + } + }, + "gaxios": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", + "integrity": "sha512-US8UMj8C5pRnao3Zykc4AAVr+cffoNKRTg9Rsf2GiuZCW69vgJj38VK2PzlPuQU73FZ/nTk9/Av6/JGcE1N9vA==", + "dev": true, + "requires": { + "abort-controller": "^3.0.0", + "extend": "^3.0.2", + "https-proxy-agent": "^5.0.0", + "is-stream": "^2.0.0", + "node-fetch": "^2.3.0" + } + }, + "gcp-metadata": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-3.5.0.tgz", + "integrity": "sha512-ZQf+DLZ5aKcRpLzYUyBS3yo3N0JSa82lNDO8rj3nMSlovLcz2riKFBsYgDzeXcv75oo5eqB2lx+B14UvPoCRnA==", + "dev": true, + "requires": { + "gaxios": "^2.1.0", + "json-bigint": "^0.3.0" + } + }, + "gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "peer": true + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true + }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "google-auth-library": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.10.1.tgz", + "integrity": "sha512-rOlaok5vlpV9rSiUu5EpR0vVpc+PhN62oF4RyX/6++DG1VsaulAFEMlDYBLjJDDPI6OcNOCGAKy9UVB/3NIDXg==", + "dev": true, + "requires": { + "arrify": "^2.0.0", + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "fast-text-encoding": "^1.0.0", + "gaxios": "^2.1.0", + "gcp-metadata": "^3.4.0", + "gtoken": "^4.1.0", + "jws": "^4.0.0", + "lru-cache": "^5.0.0" + } + }, + "google-p12-pem": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.5.tgz", + "integrity": "sha512-7RLkxwSsMsYh9wQ5Vb2zRtkAHvqPvfoMGag+nugl1noYO7gf0844Yr9TIFA5NEBMAeVt2Z+Imu7CQMp3oNatzQ==", + "dev": true, + "requires": { + "node-forge": "^0.10.0" + }, + "dependencies": { + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "dev": true + } + } + }, + "google-protobuf": { + "version": "3.19.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.19.4.tgz", + "integrity": "sha512-OIPNCxsG2lkIvf+P5FNfJ/Km95CsXOBecS9ZcAU6m2Rq3svc0Apl9nB3GMDNKfQ9asNv4KjyAqGwPQFrVle3Yg==", + "dev": true + }, + "graceful-fs": { + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", + "dev": true + }, + "grpc-boom": { + "version": "1.0.29", + "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", + "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==", + "dev": true + }, + "grpc-promise": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", + "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==", + "dev": true + }, + "grpc-ts-health-check": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", + "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", + "dev": true, + "requires": { + "google-protobuf": "^3.12.2", + "grpc-boom": "^1.0.28" + } + }, + "gtoken": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-4.1.4.tgz", + "integrity": "sha512-VxirzD0SWoFUo5p8RDP8Jt2AGyOmyYcT/pOUgDKJCK+iSw0TMqwrVfY37RXTNmoKwrzmDHSk0GMT9FsgVmnVSA==", + "dev": true, + "requires": { + "gaxios": "^2.1.0", + "google-p12-pem": "^2.0.0", + "jws": "^4.0.0", + "mime": "^2.2.0" + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "dev": true, + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + } + } + }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "dev": true + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "dev": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.1" + } + }, + "http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + } + }, + "http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "requires": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + } + }, + "http-server": { + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/http-server/-/http-server-0.12.3.tgz", + "integrity": "sha512-be0dKG6pni92bRjq0kvExtj/NrrAd28/8fCXkaI/4piTwQMSDSLMhWyW0NI1V+DBI3aa1HMlQu46/HjVLfmugA==", + "dev": true, + "requires": { + "basic-auth": "^1.0.3", + "colors": "^1.4.0", + "corser": "^2.0.1", + "ecstatic": "^3.3.2", + "http-proxy": "^1.18.0", + "minimist": "^1.2.5", + "opener": "^1.5.1", + "portfinder": "^1.0.25", + "secure-compare": "3.0.1", + "union": "~0.5.0" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dev": true, + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true + }, + "import-local": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", + "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "dev": true, + "requires": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + } + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "inquirer": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.0.tgz", + "integrity": "sha512-0crLweprevJ02tTuA6ThpoAERAGyVILC4sS74uib58Xf/zSr1/ZWtmm7D5CI+bSQEaA04f0K7idaHpQbSWgiVQ==", + "dev": true, + "requires": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.2.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=", + "dev": true + }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "interpret": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "^1.0.0" + } + }, + "ioredis": { + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "dev": true, + "requires": { + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.1", + "denque": "^1.1.0", + "lodash.defaults": "^4.2.0", + "lodash.flatten": "^4.4.0", + "lodash.isarguments": "^3.1.0", + "p-map": "^2.1.0", + "redis-commands": "1.7.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + } + }, + "ipaddr.js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", + "dev": true + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "dev": true + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true + }, + "is-core-module": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", + "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + }, + "is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", + "dev": true + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "dev": true + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typed-array": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", + "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true + }, + "is-valid-domain": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.1.5.tgz", + "integrity": "sha512-ilzfGo1kXzoVpSLplJWOexoiuAc6mRK+vPlNAeEPVJ29RagETpCz0izg6CZfY72DCuA+PCrEAEJeaecRLMNq5Q==", + "dev": true, + "requires": { + "punycode": "^2.1.1" + } + }, + "is-valid-host": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-valid-host/-/is-valid-host-1.0.1.tgz", + "integrity": "sha512-LPjR7ypIMG/MLCh/dkz4lqQw4KZWFD2AeHNSbY4Y9pGp2rnWMMWqBY/iJLMwoVbOIG2r2y7L/wS9pHhr0gYRrg==", + "dev": true + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "iterare": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", + "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==", + "dev": true + }, + "jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "requires": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "json-bigint": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.1.tgz", + "integrity": "sha512-DGWnSzmusIreWlEupsUelHrhwmPPE+FiQvg+drKfk2p+bdEYa5mp4PJ8JsCWqae0M2jQNb0HPvnwvf1qOTThzQ==", + "dev": true, + "requires": { + "bignumber.js": "^9.0.0" + } + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-stream/-/json-stream-1.0.0.tgz", + "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "dev": true, + "peer": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "dev": true, + "requires": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "dependencies": { + "jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dev": true, + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dev": true, + "requires": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, + "jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", + "dev": true, + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "dev": true, + "requires": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", + "dev": true + }, + "loader-runner": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", + "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==", + "dev": true + }, + "loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + } + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "dev": true + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true + }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, + "lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", + "dev": true + }, + "lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", + "dev": true + }, + "lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=", + "dev": true + }, + "lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=", + "dev": true + }, + "lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=", + "dev": true + }, + "lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=", + "dev": true + }, + "lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=", + "dev": true + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", + "dev": true + }, + "lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=", + "dev": true + }, + "lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=", + "dev": true + }, + "log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "logform": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.0.tgz", + "integrity": "sha512-CPSJw4ftjf517EhXZGGvTHHkYobo7ZCc0kvwUoOYcjfR2UVrI66RHj8MCrfAdEitdmFqbu2BYdYs8FHHZSb6iw==", + "dev": true, + "requires": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dev": true, + "requires": { + "get-func-name": "^2.0.0" + } + }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "requires": { + "semver": "^6.0.0" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true + }, + "mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "dev": true + }, + "mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "dev": true, + "requires": { + "mime-db": "1.51.0" + } + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "minimatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.1.tgz", + "integrity": "sha512-reLxBcKUPNBnc/sVtAbxgRVFSegoGeLaSjmphNhcwcolhYLRgtJscn5mRl6YRZNQv40Y7P6JM2YhSIsbL9OB5A==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "minio": { + "version": "7.0.26", + "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.26.tgz", + "integrity": "sha512-knutnEZZMIUB/Xln6psVDrqObFKXDcF9m4IfFIX+zgDHYg3AlcF88DY1wdgg7bUkf+uU8iHkzP2q5CXAhia73w==", + "dev": true, + "requires": { + "async": "^3.1.0", + "block-stream2": "^2.0.0", + "browser-or-node": "^1.3.0", + "crypto-browserify": "^3.12.0", + "es6-error": "^4.1.1", + "fast-xml-parser": "^3.17.5", + "ipaddr.js": "^2.0.1", + "json-stream": "^1.0.0", + "lodash": "^4.17.21", + "mime-types": "^2.1.14", + "mkdirp": "^0.5.1", + "querystring": "0.2.0", + "through2": "^3.0.1", + "web-encoding": "^1.1.5", + "xml": "^1.0.0", + "xml2js": "^0.4.15" + } + }, + "minipass": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", + "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + }, + "dependencies": { + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } + } + }, + "minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "requires": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "dependencies": { + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } + } + }, + "mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + } + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "dev": true, + "requires": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + } + }, + "mustache": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-2.3.2.tgz", + "integrity": "sha512-KpMNwdQsYz3O/SBS1qJ/o3sqUJ5wSb8gb0pul8CO0S56b9Y2ALm8zCfsjPXsqGFfoNBkDwZuZIAjhsZI03gYVQ==", + "dev": true + }, + "mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "nan": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", + "dev": true, + "optional": true + }, + "nanoclone": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz", + "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==", + "dev": true + }, + "nanoid": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz", + "integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==", + "dev": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + } + }, + "ndjson": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ndjson/-/ndjson-2.0.0.tgz", + "integrity": "sha512-nGl7LRGrzugTtaFcJMhLbpzJM6XdivmbkdlaGcrk/LXg2KL/YBC6z1g70xh0/al+oFuVFP8N8kiWRucmeEH/qQ==", + "dev": true, + "requires": { + "json-stringify-safe": "^5.0.1", + "minimist": "^1.2.5", + "readable-stream": "^3.6.0", + "split2": "^3.0.0", + "through2": "^4.0.0" + }, + "dependencies": { + "through2": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", + "dev": true, + "requires": { + "readable-stream": "3" + } + } + } + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true + }, + "neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true + }, + "network-address": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", + "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", + "dev": true + }, + "node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "dev": true + }, + "node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "node-forge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.2.1.tgz", + "integrity": "sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==", + "dev": true + }, + "node-releases": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.2.tgz", + "integrity": "sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==", + "dev": true + }, + "node-vault": { + "version": "0.9.22", + "resolved": "https://registry.npmjs.org/node-vault/-/node-vault-0.9.22.tgz", + "integrity": "sha512-/IR+YvINFhCzxJA5x/KHUDymJerFaeqvPUE2zwceRig8yEIA41qfVKusmO6bqRGFkr/2f6CaBVp7YfabzQyteg==", + "dev": true, + "requires": { + "debug": "3.1.0", + "mustache": "^2.2.1", + "request": "2.88.0", + "request-promise-native": "1.0.7", + "tv4": "^1.2.7" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "dev": true + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dev": true, + "requires": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + } + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true + } + } + }, + "nopt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "npmlog": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", + "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", + "dev": true, + "requires": { + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "object-hash": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", + "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", + "dev": true + }, + "object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "^3.0.0" + } + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "objectid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", + "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", + "dev": true, + "requires": { + "bson": "^0.1.9" + } + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dev": true, + "requires": { + "fn.name": "1.x.x" + } + }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "opener": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", + "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", + "dev": true + }, + "openfaas-client": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/openfaas-client/-/openfaas-client-0.0.2.tgz", + "integrity": "sha512-Dv3sBrbRNmdh9Tjsam6E00Wyh7Ghspv3i9tv1kfRHiVnZV0bmH5rx6zJ8i4A8jCfYHuBdHONffhm9/xh/KSYBQ==", + "dev": true, + "requires": { + "bluebird": "^3.7.2", + "request": "^2.88.2", + "typescript": "^4.2.4" + } + }, + "ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dev": true, + "requires": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "dev": true + }, + "p-retry": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-3.0.1.tgz", + "integrity": "sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w==", + "dev": true, + "requires": { + "retry": "^0.12.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "dev": true, + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "path-to-regexp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", + "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==", + "dev": true + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true + }, + "pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "dev": true, + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "phone": { + "version": "2.4.22", + "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", + "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==", + "dev": true + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "portfinder": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", + "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", + "dev": true, + "requires": { + "async": "^2.6.2", + "debug": "^3.1.1", + "mkdirp": "^0.5.5" + }, + "dependencies": { + "async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + }, + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true + }, + "property-expr": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.5.tgz", + "integrity": "sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==", + "dev": true + }, + "protobufjs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", + "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", + "dev": true, + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.1", + "@types/node": ">=13.7.0", + "long": "^4.0.0" + } + }, + "proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, + "requires": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "dependencies": { + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true + } + } + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "dev": true + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true + }, + "raw-body": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "dev": true, + "requires": { + "bytes": "3.1.1", + "http-errors": "1.8.1", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "rechoir": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.1.tgz", + "integrity": "sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==", + "dev": true, + "requires": { + "resolve": "^1.9.0" + } + }, + "redis-commands": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", + "dev": true + }, + "redis-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", + "integrity": "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=", + "dev": true + }, + "redis-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", + "integrity": "sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ=", + "dev": true, + "requires": { + "redis-errors": "^1.0.0" + } + }, + "reflect-metadata": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", + "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==", + "dev": true + }, + "regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "regenerate-unicode-properties": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", + "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "dev": true, + "requires": { + "regenerate": "^1.4.2" + } + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "regenerator-transform": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", + "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", + "dev": true, + "requires": { + "@babel/runtime": "^7.8.4" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "regexpu-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", + "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "dev": true, + "requires": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.0.1", + "regjsgen": "^0.6.0", + "regjsparser": "^0.8.2", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" + } + }, + "regjsgen": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", + "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==", + "dev": true + }, + "regjsparser": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", + "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "dev": true, + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "repeat-element": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", + "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "dev": true + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true + } + } + }, + "request-promise-core": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz", + "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==", + "dev": true, + "requires": { + "lodash": "^4.17.11" + } + }, + "request-promise-native": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz", + "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==", + "dev": true, + "requires": { + "request-promise-core": "1.1.2", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "dev": true, + "requires": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "requires": { + "resolve-from": "^5.0.0" + } + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "requires": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "rollup": { + "version": "2.56.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.56.3.tgz", + "integrity": "sha512-Au92NuznFklgQCUcV96iXlxUbHuB1vQMaH76DHl5M11TotjOHwqk9CwcrT78+Tnv4FN9uTBxq6p4EJoYkpyekg==", + "dev": true, + "requires": { + "fsevents": "~2.3.2" + } + }, + "run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true + }, + "rxjs": { + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.2.tgz", + "integrity": "sha512-PwDt186XaL3QN5qXj/H9DGyHhP3/RYYgZZwqBv9Tv8rsAaiwFH1IsJJlcgD37J7UW5a6O67qX0KWKS3/pu0m4w==", + "dev": true, + "requires": { + "tslib": "^2.1.0" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safe-stable-stringify": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz", + "integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==", + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + }, + "schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + } + }, + "secure-compare": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/secure-compare/-/secure-compare-3.0.1.tgz", + "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", + "dev": true + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "1.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + } + } + }, + "serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "dev": true, + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + } + } + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "requires": { + "kind-of": "^6.0.2" + } + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "shred": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/shred/-/shred-0.8.10.tgz", + "integrity": "sha1-zxz+gPeb9TE9Ltw7kSJ4/RB6hxc=", + "dev": true, + "requires": { + "ax": "0.1.8", + "cookiejar": "1.3.1", + "iconv-lite": ">= 0.1.2", + "sprintf": "0.1.1" + } + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", + "dev": true, + "requires": { + "is-arrayish": "^0.3.1" + } + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "dev": true, + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "^0.5.6" + } + }, + "source-map-url": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", + "dev": true + }, + "spawn-command": { + "version": "0.0.2-1", + "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", + "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=", + "dev": true + }, + "split-ca": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split-ca/-/split-ca-1.0.1.tgz", + "integrity": "sha1-bIOv82kvphJW4M0ZfgXp3hV2kaY=", + "dev": true + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "split2": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "dev": true, + "requires": { + "readable-stream": "^3.0.0" + } + }, + "sprintf": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/sprintf/-/sprintf-0.1.1.tgz", + "integrity": "sha1-6JJfyYlOGqaJnpCRx/KhITC3DeU=", + "dev": true + }, + "ssh2": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.6.0.tgz", + "integrity": "sha512-lxc+uvXqOxyQ99N2M7k5o4pkYDO5GptOTYduWw7hIM41icxvoBcCNHcj+LTKrjkL0vFcAl+qfZekthoSFRJn2Q==", + "dev": true, + "requires": { + "asn1": "^0.2.4", + "bcrypt-pbkdf": "^1.0.2", + "cpu-features": "0.0.2", + "nan": "^2.15.0" + } + }, + "sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", + "dev": true + }, + "standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "dev": true + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "dev": true + }, + "stealthy-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", + "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", + "dev": true + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + }, + "strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, + "swagger-client": { + "version": "2.0.26", + "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-2.0.26.tgz", + "integrity": "sha1-c/FQk/be82nzG5ZwxtlkWzMWPk0=", + "dev": true, + "requires": { + "btoa": "1.1.1", + "shred": "0.8.10" + }, + "dependencies": { + "btoa": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.1.tgz", + "integrity": "sha1-J8gQYmMQjp3UH/L6qtKhcEXjXro=", + "dev": true + } + } + }, + "sync": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", + "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", + "dev": true, + "requires": { + "fibers": ">=0.6" + } + }, + "tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true + }, + "tar": { + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "dev": true, + "requires": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "dependencies": { + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } + } + }, + "tar-fs": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.1.tgz", + "integrity": "sha512-6tzWDMeroL87uF/+lin46k+Q+46rAJ0SyPGz7OW7wTgblI273hsBqk2C1j0/xNadNLKDTUL9BukSjB7cwgmlPA==", + "dev": true, + "requires": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.0.0" + }, + "dependencies": { + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true + } + } + }, + "tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "requires": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + } + }, + "terser": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.10.0.tgz", + "integrity": "sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==", + "dev": true, + "requires": { + "commander": "^2.20.0", + "source-map": "~0.7.2", + "source-map-support": "~0.5.20" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + }, + "source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + } + } + }, + "terser-webpack-plugin": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", + "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", + "dev": true, + "requires": { + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.0", + "source-map": "^0.6.1", + "terser": "^5.7.2" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "through2": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true + }, + "toposort": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", + "integrity": "sha1-riF2gXXRVZ1IvvNUILL0li8JwzA=", + "dev": true + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, + "tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, + "triple-beam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", + "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==", + "dev": true + }, + "tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tv4": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.3.0.tgz", + "integrity": "sha1-0CDIRvrdUMhVq7JeuuzGj8EPeWM=", + "dev": true + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "typescript": { + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", + "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", + "dev": true + }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } + }, + "unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "dev": true + }, + "unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "requires": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "dev": true + }, + "unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", + "dev": true + }, + "union": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/union/-/union-0.5.0.tgz", + "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==", + "dev": true, + "requires": { + "qs": "^6.4.0" + } + }, + "union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + } + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + } + } + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "url-join": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-2.0.5.tgz", + "integrity": "sha1-WvIvGMBSoACkjXuCxenC4v7tpyg=", + "dev": true + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "util": { + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", + "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "safe-buffer": "^5.1.2", + "which-typed-array": "^1.1.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "walk": { + "version": "2.3.15", + "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.15.tgz", + "integrity": "sha512-4eRTBZljBfIISK1Vnt69Gvr2w/wc3U6Vtrw7qiN5iqYJPH7LElcYh/iU4XWhdCy2dZqv1ToMyYlybDylfG/5Vg==", + "dev": true, + "requires": { + "foreachasync": "^3.0.0" + } + }, + "walkdir": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz", + "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==", + "dev": true + }, + "watchpack": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", + "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", + "dev": true, + "requires": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + } + }, + "wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "dev": true, + "requires": { + "defaults": "^1.0.3" + } + }, + "web-encoding": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.5.tgz", + "integrity": "sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==", + "dev": true, + "requires": { + "@zxing/text-encoding": "0.9.0", + "util": "^0.12.3" + } + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + }, + "webpack": { + "version": "5.68.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.68.0.tgz", + "integrity": "sha512-zUcqaUO0772UuuW2bzaES2Zjlm/y3kRBQDVFVCge+s2Y8mwuUTdperGaAv65/NtRL/1zanpSJOq/MD8u61vo6g==", + "dev": true, + "requires": { + "@types/eslint-scope": "^3.7.0", + "@types/estree": "^0.0.50", + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/wasm-edit": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "acorn": "^8.4.1", + "acorn-import-assertions": "^1.7.6", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.8.3", + "es-module-lexer": "^0.9.0", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.1.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.1.3", + "watchpack": "^2.3.1", + "webpack-sources": "^3.2.3" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, + "webpack-cli": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.2.tgz", + "integrity": "sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ==", + "dev": true, + "requires": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^1.1.1", + "@webpack-cli/info": "^1.4.1", + "@webpack-cli/serve": "^1.6.1", + "colorette": "^2.0.14", + "commander": "^7.0.0", + "execa": "^5.0.0", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^2.2.0", + "rechoir": "^0.7.0", + "webpack-merge": "^5.7.3" + }, + "dependencies": { + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true + } + } + }, + "webpack-merge": { + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", + "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", + "dev": true, + "requires": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + } + }, + "webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dev": true, + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-typed-array": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", + "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.5", + "foreach": "^2.0.5", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.7" + } + }, + "wide-align": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "dev": true, + "requires": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, + "wildcard": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", + "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", + "dev": true + }, + "winston": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.6.0.tgz", + "integrity": "sha512-9j8T75p+bcN6D00sF/zjFVmPp+t8KMPB1MzbbzYjeN9VWxdsYnTB40TkbNUEXAmILEfChMvAMgidlX64OG3p6w==", + "dev": true, + "requires": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + } + }, + "winston-transport": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", + "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "dev": true, + "requires": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "ws": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "dev": true, + "requires": { + "async-limiter": "~1.0.0" + } + }, + "xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=", + "dev": true + }, + "xml2js": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", + "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "dev": true, + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + } + }, + "xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true + }, + "yup": { + "version": "0.32.9", + "resolved": "https://registry.npmjs.org/yup/-/yup-0.32.9.tgz", + "integrity": "sha512-Ci1qN+i2H0XpY7syDQ0k5zKQ/DoxO0LzPg8PAR/X4Mpj6DqaeCoIYEEjDJwhArh3Fa7GWbQQVDZKeXYlSH4JMg==", + "dev": true, + "requires": { + "@babel/runtime": "^7.10.5", + "@types/lodash": "^4.14.165", + "lodash": "^4.17.20", + "lodash-es": "^4.17.15", + "nanoclone": "^0.2.1", + "property-expr": "^2.0.4", + "toposort": "^2.0.2" + } + }, + "zipkin": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", + "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", + "dev": true, + "requires": { + "base64-js": "^1.1.2", + "is-promise": "^2.1.0", + "network-address": "^1.1.0" + } + }, + "zipkin-transport-http": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", + "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", + "dev": true, + "requires": { + "chai": "^4.1.2", + "node-fetch": "^1.5.3" + }, + "dependencies": { + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true + }, + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dev": true, + "requires": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + } + } + } + } +} diff --git a/mods/websdk/package.json b/mods/websdk/package.json new file mode 100644 index 000000000..369954e45 --- /dev/null +++ b/mods/websdk/package.json @@ -0,0 +1,62 @@ +{ + "name": "@fonoster/websdk", + "version": "0.2.40", + "description": "Fonoster WebSDK module", + "author": "Pedro Sanders ", + "homepage": "https://github.com/fonoster/fonoster#readme", + "license": "MIT", + "main": "dist/websdk.js", + "jsdelivr": "dist/websdk.js", + "unpkg": "dist/websdk.js", + "scripts": { + "pregenerate": ".scripts/download_swagger_file.sh", + "generate": "openapi-generator-cli generate --remove-operation-id-prefix -i ./swagger.json -g typescript-axios -o ./src/generated/api/ --additional-properties=typescriptThreePlus=true", + "prebuild": "rimraf ./dist tsconfig.tsbuildinfo", + "build": "tsc -b tsconfig.json && webpack --progress --config webpack.config.cjs", + "start": "http-server . -o -c10" + }, + "directories": { + "src": "src", + "test": "test" + }, + "files": [ + "dist" + ], + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/fonoster/fonoster.git" + }, + "bugs": { + "url": "https://github.com/fonoster/fonoster/issues" + }, + "devDependencies": { + "@babel/plugin-transform-runtime": "^7.15.8", + "@babel/preset-env": "^7.15.8", + "@fonoster/agents": "^0.2.40", + "@fonoster/auth": "^0.2.40", + "@fonoster/callmanager": "^0.2.40", + "@fonoster/common": "^0.2.40", + "@fonoster/domains": "^0.2.40", + "@fonoster/funcs": "^0.2.40", + "@fonoster/logger": "^0.2.40", + "@fonoster/numbers": "^0.2.40", + "@fonoster/projects": "^0.2.40", + "@fonoster/providers": "^0.2.40", + "@fonoster/secrets": "^0.2.40", + "@fonoster/storage": "^0.2.40", + "@fonoster/users": "^0.2.40", + "@openapitools/openapi-generator-cli": "^2.4.13", + "babel": "^6.23.0", + "babel-core": "^6.26.3", + "babel-loader": "^8.2.3", + "http-server": "^0.12.3", + "rollup": "2.56.3", + "tslib": "2.3.1", + "webpack": "^5.60.0", + "webpack-cli": "^4.9.1" + }, + "gitHead": "e7d1d6d4b29f2e0b4b37a55ea4026931a3f76d1b" +} diff --git a/mods/websdk/src/agents.ts b/mods/websdk/src/agents.ts new file mode 100644 index 000000000..ad6985ab2 --- /dev/null +++ b/mods/websdk/src/agents.ts @@ -0,0 +1,60 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {IAgentsClient} from "@fonoster/agents"; +import { + CreateAgentRequest, + CreateAgentResponse, + DeleteAgentResponse, + GetAgentResponse, + ListAgentsRequest, + ListAgentsResponse, + UpdateAgentRequest, + UpdateAgentResponse +} from "@fonoster/agents/src/client/types"; +import * as c from "./generated/api"; + +export default class Agents extends WebAPIClient implements IAgentsClient { + constructor(options: WebClientOptions) { + super(c, "AgentsApi", options); + } + + async createAgent(request: CreateAgentRequest): Promise { + return (await super.run("createAgent", request)) as any; + } + + async getAgent(ref: string): Promise { + return (await super.run("getAgent", ref)) as any; + } + + async updateAgent(request: UpdateAgentRequest): Promise { + return (await super.run("updateAgent", request)) as any; + } + + async listAgents(request: ListAgentsRequest): Promise { + return (await super.run("listAgents", request)) as any; + } + + async deleteAgent(ref: string): Promise { + return (await super.run("deleteAgent", ref)) as any; + } +} diff --git a/mods/websdk/src/auth.ts b/mods/websdk/src/auth.ts new file mode 100644 index 000000000..737f8fa2c --- /dev/null +++ b/mods/websdk/src/auth.ts @@ -0,0 +1,49 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {IAuthClient} from "@fonoster/auth/src/client/types"; +import { + CreateTokenRequest, + CreateTokenResponse, + ValidateTokenRequest +} from "@fonoster/auth/src/client/types"; +import * as c from "./generated/api"; + +export default class Auth extends WebAPIClient implements IAuthClient { + constructor(options: WebClientOptions) { + super(c, "AuthApi", options); + } + + async createToken(request: CreateTokenRequest): Promise { + return (await super.run("createToken", request)) as any; + } + + async createNoAccessToken( + request: CreateTokenRequest + ): Promise { + return (await super.run("createNoAccessToken", request)) as any; + } + + async validateToken(request: ValidateTokenRequest): Promise { + return (await super.run("validateToken", request)) as any; + } +} diff --git a/mods/websdk/src/callmanager.ts b/mods/websdk/src/callmanager.ts new file mode 100644 index 000000000..304450149 --- /dev/null +++ b/mods/websdk/src/callmanager.ts @@ -0,0 +1,41 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {ICallManagerClient} from "@fonoster/callmanager"; +import { + CallRequest, + CallResponse +} from "@fonoster/callmanager/src/client/types"; +import * as c from "./generated/api"; + +export default class CallManager + extends WebAPIClient + implements ICallManagerClient +{ + constructor(options: WebClientOptions) { + super(c, "CallManagerApi", options); + } + + async call(request: CallRequest): Promise { + return (await super.run("call", request)) as any; + } +} diff --git a/mods/websdk/src/domains.ts b/mods/websdk/src/domains.ts new file mode 100644 index 000000000..98b846a28 --- /dev/null +++ b/mods/websdk/src/domains.ts @@ -0,0 +1,64 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {IDomainsClient} from "@fonoster/domains"; +import { + CreateDomainRequest, + CreateDomainResponse, + DeleteDomainResponse, + GetDomainResponse, + ListDomainsRequest, + ListDomainsResponse, + UpdateDomainRequest, + UpdateDomainResponse +} from "@fonoster/domains/src/client/types"; +import * as c from "./generated/api"; + +export default class Domains extends WebAPIClient implements IDomainsClient { + constructor(options: WebClientOptions) { + super(c, "DomainsApi", options); + } + + async createDomain( + request: CreateDomainRequest + ): Promise { + return (await super.run("createDomain", request)) as any; + } + + async getDomain(ref: string): Promise { + return (await super.run("getDomain", ref)) as any; + } + + async updateDomain( + request: UpdateDomainRequest + ): Promise { + return (await super.run("updateDomain", request)) as any; + } + + async listDomains(request: ListDomainsRequest): Promise { + return (await super.run("listDomains", request)) as any; + } + + async deleteDomain(ref: string): Promise { + return (await super.run("deleteDomain", ref)) as any; + } +} diff --git a/mods/websdk/src/funcs.ts b/mods/websdk/src/funcs.ts new file mode 100644 index 000000000..62195b6d0 --- /dev/null +++ b/mods/websdk/src/funcs.ts @@ -0,0 +1,64 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import { + IFuncsClient, + DeployFuncRequest, + GetFuncRequest, + GetFuncResponse, + DeleteFuncResponse, + DeleteFuncRequest, + ListFuncsRequest, + ListFuncsResponse, + GetFuncLogsRequest +} from "@fonoster/funcs/src/client/types"; +import { + DeployStream, + LogsStream +} from "@fonoster/funcs/src/client/stream_wrappers"; +import * as c from "./generated/api"; + +export default class Agents extends WebAPIClient implements IFuncsClient { + constructor(options: WebClientOptions) { + super(c, "FuncsApi", options); + } + + async deployFunc(request: DeployFuncRequest): Promise { + return (await super.run("deployFunc", request)) as any; + } + + async getFunc(request: GetFuncRequest): Promise { + return (await super.run("getFunc", request)) as any; + } + + async deleteFunc(request: DeleteFuncRequest): Promise { + return (await super.run("deleteFunc", request)) as any; + } + + async listFuncs(request: ListFuncsRequest): Promise { + return (await super.run("listFuncs", request)) as any; + } + + async getFuncLogs(request: GetFuncLogsRequest): Promise { + return (await super.run("getFuncLogs", request)) as any; + } +} diff --git a/mods/websdk/src/generated/api/.gitignore b/mods/websdk/src/generated/api/.gitignore new file mode 100644 index 000000000..149b57654 --- /dev/null +++ b/mods/websdk/src/generated/api/.gitignore @@ -0,0 +1,4 @@ +wwwroot/*.js +node_modules +typings +dist diff --git a/mods/websdk/src/generated/api/.npmignore b/mods/websdk/src/generated/api/.npmignore new file mode 100644 index 000000000..999d88df6 --- /dev/null +++ b/mods/websdk/src/generated/api/.npmignore @@ -0,0 +1 @@ +# empty npmignore to ensure all required files (e.g., in the dist folder) are published by npm \ No newline at end of file diff --git a/mods/websdk/src/generated/api/.openapi-generator-ignore b/mods/websdk/src/generated/api/.openapi-generator-ignore new file mode 100644 index 000000000..7484ee590 --- /dev/null +++ b/mods/websdk/src/generated/api/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/mods/websdk/src/generated/api/.openapi-generator/FILES b/mods/websdk/src/generated/api/.openapi-generator/FILES new file mode 100644 index 000000000..a80cd4f07 --- /dev/null +++ b/mods/websdk/src/generated/api/.openapi-generator/FILES @@ -0,0 +1,8 @@ +.gitignore +.npmignore +api.ts +base.ts +common.ts +configuration.ts +git_push.sh +index.ts diff --git a/mods/websdk/src/generated/api/.openapi-generator/VERSION b/mods/websdk/src/generated/api/.openapi-generator/VERSION new file mode 100644 index 000000000..e230c8396 --- /dev/null +++ b/mods/websdk/src/generated/api/.openapi-generator/VERSION @@ -0,0 +1 @@ +5.3.0 \ No newline at end of file diff --git a/mods/websdk/src/generated/api/api.js b/mods/websdk/src/generated/api/api.js new file mode 100644 index 000000000..db82ca89b --- /dev/null +++ b/mods/websdk/src/generated/api/api.js @@ -0,0 +1,3480 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Project Fonos + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +import globalAxios from 'axios'; +// Some imports not used depending on template conditions +// @ts-ignore +import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common'; +// @ts-ignore +import { BASE_PATH, BaseAPI } from './base'; +/** + * + * @export + * @enum {string} + */ +export var GetObjectURLRequestBucket; +(function (GetObjectURLRequestBucket) { + GetObjectURLRequestBucket["Apps"] = "APPS"; + GetObjectURLRequestBucket["Recordings"] = "RECORDINGS"; + GetObjectURLRequestBucket["Public"] = "PUBLIC"; + GetObjectURLRequestBucket["Funcs"] = "FUNCS"; +})(GetObjectURLRequestBucket || (GetObjectURLRequestBucket = {})); +/** + * + * @export + * @enum {string} + */ +export var UploadObjectRequestBucket; +(function (UploadObjectRequestBucket) { + UploadObjectRequestBucket["Apps"] = "APPS"; + UploadObjectRequestBucket["Recordings"] = "RECORDINGS"; + UploadObjectRequestBucket["Public"] = "PUBLIC"; + UploadObjectRequestBucket["Funcs"] = "FUNCS"; +})(UploadObjectRequestBucket || (UploadObjectRequestBucket = {})); +/** + * + * @export + * @enum {string} + */ +export var View; +(function (View) { + View["Basic"] = "BASIC"; + View["Standard"] = "STANDARD"; + View["Full"] = "FULL"; +})(View || (View = {})); +/** + * AgentsApi - axios parameter creator + * @export + */ +export const AgentsApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Creates a new Agent resource + * @param {CreateAgentRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createAgent: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createAgent', 'body', body); + const localVarPath = `/v1beta1/agents`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Hard delete of an Agent resource + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteAgent: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteAgent', 'ref', ref); + const localVarPath = `/v1beta1/agents/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets Agent by reference + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getAgent: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getAgent', 'ref', ref); + const localVarPath = `/v1beta1/agents/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Lists Agents from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listAgents: (pageSize, pageToken, view, options = {}) => __awaiter(this, void 0, void 0, function* () { + const localVarPath = `/v1beta1/agents`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Agent\'s reference + * @param {InlineObject} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateAgent: (ref, body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateAgent', 'ref', ref); + // verify required parameter 'body' is not null or undefined + assertParamExists('updateAgent', 'body', body); + const localVarPath = `/v1beta1/agents/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * AgentsApi - functional programming interface + * @export + */ +export const AgentsApiFp = function (configuration) { + const localVarAxiosParamCreator = AgentsApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Creates a new Agent resource + * @param {CreateAgentRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createAgent(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createAgent(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Hard delete of an Agent resource + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteAgent(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAgent(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets Agent by reference + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getAgent(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getAgent(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Lists Agents from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listAgents(pageSize, pageToken, view, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgents(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Agent\'s reference + * @param {InlineObject} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateAgent(ref, body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAgent(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * AgentsApi - factory interface + * @export + */ +export const AgentsApiFactory = function (configuration, basePath, axios) { + const localVarFp = AgentsApiFp(configuration); + return { + /** + * + * @summary Creates a new Agent resource + * @param {CreateAgentRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createAgent(body, options) { + return localVarFp.createAgent(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Hard delete of an Agent resource + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteAgent(ref, options) { + return localVarFp.deleteAgent(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets Agent by reference + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getAgent(ref, options) { + return localVarFp.getAgent(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists Agents from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listAgents(pageSize, pageToken, view, options) { + return localVarFp.listAgents(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Agent\'s reference + * @param {InlineObject} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateAgent(ref, body, options) { + return localVarFp.updateAgent(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * AgentsApi - object-oriented interface + * @export + * @class AgentsApi + * @extends {BaseAPI} + */ +export class AgentsApi extends BaseAPI { + /** + * + * @summary Creates a new Agent resource + * @param {CreateAgentRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + createAgent(body, options) { + return AgentsApiFp(this.configuration).createAgent(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Hard delete of an Agent resource + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + deleteAgent(ref, options) { + return AgentsApiFp(this.configuration).deleteAgent(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets Agent by reference + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + getAgent(ref, options) { + return AgentsApiFp(this.configuration).getAgent(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Lists Agents from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + listAgents(pageSize, pageToken, view, options) { + return AgentsApiFp(this.configuration).listAgents(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Agent\'s reference + * @param {InlineObject} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + updateAgent(ref, body, options) { + return AgentsApiFp(this.configuration).updateAgent(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * AuthApi - axios parameter creator + * @export + */ +export const AuthApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Creates a new token for a given accessKeyId + * @param {CreateTokenRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createToken: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createToken', 'body', body); + const localVarPath = `/v1beta1/auth/token`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets a role by name + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getRole: (name, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'name' is not null or undefined + assertParamExists('getRole', 'name', name); + const localVarPath = `/v1beta1/auth/role/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Verifies if a token was issue by Fonos + * @param {string} token + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + validateToken: (token, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'token' is not null or undefined + assertParamExists('validateToken', 'token', token); + const localVarPath = `/v1beta1/auth/token/{token}` + .replace(`{${"token"}}`, encodeURIComponent(String(token))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * AuthApi - functional programming interface + * @export + */ +export const AuthApiFp = function (configuration) { + const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Creates a new token for a given accessKeyId + * @param {CreateTokenRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createToken(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createToken(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets a role by name + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getRole(name, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getRole(name, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Verifies if a token was issue by Fonos + * @param {string} token + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + validateToken(token, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.validateToken(token, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * AuthApi - factory interface + * @export + */ +export const AuthApiFactory = function (configuration, basePath, axios) { + const localVarFp = AuthApiFp(configuration); + return { + /** + * + * @summary Creates a new token for a given accessKeyId + * @param {CreateTokenRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createToken(body, options) { + return localVarFp.createToken(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a role by name + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getRole(name, options) { + return localVarFp.getRole(name, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Verifies if a token was issue by Fonos + * @param {string} token + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + validateToken(token, options) { + return localVarFp.validateToken(token, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * AuthApi - object-oriented interface + * @export + * @class AuthApi + * @extends {BaseAPI} + */ +export class AuthApi extends BaseAPI { + /** + * + * @summary Creates a new token for a given accessKeyId + * @param {CreateTokenRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AuthApi + */ + createToken(body, options) { + return AuthApiFp(this.configuration).createToken(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets a role by name + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AuthApi + */ + getRole(name, options) { + return AuthApiFp(this.configuration).getRole(name, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Verifies if a token was issue by Fonos + * @param {string} token + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AuthApi + */ + validateToken(token, options) { + return AuthApiFp(this.configuration).validateToken(token, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * CallManagerApi - axios parameter creator + * @export + */ +export const CallManagerApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Originates a call and pass channel to an application + * @param {CallRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + call: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('call', 'body', body); + const localVarPath = `/v1beta1/call`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * CallManagerApi - functional programming interface + * @export + */ +export const CallManagerApiFp = function (configuration) { + const localVarAxiosParamCreator = CallManagerApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Originates a call and pass channel to an application + * @param {CallRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + call(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.call(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * CallManagerApi - factory interface + * @export + */ +export const CallManagerApiFactory = function (configuration, basePath, axios) { + const localVarFp = CallManagerApiFp(configuration); + return { + /** + * + * @summary Originates a call and pass channel to an application + * @param {CallRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + call(body, options) { + return localVarFp.call(body, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * CallManagerApi - object-oriented interface + * @export + * @class CallManagerApi + * @extends {BaseAPI} + */ +export class CallManagerApi extends BaseAPI { + /** + * + * @summary Originates a call and pass channel to an application + * @param {CallRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CallManagerApi + */ + call(body, options) { + return CallManagerApiFp(this.configuration).call(body, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * DomainsApi - axios parameter creator + * @export + */ +export const DomainsApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Creates a new Domain resource + * @param {CreateDomainRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createDomain: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createDomain', 'body', body); + const localVarPath = `/v1beta1/domains`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Hard delete of a domain resource + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteDomain: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteDomain', 'ref', ref); + const localVarPath = `/v1beta1/domains/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets a Domain by reference + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getDomain: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getDomain', 'ref', ref); + const localVarPath = `/v1beta1/domains/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Domain\'s reference + * @param {InlineObject1} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateDomain: (ref, body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateDomain', 'ref', ref); + // verify required parameter 'body' is not null or undefined + assertParamExists('updateDomain', 'body', body); + const localVarPath = `/v1beta1/domains/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * DomainsApi - functional programming interface + * @export + */ +export const DomainsApiFp = function (configuration) { + const localVarAxiosParamCreator = DomainsApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Creates a new Domain resource + * @param {CreateDomainRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createDomain(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Hard delete of a domain resource + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteDomain(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets a Domain by reference + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getDomain(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getDomain(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Domain\'s reference + * @param {InlineObject1} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateDomain(ref, body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.updateDomain(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * DomainsApi - factory interface + * @export + */ +export const DomainsApiFactory = function (configuration, basePath, axios) { + const localVarFp = DomainsApiFp(configuration); + return { + /** + * + * @summary Creates a new Domain resource + * @param {CreateDomainRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createDomain(body, options) { + return localVarFp.createDomain(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Hard delete of a domain resource + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteDomain(ref, options) { + return localVarFp.deleteDomain(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a Domain by reference + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getDomain(ref, options) { + return localVarFp.getDomain(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Domain\'s reference + * @param {InlineObject1} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateDomain(ref, body, options) { + return localVarFp.updateDomain(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * DomainsApi - object-oriented interface + * @export + * @class DomainsApi + * @extends {BaseAPI} + */ +export class DomainsApi extends BaseAPI { + /** + * + * @summary Creates a new Domain resource + * @param {CreateDomainRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DomainsApi + */ + createDomain(body, options) { + return DomainsApiFp(this.configuration).createDomain(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Hard delete of a domain resource + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DomainsApi + */ + deleteDomain(ref, options) { + return DomainsApiFp(this.configuration).deleteDomain(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets a Domain by reference + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DomainsApi + */ + getDomain(ref, options) { + return DomainsApiFp(this.configuration).getDomain(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Domain\'s reference + * @param {InlineObject1} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DomainsApi + */ + updateDomain(ref, body, options) { + return DomainsApiFp(this.configuration).updateDomain(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * FuncsApi - axios parameter creator + * @export + */ +export const FuncsApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteFunc: (name, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'name' is not null or undefined + assertParamExists('deleteFunc', 'name', name); + const localVarPath = `/v1beta1/funcs/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets a function by name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Requested level of detail. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFunc: (name, view, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'name' is not null or undefined + assertParamExists('getFunc', 'name', name); + const localVarPath = `/v1beta1/funcs/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {string} [since] Only return logs after a specific date (RFC3339). + * @param {number} [tail] + * @param {boolean} [follow] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFuncLogs: (name, since, tail, follow, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'name' is not null or undefined + assertParamExists('getFuncLogs', 'name', name); + const localVarPath = `/v1beta1/funcs/{name}/logs` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (since !== undefined) { + localVarQueryParameter['since'] = since; + } + if (tail !== undefined) { + localVarQueryParameter['tail'] = tail; + } + if (follow !== undefined) { + localVarQueryParameter['follow'] = follow; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Shows a list of user functions + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listFuncs: (pageSize, pageToken, view, options = {}) => __awaiter(this, void 0, void 0, function* () { + const localVarPath = `/v1beta1/funcs`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * FuncsApi - functional programming interface + * @export + */ +export const FuncsApiFp = function (configuration) { + const localVarAxiosParamCreator = FuncsApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteFunc(name, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFunc(name, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets a function by name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Requested level of detail. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFunc(name, view, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getFunc(name, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {string} [since] Only return logs after a specific date (RFC3339). + * @param {number} [tail] + * @param {boolean} [follow] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFuncLogs(name, since, tail, follow, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getFuncLogs(name, since, tail, follow, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Shows a list of user functions + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listFuncs(pageSize, pageToken, view, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.listFuncs(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * FuncsApi - factory interface + * @export + */ +export const FuncsApiFactory = function (configuration, basePath, axios) { + const localVarFp = FuncsApiFp(configuration); + return { + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteFunc(name, options) { + return localVarFp.deleteFunc(name, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a function by name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Requested level of detail. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFunc(name, view, options) { + return localVarFp.getFunc(name, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {string} [since] Only return logs after a specific date (RFC3339). + * @param {number} [tail] + * @param {boolean} [follow] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFuncLogs(name, since, tail, follow, options) { + return localVarFp.getFuncLogs(name, since, tail, follow, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Shows a list of user functions + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listFuncs(pageSize, pageToken, view, options) { + return localVarFp.listFuncs(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * FuncsApi - object-oriented interface + * @export + * @class FuncsApi + * @extends {BaseAPI} + */ +export class FuncsApi extends BaseAPI { + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FuncsApi + */ + deleteFunc(name, options) { + return FuncsApiFp(this.configuration).deleteFunc(name, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets a function by name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Requested level of detail. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FuncsApi + */ + getFunc(name, view, options) { + return FuncsApiFp(this.configuration).getFunc(name, view, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {string} [since] Only return logs after a specific date (RFC3339). + * @param {number} [tail] + * @param {boolean} [follow] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FuncsApi + */ + getFuncLogs(name, since, tail, follow, options) { + return FuncsApiFp(this.configuration).getFuncLogs(name, since, tail, follow, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Shows a list of user functions + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FuncsApi + */ + listFuncs(pageSize, pageToken, view, options) { + return FuncsApiFp(this.configuration).listFuncs(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * NumbersApi - axios parameter creator + * @export + */ +export const NumbersApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Creates a new Number resource + * @param {CreateNumberRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createNumber: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createNumber', 'body', body); + const localVarPath = `/v1beta1/numbers`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Hard delete of a Number resource + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteNumber: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteNumber', 'ref', ref); + const localVarPath = `/v1beta1/numbers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets Number using its reference + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getNumber: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getNumber', 'ref', ref); + const localVarPath = `/v1beta1/numbers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Lists Numbers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listNumbers: (pageSize, pageToken, view, options = {}) => __awaiter(this, void 0, void 0, function* () { + const localVarPath = `/v1beta1/numbers`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Number\'s reference + * @param {InlineObject2} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateNumber: (ref, body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateNumber', 'ref', ref); + // verify required parameter 'body' is not null or undefined + assertParamExists('updateNumber', 'body', body); + const localVarPath = `/v1beta1/numbers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * NumbersApi - functional programming interface + * @export + */ +export const NumbersApiFp = function (configuration) { + const localVarAxiosParamCreator = NumbersApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Creates a new Number resource + * @param {CreateNumberRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createNumber(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createNumber(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Hard delete of a Number resource + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteNumber(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteNumber(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets Number using its reference + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getNumber(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getNumber(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Lists Numbers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listNumbers(pageSize, pageToken, view, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.listNumbers(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Number\'s reference + * @param {InlineObject2} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateNumber(ref, body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.updateNumber(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * NumbersApi - factory interface + * @export + */ +export const NumbersApiFactory = function (configuration, basePath, axios) { + const localVarFp = NumbersApiFp(configuration); + return { + /** + * + * @summary Creates a new Number resource + * @param {CreateNumberRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createNumber(body, options) { + return localVarFp.createNumber(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Hard delete of a Number resource + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteNumber(ref, options) { + return localVarFp.deleteNumber(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets Number using its reference + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getNumber(ref, options) { + return localVarFp.getNumber(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists Numbers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listNumbers(pageSize, pageToken, view, options) { + return localVarFp.listNumbers(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Number\'s reference + * @param {InlineObject2} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateNumber(ref, body, options) { + return localVarFp.updateNumber(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * NumbersApi - object-oriented interface + * @export + * @class NumbersApi + * @extends {BaseAPI} + */ +export class NumbersApi extends BaseAPI { + /** + * + * @summary Creates a new Number resource + * @param {CreateNumberRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + createNumber(body, options) { + return NumbersApiFp(this.configuration).createNumber(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Hard delete of a Number resource + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + deleteNumber(ref, options) { + return NumbersApiFp(this.configuration).deleteNumber(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets Number using its reference + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + getNumber(ref, options) { + return NumbersApiFp(this.configuration).getNumber(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Lists Numbers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + listNumbers(pageSize, pageToken, view, options) { + return NumbersApiFp(this.configuration).listNumbers(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Number\'s reference + * @param {InlineObject2} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + updateNumber(ref, body, options) { + return NumbersApiFp(this.configuration).updateNumber(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * ProjectsApi - axios parameter creator + * @export + */ +export const ProjectsApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Creates a new Project resource + * @param {CreateProjectRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProject: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createProject', 'body', body); + const localVarPath = `/v1beta1/projects`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary WARNING: Hard delete of a Project will remove all related resources + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProject: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteProject', 'ref', ref); + const localVarPath = `/v1beta1/projects/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets a Project by AccessKeyId + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProject: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getProject', 'ref', ref); + const localVarPath = `/v1beta1/projects/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Lists all the Projects for a given User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () { + const localVarPath = `/v1beta1/projects`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Regenerates the accessKeySecret + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + renewAccessKeySecret: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('renewAccessKeySecret', 'ref', ref); + const localVarPath = `/v1beta1/projects/{ref}/credentials` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Updates a given Project + * @param {string} ref Project\'s reference + * @param {InlineObject3} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProject: (ref, body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateProject', 'ref', ref); + // verify required parameter 'body' is not null or undefined + assertParamExists('updateProject', 'body', body); + const localVarPath = `/v1beta1/projects/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * ProjectsApi - functional programming interface + * @export + */ +export const ProjectsApiFp = function (configuration) { + const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Creates a new Project resource + * @param {CreateProjectRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProject(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createProject(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary WARNING: Hard delete of a Project will remove all related resources + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProject(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProject(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets a Project by AccessKeyId + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProject(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getProject(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Lists all the Projects for a given User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProjects(options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.listProjects(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Regenerates the accessKeySecret + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + renewAccessKeySecret(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.renewAccessKeySecret(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Updates a given Project + * @param {string} ref Project\'s reference + * @param {InlineObject3} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProject(ref, body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProject(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * ProjectsApi - factory interface + * @export + */ +export const ProjectsApiFactory = function (configuration, basePath, axios) { + const localVarFp = ProjectsApiFp(configuration); + return { + /** + * + * @summary Creates a new Project resource + * @param {CreateProjectRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProject(body, options) { + return localVarFp.createProject(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary WARNING: Hard delete of a Project will remove all related resources + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProject(ref, options) { + return localVarFp.deleteProject(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a Project by AccessKeyId + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProject(ref, options) { + return localVarFp.getProject(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists all the Projects for a given User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProjects(options) { + return localVarFp.listProjects(options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Regenerates the accessKeySecret + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + renewAccessKeySecret(ref, options) { + return localVarFp.renewAccessKeySecret(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Updates a given Project + * @param {string} ref Project\'s reference + * @param {InlineObject3} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProject(ref, body, options) { + return localVarFp.updateProject(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * ProjectsApi - object-oriented interface + * @export + * @class ProjectsApi + * @extends {BaseAPI} + */ +export class ProjectsApi extends BaseAPI { + /** + * + * @summary Creates a new Project resource + * @param {CreateProjectRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + createProject(body, options) { + return ProjectsApiFp(this.configuration).createProject(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary WARNING: Hard delete of a Project will remove all related resources + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + deleteProject(ref, options) { + return ProjectsApiFp(this.configuration).deleteProject(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets a Project by AccessKeyId + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + getProject(ref, options) { + return ProjectsApiFp(this.configuration).getProject(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Lists all the Projects for a given User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + listProjects(options) { + return ProjectsApiFp(this.configuration).listProjects(options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Regenerates the accessKeySecret + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + renewAccessKeySecret(ref, options) { + return ProjectsApiFp(this.configuration).renewAccessKeySecret(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Updates a given Project + * @param {string} ref Project\'s reference + * @param {InlineObject3} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + updateProject(ref, body, options) { + return ProjectsApiFp(this.configuration).updateProject(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * ProvidersApi - axios parameter creator + * @export + */ +export const ProvidersApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Creates a new Provider resource. + * @param {CreateProviderRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProvider: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createProvider', 'body', body); + const localVarPath = `/v1beta1/providers`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Hard delete of a Provider resource + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProvider: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteProvider', 'ref', ref); + const localVarPath = `/v1beta1/providers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets Provider using its reference + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProvider: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getProvider', 'ref', ref); + const localVarPath = `/v1beta1/providers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Lists Providers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProviders: (pageSize, pageToken, view, options = {}) => __awaiter(this, void 0, void 0, function* () { + const localVarPath = `/v1beta1/providers`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Provider\'s reference + * @param {InlineObject4} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProvider: (ref, body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateProvider', 'ref', ref); + // verify required parameter 'body' is not null or undefined + assertParamExists('updateProvider', 'body', body); + const localVarPath = `/v1beta1/providers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * ProvidersApi - functional programming interface + * @export + */ +export const ProvidersApiFp = function (configuration) { + const localVarAxiosParamCreator = ProvidersApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Creates a new Provider resource. + * @param {CreateProviderRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProvider(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createProvider(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Hard delete of a Provider resource + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProvider(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProvider(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets Provider using its reference + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProvider(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getProvider(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Lists Providers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProviders(pageSize, pageToken, view, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.listProviders(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Provider\'s reference + * @param {InlineObject4} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProvider(ref, body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProvider(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * ProvidersApi - factory interface + * @export + */ +export const ProvidersApiFactory = function (configuration, basePath, axios) { + const localVarFp = ProvidersApiFp(configuration); + return { + /** + * + * @summary Creates a new Provider resource. + * @param {CreateProviderRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProvider(body, options) { + return localVarFp.createProvider(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Hard delete of a Provider resource + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProvider(ref, options) { + return localVarFp.deleteProvider(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets Provider using its reference + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProvider(ref, options) { + return localVarFp.getProvider(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists Providers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProviders(pageSize, pageToken, view, options) { + return localVarFp.listProviders(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Provider\'s reference + * @param {InlineObject4} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProvider(ref, body, options) { + return localVarFp.updateProvider(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * ProvidersApi - object-oriented interface + * @export + * @class ProvidersApi + * @extends {BaseAPI} + */ +export class ProvidersApi extends BaseAPI { + /** + * + * @summary Creates a new Provider resource. + * @param {CreateProviderRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + createProvider(body, options) { + return ProvidersApiFp(this.configuration).createProvider(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Hard delete of a Provider resource + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + deleteProvider(ref, options) { + return ProvidersApiFp(this.configuration).deleteProvider(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets Provider using its reference + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + getProvider(ref, options) { + return ProvidersApiFp(this.configuration).getProvider(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Lists Providers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + listProviders(pageSize, pageToken, view, options) { + return ProvidersApiFp(this.configuration).listProviders(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Provider\'s reference + * @param {InlineObject4} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + updateProvider(ref, body, options) { + return ProvidersApiFp(this.configuration).updateProvider(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * SecretsApi - axios parameter creator + * @export + */ +export const SecretsApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @param {CreateSecretRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createSecret: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createSecret', 'body', body); + const localVarPath = `/v1beta1/secrets`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Peforms a hard delete of the Secret resource + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteSecret: (name, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'name' is not null or undefined + assertParamExists('deleteSecret', 'name', name); + const localVarPath = `/v1beta1/secrets/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets Secret with the Secret-name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getSecret: (name, view, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'name' is not null or undefined + assertParamExists('getSecret', 'name', name); + const localVarPath = `/v1beta1/secrets/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Lists Secret + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listSecretsId: (pageSize, pageToken, view, options = {}) => __awaiter(this, void 0, void 0, function* () { + const localVarPath = `/v1beta1/secrets`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * SecretsApi - functional programming interface + * @export + */ +export const SecretsApiFp = function (configuration) { + const localVarAxiosParamCreator = SecretsApiAxiosParamCreator(configuration); + return { + /** + * + * @param {CreateSecretRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createSecret(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createSecret(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Peforms a hard delete of the Secret resource + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteSecret(name, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSecret(name, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets Secret with the Secret-name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getSecret(name, view, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getSecret(name, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Lists Secret + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listSecretsId(pageSize, pageToken, view, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.listSecretsId(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * SecretsApi - factory interface + * @export + */ +export const SecretsApiFactory = function (configuration, basePath, axios) { + const localVarFp = SecretsApiFp(configuration); + return { + /** + * + * @param {CreateSecretRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createSecret(body, options) { + return localVarFp.createSecret(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Peforms a hard delete of the Secret resource + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteSecret(name, options) { + return localVarFp.deleteSecret(name, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets Secret with the Secret-name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getSecret(name, view, options) { + return localVarFp.getSecret(name, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists Secret + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listSecretsId(pageSize, pageToken, view, options) { + return localVarFp.listSecretsId(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * SecretsApi - object-oriented interface + * @export + * @class SecretsApi + * @extends {BaseAPI} + */ +export class SecretsApi extends BaseAPI { + /** + * + * @param {CreateSecretRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SecretsApi + */ + createSecret(body, options) { + return SecretsApiFp(this.configuration).createSecret(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Peforms a hard delete of the Secret resource + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SecretsApi + */ + deleteSecret(name, options) { + return SecretsApiFp(this.configuration).deleteSecret(name, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets Secret with the Secret-name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SecretsApi + */ + getSecret(name, view, options) { + return SecretsApiFp(this.configuration).getSecret(name, view, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Lists Secret + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SecretsApi + */ + listSecretsId(pageSize, pageToken, view, options) { + return SecretsApiFp(this.configuration).listSecretsId(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * StorageApi - axios parameter creator + * @export + */ +export const StorageApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @param {'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS'} bucket + * @param {string} filename + * @param {string} [accessKeyId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getObjectURL: (bucket, filename, accessKeyId, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'bucket' is not null or undefined + assertParamExists('getObjectURL', 'bucket', bucket); + // verify required parameter 'filename' is not null or undefined + assertParamExists('getObjectURL', 'filename', filename); + const localVarPath = `/v1beta1/storage/{bucket}/{filename}` + .replace(`{${"bucket"}}`, encodeURIComponent(String(bucket))) + .replace(`{${"filename"}}`, encodeURIComponent(String(filename))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + if (accessKeyId !== undefined) { + localVarQueryParameter['accessKeyId'] = accessKeyId; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * StorageApi - functional programming interface + * @export + */ +export const StorageApiFp = function (configuration) { + const localVarAxiosParamCreator = StorageApiAxiosParamCreator(configuration); + return { + /** + * + * @param {'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS'} bucket + * @param {string} filename + * @param {string} [accessKeyId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getObjectURL(bucket, filename, accessKeyId, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getObjectURL(bucket, filename, accessKeyId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * StorageApi - factory interface + * @export + */ +export const StorageApiFactory = function (configuration, basePath, axios) { + const localVarFp = StorageApiFp(configuration); + return { + /** + * + * @param {'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS'} bucket + * @param {string} filename + * @param {string} [accessKeyId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getObjectURL(bucket, filename, accessKeyId, options) { + return localVarFp.getObjectURL(bucket, filename, accessKeyId, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * StorageApi - object-oriented interface + * @export + * @class StorageApi + * @extends {BaseAPI} + */ +export class StorageApi extends BaseAPI { + /** + * + * @param {'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS'} bucket + * @param {string} filename + * @param {string} [accessKeyId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StorageApi + */ + getObjectURL(bucket, filename, accessKeyId, options) { + return StorageApiFp(this.configuration).getObjectURL(bucket, filename, accessKeyId, options).then((request) => request(this.axios, this.basePath)); + } +} +/** + * UsersApi - axios parameter creator + * @export + */ +export const UsersApiAxiosParamCreator = function (configuration) { + return { + /** + * + * @summary Creates a new User resource + * @param {CreateUserRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUser: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createUser', 'body', body); + const localVarPath = `/v1beta1/users`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Creates a set of credentials + * @param {CreateUserCredentialsRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUserCredentials: (body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'body' is not null or undefined + assertParamExists('createUserCredentials', 'body', body); + const localVarPath = `/v1beta1/users/credentials`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary WARNING: Hard delete of an User will remove all related projects and its resources. + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteUser: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteUser', 'ref', ref); + const localVarPath = `/v1beta1/users/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Gets User by reference + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getUser: (ref, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getUser', 'ref', ref); + const localVarPath = `/v1beta1/users/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + /** + * + * @summary Change or update fields in a resource + * @param {string} ref User\'s reference + * @param {InlineObject5} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateUser: (ref, body, options = {}) => __awaiter(this, void 0, void 0, function* () { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateUser', 'ref', ref); + // verify required parameter 'body' is not null or undefined + assertParamExists('updateUser', 'body', body); + const localVarPath = `/v1beta1/users/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options); + const localVarHeaderParameter = {}; + const localVarQueryParameter = {}; + // authentication AccessKeyId required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration); + // authentication AccessKeySecret required + yield setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration); + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration); + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }), + }; +}; +/** + * UsersApi - functional programming interface + * @export + */ +export const UsersApiFp = function (configuration) { + const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration); + return { + /** + * + * @summary Creates a new User resource + * @param {CreateUserRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUser(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createUser(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Creates a set of credentials + * @param {CreateUserCredentialsRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUserCredentials(body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.createUserCredentials(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary WARNING: Hard delete of an User will remove all related projects and its resources. + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteUser(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteUser(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Gets User by reference + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getUser(ref, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.getUser(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref User\'s reference + * @param {InlineObject5} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateUser(ref, body, options) { + return __awaiter(this, void 0, void 0, function* () { + const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUser(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }); + }, + }; +}; +/** + * UsersApi - factory interface + * @export + */ +export const UsersApiFactory = function (configuration, basePath, axios) { + const localVarFp = UsersApiFp(configuration); + return { + /** + * + * @summary Creates a new User resource + * @param {CreateUserRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUser(body, options) { + return localVarFp.createUser(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Creates a set of credentials + * @param {CreateUserCredentialsRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUserCredentials(body, options) { + return localVarFp.createUserCredentials(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary WARNING: Hard delete of an User will remove all related projects and its resources. + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteUser(ref, options) { + return localVarFp.deleteUser(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets User by reference + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getUser(ref, options) { + return localVarFp.getUser(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref User\'s reference + * @param {InlineObject5} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateUser(ref, body, options) { + return localVarFp.updateUser(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; +/** + * UsersApi - object-oriented interface + * @export + * @class UsersApi + * @extends {BaseAPI} + */ +export class UsersApi extends BaseAPI { + /** + * + * @summary Creates a new User resource + * @param {CreateUserRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + createUser(body, options) { + return UsersApiFp(this.configuration).createUser(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Creates a set of credentials + * @param {CreateUserCredentialsRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + createUserCredentials(body, options) { + return UsersApiFp(this.configuration).createUserCredentials(body, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary WARNING: Hard delete of an User will remove all related projects and its resources. + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + deleteUser(ref, options) { + return UsersApiFp(this.configuration).deleteUser(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Gets User by reference + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + getUser(ref, options) { + return UsersApiFp(this.configuration).getUser(ref, options).then((request) => request(this.axios, this.basePath)); + } + /** + * + * @summary Change or update fields in a resource + * @param {string} ref User\'s reference + * @param {InlineObject5} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + updateUser(ref, body, options) { + return UsersApiFp(this.configuration).updateUser(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} diff --git a/mods/websdk/src/generated/api/api.ts b/mods/websdk/src/generated/api/api.ts new file mode 100644 index 000000000..c4aac942c --- /dev/null +++ b/mods/websdk/src/generated/api/api.ts @@ -0,0 +1,5186 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fonoster + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { Configuration } from './configuration'; +import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; +// Some imports not used depending on template conditions +// @ts-ignore +import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common'; +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base'; + +/** + * + * @export + * @interface Agent + */ +export interface Agent { + /** + * + * @type {string} + * @memberof Agent + */ + 'ref'?: string; + /** + * + * @type {string} + * @memberof Agent + */ + 'name': string; + /** + * + * @type {string} + * @memberof Agent + */ + 'username': string; + /** + * + * @type {string} + * @memberof Agent + */ + 'secret': string; + /** + * + * @type {Array} + * @memberof Agent + */ + 'domains': Array; + /** + * + * @type {string} + * @memberof Agent + */ + 'privacy'?: string; + /** + * + * @type {string} + * @memberof Agent + */ + 'createTime'?: string; + /** + * + * @type {string} + * @memberof Agent + */ + 'updateTime'?: string; +} +/** + * + * @export + * @interface CallRequest + */ +export interface CallRequest { + /** + * + * @type {string} + * @memberof CallRequest + */ + 'from'?: string; + /** + * + * @type {string} + * @memberof CallRequest + */ + 'to'?: string; + /** + * + * @type {string} + * @memberof CallRequest + */ + 'webhook'?: string; + /** + * + * @type {boolean} + * @memberof CallRequest + */ + 'ignoreE164Validation'?: boolean; + /** + * + * @type {string} + * @memberof CallRequest + */ + 'metadata'?: string; +} +/** + * + * @export + * @interface CallResponse + */ +export interface CallResponse { + /** + * + * @type {string} + * @memberof CallResponse + */ + 'ref'?: string; +} +/** + * + * @export + * @interface CreateAgentRequest + */ +export interface CreateAgentRequest { + /** + * + * @type {string} + * @memberof CreateAgentRequest + */ + 'name': string; + /** + * + * @type {string} + * @memberof CreateAgentRequest + */ + 'username': string; + /** + * + * @type {string} + * @memberof CreateAgentRequest + */ + 'secret': string; + /** + * + * @type {Array} + * @memberof CreateAgentRequest + */ + 'domains': Array; + /** + * + * @type {string} + * @memberof CreateAgentRequest + */ + 'privacy'?: string; +} +/** + * + * @export + * @interface CreateDomainRequest + */ +export interface CreateDomainRequest { + /** + * + * @type {string} + * @memberof CreateDomainRequest + */ + 'name': string; + /** + * + * @type {string} + * @memberof CreateDomainRequest + */ + 'domainUri': string; + /** + * + * @type {string} + * @memberof CreateDomainRequest + */ + 'egressRule'?: string; + /** + * + * @type {string} + * @memberof CreateDomainRequest + */ + 'egressNumberRef'?: string; + /** + * + * @type {Array} + * @memberof CreateDomainRequest + */ + 'accessDeny'?: Array; + /** + * + * @type {Array} + * @memberof CreateDomainRequest + */ + 'accessAllow'?: Array; +} +/** + * + * @export + * @interface CreateNumberRequest + */ +export interface CreateNumberRequest { + /** + * + * @type {string} + * @memberof CreateNumberRequest + */ + 'providerRef': string; + /** + * + * @type {string} + * @memberof CreateNumberRequest + */ + 'e164Number': string; + /** + * + * @type {string} + * @memberof CreateNumberRequest + */ + 'aorLink'?: string; + /** + * + * @type {IngressInfo} + * @memberof CreateNumberRequest + */ + 'ingressInfo'?: IngressInfo; +} +/** + * + * @export + * @interface CreateProjectRequest + */ +export interface CreateProjectRequest { + /** + * + * @type {string} + * @memberof CreateProjectRequest + */ + 'name': string; + /** + * + * @type {boolean} + * @memberof CreateProjectRequest + */ + 'allowExperiments'?: boolean; +} +/** + * + * @export + * @interface CreateProviderRequest + */ +export interface CreateProviderRequest { + /** + * + * @type {string} + * @memberof CreateProviderRequest + */ + 'name': string; + /** + * + * @type {string} + * @memberof CreateProviderRequest + */ + 'username': string; + /** + * + * @type {string} + * @memberof CreateProviderRequest + */ + 'secret': string; + /** + * + * @type {string} + * @memberof CreateProviderRequest + */ + 'host': string; + /** + * + * @type {string} + * @memberof CreateProviderRequest + */ + 'transport': string; + /** + * + * @type {number} + * @memberof CreateProviderRequest + */ + 'expires'?: number; +} +/** + * + * @export + * @interface CreateRegistryTokenResponse + */ +export interface CreateRegistryTokenResponse { + /** + * + * @type {string} + * @memberof CreateRegistryTokenResponse + */ + 'token'?: string; + /** + * + * @type {string} + * @memberof CreateRegistryTokenResponse + */ + 'image'?: string; +} +/** + * + * @export + * @interface CreateSecretRequest + */ +export interface CreateSecretRequest { + /** + * + * @type {string} + * @memberof CreateSecretRequest + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof CreateSecretRequest + */ + 'secret'?: string; +} +/** + * + * @export + * @interface CreateSecretResponse + */ +export interface CreateSecretResponse { + /** + * + * @type {string} + * @memberof CreateSecretResponse + */ + 'name'?: string; +} +/** + * + * @export + * @interface CreateTokenRequest + */ +export interface CreateTokenRequest { + /** + * + * @type {string} + * @memberof CreateTokenRequest + */ + 'roleName': string; + /** + * + * @type {string} + * @memberof CreateTokenRequest + */ + 'accessKeyId': string; + /** + * + * @type {string} + * @memberof CreateTokenRequest + */ + 'expiration'?: string; +} +/** + * + * @export + * @interface CreateTokenResponse + */ +export interface CreateTokenResponse { + /** + * + * @type {string} + * @memberof CreateTokenResponse + */ + 'token'?: string; +} +/** + * + * @export + * @interface CreateUserCredentialsRequest + */ +export interface CreateUserCredentialsRequest { + /** + * + * @type {string} + * @memberof CreateUserCredentialsRequest + */ + 'email'?: string; + /** + * + * @type {string} + * @memberof CreateUserCredentialsRequest + */ + 'secret'?: string; + /** + * + * @type {string} + * @memberof CreateUserCredentialsRequest + */ + 'expiration'?: string; +} +/** + * + * @export + * @interface CreateUserCredentialsResponse + */ +export interface CreateUserCredentialsResponse { + /** + * + * @type {string} + * @memberof CreateUserCredentialsResponse + */ + 'accessKeyId'?: string; + /** + * + * @type {string} + * @memberof CreateUserCredentialsResponse + */ + 'accessKeySecret'?: string; +} +/** + * + * @export + * @interface CreateUserRequest + */ +export interface CreateUserRequest { + /** + * + * @type {string} + * @memberof CreateUserRequest + */ + 'email': string; + /** + * + * @type {string} + * @memberof CreateUserRequest + */ + 'name': string; + /** + * + * @type {string} + * @memberof CreateUserRequest + */ + 'secret': string; + /** + * + * @type {string} + * @memberof CreateUserRequest + */ + 'avatar'?: string; +} +/** + * + * @export + * @interface DeployStream + */ +export interface DeployStream { + /** + * + * @type {string} + * @memberof DeployStream + */ + 'text'?: string; +} +/** + * + * @export + * @interface Domain + */ +export interface Domain { + /** + * + * @type {string} + * @memberof Domain + */ + 'ref'?: string; + /** + * + * @type {string} + * @memberof Domain + */ + 'name': string; + /** + * + * @type {string} + * @memberof Domain + */ + 'domainUri': string; + /** + * + * @type {string} + * @memberof Domain + */ + 'egressRule'?: string; + /** + * + * @type {string} + * @memberof Domain + */ + 'egressNumberRef'?: string; + /** + * + * @type {Array} + * @memberof Domain + */ + 'accessDeny'?: Array; + /** + * + * @type {Array} + * @memberof Domain + */ + 'accessAllow'?: Array; + /** + * + * @type {string} + * @memberof Domain + */ + 'createTime'?: string; + /** + * + * @type {string} + * @memberof Domain + */ + 'updateTime'?: string; +} +/** + * + * @export + * @interface ErrorResponse + */ +export interface ErrorResponse { + /** + * + * @type {number} + * @memberof ErrorResponse + */ + 'status'?: number; + /** + * + * @type {string} + * @memberof ErrorResponse + */ + 'message'?: string; +} +/** + * + * @export + * @interface Func + */ +export interface Func { + /** + * + * @type {string} + * @memberof Func + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof Func + */ + 'image'?: string; + /** + * + * @type {number} + * @memberof Func + */ + 'invocationCount'?: number; + /** + * + * @type {number} + * @memberof Func + */ + 'replicas'?: number; + /** + * + * @type {number} + * @memberof Func + */ + 'availableReplicas'?: number; + /** + * + * @type {Resource} + * @memberof Func + */ + 'limits'?: Resource; + /** + * + * @type {Resource} + * @memberof Func + */ + 'requests'?: Resource; + /** + * + * @type {string} + * @memberof Func + */ + 'schedule'?: string; +} +/** + * + * @export + * @interface FuncLog + */ +export interface FuncLog { + /** + * + * @type {string} + * @memberof FuncLog + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof FuncLog + */ + 'instance'?: string; + /** + * + * @type {string} + * @memberof FuncLog + */ + 'timestamp'?: string; + /** + * + * @type {string} + * @memberof FuncLog + */ + 'text'?: string; +} +/** + * + * @export + * @enum {string} + */ + +export enum GetObjectURLRequestBucket { + Apps = 'APPS', + Recordings = 'RECORDINGS', + Public = 'PUBLIC', + Funcs = 'FUNCS' +} + +/** + * + * @export + * @interface GetObjectURLResponse + */ +export interface GetObjectURLResponse { + /** + * + * @type {string} + * @memberof GetObjectURLResponse + */ + 'url'?: string; +} +/** + * + * @export + * @interface GetSecretResponse + */ +export interface GetSecretResponse { + /** + * + * @type {string} + * @memberof GetSecretResponse + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof GetSecretResponse + */ + 'secret'?: string; +} +/** + * + * @export + * @interface IngressInfo + */ +export interface IngressInfo { + /** + * + * @type {string} + * @memberof IngressInfo + */ + 'accessKeyId'?: string; + /** + * + * @type {string} + * @memberof IngressInfo + */ + 'webhook'?: string; +} +/** + * + * @export + * @interface InlineObject + */ +export interface InlineObject { + /** + * + * @type {string} + * @memberof InlineObject + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof InlineObject + */ + 'username'?: string; + /** + * + * @type {string} + * @memberof InlineObject + */ + 'secret'?: string; + /** + * + * @type {Array} + * @memberof InlineObject + */ + 'domains'?: Array; + /** + * + * @type {string} + * @memberof InlineObject + */ + 'privacy'?: string; +} +/** + * + * @export + * @interface InlineObject1 + */ +export interface InlineObject1 { + /** + * + * @type {string} + * @memberof InlineObject1 + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof InlineObject1 + */ + 'egressRule'?: string; + /** + * + * @type {string} + * @memberof InlineObject1 + */ + 'egressNumberRef'?: string; + /** + * + * @type {Array} + * @memberof InlineObject1 + */ + 'accessDeny'?: Array; + /** + * + * @type {Array} + * @memberof InlineObject1 + */ + 'accessAllow'?: Array; +} +/** + * + * @export + * @interface InlineObject2 + */ +export interface InlineObject2 { + /** + * + * @type {string} + * @memberof InlineObject2 + */ + 'aorLink'?: string; + /** + * + * @type {IngressInfo} + * @memberof InlineObject2 + */ + 'ingressInfo'?: IngressInfo; +} +/** + * + * @export + * @interface InlineObject3 + */ +export interface InlineObject3 { + /** + * + * @type {string} + * @memberof InlineObject3 + */ + 'name'?: string; + /** + * + * @type {boolean} + * @memberof InlineObject3 + */ + 'allowExperiments': boolean; +} +/** + * + * @export + * @interface InlineObject4 + */ +export interface InlineObject4 { + /** + * + * @type {string} + * @memberof InlineObject4 + */ + 'name': string; + /** + * + * @type {string} + * @memberof InlineObject4 + */ + 'username': string; + /** + * + * @type {string} + * @memberof InlineObject4 + */ + 'secret': string; + /** + * + * @type {string} + * @memberof InlineObject4 + */ + 'host': string; + /** + * + * @type {string} + * @memberof InlineObject4 + */ + 'transport': string; + /** + * + * @type {number} + * @memberof InlineObject4 + */ + 'expires'?: number; +} +/** + * + * @export + * @interface InlineObject5 + */ +export interface InlineObject5 { + /** + * + * @type {string} + * @memberof InlineObject5 + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof InlineObject5 + */ + 'secret'?: string; + /** + * + * @type {string} + * @memberof InlineObject5 + */ + 'avatar'?: string; +} +/** + * + * @export + * @interface ListAgentsResponse + */ +export interface ListAgentsResponse { + /** + * + * @type {Array} + * @memberof ListAgentsResponse + */ + 'agents'?: Array; + /** + * + * @type {string} + * @memberof ListAgentsResponse + */ + 'nextPageToken'?: string; +} +/** + * + * @export + * @interface ListDomainsResponse + */ +export interface ListDomainsResponse { + /** + * + * @type {Array} + * @memberof ListDomainsResponse + */ + 'domains'?: Array; + /** + * + * @type {string} + * @memberof ListDomainsResponse + */ + 'nextPageToken'?: string; +} +/** + * + * @export + * @interface ListFuncsResponse + */ +export interface ListFuncsResponse { + /** + * + * @type {Array} + * @memberof ListFuncsResponse + */ + 'funcs'?: Array; + /** + * + * @type {string} + * @memberof ListFuncsResponse + */ + 'nextPageToken'?: string; +} +/** + * + * @export + * @interface ListNumbersResponse + */ +export interface ListNumbersResponse { + /** + * + * @type {Array} + * @memberof ListNumbersResponse + */ + 'numbers'?: Array; + /** + * Token to retrieve the next page of results, or empty if there are no more results in the list. + * @type {string} + * @memberof ListNumbersResponse + */ + 'nextPageToken'?: string; +} +/** + * + * @export + * @interface ListProjectsResponse + */ +export interface ListProjectsResponse { + /** + * + * @type {Array} + * @memberof ListProjectsResponse + */ + 'projects'?: Array; +} +/** + * + * @export + * @interface ListProvidersResponse + */ +export interface ListProvidersResponse { + /** + * + * @type {Array} + * @memberof ListProvidersResponse + */ + 'providers'?: Array; + /** + * + * @type {string} + * @memberof ListProvidersResponse + */ + 'nextPageToken'?: string; +} +/** + * + * @export + * @interface ListSecretIdResponse + */ +export interface ListSecretIdResponse { + /** + * + * @type {Array} + * @memberof ListSecretIdResponse + */ + 'secrets'?: Array; + /** + * + * @type {string} + * @memberof ListSecretIdResponse + */ + 'nextPageToken'?: string; +} +/** + * + * @export + * @interface ListUsersResponse + */ +export interface ListUsersResponse { + /** + * + * @type {Array} + * @memberof ListUsersResponse + */ + 'users'?: Array; +} +/** + * + * @export + * @interface Number + */ +export interface Number { + /** + * + * @type {string} + * @memberof Number + */ + 'ref'?: string; + /** + * + * @type {string} + * @memberof Number + */ + 'providerRef': string; + /** + * + * @type {string} + * @memberof Number + */ + 'e164Number': string; + /** + * + * @type {string} + * @memberof Number + */ + 'aorLink'?: string; + /** + * + * @type {IngressInfo} + * @memberof Number + */ + 'ingressInfo'?: IngressInfo; + /** + * + * @type {string} + * @memberof Number + */ + 'createTime'?: string; + /** + * + * @type {string} + * @memberof Number + */ + 'updateTime'?: string; +} +/** + * + * @export + * @interface Project + */ +export interface Project { + /** + * + * @type {string} + * @memberof Project + */ + 'name': string; + /** + * + * @type {string} + * @memberof Project + */ + 'ref': string; + /** + * + * @type {string} + * @memberof Project + */ + 'userRef': string; + /** + * + * @type {string} + * @memberof Project + */ + 'accessKeyId': string; + /** + * + * @type {string} + * @memberof Project + */ + 'accessKeySecret': string; + /** + * + * @type {boolean} + * @memberof Project + */ + 'allowExperiments'?: boolean; + /** + * + * @type {string} + * @memberof Project + */ + 'createTime'?: string; + /** + * + * @type {string} + * @memberof Project + */ + 'updateTime'?: string; +} +/** + * + * @export + * @interface Provider + */ +export interface Provider { + /** + * + * @type {string} + * @memberof Provider + */ + 'ref'?: string; + /** + * + * @type {string} + * @memberof Provider + */ + 'name': string; + /** + * + * @type {string} + * @memberof Provider + */ + 'username': string; + /** + * + * @type {string} + * @memberof Provider + */ + 'secret': string; + /** + * + * @type {string} + * @memberof Provider + */ + 'host': string; + /** + * + * @type {string} + * @memberof Provider + */ + 'transport': string; + /** + * + * @type {number} + * @memberof Provider + */ + 'expires'?: number; + /** + * + * @type {string} + * @memberof Provider + */ + 'createTime'?: string; + /** + * + * @type {string} + * @memberof Provider + */ + 'updateTime'?: string; +} +/** + * + * @export + * @interface RenewAccessKeySecretResponse + */ +export interface RenewAccessKeySecretResponse { + /** + * + * @type {string} + * @memberof RenewAccessKeySecretResponse + */ + 'accessKeySecret'?: string; +} +/** + * + * @export + * @interface Resource + */ +export interface Resource { + /** + * + * @type {string} + * @memberof Resource + */ + 'memory'?: string; + /** + * + * @type {string} + * @memberof Resource + */ + 'cpu'?: string; +} +/** + * + * @export + * @interface Role + */ +export interface Role { + /** + * + * @type {string} + * @memberof Role + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof Role + */ + 'description'?: string; + /** + * + * @type {Array} + * @memberof Role + */ + 'access'?: Array; +} +/** + * + * @export + * @interface SecretName + */ +export interface SecretName { + /** + * + * @type {string} + * @memberof SecretName + */ + 'name'?: string; +} +/** + * + * @export + * @enum {string} + */ + +export enum UploadObjectRequestBucket { + Apps = 'APPS', + Recordings = 'RECORDINGS', + Public = 'PUBLIC', + Funcs = 'FUNCS' +} + +/** + * + * @export + * @interface UploadObjectResponse + */ +export interface UploadObjectResponse { + /** + * + * @type {number} + * @memberof UploadObjectResponse + */ + 'size'?: number; +} +/** + * + * @export + * @interface User + */ +export interface User { + /** + * + * @type {string} + * @memberof User + */ + 'ref': string; + /** + * + * @type {string} + * @memberof User + */ + 'accessKeyId': string; + /** + * + * @type {string} + * @memberof User + */ + 'email': string; + /** + * + * @type {string} + * @memberof User + */ + 'name': string; + /** + * + * @type {string} + * @memberof User + */ + 'avatar'?: string; + /** + * + * @type {string} + * @memberof User + */ + 'createTime'?: string; + /** + * + * @type {string} + * @memberof User + */ + 'updateTime'?: string; +} +/** + * + * @export + * @interface ValidateTokenResponse + */ +export interface ValidateTokenResponse { + /** + * + * @type {boolean} + * @memberof ValidateTokenResponse + */ + 'valid'?: boolean; +} +/** + * + * @export + * @enum {string} + */ + +export enum View { + Basic = 'BASIC', + Standard = 'STANDARD', + Full = 'FULL' +} + + +/** + * AgentsApi - axios parameter creator + * @export + */ +export const AgentsApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Creates a new Agent resource + * @param {CreateAgentRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createAgent: async (body: CreateAgentRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createAgent', 'body', body) + const localVarPath = `/v1beta1/agents`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Hard delete of an Agent resource + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteAgent: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteAgent', 'ref', ref) + const localVarPath = `/v1beta1/agents/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets Agent by reference + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getAgent: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getAgent', 'ref', ref) + const localVarPath = `/v1beta1/agents/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Lists Agents from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listAgents: async (pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1beta1/agents`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Agent\'s reference + * @param {InlineObject} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateAgent: async (ref: string, body: InlineObject, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateAgent', 'ref', ref) + // verify required parameter 'body' is not null or undefined + assertParamExists('updateAgent', 'body', body) + const localVarPath = `/v1beta1/agents/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * AgentsApi - functional programming interface + * @export + */ +export const AgentsApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = AgentsApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Creates a new Agent resource + * @param {CreateAgentRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createAgent(body: CreateAgentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createAgent(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Hard delete of an Agent resource + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deleteAgent(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgent(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets Agent by reference + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getAgent(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getAgent(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Lists Agents from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listAgents(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listAgents(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Agent\'s reference + * @param {InlineObject} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateAgent(ref: string, body: InlineObject, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateAgent(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * AgentsApi - factory interface + * @export + */ +export const AgentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = AgentsApiFp(configuration) + return { + /** + * + * @summary Creates a new Agent resource + * @param {CreateAgentRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createAgent(body: CreateAgentRequest, options?: any): AxiosPromise { + return localVarFp.createAgent(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Hard delete of an Agent resource + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteAgent(ref: string, options?: any): AxiosPromise { + return localVarFp.deleteAgent(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets Agent by reference + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getAgent(ref: string, options?: any): AxiosPromise { + return localVarFp.getAgent(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists Agents from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listAgents(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: any): AxiosPromise { + return localVarFp.listAgents(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Agent\'s reference + * @param {InlineObject} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateAgent(ref: string, body: InlineObject, options?: any): AxiosPromise { + return localVarFp.updateAgent(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * AgentsApi - object-oriented interface + * @export + * @class AgentsApi + * @extends {BaseAPI} + */ +export class AgentsApi extends BaseAPI { + /** + * + * @summary Creates a new Agent resource + * @param {CreateAgentRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + public createAgent(body: CreateAgentRequest, options?: AxiosRequestConfig) { + return AgentsApiFp(this.configuration).createAgent(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Hard delete of an Agent resource + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + public deleteAgent(ref: string, options?: AxiosRequestConfig) { + return AgentsApiFp(this.configuration).deleteAgent(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets Agent by reference + * @param {string} ref Agent\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + public getAgent(ref: string, options?: AxiosRequestConfig) { + return AgentsApiFp(this.configuration).getAgent(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Lists Agents from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + public listAgents(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig) { + return AgentsApiFp(this.configuration).listAgents(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Agent\'s reference + * @param {InlineObject} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AgentsApi + */ + public updateAgent(ref: string, body: InlineObject, options?: AxiosRequestConfig) { + return AgentsApiFp(this.configuration).updateAgent(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * AuthApi - axios parameter creator + * @export + */ +export const AuthApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Creates a new token for a given accessKeyId + * @param {CreateTokenRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createToken: async (body: CreateTokenRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createToken', 'body', body) + const localVarPath = `/v1beta1/auth/token`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets a role by name + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getRole: async (name: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'name' is not null or undefined + assertParamExists('getRole', 'name', name) + const localVarPath = `/v1beta1/auth/role/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Verifies if a token was issue by Fonoster + * @param {string} token + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + validateToken: async (token: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'token' is not null or undefined + assertParamExists('validateToken', 'token', token) + const localVarPath = `/v1beta1/auth/token/{token}` + .replace(`{${"token"}}`, encodeURIComponent(String(token))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * AuthApi - functional programming interface + * @export + */ +export const AuthApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Creates a new token for a given accessKeyId + * @param {CreateTokenRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createToken(body: CreateTokenRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createToken(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets a role by name + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getRole(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getRole(name, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Verifies if a token was issue by Fonoster + * @param {string} token + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async validateToken(token: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.validateToken(token, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * AuthApi - factory interface + * @export + */ +export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = AuthApiFp(configuration) + return { + /** + * + * @summary Creates a new token for a given accessKeyId + * @param {CreateTokenRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createToken(body: CreateTokenRequest, options?: any): AxiosPromise { + return localVarFp.createToken(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a role by name + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getRole(name: string, options?: any): AxiosPromise { + return localVarFp.getRole(name, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Verifies if a token was issue by Fonoster + * @param {string} token + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + validateToken(token: string, options?: any): AxiosPromise { + return localVarFp.validateToken(token, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * AuthApi - object-oriented interface + * @export + * @class AuthApi + * @extends {BaseAPI} + */ +export class AuthApi extends BaseAPI { + /** + * + * @summary Creates a new token for a given accessKeyId + * @param {CreateTokenRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AuthApi + */ + public createToken(body: CreateTokenRequest, options?: AxiosRequestConfig) { + return AuthApiFp(this.configuration).createToken(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets a role by name + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AuthApi + */ + public getRole(name: string, options?: AxiosRequestConfig) { + return AuthApiFp(this.configuration).getRole(name, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Verifies if a token was issue by Fonoster + * @param {string} token + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AuthApi + */ + public validateToken(token: string, options?: AxiosRequestConfig) { + return AuthApiFp(this.configuration).validateToken(token, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * CallManagerApi - axios parameter creator + * @export + */ +export const CallManagerApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Originates a call and pass channel to an application + * @param {CallRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + call: async (body: CallRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('call', 'body', body) + const localVarPath = `/v1beta1/call`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * CallManagerApi - functional programming interface + * @export + */ +export const CallManagerApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = CallManagerApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Originates a call and pass channel to an application + * @param {CallRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async call(body: CallRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.call(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * CallManagerApi - factory interface + * @export + */ +export const CallManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = CallManagerApiFp(configuration) + return { + /** + * + * @summary Originates a call and pass channel to an application + * @param {CallRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + call(body: CallRequest, options?: any): AxiosPromise { + return localVarFp.call(body, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * CallManagerApi - object-oriented interface + * @export + * @class CallManagerApi + * @extends {BaseAPI} + */ +export class CallManagerApi extends BaseAPI { + /** + * + * @summary Originates a call and pass channel to an application + * @param {CallRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CallManagerApi + */ + public call(body: CallRequest, options?: AxiosRequestConfig) { + return CallManagerApiFp(this.configuration).call(body, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * DomainsApi - axios parameter creator + * @export + */ +export const DomainsApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Creates a new Domain resource + * @param {CreateDomainRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createDomain: async (body: CreateDomainRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createDomain', 'body', body) + const localVarPath = `/v1beta1/domains`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Hard delete of a domain resource + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteDomain: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteDomain', 'ref', ref) + const localVarPath = `/v1beta1/domains/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets a Domain by reference + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getDomain: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getDomain', 'ref', ref) + const localVarPath = `/v1beta1/domains/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Domain\'s reference + * @param {InlineObject1} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateDomain: async (ref: string, body: InlineObject1, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateDomain', 'ref', ref) + // verify required parameter 'body' is not null or undefined + assertParamExists('updateDomain', 'body', body) + const localVarPath = `/v1beta1/domains/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * DomainsApi - functional programming interface + * @export + */ +export const DomainsApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = DomainsApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Creates a new Domain resource + * @param {CreateDomainRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createDomain(body: CreateDomainRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createDomain(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Hard delete of a domain resource + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deleteDomain(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDomain(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets a Domain by reference + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getDomain(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getDomain(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Domain\'s reference + * @param {InlineObject1} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateDomain(ref: string, body: InlineObject1, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateDomain(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * DomainsApi - factory interface + * @export + */ +export const DomainsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = DomainsApiFp(configuration) + return { + /** + * + * @summary Creates a new Domain resource + * @param {CreateDomainRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createDomain(body: CreateDomainRequest, options?: any): AxiosPromise { + return localVarFp.createDomain(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Hard delete of a domain resource + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteDomain(ref: string, options?: any): AxiosPromise { + return localVarFp.deleteDomain(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a Domain by reference + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getDomain(ref: string, options?: any): AxiosPromise { + return localVarFp.getDomain(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Domain\'s reference + * @param {InlineObject1} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateDomain(ref: string, body: InlineObject1, options?: any): AxiosPromise { + return localVarFp.updateDomain(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * DomainsApi - object-oriented interface + * @export + * @class DomainsApi + * @extends {BaseAPI} + */ +export class DomainsApi extends BaseAPI { + /** + * + * @summary Creates a new Domain resource + * @param {CreateDomainRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DomainsApi + */ + public createDomain(body: CreateDomainRequest, options?: AxiosRequestConfig) { + return DomainsApiFp(this.configuration).createDomain(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Hard delete of a domain resource + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DomainsApi + */ + public deleteDomain(ref: string, options?: AxiosRequestConfig) { + return DomainsApiFp(this.configuration).deleteDomain(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets a Domain by reference + * @param {string} ref Domain\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DomainsApi + */ + public getDomain(ref: string, options?: AxiosRequestConfig) { + return DomainsApiFp(this.configuration).getDomain(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Domain\'s reference + * @param {InlineObject1} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DomainsApi + */ + public updateDomain(ref: string, body: InlineObject1, options?: AxiosRequestConfig) { + return DomainsApiFp(this.configuration).updateDomain(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * FuncsApi - axios parameter creator + * @export + */ +export const FuncsApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteFunc: async (name: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'name' is not null or undefined + assertParamExists('deleteFunc', 'name', name) + const localVarPath = `/v1beta1/funcs/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets a function by name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Requested level of detail. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFunc: async (name: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'name' is not null or undefined + assertParamExists('getFunc', 'name', name) + const localVarPath = `/v1beta1/funcs/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets a stream of logs + * @param {string} name + * @param {string} [since] Only return logs after a specific date (RFC3339). + * @param {number} [tail] + * @param {boolean} [follow] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFuncLogs: async (name: string, since?: string, tail?: number, follow?: boolean, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'name' is not null or undefined + assertParamExists('getFuncLogs', 'name', name) + const localVarPath = `/v1beta1/funcs/{name}/logs` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (since !== undefined) { + localVarQueryParameter['since'] = since; + } + + if (tail !== undefined) { + localVarQueryParameter['tail'] = tail; + } + + if (follow !== undefined) { + localVarQueryParameter['follow'] = follow; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Shows a list of user functions + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listFuncs: async (pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1beta1/funcs`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * FuncsApi - functional programming interface + * @export + */ +export const FuncsApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = FuncsApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deleteFunc(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFunc(name, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets a function by name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Requested level of detail. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getFunc(name: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getFunc(name, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets a stream of logs + * @param {string} name + * @param {string} [since] Only return logs after a specific date (RFC3339). + * @param {number} [tail] + * @param {boolean} [follow] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getFuncLogs(name: string, since?: string, tail?: number, follow?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getFuncLogs(name, since, tail, follow, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Shows a list of user functions + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listFuncs(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listFuncs(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * FuncsApi - factory interface + * @export + */ +export const FuncsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = FuncsApiFp(configuration) + return { + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteFunc(name: string, options?: any): AxiosPromise { + return localVarFp.deleteFunc(name, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a function by name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Requested level of detail. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFunc(name: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: any): AxiosPromise { + return localVarFp.getFunc(name, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a stream of logs + * @param {string} name + * @param {string} [since] Only return logs after a specific date (RFC3339). + * @param {number} [tail] + * @param {boolean} [follow] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getFuncLogs(name: string, since?: string, tail?: number, follow?: boolean, options?: any): AxiosPromise { + return localVarFp.getFuncLogs(name, since, tail, follow, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Shows a list of user functions + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listFuncs(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: any): AxiosPromise { + return localVarFp.listFuncs(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * FuncsApi - object-oriented interface + * @export + * @class FuncsApi + * @extends {BaseAPI} + */ +export class FuncsApi extends BaseAPI { + /** + * + * @summary Peforms a hard delete of the function + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FuncsApi + */ + public deleteFunc(name: string, options?: AxiosRequestConfig) { + return FuncsApiFp(this.configuration).deleteFunc(name, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets a function by name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Requested level of detail. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FuncsApi + */ + public getFunc(name: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig) { + return FuncsApiFp(this.configuration).getFunc(name, view, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets a stream of logs + * @param {string} name + * @param {string} [since] Only return logs after a specific date (RFC3339). + * @param {number} [tail] + * @param {boolean} [follow] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FuncsApi + */ + public getFuncLogs(name: string, since?: string, tail?: number, follow?: boolean, options?: AxiosRequestConfig) { + return FuncsApiFp(this.configuration).getFuncLogs(name, since, tail, follow, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Shows a list of user functions + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FuncsApi + */ + public listFuncs(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig) { + return FuncsApiFp(this.configuration).listFuncs(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * NumbersApi - axios parameter creator + * @export + */ +export const NumbersApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Creates a new Number resource + * @param {CreateNumberRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createNumber: async (body: CreateNumberRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createNumber', 'body', body) + const localVarPath = `/v1beta1/numbers`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Hard delete of a Number resource + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteNumber: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteNumber', 'ref', ref) + const localVarPath = `/v1beta1/numbers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets Number using its reference + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getNumber: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getNumber', 'ref', ref) + const localVarPath = `/v1beta1/numbers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Lists Numbers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listNumbers: async (pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1beta1/numbers`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Number\'s reference + * @param {InlineObject2} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateNumber: async (ref: string, body: InlineObject2, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateNumber', 'ref', ref) + // verify required parameter 'body' is not null or undefined + assertParamExists('updateNumber', 'body', body) + const localVarPath = `/v1beta1/numbers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * NumbersApi - functional programming interface + * @export + */ +export const NumbersApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = NumbersApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Creates a new Number resource + * @param {CreateNumberRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createNumber(body: CreateNumberRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createNumber(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Hard delete of a Number resource + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deleteNumber(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deleteNumber(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets Number using its reference + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getNumber(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getNumber(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Lists Numbers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listNumbers(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listNumbers(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Number\'s reference + * @param {InlineObject2} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateNumber(ref: string, body: InlineObject2, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateNumber(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * NumbersApi - factory interface + * @export + */ +export const NumbersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = NumbersApiFp(configuration) + return { + /** + * + * @summary Creates a new Number resource + * @param {CreateNumberRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createNumber(body: CreateNumberRequest, options?: any): AxiosPromise { + return localVarFp.createNumber(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Hard delete of a Number resource + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteNumber(ref: string, options?: any): AxiosPromise { + return localVarFp.deleteNumber(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets Number using its reference + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getNumber(ref: string, options?: any): AxiosPromise { + return localVarFp.getNumber(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists Numbers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listNumbers(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: any): AxiosPromise { + return localVarFp.listNumbers(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Number\'s reference + * @param {InlineObject2} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateNumber(ref: string, body: InlineObject2, options?: any): AxiosPromise { + return localVarFp.updateNumber(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * NumbersApi - object-oriented interface + * @export + * @class NumbersApi + * @extends {BaseAPI} + */ +export class NumbersApi extends BaseAPI { + /** + * + * @summary Creates a new Number resource + * @param {CreateNumberRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + public createNumber(body: CreateNumberRequest, options?: AxiosRequestConfig) { + return NumbersApiFp(this.configuration).createNumber(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Hard delete of a Number resource + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + public deleteNumber(ref: string, options?: AxiosRequestConfig) { + return NumbersApiFp(this.configuration).deleteNumber(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets Number using its reference + * @param {string} ref Number\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + public getNumber(ref: string, options?: AxiosRequestConfig) { + return NumbersApiFp(this.configuration).getNumber(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Lists Numbers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + public listNumbers(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig) { + return NumbersApiFp(this.configuration).listNumbers(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Number\'s reference + * @param {InlineObject2} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof NumbersApi + */ + public updateNumber(ref: string, body: InlineObject2, options?: AxiosRequestConfig) { + return NumbersApiFp(this.configuration).updateNumber(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * ProjectsApi - axios parameter creator + * @export + */ +export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Creates a new Project resource + * @param {CreateProjectRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProject: async (body: CreateProjectRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createProject', 'body', body) + const localVarPath = `/v1beta1/projects`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary WARNING: Hard delete of a Project will remove all related resources + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProject: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteProject', 'ref', ref) + const localVarPath = `/v1beta1/projects/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets a Project by AccessKeyId + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProject: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getProject', 'ref', ref) + const localVarPath = `/v1beta1/projects/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Lists all the Projects for a given User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProjects: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1beta1/projects`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Regenerates the accessKeySecret + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + renewAccessKeySecret: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('renewAccessKeySecret', 'ref', ref) + const localVarPath = `/v1beta1/projects/{ref}/credentials` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Updates a given Project + * @param {string} ref Project\'s reference + * @param {InlineObject3} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProject: async (ref: string, body: InlineObject3, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateProject', 'ref', ref) + // verify required parameter 'body' is not null or undefined + assertParamExists('updateProject', 'body', body) + const localVarPath = `/v1beta1/projects/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * ProjectsApi - functional programming interface + * @export + */ +export const ProjectsApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Creates a new Project resource + * @param {CreateProjectRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createProject(body: CreateProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createProject(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary WARNING: Hard delete of a Project will remove all related resources + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deleteProject(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProject(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets a Project by AccessKeyId + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getProject(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getProject(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Lists all the Projects for a given User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listProjects(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listProjects(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Regenerates the accessKeySecret + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async renewAccessKeySecret(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.renewAccessKeySecret(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Updates a given Project + * @param {string} ref Project\'s reference + * @param {InlineObject3} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateProject(ref: string, body: InlineObject3, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateProject(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * ProjectsApi - factory interface + * @export + */ +export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = ProjectsApiFp(configuration) + return { + /** + * + * @summary Creates a new Project resource + * @param {CreateProjectRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProject(body: CreateProjectRequest, options?: any): AxiosPromise { + return localVarFp.createProject(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary WARNING: Hard delete of a Project will remove all related resources + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProject(ref: string, options?: any): AxiosPromise { + return localVarFp.deleteProject(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a Project by AccessKeyId + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProject(ref: string, options?: any): AxiosPromise { + return localVarFp.getProject(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists all the Projects for a given User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProjects(options?: any): AxiosPromise { + return localVarFp.listProjects(options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Regenerates the accessKeySecret + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + renewAccessKeySecret(ref: string, options?: any): AxiosPromise { + return localVarFp.renewAccessKeySecret(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Updates a given Project + * @param {string} ref Project\'s reference + * @param {InlineObject3} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProject(ref: string, body: InlineObject3, options?: any): AxiosPromise { + return localVarFp.updateProject(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * ProjectsApi - object-oriented interface + * @export + * @class ProjectsApi + * @extends {BaseAPI} + */ +export class ProjectsApi extends BaseAPI { + /** + * + * @summary Creates a new Project resource + * @param {CreateProjectRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + public createProject(body: CreateProjectRequest, options?: AxiosRequestConfig) { + return ProjectsApiFp(this.configuration).createProject(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary WARNING: Hard delete of a Project will remove all related resources + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + public deleteProject(ref: string, options?: AxiosRequestConfig) { + return ProjectsApiFp(this.configuration).deleteProject(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets a Project by AccessKeyId + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + public getProject(ref: string, options?: AxiosRequestConfig) { + return ProjectsApiFp(this.configuration).getProject(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Lists all the Projects for a given User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + public listProjects(options?: AxiosRequestConfig) { + return ProjectsApiFp(this.configuration).listProjects(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Regenerates the accessKeySecret + * @param {string} ref Project\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + public renewAccessKeySecret(ref: string, options?: AxiosRequestConfig) { + return ProjectsApiFp(this.configuration).renewAccessKeySecret(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Updates a given Project + * @param {string} ref Project\'s reference + * @param {InlineObject3} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProjectsApi + */ + public updateProject(ref: string, body: InlineObject3, options?: AxiosRequestConfig) { + return ProjectsApiFp(this.configuration).updateProject(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * ProvidersApi - axios parameter creator + * @export + */ +export const ProvidersApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Creates a new Provider resource. + * @param {CreateProviderRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProvider: async (body: CreateProviderRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createProvider', 'body', body) + const localVarPath = `/v1beta1/providers`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Hard delete of a Provider resource + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProvider: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteProvider', 'ref', ref) + const localVarPath = `/v1beta1/providers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets Provider using its reference + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProvider: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getProvider', 'ref', ref) + const localVarPath = `/v1beta1/providers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Lists Providers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProviders: async (pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1beta1/providers`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Provider\'s reference + * @param {InlineObject4} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProvider: async (ref: string, body: InlineObject4, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateProvider', 'ref', ref) + // verify required parameter 'body' is not null or undefined + assertParamExists('updateProvider', 'body', body) + const localVarPath = `/v1beta1/providers/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * ProvidersApi - functional programming interface + * @export + */ +export const ProvidersApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = ProvidersApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Creates a new Provider resource. + * @param {CreateProviderRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createProvider(body: CreateProviderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createProvider(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Hard delete of a Provider resource + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deleteProvider(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProvider(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets Provider using its reference + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getProvider(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getProvider(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Lists Providers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listProviders(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listProviders(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Provider\'s reference + * @param {InlineObject4} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateProvider(ref: string, body: InlineObject4, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateProvider(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * ProvidersApi - factory interface + * @export + */ +export const ProvidersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = ProvidersApiFp(configuration) + return { + /** + * + * @summary Creates a new Provider resource. + * @param {CreateProviderRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createProvider(body: CreateProviderRequest, options?: any): AxiosPromise { + return localVarFp.createProvider(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Hard delete of a Provider resource + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteProvider(ref: string, options?: any): AxiosPromise { + return localVarFp.deleteProvider(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets Provider using its reference + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getProvider(ref: string, options?: any): AxiosPromise { + return localVarFp.getProvider(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists Providers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listProviders(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: any): AxiosPromise { + return localVarFp.listProviders(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Provider\'s reference + * @param {InlineObject4} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateProvider(ref: string, body: InlineObject4, options?: any): AxiosPromise { + return localVarFp.updateProvider(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * ProvidersApi - object-oriented interface + * @export + * @class ProvidersApi + * @extends {BaseAPI} + */ +export class ProvidersApi extends BaseAPI { + /** + * + * @summary Creates a new Provider resource. + * @param {CreateProviderRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + public createProvider(body: CreateProviderRequest, options?: AxiosRequestConfig) { + return ProvidersApiFp(this.configuration).createProvider(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Hard delete of a Provider resource + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + public deleteProvider(ref: string, options?: AxiosRequestConfig) { + return ProvidersApiFp(this.configuration).deleteProvider(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets Provider using its reference + * @param {string} ref Provider\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + public getProvider(ref: string, options?: AxiosRequestConfig) { + return ProvidersApiFp(this.configuration).getProvider(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Lists Providers from the SIP Proxy subsystem + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + public listProviders(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig) { + return ProvidersApiFp(this.configuration).listProviders(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Change or update fields in a resource + * @param {string} ref Provider\'s reference + * @param {InlineObject4} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ProvidersApi + */ + public updateProvider(ref: string, body: InlineObject4, options?: AxiosRequestConfig) { + return ProvidersApiFp(this.configuration).updateProvider(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * SecretsApi - axios parameter creator + * @export + */ +export const SecretsApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @param {CreateSecretRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createSecret: async (body: CreateSecretRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createSecret', 'body', body) + const localVarPath = `/v1beta1/secrets`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Peforms a hard delete of the Secret resource + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteSecret: async (name: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'name' is not null or undefined + assertParamExists('deleteSecret', 'name', name) + const localVarPath = `/v1beta1/secrets/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets Secret with the Secret-name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getSecret: async (name: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'name' is not null or undefined + assertParamExists('getSecret', 'name', name) + const localVarPath = `/v1beta1/secrets/{name}` + .replace(`{${"name"}}`, encodeURIComponent(String(name))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Lists Secret + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listSecretsId: async (pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1beta1/secrets`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (pageToken !== undefined) { + localVarQueryParameter['pageToken'] = pageToken; + } + + if (view !== undefined) { + localVarQueryParameter['view'] = view; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * SecretsApi - functional programming interface + * @export + */ +export const SecretsApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = SecretsApiAxiosParamCreator(configuration) + return { + /** + * + * @param {CreateSecretRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createSecret(body: CreateSecretRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createSecret(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Peforms a hard delete of the Secret resource + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deleteSecret(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSecret(name, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets Secret with the Secret-name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getSecret(name: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getSecret(name, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Lists Secret + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listSecretsId(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listSecretsId(pageSize, pageToken, view, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * SecretsApi - factory interface + * @export + */ +export const SecretsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = SecretsApiFp(configuration) + return { + /** + * + * @param {CreateSecretRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createSecret(body: CreateSecretRequest, options?: any): AxiosPromise { + return localVarFp.createSecret(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Peforms a hard delete of the Secret resource + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteSecret(name: string, options?: any): AxiosPromise { + return localVarFp.deleteSecret(name, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets Secret with the Secret-name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getSecret(name: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: any): AxiosPromise { + return localVarFp.getSecret(name, view, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists Secret + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listSecretsId(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: any): AxiosPromise { + return localVarFp.listSecretsId(pageSize, pageToken, view, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * SecretsApi - object-oriented interface + * @export + * @class SecretsApi + * @extends {BaseAPI} + */ +export class SecretsApi extends BaseAPI { + /** + * + * @param {CreateSecretRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SecretsApi + */ + public createSecret(body: CreateSecretRequest, options?: AxiosRequestConfig) { + return SecretsApiFp(this.configuration).createSecret(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Peforms a hard delete of the Secret resource + * @param {string} name + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SecretsApi + */ + public deleteSecret(name: string, options?: AxiosRequestConfig) { + return SecretsApiFp(this.configuration).deleteSecret(name, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets Secret with the Secret-name + * @param {string} name + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SecretsApi + */ + public getSecret(name: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig) { + return SecretsApiFp(this.configuration).getSecret(name, view, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Lists Secret + * @param {number} [pageSize] The maximum number of items in the list. + * @param {string} [pageToken] The next_page_token value returned from the previous request, if any. + * @param {'BASIC' | 'STANDARD' | 'FULL'} [view] Level of detail of the individual entities (reserved). + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SecretsApi + */ + public listSecretsId(pageSize?: number, pageToken?: string, view?: 'BASIC' | 'STANDARD' | 'FULL', options?: AxiosRequestConfig) { + return SecretsApiFp(this.configuration).listSecretsId(pageSize, pageToken, view, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * StorageApi - axios parameter creator + * @export + */ +export const StorageApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @param {'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS'} bucket + * @param {string} filename + * @param {string} [accessKeyId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getObjectURL: async (bucket: 'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS', filename: string, accessKeyId?: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'bucket' is not null or undefined + assertParamExists('getObjectURL', 'bucket', bucket) + // verify required parameter 'filename' is not null or undefined + assertParamExists('getObjectURL', 'filename', filename) + const localVarPath = `/v1beta1/storage/{bucket}/{filename}` + .replace(`{${"bucket"}}`, encodeURIComponent(String(bucket))) + .replace(`{${"filename"}}`, encodeURIComponent(String(filename))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + if (accessKeyId !== undefined) { + localVarQueryParameter['accessKeyId'] = accessKeyId; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * StorageApi - functional programming interface + * @export + */ +export const StorageApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = StorageApiAxiosParamCreator(configuration) + return { + /** + * + * @param {'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS'} bucket + * @param {string} filename + * @param {string} [accessKeyId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getObjectURL(bucket: 'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS', filename: string, accessKeyId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectURL(bucket, filename, accessKeyId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * StorageApi - factory interface + * @export + */ +export const StorageApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = StorageApiFp(configuration) + return { + /** + * + * @param {'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS'} bucket + * @param {string} filename + * @param {string} [accessKeyId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getObjectURL(bucket: 'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS', filename: string, accessKeyId?: string, options?: any): AxiosPromise { + return localVarFp.getObjectURL(bucket, filename, accessKeyId, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * StorageApi - object-oriented interface + * @export + * @class StorageApi + * @extends {BaseAPI} + */ +export class StorageApi extends BaseAPI { + /** + * + * @param {'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS'} bucket + * @param {string} filename + * @param {string} [accessKeyId] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StorageApi + */ + public getObjectURL(bucket: 'APPS' | 'RECORDINGS' | 'PUBLIC' | 'FUNCS', filename: string, accessKeyId?: string, options?: AxiosRequestConfig) { + return StorageApiFp(this.configuration).getObjectURL(bucket, filename, accessKeyId, options).then((request) => request(this.axios, this.basePath)); + } +} + + +/** + * UsersApi - axios parameter creator + * @export + */ +export const UsersApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Creates a new User resource + * @param {CreateUserRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUser: async (body: CreateUserRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createUser', 'body', body) + const localVarPath = `/v1beta1/users`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Creates a set of credentials + * @param {CreateUserCredentialsRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUserCredentials: async (body: CreateUserCredentialsRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'body' is not null or undefined + assertParamExists('createUserCredentials', 'body', body) + const localVarPath = `/v1beta1/users/credentials`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary WARNING: Hard delete of an User will remove all related projects and its resources. + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteUser: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('deleteUser', 'ref', ref) + const localVarPath = `/v1beta1/users/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets User by reference + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getUser: async (ref: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('getUser', 'ref', ref) + const localVarPath = `/v1beta1/users/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Lists all the Users you have access to + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listUsers: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1beta1/users`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref User\'s reference + * @param {InlineObject5} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateUser: async (ref: string, body: InlineObject5, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'ref' is not null or undefined + assertParamExists('updateUser', 'ref', ref) + // verify required parameter 'body' is not null or undefined + assertParamExists('updateUser', 'body', body) + const localVarPath = `/v1beta1/users/{ref}` + .replace(`{${"ref"}}`, encodeURIComponent(String(ref))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication AccessKeyId required + await setApiKeyToObject(localVarHeaderParameter, "access_key_id", configuration) + + // authentication AccessKeySecret required + await setApiKeyToObject(localVarHeaderParameter, "access_key_secret", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * UsersApi - functional programming interface + * @export + */ +export const UsersApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Creates a new User resource + * @param {CreateUserRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createUser(body: CreateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createUser(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Creates a set of credentials + * @param {CreateUserCredentialsRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createUserCredentials(body: CreateUserCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createUserCredentials(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary WARNING: Hard delete of an User will remove all related projects and its resources. + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deleteUser(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets User by reference + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getUser(ref: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(ref, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Lists all the Users you have access to + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listUsers(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref User\'s reference + * @param {InlineObject5} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateUser(ref: string, body: InlineObject5, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(ref, body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * UsersApi - factory interface + * @export + */ +export const UsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = UsersApiFp(configuration) + return { + /** + * + * @summary Creates a new User resource + * @param {CreateUserRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUser(body: CreateUserRequest, options?: any): AxiosPromise { + return localVarFp.createUser(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Creates a set of credentials + * @param {CreateUserCredentialsRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createUserCredentials(body: CreateUserCredentialsRequest, options?: any): AxiosPromise { + return localVarFp.createUserCredentials(body, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary WARNING: Hard delete of an User will remove all related projects and its resources. + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deleteUser(ref: string, options?: any): AxiosPromise { + return localVarFp.deleteUser(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets User by reference + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getUser(ref: string, options?: any): AxiosPromise { + return localVarFp.getUser(ref, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Lists all the Users you have access to + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listUsers(options?: any): AxiosPromise { + return localVarFp.listUsers(options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Change or update fields in a resource + * @param {string} ref User\'s reference + * @param {InlineObject5} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateUser(ref: string, body: InlineObject5, options?: any): AxiosPromise { + return localVarFp.updateUser(ref, body, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * UsersApi - object-oriented interface + * @export + * @class UsersApi + * @extends {BaseAPI} + */ +export class UsersApi extends BaseAPI { + /** + * + * @summary Creates a new User resource + * @param {CreateUserRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + public createUser(body: CreateUserRequest, options?: AxiosRequestConfig) { + return UsersApiFp(this.configuration).createUser(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Creates a set of credentials + * @param {CreateUserCredentialsRequest} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + public createUserCredentials(body: CreateUserCredentialsRequest, options?: AxiosRequestConfig) { + return UsersApiFp(this.configuration).createUserCredentials(body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary WARNING: Hard delete of an User will remove all related projects and its resources. + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + public deleteUser(ref: string, options?: AxiosRequestConfig) { + return UsersApiFp(this.configuration).deleteUser(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets User by reference + * @param {string} ref User\'s reference + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + public getUser(ref: string, options?: AxiosRequestConfig) { + return UsersApiFp(this.configuration).getUser(ref, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Lists all the Users you have access to + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + public listUsers(options?: AxiosRequestConfig) { + return UsersApiFp(this.configuration).listUsers(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Change or update fields in a resource + * @param {string} ref User\'s reference + * @param {InlineObject5} body + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + public updateUser(ref: string, body: InlineObject5, options?: AxiosRequestConfig) { + return UsersApiFp(this.configuration).updateUser(ref, body, options).then((request) => request(this.axios, this.basePath)); + } +} + + diff --git a/mods/websdk/src/generated/api/base.js b/mods/websdk/src/generated/api/base.js new file mode 100644 index 000000000..249db5fcc --- /dev/null +++ b/mods/websdk/src/generated/api/base.js @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Project Fonos + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +// Some imports not used depending on template conditions +// @ts-ignore +import globalAxios from 'axios'; +export const BASE_PATH = "http://localhost/api".replace(/\/+$/, ""); +/** + * + * @export + */ +export const COLLECTION_FORMATS = { + csv: ",", + ssv: " ", + tsv: "\t", + pipes: "|", +}; +/** + * + * @export + * @class BaseAPI + */ +export class BaseAPI { + constructor(configuration, basePath = BASE_PATH, axios = globalAxios) { + this.basePath = basePath; + this.axios = axios; + if (configuration) { + this.configuration = configuration; + this.basePath = configuration.basePath || this.basePath; + } + } +} +; +/** + * + * @export + * @class RequiredError + * @extends {Error} + */ +export class RequiredError extends Error { + constructor(field, msg) { + super(msg); + this.field = field; + this.name = "RequiredError"; + } +} diff --git a/mods/websdk/src/generated/api/base.ts b/mods/websdk/src/generated/api/base.ts new file mode 100644 index 000000000..a52cd30dd --- /dev/null +++ b/mods/websdk/src/generated/api/base.ts @@ -0,0 +1,71 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fonoster + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { Configuration } from "./configuration"; +// Some imports not used depending on template conditions +// @ts-ignore +import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; + +export const BASE_PATH = "http://localhost/api".replace(/\/+$/, ""); + +/** + * + * @export + */ +export const COLLECTION_FORMATS = { + csv: ",", + ssv: " ", + tsv: "\t", + pipes: "|", +}; + +/** + * + * @export + * @interface RequestArgs + */ +export interface RequestArgs { + url: string; + options: AxiosRequestConfig; +} + +/** + * + * @export + * @class BaseAPI + */ +export class BaseAPI { + protected configuration: Configuration | undefined; + + constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) { + if (configuration) { + this.configuration = configuration; + this.basePath = configuration.basePath || this.basePath; + } + } +}; + +/** + * + * @export + * @class RequiredError + * @extends {Error} + */ +export class RequiredError extends Error { + name: "RequiredError" = "RequiredError"; + constructor(public field: string, msg?: string) { + super(msg); + } +} diff --git a/mods/websdk/src/generated/api/common.js b/mods/websdk/src/generated/api/common.js new file mode 100644 index 000000000..60c9eef21 --- /dev/null +++ b/mods/websdk/src/generated/api/common.js @@ -0,0 +1,140 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Project Fonos + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +import { RequiredError } from "./base"; +/** + * + * @export + */ +export const DUMMY_BASE_URL = 'https://example.com'; +/** + * + * @throws {RequiredError} + * @export + */ +export const assertParamExists = function (functionName, paramName, paramValue) { + if (paramValue === null || paramValue === undefined) { + throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`); + } +}; +/** + * + * @export + */ +export const setApiKeyToObject = function (object, keyParamName, configuration) { + return __awaiter(this, void 0, void 0, function* () { + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? yield configuration.apiKey(keyParamName) + : yield configuration.apiKey; + object[keyParamName] = localVarApiKeyValue; + } + }); +}; +/** + * + * @export + */ +export const setBasicAuthToObject = function (object, configuration) { + if (configuration && (configuration.username || configuration.password)) { + object["auth"] = { username: configuration.username, password: configuration.password }; + } +}; +/** + * + * @export + */ +export const setBearerAuthToObject = function (object, configuration) { + return __awaiter(this, void 0, void 0, function* () { + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? yield configuration.accessToken() + : yield configuration.accessToken; + object["Authorization"] = "Bearer " + accessToken; + } + }); +}; +/** + * + * @export + */ +export const setOAuthToObject = function (object, name, scopes, configuration) { + return __awaiter(this, void 0, void 0, function* () { + if (configuration && configuration.accessToken) { + const localVarAccessTokenValue = typeof configuration.accessToken === 'function' + ? yield configuration.accessToken(name, scopes) + : yield configuration.accessToken; + object["Authorization"] = "Bearer " + localVarAccessTokenValue; + } + }); +}; +/** + * + * @export + */ +export const setSearchParams = function (url, ...objects) { + const searchParams = new URLSearchParams(url.search); + for (const object of objects) { + for (const key in object) { + if (Array.isArray(object[key])) { + searchParams.delete(key); + for (const item of object[key]) { + searchParams.append(key, item); + } + } + else { + searchParams.set(key, object[key]); + } + } + } + url.search = searchParams.toString(); +}; +/** + * + * @export + */ +export const serializeDataIfNeeded = function (value, requestOptions, configuration) { + const nonString = typeof value !== 'string'; + const needsSerialization = nonString && configuration && configuration.isJsonMime + ? configuration.isJsonMime(requestOptions.headers['Content-Type']) + : nonString; + return needsSerialization + ? JSON.stringify(value !== undefined ? value : {}) + : (value || ""); +}; +/** + * + * @export + */ +export const toPathString = function (url) { + return url.pathname + url.search + url.hash; +}; +/** + * + * @export + */ +export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) { + return (axios = globalAxios, basePath = BASE_PATH) => { + const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url }); + return axios.request(axiosRequestArgs); + }; +}; diff --git a/mods/websdk/src/generated/api/common.ts b/mods/websdk/src/generated/api/common.ts new file mode 100644 index 000000000..0be152909 --- /dev/null +++ b/mods/websdk/src/generated/api/common.ts @@ -0,0 +1,138 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fonoster + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { Configuration } from "./configuration"; +import { RequiredError, RequestArgs } from "./base"; +import { AxiosInstance, AxiosResponse } from 'axios'; + +/** + * + * @export + */ +export const DUMMY_BASE_URL = 'https://example.com' + +/** + * + * @throws {RequiredError} + * @export + */ +export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) { + if (paramValue === null || paramValue === undefined) { + throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`); + } +} + +/** + * + * @export + */ +export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) { + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey(keyParamName) + : await configuration.apiKey; + object[keyParamName] = localVarApiKeyValue; + } +} + +/** + * + * @export + */ +export const setBasicAuthToObject = function (object: any, configuration?: Configuration) { + if (configuration && (configuration.username || configuration.password)) { + object["auth"] = { username: configuration.username, password: configuration.password }; + } +} + +/** + * + * @export + */ +export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) { + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + object["Authorization"] = "Bearer " + accessToken; + } +} + +/** + * + * @export + */ +export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) { + if (configuration && configuration.accessToken) { + const localVarAccessTokenValue = typeof configuration.accessToken === 'function' + ? await configuration.accessToken(name, scopes) + : await configuration.accessToken; + object["Authorization"] = "Bearer " + localVarAccessTokenValue; + } +} + +/** + * + * @export + */ +export const setSearchParams = function (url: URL, ...objects: any[]) { + const searchParams = new URLSearchParams(url.search); + for (const object of objects) { + for (const key in object) { + if (Array.isArray(object[key])) { + searchParams.delete(key); + for (const item of object[key]) { + searchParams.append(key, item); + } + } else { + searchParams.set(key, object[key]); + } + } + } + url.search = searchParams.toString(); +} + +/** + * + * @export + */ +export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) { + const nonString = typeof value !== 'string'; + const needsSerialization = nonString && configuration && configuration.isJsonMime + ? configuration.isJsonMime(requestOptions.headers['Content-Type']) + : nonString; + return needsSerialization + ? JSON.stringify(value !== undefined ? value : {}) + : (value || ""); +} + +/** + * + * @export + */ +export const toPathString = function (url: URL) { + return url.pathname + url.search + url.hash +} + +/** + * + * @export + */ +export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) { + return >(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url}; + return axios.request(axiosRequestArgs); + }; +} diff --git a/mods/websdk/src/generated/api/configuration.js b/mods/websdk/src/generated/api/configuration.js new file mode 100644 index 000000000..043b519ec --- /dev/null +++ b/mods/websdk/src/generated/api/configuration.js @@ -0,0 +1,38 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Project Fonos + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +export class Configuration { + constructor(param = {}) { + this.apiKey = param.apiKey; + this.username = param.username; + this.password = param.password; + this.accessToken = param.accessToken; + this.basePath = param.basePath; + this.baseOptions = param.baseOptions; + this.formDataCtor = param.formDataCtor; + } + /** + * Check if the given MIME is a JSON MIME. + * JSON MIME examples: + * application/json + * application/json; charset=UTF8 + * APPLICATION/JSON + * application/vnd.company+json + * @param mime - MIME (Multipurpose Internet Mail Extensions) + * @return True if the given MIME is JSON, false otherwise. + */ + isJsonMime(mime) { + const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i'); + return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json'); + } +} diff --git a/mods/websdk/src/generated/api/configuration.ts b/mods/websdk/src/generated/api/configuration.ts new file mode 100644 index 000000000..e2477633f --- /dev/null +++ b/mods/websdk/src/generated/api/configuration.ts @@ -0,0 +1,101 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fonoster + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export interface ConfigurationParameters { + apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); + username?: string; + password?: string; + accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise); + basePath?: string; + baseOptions?: any; + formDataCtor?: new () => any; +} + +export class Configuration { + /** + * parameter for apiKey security + * @param name security name + * @memberof Configuration + */ + apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); + /** + * parameter for basic security + * + * @type {string} + * @memberof Configuration + */ + username?: string; + /** + * parameter for basic security + * + * @type {string} + * @memberof Configuration + */ + password?: string; + /** + * parameter for oauth2 security + * @param name security name + * @param scopes oauth2 scope + * @memberof Configuration + */ + accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise); + /** + * override base path + * + * @type {string} + * @memberof Configuration + */ + basePath?: string; + /** + * base options for axios calls + * + * @type {any} + * @memberof Configuration + */ + baseOptions?: any; + /** + * The FormData constructor that will be used to create multipart form data + * requests. You can inject this here so that execution environments that + * do not support the FormData class can still run the generated client. + * + * @type {new () => FormData} + */ + formDataCtor?: new () => any; + + constructor(param: ConfigurationParameters = {}) { + this.apiKey = param.apiKey; + this.username = param.username; + this.password = param.password; + this.accessToken = param.accessToken; + this.basePath = param.basePath; + this.baseOptions = param.baseOptions; + this.formDataCtor = param.formDataCtor; + } + + /** + * Check if the given MIME is a JSON MIME. + * JSON MIME examples: + * application/json + * application/json; charset=UTF8 + * APPLICATION/JSON + * application/vnd.company+json + * @param mime - MIME (Multipurpose Internet Mail Extensions) + * @return True if the given MIME is JSON, false otherwise. + */ + public isJsonMime(mime: string): boolean { + const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i'); + return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json'); + } +} diff --git a/mods/websdk/src/generated/api/git_push.sh b/mods/websdk/src/generated/api/git_push.sh new file mode 100644 index 000000000..f53a75d4f --- /dev/null +++ b/mods/websdk/src/generated/api/git_push.sh @@ -0,0 +1,57 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 +git_host=$4 + +if [ "$git_host" = "" ]; then + git_host="github.com" + echo "[INFO] No command line input provided. Set \$git_host to $git_host" +fi + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=$(git remote) +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' diff --git a/mods/websdk/src/generated/api/index.js b/mods/websdk/src/generated/api/index.js new file mode 100644 index 000000000..d425e9e68 --- /dev/null +++ b/mods/websdk/src/generated/api/index.js @@ -0,0 +1,15 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Project Fonos + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +export * from "./api"; +export * from "./configuration"; diff --git a/mods/websdk/src/generated/api/index.ts b/mods/websdk/src/generated/api/index.ts new file mode 100644 index 000000000..a36c37388 --- /dev/null +++ b/mods/websdk/src/generated/api/index.ts @@ -0,0 +1,18 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fonoster + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: v1beta1 + * Contact: psanders@fonoster.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export * from "./api"; +export * from "./configuration"; + diff --git a/mods/websdk/src/index.ts b/mods/websdk/src/index.ts new file mode 100644 index 000000000..8800e423e --- /dev/null +++ b/mods/websdk/src/index.ts @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Agents from "./agents"; +import Auth from "./auth"; +import Secrets from "./secrets"; +import CallManager from "./callmanager"; +import Domains from "./domains"; +import Numbers from "./numbers"; +import Projects from "./projects"; +import Storage from "./storage"; +import Users from "./users"; +import Providers from "./providers"; + +export { + Agents, + Auth, + Secrets, + CallManager, + Domains, + Numbers, + Projects, + Storage, + Users, + Providers +}; diff --git a/mods/websdk/src/numbers.ts b/mods/websdk/src/numbers.ts new file mode 100644 index 000000000..c2f4a9e27 --- /dev/null +++ b/mods/websdk/src/numbers.ts @@ -0,0 +1,72 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {INumbersClient} from "@fonoster/numbers"; +import { + CreateNumberRequest, + CreateNumberResponse, + DeleteNumberResponse, + GetNumberResponse, + ListNumbersRequest, + ListNumbersResponse, + UpdateNumberRequest, + UpdateNumberResponse, + GetIngressInfoRequest, + GetIngressInfoResponse +} from "@fonoster/numbers/src/client/types"; +import * as c from "./generated/api"; + +export default class Numbers extends WebAPIClient implements INumbersClient { + constructor(options: WebClientOptions) { + super(c, "NumbersApi", options); + } + + async createNumber( + request: CreateNumberRequest + ): Promise { + return (await super.run("createNumber", request)) as any; + } + + async getNumber(ref: string): Promise { + return (await super.run("getNumber", ref)) as any; + } + + async updateNumber( + request: UpdateNumberRequest + ): Promise { + return (await super.run("updateNumber", request)) as any; + } + + async listNumbers(request: ListNumbersRequest): Promise { + return (await super.run("listNumbers", request)) as any; + } + + async deleteNumber(ref: string): Promise { + return (await super.run("deleteNumber", ref)) as any; + } + + async getIngressInfo( + request: GetIngressInfoRequest + ): Promise { + return (await super.run("getIngressInfo", request)) as any; + } +} diff --git a/mods/websdk/src/projects.ts b/mods/websdk/src/projects.ts new file mode 100644 index 000000000..b2879d9d0 --- /dev/null +++ b/mods/websdk/src/projects.ts @@ -0,0 +1,66 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {IProjectsClient} from "@fonoster/projects"; +import { + CreateProjectRequest, + CreateProjectResponse, + DeleteProjectResponse, + GetProjectResponse, + ListProjectsRequest, + ListProjectsResponse, + UpdateProjectRequest, + UpdateProjectResponse +} from "@fonoster/projects/src/client/types"; +import * as c from "./generated/api"; + +export default class Projects extends WebAPIClient implements IProjectsClient { + constructor(options: WebClientOptions) { + super(c, "ProjectsApi", options); + } + + async createProject( + request: CreateProjectRequest + ): Promise { + return (await super.run("createProject", request)) as any; + } + + async getProject(ref: string): Promise { + return (await super.run("getProject", ref)) as any; + } + + async updateProject( + request: UpdateProjectRequest + ): Promise { + return (await super.run("updateProject", request)) as any; + } + + async listProjects( + request: ListProjectsRequest + ): Promise { + return (await super.run("listProjects", request)) as any; + } + + async deleteProject(ref: string): Promise { + return (await super.run("deleteProject", ref)) as any; + } +} diff --git a/mods/websdk/src/providers.ts b/mods/websdk/src/providers.ts new file mode 100644 index 000000000..3eb04126c --- /dev/null +++ b/mods/websdk/src/providers.ts @@ -0,0 +1,69 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {IProvidersClient} from "@fonoster/providers"; +import { + CreateProviderRequest, + CreateProviderResponse, + DeleteProviderResponse, + GetProviderResponse, + ListProvidersRequest, + ListProvidersResponse, + UpdateProviderRequest, + UpdateProviderResponse +} from "@fonoster/providers/src/client/types"; +import * as c from "./generated/api"; + +export default class Providers + extends WebAPIClient + implements IProvidersClient +{ + constructor(options: WebClientOptions) { + super(c, "ProvidersApi", options); + } + + async createProvider( + request: CreateProviderRequest + ): Promise { + return (await super.run("createProvider", request)) as any; + } + + async getProvider(ref: string): Promise { + return (await super.run("getProvider", ref)) as any; + } + + async updateProvider( + request: UpdateProviderRequest + ): Promise { + return (await super.run("updateProvider", request)) as any; + } + + async listProviders( + request: ListProvidersRequest + ): Promise { + return (await super.run("listProviders", request)) as any; + } + + async deleteProvider(ref: string): Promise { + return (await super.run("deleteProvider", ref)) as any; + } +} diff --git a/mods/websdk/src/secrets.ts b/mods/websdk/src/secrets.ts new file mode 100644 index 000000000..37a21360f --- /dev/null +++ b/mods/websdk/src/secrets.ts @@ -0,0 +1,55 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {ISecretsClient} from "@fonoster/secrets"; +import { + CreateSecretRequest, + CreateSecretResponse, + GetSecretResponse, + ListSecretsRequest, + ListSecretsResponse +} from "@fonoster/secrets/src/client/types"; +import * as c from "./generated/api"; + +export default class Secrets extends WebAPIClient implements ISecretsClient { + constructor(options: WebClientOptions) { + super(c, "SecretsApi", options); + } + + async createSecret( + request: CreateSecretRequest + ): Promise { + return (await super.run("createSecret", request)) as any; + } + + async getSecret(ref: string): Promise { + return (await super.run("getSecret", ref)) as any; + } + + async deleteSecret(ref: string): Promise { + return (await super.run("updateSecret", ref)) as any; + } + + async listSecrets(request: ListSecretsRequest): Promise { + return (await super.run("listSecrets", request)) as any; + } +} diff --git a/mods/websdk/src/storage.ts b/mods/websdk/src/storage.ts new file mode 100644 index 000000000..723b5715b --- /dev/null +++ b/mods/websdk/src/storage.ts @@ -0,0 +1,48 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {IStorageClient} from "@fonoster/storage"; +import { + UploadObjectRequest, + UploadObjectResponse, + GetObjectURLRequest, + GetObjectURLResponse +} from "@fonoster/storage/src/client/types"; +import * as c from "./generated/api"; + +export default class Storage extends WebAPIClient implements IStorageClient { + constructor(options: WebClientOptions) { + super(c, "StorageApi", options); + } + + async uploadObject( + request: UploadObjectRequest + ): Promise { + throw new Error("implementation not available on browsers"); + } + + async getObjectURL( + request: GetObjectURLRequest + ): Promise { + return (await super.run("getObjectURL", request)) as any; + } +} diff --git a/mods/websdk/src/users.ts b/mods/websdk/src/users.ts new file mode 100644 index 000000000..aa27eb766 --- /dev/null +++ b/mods/websdk/src/users.ts @@ -0,0 +1,68 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable require-jsdoc */ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import WebAPIClient from "@fonoster/common/dist/web_client"; +import {WebClientOptions} from "@fonoster/common/dist/types"; +import {IUsersClient} from "@fonoster/users"; +import { + CreateUserRequest, + CreateUserResponse, + DeleteUserResponse, + GetUserResponse, + UpdateUserRequest, + UpdateUserResponse, + CreateUserCredentialsRequest, + CreateUserCredentialsResponse, + ListUsersRequest, + ListUsersResponse +} from "@fonoster/users/src/client/types"; +import * as c from "./generated/api"; + +export default class Users extends WebAPIClient implements IUsersClient { + constructor(options: WebClientOptions) { + super(c, "UsersApi", options); + } + + async listUsers(request: ListUsersRequest): Promise { + return (await super.run("listUsers", request)) as any; + } + + async createUser(request: CreateUserRequest): Promise { + return (await super.run("createUser", request)) as any; + } + + async getUser(ref: string): Promise { + return (await super.run("getUser", ref)) as any; + } + + async updateUser(request: UpdateUserRequest): Promise { + return (await super.run("updateUser", request)) as any; + } + + async deleteUser(ref: string): Promise { + return (await super.run("deleteUser", ref)) as any; + } + + async createUserCredentials( + request: CreateUserCredentialsRequest + ): Promise { + return (await super.run("createUserCredentials", request)) as any; + } +} diff --git a/examples/hello-monkeys/index.js b/mods/websdk/test/sdk.unit.test.ts similarity index 70% rename from examples/hello-monkeys/index.js rename to mods/websdk/test/sdk.unit.test.ts index 193b50e49..e08b6d01c 100644 --- a/examples/hello-monkeys/index.js +++ b/mods/websdk/test/sdk.unit.test.ts @@ -1,8 +1,8 @@ /* * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) - * http://github.com/fonoster/fonos + * http://github.com/fonoster/fonoster * - * This file is part of Project Fonos + * This file is part of Fonoster * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with @@ -16,10 +16,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/** - * The simplest Voice Application you can build in Fonos - */ -const {VoiceServer} = require("@fonos/voice"); -voiceServer.listen((req, res) => { - res.play("sound:tt-monkeys"); +// No much to test here +describe("@fonoster/websdk", () => { + it("needs tests"); }); diff --git a/mods/websdk/tsconfig.json b/mods/websdk/tsconfig.json new file mode 100644 index 000000000..31a852035 --- /dev/null +++ b/mods/websdk/tsconfig.json @@ -0,0 +1,72 @@ +{ + "compilerOptions": { + "allowJs": true, + "allowSyntheticDefaultImports": true, + "baseUrl": "src", + "declaration": false, + "esModuleInterop": true, + "inlineSourceMap": false, + "lib": ["ESNext", "DOM"], + "listEmittedFiles": false, + "listFiles": false, + "moduleResolution": "node", + "noFallthroughCasesInSwitch": true, + "pretty": true, + "rootDir": "src", + "skipLibCheck": true, + "strict": true, + "target": "esnext", + "traceResolution": false, + "outDir": "dist" + }, + "compileOnSave": false, + "exclude": ["node_modules", "dist"], + "include": ["src"], + "references": [ + { + "path": "../auth" + }, + { + "path": "../secrets" + }, + { + "path": "../agents" + }, + { + "path": "../funcs" + }, + { + "path": "../storage" + }, + { + "path": "../callmanager" + }, + { + "path": "../logger" + }, + { + "path": "../providers" + }, + { + "path": "../numbers" + }, + { + "path": "../domains" + }, + { + "path": "../projects" + }, + { + "path": "../users" + }, + { + "path": "../common" + }, + { + "path": "../core" + }, + { + "path": "../logger" + } + ] +} diff --git a/mods/websdk/webpack.config.cjs b/mods/websdk/webpack.config.cjs new file mode 100644 index 000000000..d985400b3 --- /dev/null +++ b/mods/websdk/webpack.config.cjs @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +const path = require("path"); + +module.exports = { + target: "web", + entry: { + websdk: "./dist/index.js" + }, + devtool: "inline-source-map", + mode: "development", + module: { + rules: [ + { + test: /\.tsx?$/, + use: "ts-loader", + exclude: /node_modules/ + }, + { + test: /\.js$/, + exclude: /(node_modules|bower_components)/, + use: { + loader: "babel-loader", + options: { + presets: ["@babel/preset-env"], + plugins: ["@babel/plugin-transform-runtime"] + } + } + } + ] + }, + resolve: { + extensions: [".tsx", ".ts", ".js"] + }, + output: { + filename: "[name].js", + path: path.resolve(__dirname, "dist"), + iife: true, + library: "Fonoster" + } +}; diff --git a/operator/cloud-config.txt b/operator/cloud-config.txt index 27356b1c9..59bd432d7 100644 --- a/operator/cloud-config.txt +++ b/operator/cloud-config.txt @@ -3,48 +3,49 @@ ssh_authorized_keys: ## Note: Replace with your own public key - ssh-rsa ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKcZlvWQphbnVsau7V4Va1itaPvekkTxZGriJO1A9aGzKLrmX3vOsETz96fVS5OphP7PNbGVppjEUSeSqAeOjxJ84+Uko0GCDH2ypZncipF13DJnNgyv9V+WqfA7SHJHMBVxChmY5A/xzgDl94O6Sozb/wd5dzCqCpW0htx4DUcYluJWTsLMmmP2Xw9KeE9HvF8Z3niMjiCgkBzYA0LdldXrHXS8yJnIwIrGslDbpIZG7c7UJSWHhJzKX5v73VLk1qITFqkbYMVKJ3JYOXla5T5aR3brh8zn+i0f84C9vIveHq90vGASsyjzgpjpKpcN/g8K791DeRjHK47PUE2REp pedrosanders@Pedros-MBP -package_update: true +write_files: + - path: /opt/fonoster/user_opts + content: | + # Uncomment and replace with the IP of your Docker Host, + # unless you are running on a cloud environment like + # DO or AWS. + #DOCKER_HOST_IP=192.168.1.149 + + # Uncomment if you want automatic TLS support. You must also set the + # environment variable DOMAIN + #ENABLE_TLS=true -packages: - - curl - - git - - docker.io + # This is required for TLS support. The DNS entry must point to + # the public IP of your Docker Host + #DOMAIN=api.yourdomain.com + + # We recommend using a working email + #LETSENCRYPT_EMAIL=admin@yourdomain.com + + FONOSTER_VERSION=0.2.44 runcmd: - - curl -qL -o /usr/bin/netdiscover https://github.com/CyCoreSystems/netdiscover/releases/download/v1.2.5/netdiscover.linux.amd64 - - chmod +x /usr/bin/netdiscover - - curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - - chmod +x /usr/local/bin/docker-compose - - docker volume create --name=datasource && docker volume create --name=data1-1 - - git clone https://github.com/fonoster/fonos --depth=1 -b main --single-branch - - mkdir -p /opt/fonos/operator - - cp -a fonos/operator/compose/* /opt/fonos/operator - - cp fonos/operator/compose/env_example /opt/fonos/operator/.env - - chmod +x /opt/fonos/operator/gen-secrets.sh - - chmod +x /opt/fonos/operator/basic-network.sh - - echo "" >> /opt/fonos/operator/.env - - echo "PUBLIC_URL=http://$(netdiscover -field publicv4):50051" >> /opt/fonos/operator/.env - - echo "DOCKER_HOST_ADDRESS=$(netdiscover -field publicv4)" >> /opt/fonos/operator/.env - - echo "RTPE_HOST=$(netdiscover -field publicv4)" >> /opt/fonos/operator/.env - - mkdir -p /opt/fonos/config - - touch /opt/fonos/config/config - - touch /opt/fonos/config/user_credentials - - echo $(openssl rand -hex 16) > /opt/fonos/config/private_key - - cp fonos/etc/rbac.json /opt/fonos/config - - cp fonos/etc/log4j2.yml /opt/fonos/config - - cp fonos/etc/bootstrap.yml /opt/fonos/config - - cp fonos/etc/redis.conf /opt/fonos/config - - cp fonos/etc/service_envs.json /opt/fonos/config - - rm -rf fonos - - cd /opt/fonos/operator - - ./gen-secrets.sh - - DS_SECRET=$(grep DS_SECRET .env | cut -d '=' -f2) - - SIPPROXY_SECRET=$(grep SIPPROXY_SECRET .env | cut -d '=' -f2) - - sed -i.bak -e "s#requirepass .*#requirepass ${DS_SECRET}#g" "./../config/redis.conf" - - sed -i.bak -e "s#changeit#${SIPPROXY_SECRET}#g" "./../config/bootstrap.yml" - - docker-compose -f init.yml up service_creds user_creds - - ./basic-network.sh start - - sleep 90 - - docker-compose -f init.yml up create_buckets bootstrap_sipnet + - | + cd /opt + export $(grep -v '^#' /opt/fonoster/user_opts | xargs) + docker run -i --rm \ + -e DOCKER_HOST_IP=$DOCKER_HOST_IP \ + -e DOMAIN=$DOMAIN \ + -e ENABLE_TLS=$ENABLE_TLS \ + -e HTTP_PORT=$HTTP_PORT \ + -e HTTPS_PORT=$HTTPS_PORT \ + -e LETSENCRYPT_EMAIL=$LETSENCRYPT_EMAIL \ + -e GLOBAL_SIP_DOMAIN=$GLOBAL_SIP_DOMAIN \ + -e CONFIG_PATH=$(pwd)/fonoster/config \ + --volume /var/run/docker.sock:/var/run/docker.sock \ + --volume $(pwd)/fonoster:/out:rw \ + --entrypoint="/install.sh" \ + fonoster/fonoster:$FONOSTER_VERSION + rm /opt/fonoster/user_opts + +package_update: true + +packages: + - docker.io final_message: "Cloud init is done!" diff --git a/operator/compose/00_config.yml b/operator/compose/00_config.yml index cd49b4394..89aa6b924 100644 --- a/operator/compose/00_config.yml +++ b/operator/compose/00_config.yml @@ -1,7 +1,7 @@ version: '3.7' networks: - fonos: + fonoster: volumes: data1-1: diff --git a/operator/compose/01_api.yml b/operator/compose/01_api.yml index 8b7bc3edd..b57cfd3fd 100644 --- a/operator/compose/01_api.yml +++ b/operator/compose/01_api.yml @@ -5,7 +5,7 @@ version: '3.7' services: apiserver: - image: ${AS_IMAGE} + image: fonoster/traefik:${COMPOSE_PROJECT_VERSION} command: # - "--log.level=DEBUG" - "--api.insecure=true" @@ -16,85 +16,118 @@ services: volumes: - "/var/run/docker.sock:/var/run/docker.sock:ro" networks: - fonos: + fonoster: aliases: - ${AS_HOST} auth: - image: fonoster/fonos-auth:${COMPOSE_PROJECT_VERSION} + image: fonoster/auth:${COMPOSE_PROJECT_VERSION} extends: file: api-common.yml service: common labels: - "traefik.enable=true" - "traefik.http.routers.auth.entrypoints=internal,websecure" - - "traefik.http.routers.auth.rule=PathPrefix(`/fonos.auth.v1beta1`)" + - "traefik.http.routers.auth.rule=PathPrefix(`/fonoster.auth.v1beta1`)" - "traefik.http.services.auth.loadbalancer.server.scheme=h2c" volumes: - - ${CONFIG}/rbac.json:/home/fonos/rbac.json + - ${CONFIG}/rbac.json:/home/fonoster/rbac.json + + monitor: + image: fonoster/monitor:${COMPOSE_PROJECT_VERSION} + extends: + file: api-common.yml + service: common + labels: + - "traefik.enable=true" + - "traefik.http.routers.monitor.entrypoints=internal,websecure" + - "traefik.http.routers.monitor.rule=PathPrefix(`/fonoster.monitor.v1beta1`)" + - "traefik.http.services.monitor.loadbalancer.server.scheme=h2c" + + users: + image: fonoster/users:${COMPOSE_PROJECT_VERSION} + extends: + file: api-common.yml + service: common + labels: + - "traefik.enable=true" + - "traefik.http.routers.users.entrypoints=internal,websecure" + - "traefik.http.routers.users.rule=PathPrefix(`/fonoster.users.v1beta1`)" + - "traefik.http.services.users.loadbalancer.server.scheme=h2c" + + projects: + image: fonoster/projects:${COMPOSE_PROJECT_VERSION} + extends: + file: api-common.yml + service: common + labels: + - "traefik.enable=true" + - "traefik.http.routers.projects.entrypoints=internal,websecure" + - "traefik.http.routers.projects.rule=PathPrefix(`/fonoster.projects.v1beta1`)" + - "traefik.http.services.projects.loadbalancer.server.scheme=h2c" agents: - image: fonoster/fonos-agents:${COMPOSE_PROJECT_VERSION} + image: fonoster/agents:${COMPOSE_PROJECT_VERSION} extends: file: api-common.yml service: common labels: - "traefik.enable=true" - "traefik.http.routers.agents.entrypoints=internal,websecure" - - "traefik.http.routers.agents.rule=PathPrefix(`/fonos.agents.v1beta1`)" + - "traefik.http.routers.agents.rule=PathPrefix(`/fonoster.agents.v1beta1`)" - "traefik.http.services.agents.loadbalancer.server.scheme=h2c" domains: - image: fonoster/fonos-domains:${COMPOSE_PROJECT_VERSION} + image: fonoster/domains:${COMPOSE_PROJECT_VERSION} extends: file: api-common.yml service: common labels: - "traefik.enable=true" - "traefik.http.routers.domains.entrypoints=internal,websecure" - - "traefik.http.routers.domains.rule=PathPrefix(`/fonos.domains.v1beta1`)" + - "traefik.http.routers.domains.rule=PathPrefix(`/fonoster.domains.v1beta1`)" - "traefik.http.services.domains.loadbalancer.server.scheme=h2c" numbers: - image: fonoster/fonos-numbers:${COMPOSE_PROJECT_VERSION} + image: fonoster/numbers:${COMPOSE_PROJECT_VERSION} extends: file: api-common.yml service: common labels: - "traefik.enable=true" - "traefik.http.routers.numbers.entrypoints=internal,websecure" - - "traefik.http.routers.numbers.rule=PathPrefix(`/fonos.numbers.v1beta1`)" + - "traefik.http.routers.numbers.rule=PathPrefix(`/fonoster.numbers.v1beta1`)" - "traefik.http.services.numbers.loadbalancer.server.scheme=h2c" providers: - image: fonoster/fonos-providers:${COMPOSE_PROJECT_VERSION} + image: fonoster/providers:${COMPOSE_PROJECT_VERSION} extends: file: api-common.yml service: common labels: - "traefik.enable=true" - "traefik.http.routers.providers.entrypoints=internal,websecure" - - "traefik.http.routers.providers.rule=PathPrefix(`/fonos.providers.v1beta1`)" + - "traefik.http.routers.providers.rule=PathPrefix(`/fonoster.providers.v1beta1`)" - "traefik.http.services.providers.loadbalancer.server.scheme=h2c" storage: - image: fonoster/fonos-storage:${COMPOSE_PROJECT_VERSION} + image: fonoster/storage:${COMPOSE_PROJECT_VERSION} extends: file: api-common.yml service: common labels: - "traefik.enable=true" - "traefik.http.routers.storage.entrypoints=internal,websecure" - - "traefik.http.routers.storage.rule=PathPrefix(`/fonos.storage.v1beta1`)" + - "traefik.http.routers.storage.rule=PathPrefix(`/fonoster.storage.v1beta1`)" - "traefik.http.services.storage.loadbalancer.server.scheme=h2c" callmanager: - image: fonoster/fonos-callmanager:${COMPOSE_PROJECT_VERSION} + image: fonoster/callmanager:${COMPOSE_PROJECT_VERSION} extends: file: api-common.yml service: common labels: - "traefik.enable=true" - "traefik.http.routers.callmanager.entrypoints=internal,websecure" - - "traefik.http.routers.callmanager.rule=PathPrefix(`/fonos.callmanager.v1beta1`)" + - "traefik.http.routers.callmanager.rule=PathPrefix(`/fonoster.callmanager.v1beta1`)" - "traefik.http.services.callmanager.loadbalancer.server.scheme=h2c" diff --git a/operator/compose/02_sipnet.yml b/operator/compose/02_sipnet.yml index 96dea0b9c..c5a4b7b5e 100644 --- a/operator/compose/02_sipnet.yml +++ b/operator/compose/02_sipnet.yml @@ -3,7 +3,7 @@ version: '3.7' services: sipproxy: - image: ${SIPPROXY_IMAGE} + image: fonoster/routr:${COMPOSE_PROJECT_VERSION} restart: ${RESTART_POLICY} environment: EXTERN_ADDR: ${DOCKER_HOST_ADDRESS} @@ -18,9 +18,10 @@ services: EX_RTP_ENGINE_HOST: ${RTPE_HOST} EX_RTP_ENGINE_PORT: ${RTPE_PORT} # Setting this to true is breaking the routing workflow in Routr - EX_CONVERT_TEL_TO_E164: 'false' + EX_CONVERT_TEL_TO_E164: "false" ports: - - ${SIPPROXY_SIP_PORT}:${SIPPROXY_SIP_PORT} + - ${SIPPROXY_SIP_PORTS}:${SIPPROXY_SIP_PORTS} + - ${SIPPROXY_SIP_PORT_UDP}:${SIPPROXY_SIP_PORT_UDP}/udp healthcheck: test: ["CMD-SHELL", "nc -z localhost ${SIPPROXY_API_PORT} || exit 1"] interval: 30s @@ -30,7 +31,7 @@ services: options: tag: ${LOG_OPT_TAG_PREFIX}.${COMPOSE_PROJECT_NAME}.sipproxy networks: - fonos: + fonoster: aliases: - ${SIPPROXY_HOST} volumes: @@ -39,7 +40,7 @@ services: # Before you start this in production you should limit the traffic to port 8080 # to only internal to avoid denial of service on RTPEngine. rtpengine: - image: psanders/rtpengine:latest + image: fonoster/rtpengine:${COMPOSE_PROJECT_VERSION} restart: ${RESTART_POLICY} labels: - "traefik.enable=true" @@ -56,7 +57,7 @@ services: LOG_LEVEL: '6' mediaserver: - image: ${MS_IMAGE} + image: fonoster/mediaserver:${COMPOSE_PROJECT_VERSION} restart: ${RESTART_POLICY} labels: - "traefik.enable=true" @@ -67,7 +68,7 @@ services: - "traefik.http.middlewares.session-auth.forwardauth.address=http://auth:3000/session_auth" - "traefik.http.middlewares.basic-auth.headers.customrequestheaders.Authorization=Basic ${MS_ARI_AUTHORIZATION}" environment: - APISERVER_ENDPOINT: ${AS_HOST}:{HTTP_PORT} + APISERVER_ENDPOINT: ${AS_HOST}:${HTTP_PORT} ALLOW_INSECURE: ${AS_ALLOW_INSECURE} ARI_EXTERNAL_URL: ${PUBLIC_URL} ARI_INTERNAL_URL: ${MS_ARI_INTERNAL_URL} @@ -75,8 +76,12 @@ services: ARI_SECRET: ${MS_ARI_SECRET} EXTERN_ADDR: ${DOCKER_HOST_ADDRESS} EXTERN_PORT: ${MS_SIP_PORT} - SIPPROXY_HOST: ${DOCKER_HOST_ADDRESS}:${SIPPROXY_SIP_PORT} + SIPPROXY_HOST: ${DOCKER_HOST_ADDRESS} + SIPPROXY_PORT: ${SIPPROXY_SIP_PORT} SIPPROXY_USERNAME: ${SIPPROXY_USERNAME} + SIPPROXY_API_HOST: ${SIPPROXY_API_HOST} + SIPPROXY_API_USERNAME: ${SIPPROXY_API_USERNAME} + SIPPROXY_API_SECRET: ${SIPPROXY_API_SECRET} SIPPROXY_SECRET: ${SIPPROXY_SECRET} RTP_PORT_START: ${MS_RTP_PORT_START} RTP_PORT_END: ${MS_RTP_PORT_END} @@ -84,11 +89,11 @@ services: # Deprecated # LOCALNET: '8.8.8.8' volumes: - - data1-1:/home/fonos - # TODO: Update image to add user fonos - - ${CONFIG}/config:/root/.fonos/config:ro + - data1-1:/home/fonoster + # TODO: Update image to add user fonoster + - ${CONFIG}/config:/root/.fonoster/config:ro logging: options: tag: ${LOG_OPT_TAG_PREFIX}.${COMPOSE_PROJECT_NAME}.mediaserver networks: - fonos: + fonoster: diff --git a/operator/compose/api-common.yml b/operator/compose/api-common.yml index af35ac9af..f391d418f 100644 --- a/operator/compose/api-common.yml +++ b/operator/compose/api-common.yml @@ -34,19 +34,19 @@ services: LOG_OPT_TAG_PREFIX: ${LOG_OPT_TAG_PREFIX} LOGS_DRIVER_HOST: ${LOGS_DRIVER_HOST} LOGS_DRIVER_PORT: ${LOGS_DRIVER_PORT} + LOGS_AGGREGRATOR_HOST: ${LOGS_AGGREGRATOR_HOST} + LOGS_AGGREGRATOR_PORT: ${LOGS_AGGREGRATOR_PORT} COMPOSE_PROJECT_NAME: ${COMPOSE_PROJECT_NAME} COMPOSE_PROJECT_VERSION: ${COMPOSE_PROJECT_VERSION} AUTH_ACCESS_WHITELIST: ${AUTH_ACCESS_WHITELIST} AUTH_ISS: ${AUTH_ISS} NODE_ENV: ${NODE_ENV} networks: - fonos: + fonoster: volumes: - - ${CONFIG}/config:/home/fonos/.fonos/config:ro - - ${CONFIG}/private_key:/home/fonos/.fonos/jwt.salt:ro - - ${CONFIG}/service_envs.json:/home/fonos/service_envs.json:ro + - ${CONFIG}/config:/home/fonoster/.fonoster/config:ro + - ${CONFIG}/private_key:/home/fonoster/.fonoster/private_key:ro + - ${CONFIG}/service_envs.json:/home/fonoster/service_envs.json:ro logging: options: tag: ${LOG_OPT_TAG_PREFIX}.${COMPOSE_PROJECT_NAME}.api - - diff --git a/operator/compose/basic-network.sh b/operator/compose/basic-network.sh index b94895dd1..8ca3c83e7 100755 --- a/operator/compose/basic-network.sh +++ b/operator/compose/basic-network.sh @@ -1,17 +1,21 @@ #!/bin/bash -COMPOSE_CMD="docker-compose --env-file .env -f 00_config.yml -f 01_api.yml -f 02_sipnet.yml -f extras/datasource.yml -f extras/fs.yml -f noencrypt.yml" +EXTRAS="-f extras/datasource.yml -f extras/fs.yml" +COMPOSE_CMD="docker-compose --env-file .env -f logging.yml -f health.yml -f 00_config.yml -f 01_api.yml -f 02_sipnet.yml ${EXTRAS}" basic_network() { case $1 in start) - eval $COMPOSE_CMD" up -d" + eval $COMPOSE_CMD" -f letsencrypt.yml up -d" ;; + start-unsecure) + eval $COMPOSE_CMD" -f noencrypt.yml up -d" + ;; stop) - eval $COMPOSE_CMD" down" + eval $COMPOSE_CMD" -f noencrypt.yml down" ;; *) - echo -n "Usage: ./basic_network start|stop" + echo -n "Usage: ./basic_network start|start-unsecure|stop" echo "" ;; esac diff --git a/operator/compose/dev.yml b/operator/compose/dev.yml index 1502d301d..1f3458885 100644 --- a/operator/compose/dev.yml +++ b/operator/compose/dev.yml @@ -1,4 +1,4 @@ -# Warning: Including this file in your Fonos deployment will +# Warning: Including this file in your Fonoster deployment will # open the ports to a number of private services. This is very # unsecured. Only recommended for development. @@ -6,6 +6,14 @@ version: '3.7' services: + logsdriver: + ports: + - ${LOGS_DRIVER_PORT}:${LOGS_DRIVER_PORT} + - ${LOGS_DRIVER_PORT}:${LOGS_DRIVER_PORT}/udp + logsaggregator: + ports: + - ${LOGS_AGGREGRATOR_PORT}:${LOGS_AGGREGRATOR_PORT} + apiserver: ports: # Port for Traefik dashboard diff --git a/operator/compose/env_example b/operator/compose/env_example index 1ae134920..338248855 100644 --- a/operator/compose/env_example +++ b/operator/compose/env_example @@ -35,7 +35,7 @@ DS_SECRET= # Basic configuration options # -# External IP or Domain for your Fonos API (required) +# External IP or Domain for your Fonoster API (required) # Before going on production you must replace this with the # TLS protected URL #PUBLIC_URL=http://api.example.com:50051 @@ -47,7 +47,7 @@ HTTP_PORT=50051 HTTPS_PORT=443 # Directory where all configuration will be stored -CONFIG=/opt/fonos/config +CONFIG=/opt/fonoster/config # IP address of the Docker host (required) #DOCKER_HOST_ADDRESS=192.168.1.1 @@ -63,16 +63,13 @@ CONFIG=/opt/fonos/config #LETSENCRYPT_EMAIL=alice@acme.com # Whitelisted services (comma separated) -AUTH_ACCESS_WHITELIST=/fonos.auth.v1beta1.Auth/GetRole +AUTH_ACCESS_WHITELIST=/fonoster.auth.v1beta1.Auth/GetRole,/fonoster.users.v1beta1.Users/CreateUser,/fonoster.auth.v1beta1.Users/CreateUserCredentials # Issuer for JWT claims -AUTH_ISS=fonos - -# Image for the reverse proxy (Traefik) -AS_IMAGE=traefik:v2.4 +AUTH_ISS=fonoster # Hostname for reverse proxy -AS_HOST=apiserver.fonos +AS_HOST=apiserver.fonoster # Allow non-tls connection (this only applies to internal communication) AS_ALLOW_INSECURE=true @@ -80,7 +77,6 @@ AS_ALLOW_INSECURE=true # # Media Server integration (Asterisk) # -MS_IMAGE=fonoster/fonos-mediaserver:latest MS_ENDPOINT=sip:ast@node1 MS_SIP_PORT=6060 MS_RTP_PORT_START=20000 @@ -105,8 +101,7 @@ RTPE_RTP_PORT_END=31000 # get started. However, we strongly recommend using a managed # S3 service with your prefer cloud service provider # -FS_IMAGE=minio/minio:RELEASE.2020-02-27T00-23-05Z -FS_HOST=fs.fonos +FS_HOST=fs.fonoster FS_PORT=9000 FS_USERNAME=minio @@ -117,19 +112,22 @@ FS_USERNAME=minio # get started. However, we strongly recommend using a managed # database. # -DS_IMAGE=redis:6.0.3-alpine -DS_HOST=datasource.fonos +DS_HOST=datasource.fonoster DS_PORT=6379 # # Integration with SIPProxy (Routr) # -SIPPROXY_IMAGE=fonoster/routr:1.0.0-edge-20210626.2 -SIPPROXY_API_PORT=4567 -SIPPROXY_SIP_PORT=5060 -SIPPROXY_HOST=sipproxy.fonos SIPPROXY_USERNAME=ast +SIPPROXY_API_HOST=sipproxy.fonoster +SIPPROXY_HOST=sipproxy.fonoster +SIPPROXY_API_PORT=4567 SIPPROXY_API_USERNAME=admin +SIPPROXY_SIP_PORTS=5060-5063 +SIPPROXY_SIP_PORT_UDP=5060 + +# Single port for connection from Peers (Such as the Media Server) +SIPPROXY_SIP_PORT=5060 # If set, any new domain will be a subdomain under this global domain # GLOBAL_SIP_DOMAIN=fonoster.io @@ -137,23 +135,19 @@ SIPPROXY_API_USERNAME=admin # # Configuration to logging service (Based on Kibana) # -LOGS_AGGREGATOR_IMAGE=docker.elastic.co/elasticsearch/elasticsearch:7.9.3 -LOGS_MONITOR_IMAGE=kibana:7.9.3 -LOGS_DRIVER_IMAGE=fonoster/fluent-elasticsearch:latest -LOGS_DRIVER_HOST=logsdriver.fonos +LOGS_DRIVER_HOST=logsdriver.fonoster LOGS_DRIVER_PORT=24224 +LOGS_AGGREGRATOR_HOST=logsaggregator.fonoster LOGS_AGGREGRATOR_PORT=9200 -LOGS_MONITOR_PORT=5601 LOG_OPT_TAG_PREFIX=early # # Integration with events server (RabbitMQ) # -EB_IMAGE=bitnami/rabbitmq:latest EB_HOST=eventsbroker.fonos EB_PORT=5672 -EB_USERNAME=fonos +EB_USERNAME=fonoster EB_SECRET= # Enables sending events to RabbitMQ EB_ENABLED=false @@ -161,19 +155,22 @@ EB_ENABLED=false # # Integration with secrets server (Vault) # -#SECRETS_IMAGE=vault -#SECRETS_URL=http://secrets:8200 -#SECRETS_POLICY=fonos-policy -#SECRETS_TOKEN= +SECRETS_URL=http://secrets:8200 +SECRETS_POLICY=fonoster-policy +SECRETS_TOKEN= # # Integration with TTS Service (MaryTTS) # -#TTS_IMAGE=synesthesiam/marytts:5.2 -#TTS_ENGINE_HOST=tts.fonos -#TTS_ENGINE_PORT=59125 -#TTS_BASE_URI=/tts +TTS_ENGINE_HOST=tts.fonoster +TTS_ENGINE_PORT=59125 +TTS_BASE_URI=/tts + +# +# Integration with Rox Connector +# +VOICE_HOST=voice.fonoster # # OpenFaas integration (for Cloud Funcions) @@ -183,7 +180,7 @@ EB_ENABLED=false #FUNCS_URL=https://faasd.yourdomain.net:8080 # Temporary folder for new image creation -#FUNCS_WORKDIR=/home/fonos/funcs +#FUNCS_WORKDIR=/home/fonoster/funcs # Username at functions server #FUNCS_USERNAME=admin @@ -202,34 +199,20 @@ EB_ENABLED=false #DOCKER_REGISTRY_SERVICE=registry.docker.io #DOCKER_REGISTRY_AUTH_ENDPOINT=https://auth.docker.io/token -# -# Integration with Github Oauth2 -# -#GH_OAUTH2_CLIENT_ID= -#GH_OAUTH2_CLIENT_SECRET= -#GH_OAUTH2_CALLBACK_URL= -#GH_OAUTH2_ENDPOINT=http://api.example.com:50051 -#GH_OAUTH2_PAGE_TITLE=PF Access Information -#GH_OAUTH2_PAGE_MESSAGE=PF Access Information - -# Comma separated list of Github users. Uncomment only if -# you want to restrict access to a list if Github users. -#GH_OAUTH2_ACCESS_LIST= - # # Miscelaneous variables # # Name of the overall project -COMPOSE_PROJECT_NAME=fonos +COMPOSE_PROJECT_NAME=fonoster # Overall version for the project # This variable will determine which docker -# image is downloaded for PF services -COMPOSE_PROJECT_VERSION=0.1.20-alpha.0 +# image is downloaded for FN services +COMPOSE_PROJECT_VERSION=0.2.36 # Restart policy for containers RESTART_POLICY=unless-stopped # Node environment variable -NODE_ENV=staging \ No newline at end of file +NODE_ENV=staging diff --git a/operator/compose/extras/datasource.yml b/operator/compose/extras/datasource.yml index fad3185d3..4d842cf00 100644 --- a/operator/compose/extras/datasource.yml +++ b/operator/compose/extras/datasource.yml @@ -3,7 +3,7 @@ version: '3.7' networks: - fonos: + fonoster: volumes: datasource: @@ -12,7 +12,7 @@ volumes: services: datasource: - image: ${DS_IMAGE} + image: fonoster/redis:${COMPOSE_PROJECT_VERSION} restart: ${RESTART_POLICY} command: ['redis-server', '/etc/redis/redis.conf' ] healthcheck: @@ -24,7 +24,7 @@ services: options: tag: ${LOG_OPT_TAG_PREFIX}.${COMPOSE_PROJECT_NAME}.datasource networks: - fonos: + fonoster: aliases: - ${DS_HOST} volumes: diff --git a/operator/compose/extras/events.yml b/operator/compose/extras/events.yml index 1cb753da6..0ea5aae20 100644 --- a/operator/compose/extras/events.yml +++ b/operator/compose/extras/events.yml @@ -3,12 +3,12 @@ version: '3.7' networks: - fonos: + fonoster: services: eventsbroker: - image: ${EB_IMAGE} + image: fonoster/rabbitmq:${COMPOSE_PROJECT_VERSION} restart: ${RESTART_POLICY} environment: RABBITMQ_USERNAME: ${EB_USERNAME} @@ -18,6 +18,6 @@ services: options: tag: ${LOG_OPT_TAG_PREFIX}.${COMPOSE_PROJECT_NAME}.eventsbroker networks: - fonos: + fonoster: aliases: - ${EB_HOST} diff --git a/operator/compose/extras/fs.yml b/operator/compose/extras/fs.yml index 3ffcf26fa..a26adaf09 100644 --- a/operator/compose/extras/fs.yml +++ b/operator/compose/extras/fs.yml @@ -3,7 +3,7 @@ version: '3.7' networks: - fonos: + fonoster: volumes: data1-1: @@ -12,7 +12,7 @@ volumes: services: fs: - image: ${FS_IMAGE} + image: fonoster/minio:${COMPOSE_PROJECT_VERSION} restart: ${RESTART_POLICY} command: minio server /fonos volumes: @@ -29,6 +29,6 @@ services: options: tag: ${LOG_OPT_TAG_PREFIX}.${COMPOSE_PROJECT_NAME}.fs networks: - fonos: + fonoster: aliases: - ${FS_HOST} diff --git a/operator/compose/extras/funcs.yml b/operator/compose/extras/funcs.yml index 8c595a2ee..8fe075444 100644 --- a/operator/compose/extras/funcs.yml +++ b/operator/compose/extras/funcs.yml @@ -3,12 +3,12 @@ version: '3.7' networks: - fonos: + fonoster: services: funcs_api: - image: fonoster/fonos-funcs:${COMPOSE_PROJECT_VERSION} + image: fonoster/funcs:${COMPOSE_PROJECT_VERSION} environment: FUNCS_WORKDIR: ${FUNCS_WORKDIR} FUNCS_URL: ${FUNCS_URL} @@ -26,8 +26,8 @@ services: labels: - "traefik.enable=true" - "traefik.http.routers.funcs_api.entrypoints=internal,websecure" - - "traefik.http.routers.funcs_api.rule=PathPrefix(`/fonos.funcs.v1beta1`)" + - "traefik.http.routers.funcs_api.rule=PathPrefix(`/fonoster.funcs.v1beta1`)" - "traefik.http.services.funcs_api.loadbalancer.server.scheme=h2c" volumes: - - data1-1:/home/fonos + - data1-1:/home/fonoster - /var/run/docker.sock:/var/run/docker.sock \ No newline at end of file diff --git a/operator/compose/extras/ghauth.yml b/operator/compose/extras/ghauth.yml deleted file mode 100644 index 8a8ec3b93..000000000 --- a/operator/compose/extras/ghauth.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: '3.3' - -networks: - fonos: - -services: - - ghauth: - image: fonoster/ghauth:latest - labels: - - "traefik.enable=true" - - "traefik.http.routers.ghauth.entrypoints=websecure" - - "traefik.http.services.ghauth.loadbalancer.server.port=3000" - - "traefik.http.routers.ghauth.rule=PathPrefix(`/auth/github/callback`)" - environment: - ALLOW_INSECURE: ${AS_ALLOW_INSECURE} - CLIENT_ID: ${GH_OAUTH2_CLIENT_ID} - CLIENT_SECRET: ${GH_OAUTH2_CLIENT_SECRET} - CALLBACK_URL: ${GH_OAUTH2_CALLBACK_URL} - ENDPOINT: ${GH_OAUTH2_ENDPOINT} - PAGE_TITLE: ${GH_OAUTH2_PAGE_TITLE} - PAGE_MESSAGE: ${GH_OAUTH2_PAGE_MESSAGE} - ACCESS_LIST: ${GH_OAUTH2_ACCESS_LIST} - volumes: - - ${CONFIG}/config:/home/fonos/.fonos/config - networks: - fonos: diff --git a/operator/compose/extras/logging.dev.yml b/operator/compose/extras/logging.dev.yml deleted file mode 100644 index bfe0cbcd9..000000000 --- a/operator/compose/extras/logging.dev.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Enables remote access to the logging monitor(Kibana). -# Recommended only for development. - -version: '3.7' - -services: - - logsdriver: - ports: - - ${LOGS_DRIVER_PORT}:${LOGS_DRIVER_PORT} - logsmonitor: - ports: - - ${LOGS_MONITOR_PORT}:${LOGS_MONITOR_PORT} diff --git a/operator/compose/extras/logging.yml b/operator/compose/extras/logging.yml deleted file mode 100644 index d4101aa34..000000000 --- a/operator/compose/extras/logging.yml +++ /dev/null @@ -1,38 +0,0 @@ -# Optional Logging services (Elastic Search, Kibana, Fluent) - -version: '3.7' - -networks: - fonos: - -services: - - logsdriver: - image: ${LOGS_DRIVER_IMAGE} - restart: ${RESTART_POLICY} - ports: - - ${LOGS_DRIVER_PORT}:${LOGS_DRIVER_PORT} - volumes: - - ${CONFIG}/fluent.conf:/fluentd/etc/fluent.conf:ro - networks: - fonos: - aliases: - - ${LOGS_DRIVER_HOST} - - logsaggregator: - image: ${LOGS_AGGREGATOR_IMAGE} - restart: ${RESTART_POLICY} - environment: - - discovery.type=single-node - networks: - - fonos - - logsmonitor: - image: ${LOGS_MONITOR_IMAGE} - restart: ${RESTART_POLICY} - environment: - ELASTICSEARCH_HOSTS: http://logsaggregator:${LOGS_AGGREGRATOR_PORT} - ports: - - ${LOGS_MONITOR_PORT}:${LOGS_MONITOR_PORT} - networks: - - fonos diff --git a/operator/compose/extras/secrets.init.yml b/operator/compose/extras/secrets.init.yml index 88007eb4a..147e1c233 100644 --- a/operator/compose/extras/secrets.init.yml +++ b/operator/compose/extras/secrets.init.yml @@ -3,12 +3,12 @@ version: '3.7' networks: - fonos: + fonoster: services: secrets_init: - image: fonoster/fonos-secrets:${COMPOSE_PROJECT_VERSION} + image: fonoster/secrets:${COMPOSE_PROJECT_VERSION} entrypoint: /bin/sh -c "init" networks: - fonos: + fonoster: diff --git a/operator/compose/extras/secrets.yml b/operator/compose/extras/secrets.yml index a9868a949..43f5b41b0 100644 --- a/operator/compose/extras/secrets.yml +++ b/operator/compose/extras/secrets.yml @@ -3,12 +3,13 @@ version: '3.7' networks: - fonos: + fonoster: services: secrets: - image: ${SECRETS_IMAGE} + image: fonoster/vault:${COMPOSE_PROJECT_VERSION} + restart: ${RESTART_POLICY} entrypoint: vault server -config=/vault/config/vault.json # ports: # - "127.0.0.1:8200:8200" @@ -18,10 +19,10 @@ services: cap_add: - IPC_LOCK networks: - fonos: + fonoster: secrets_api: - image: fonoster/fonos-secrets:${COMPOSE_PROJECT_VERSION} + image: fonoster/secrets:${COMPOSE_PROJECT_VERSION} environment: VAULT_ADDR: ${SECRETS_URL} VAULT_TOKEN: ${SECRETS_TOKEN} @@ -32,5 +33,5 @@ services: labels: - "traefik.enable=true" - "traefik.http.routers.secrets_api.entrypoints=internal,websecure" - - "traefik.http.routers.secrets_api.rule=PathPrefix(`/fonos.secrets.v1beta1`)" + - "traefik.http.routers.secrets_api.rule=PathPrefix(`/fonoster.secrets.v1beta1`)" - "traefik.http.services.secrets_api.loadbalancer.server.scheme=h2c" diff --git a/operator/compose/extras/tts.yml b/operator/compose/extras/tts.yml index e221e5675..956751c8a 100644 --- a/operator/compose/extras/tts.yml +++ b/operator/compose/extras/tts.yml @@ -3,12 +3,12 @@ version: '3.7' networks: - fonos: + fonoster: services: tts: - image: ${TTS_IMAGE} + image: fonoster/marytts:${COMPOSE_PROJECT_VERSION} restart: ${RESTART_POLICY} labels: - "traefik.enable=true" @@ -23,7 +23,7 @@ services: timeout: 20s retries: 3 networks: - fonos: + fonoster: aliases: - ${TTS_ENGINE_HOST} logging: diff --git a/operator/compose/extras/voice.yml b/operator/compose/extras/voice.yml new file mode 100644 index 000000000..ef18691dd --- /dev/null +++ b/operator/compose/extras/voice.yml @@ -0,0 +1,49 @@ +version: '3.7' + +networks: + fonoster: + +services: + voice: + image: fonoster/voice:${COMPOSE_PROJECT_VERSION} + command: ['rox'] + ports: + - 3000:3000 + - 3001:3001 + - 9090:9090 + environment: + - INTENTS_ENGINE + - INTENTS_ENGINE_AGENT + - INTENTS_ENGINE_LOCATION + - ASR_ENGINE + - TTS_ENGINE + - TTS_VOICE + - INITIAL_DTMF + - WELCOME_INTENT_TRIGGER + - ACTIVATION_INTENT + - INTERACTION_TIMEOUT + - EVENTS_ENABLED + - ACTIVATION_TIMEOUT + - LANGUAGE_CODE + - OTL_EXPORTER_ZIPKIN_URL + - OTL_EXPORTER_JAEGER_URL + - OTL_EXPORTER_PROMETHEUS_PORT + - OTL_EXPORTER_GCP_ENABLED + - GOOGLE_CONFIG_FILE + - INTENTS_ENGINE_PROJECT_ID + - INTENTS_ENGINE_PLATFORM + - INIT_ENDPOINT + - INIT_ENDPOINT_USERNAME + - INIT_ENDPOINT_PASSWORD + - TRANSFER_MEDIA + - TRANSFER_MEDIA_BUSY + - TRANSFER_MEDIA_NOANSWER + - TRANSFER_MESSAGE + - TRANSFER_MESSAGE_BUSY + - TRANSFER_MESSAGE_NOANSWER + volumes: + - ${CONFIG}/google.json:/home/fonoster/.fonoster/google.json + networks: + fonoster: + aliases: + - ${VOICE_HOST} diff --git a/operator/compose/health.yml b/operator/compose/health.yml new file mode 100644 index 000000000..3ae948cec --- /dev/null +++ b/operator/compose/health.yml @@ -0,0 +1,24 @@ +version: '3.7' + +networks: + fonoster: + +services: + healthcheck: + image: fonoster/healthcheck:${COMPOSE_PROJECT_VERSION} + restart: ${RESTART_POLICY} + ports: + - 45679:3000 + volumes: + - "/var/run/docker.sock:/var/run/docker.sock:ro" + networks: + fonoster: + autoheal: + image: fonoster/autoheal:${COMPOSE_PROJECT_VERSION} + restart: ${RESTART_POLICY} + environment: + AUTOHEAL_CONTAINER_LABEL: all + volumes: + - "/var/run/docker.sock:/var/run/docker.sock:ro" + networks: + fonoster: diff --git a/operator/compose/init.yml b/operator/compose/init.yml index 6b43a035d..9a2a59e32 100644 --- a/operator/compose/init.yml +++ b/operator/compose/init.yml @@ -3,7 +3,7 @@ version: '3.7' networks: - fonos: + fonoster: services: @@ -20,7 +20,7 @@ services: exit 0; " networks: - fonos: + fonoster: bootstrap_sipnet: image: fonoster/routr-ctl @@ -34,10 +34,10 @@ services: volumes: - ${CONFIG}/bootstrap.yml:/bootstrap.yml:ro networks: - fonos: + fonoster: service_creds: - image: fonoster/jwthelper + image: fonoster/jwthelper:${COMPOSE_PROJECT_VERSION} environment: ENDPOINT: ${AS_HOST}:${HTTP_PORT} ACCESS_KEY_ID: internal @@ -46,26 +46,26 @@ services: volumes: - type: bind source: ${CONFIG}/private_key - target: /home/fonos/private_key + target: /home/fonoster/private_key read_only: true - type: bind source: ${CONFIG}/config - target: /home/fonos/config + target: /home/fonoster/config user_creds: - image: fonoster/jwthelper + image: fonoster/jwthelper:${COMPOSE_PROJECT_VERSION} environment: - ACCESS_KEY_ID: fonos + ACCESS_KEY_ID: fonoster ROLE: USER EXPIRATION: 1y volumes: - type: bind source: ${CONFIG}/private_key - target: /home/fonos/private_key + target: /home/fonoster/private_key read_only: true - type: bind source: ${CONFIG}/user_credentials - target: /home/fonos/config + target: /home/fonoster/config server_certs: image: fonoster/certshelper diff --git a/operator/compose/letsencrypt.yml b/operator/compose/letsencrypt.yml index a88644919..c28594f59 100644 --- a/operator/compose/letsencrypt.yml +++ b/operator/compose/letsencrypt.yml @@ -23,7 +23,8 @@ services: - "${CONFIG}/letsencrypt:/letsencrypt" dummy_service: - image: containous/whoami + image: fonoster/whoami:${COMPOSE_PROJECT_VERSION} + restart: ${RESTART_POLICY} labels: - "traefik.enable=true" - "traefik.http.routers.dummy_service.rule=Host(`${LETSENCRYPT_DOMAIN}`)" diff --git a/operator/compose/logging.yml b/operator/compose/logging.yml new file mode 100644 index 000000000..8367af011 --- /dev/null +++ b/operator/compose/logging.yml @@ -0,0 +1,36 @@ +# Logging services (Elastic Search, Fluent) + +version: '3.7' + +networks: + fonoster: + +services: + + logsdriver: + image: fonoster/fluent-elasticsearch:${COMPOSE_PROJECT_VERSION} + restart: ${RESTART_POLICY} + expose: + - ${LOGS_DRIVER_PORT} + volumes: + - ${CONFIG}/fluent.conf:/fluentd/etc/fluent.conf:ro + logging: + driver: "local" + networks: + fonoster: + aliases: + - ${LOGS_DRIVER_HOST} + + logsaggregator: + image: fonoster/elasticsearch:${COMPOSE_PROJECT_VERSION} + restart: ${RESTART_POLICY} + environment: + - "discovery.type=single-node" + expose: + - ${LOGS_AGGREGRATOR_PORT} + volumes: + - esdata1:/usr/share/elasticsearch/data:rw + networks: + fonoster: + aliases: + - ${LOGS_AGGREGRATOR_HOST} diff --git a/operator/compose/vault-unseal.sh b/operator/compose/vault-unseal.sh new file mode 100644 index 000000000..10802c62a --- /dev/null +++ b/operator/compose/vault-unseal.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# Replace with your own keys, but keep in mind that this is a bad idea +# for production environments +KEY1=tuSoeBR3xkKwb2VtOFCKadA3TOu5GSiu2/jUvBxBbfvd +KEY2=vc3w+pwKz3hRDxkXQZieZLnDA16dX+bxwGyE2Uu2e0ha +KEY3=ARwmV6h/m4nyCdXdOvlNR8yzlb4M2u/lVZKHIEQ7H8vI +KEYS=(${KEY1} ${KEY2} ${KEY3}) + +# Find the container name for vault instance +CONTAINER_NAME=fonoster_secrets_1 + +CONTAINER_ID=$(docker ps --no-trunc -aqf name=${CONTAINER_NAME}) + +for key in "${KEYS[@]}" +do + docker exec -it ${CONTAINER_ID} sh -c "VAULT_ADDR=http://127.0.0.1:8200 vault operator unseal ${key}" +done diff --git a/package-lock.json b/package-lock.json index ab738ce5c..79c0fb761 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,87 +5,15 @@ "packages": { "": { "name": "root", + "hasInstallScript": true, "license": "MIT", "dependencies": { - "@fonos/common": "*", - "@fonos/logger": "*", - "@google-cloud/speech": "^4.0.0", - "@google-cloud/text-to-speech": "^3.2.2", - "@grpc/grpc-js": "^1.3.6", - "@oclif/command": "^1.8.0", - "@oclif/config": "^1.17.0", - "@oclif/errors": "^1.3.4", - "@oclif/plugin-help": "^3.2.2", - "@oclif/plugin-not-found": "1.2.4", - "@oclif/plugin-plugins": "^1.10.0", - "@oclif/plugin-warn-if-update-available": "^1.7.0", - "@speedymonster/grpc-interceptors": "^0.2.5", - "@types/amqp-connection-manager": "^2.0.10", - "@types/bluebird": "^3.5.35", - "@types/btoa": "^1.2.3", - "@types/dockerode": "^3.2.2", - "@types/fs-extra": "^9.0.1", - "@types/google-protobuf": "^3.15.2", - "@types/ioredis": "^4.16.5", - "@types/jsonwebtoken": "^8.5.0", - "@types/phone": "^2.4.0", - "@types/prettyjson": "0.0.29", - "@types/pubsub-js": "^1.8.2", - "@types/tar": "^4.0.3", - "@types/ws": "^7.4.7", - "acme-client": "^4.1.3", - "amqp-connection-manager": "^3.2.2", - "amqplib": "^0.8.0", - "ari-client": "^2.2.0", - "atob": "^2.1.2", - "axios": "^0.21.1", - "btoa": "^1.2.1", - "bufferutil": "^4.0.3", - "cli-ux": "5.5.1", - "container-image-builder": "^3.2.0", - "cron-validate": "^1.4.3", - "cross-spawn": "^7.0.3", - "deepmerge": "^4.2.2", - "dockerode": "^3.3.0", - "express": "^4.17.1", - "express-ws": "^4.0.0", - "figlet": "^1.5.0", - "flat": "^5.0.2", - "fluent-logger": "^3.4.1", - "fs-extra": "^8.1.0", - "google-protobuf": "^3.17.0", - "grpc-promise": "^1.4.0", - "grpc-ts-health-check": "^2.0.6", - "inquirer": "^7.3.3", - "ioredis": "^4.16.0", - "is-valid-domain": "^0.1.2", - "jsonwebtoken": "^8.5.1", - "minio": "^7.0.18", - "moment": "^2.29.1", - "nanoid": "^3.1.23", - "ndjson": "^2.0.0", - "node-record-lpcm16": "^1.0.1", - "node-vault": "^0.9.21", - "objectid": "^3.2.1", - "openfaas-client": "^0.0.2", - "phone": "^2.4.21", - "prettyjson": "^1.2.1", - "promise-fs": "^2.1.1", - "pubsub-js": "^1.9.3", - "sox-audio": "^0.3.0", - "sync": "^0.2.5", - "tar": "^6.1.0", - "truncate": "^2.1.0", - "update-notifier": "^5.1.0", - "utf-8-validate": "^5.0.5", - "wait-port": "^0.2.9", - "walk": "^2.3.14", - "winston": "^3.3.3", - "ws": "^6.2.2" + "axios": "^0.24.0", + "colors": "^1.4.0" }, "devDependencies": { "@types/mocha": "^8.2.0", - "@types/node": "^15.12.2", + "@types/node": "^15.14.9", "@typescript-eslint/eslint-plugin": "^4.19.0", "@typescript-eslint/parser": "^4.19.0", "chai": "^4.2.0", @@ -98,8 +26,8 @@ "eslint-plugin-no-loops": "^0.3.0", "eslint-plugin-notice": "^0.9.10", "eslint-plugin-prettier": "^3.3.1", - "grpc_tools_node_protoc_ts": "^5.2.2", - "grpc-tools": "^1.11.1", + "grpc_tools_node_protoc_ts": "5.2.2", + "grpc-tools": "1.11.1", "husky": "^6.0.0", "jsdoc-to-markdown": "^7.0.1", "lerna": "^4.0.0", @@ -111,7 +39,7 @@ "sinon": "^9.0.1", "sinon-chai": "^3.5.0", "ts-node": "^9.1.1", - "typescript": "^4.1.5" + "typescript": "^4.5.4" } }, "node_modules/@babel/code-frame": { @@ -124,29 +52,29 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", - "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.8.tgz", + "integrity": "sha512-m7OkX0IdKLKPpBlJtF561YJal5y/jyI5fNfWbPxh2D/nbzzGI4qRyrD8xO2jB24u7l+5I2a43scCG2IrfjC50Q==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.0.tgz", - "integrity": "sha512-tXtmTminrze5HEUPn/a0JtOzzfp0nk+UEXQ/tqIJo3WDGypl/2OFQEMll/zSFU8f/lfmfLXvTaORHF3cfXIQMw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.0", - "@babel/helper-module-transforms": "^7.15.0", - "@babel/helpers": "^7.14.8", - "@babel/parser": "^7.15.0", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.15.0", - "@babel/types": "^7.15.0", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.0.tgz", + "integrity": "sha512-mYZEvshBRHGsIAiyH5PzCFTCfbWfoYbO/jcSdXQSUQu1/pW0xDZAUP7KEc32heqWTAfAHhV9j1vH8Sav7l+JNQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-compilation-targets": "^7.16.0", + "@babel/helper-module-transforms": "^7.16.0", + "@babel/helpers": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -156,15 +84,19 @@ }, "engines": { "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" } }, "node_modules/@babel/core/node_modules/@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "dependencies": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.0" }, "engines": { "node": ">=6.9.0" @@ -189,12 +121,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.0.tgz", - "integrity": "sha512-eKl4XdMrbpYvuB505KTta4AV9g+wWzmVBW69tX0H2NwKVKd2YJbKgyK6M8j/rgLbmHOYJn6rUklV677nOyJrEQ==", + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.8.tgz", + "integrity": "sha512-1ojZwE9+lOXzcWdWmO6TbUzDfqLD39CmEhN8+2cX9XkDo5yW1OpgfejfliysR2AWLpMamTiOiAp/mtroaymhpw==", "dev": true, "dependencies": { - "@babel/types": "^7.15.0", + "@babel/types": "^7.16.8", "jsesc": "^2.5.1", "source-map": "^0.5.0" }, @@ -212,18 +144,21 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.0.tgz", - "integrity": "sha512-h+/9t0ncd4jfZ8wsdAsoIxSa61qhBYlycXiHWqJaQBCXAhDCMbPRSMTGnZIkkmt1u4ag+UQmuqcILwqKzZ4N2A==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", + "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", + "@babel/compat-data": "^7.16.4", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", "semver": "^6.3.0" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" } }, "node_modules/@babel/helper-compilation-targets/node_modules/semver": { @@ -235,177 +170,150 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "node_modules/@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", "dev": true, "dependencies": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "node_modules/@babel/helper-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", + "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", "dev": true, "dependencies": { - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz", - "integrity": "sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ==", + "node_modules/@babel/helper-get-function-arity": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", + "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", "dev": true, "dependencies": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.0.tgz", - "integrity": "sha512-Jq8H8U2kYiafuj2xMTPQwkTBnEEdGKpT35lJEQsRRjnG0LW3neucsaMWLgKcwu3OHKNeYugfw+Z20BXBSEs2Lg==", + "node_modules/@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", "dev": true, "dependencies": { - "@babel/types": "^7.15.0" + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz", - "integrity": "sha512-SwrNHu5QWS84XlHwGYPDtCxcA0hrSlL2yhWYLgeOc0w7ccOl2qv4s/nARI0aYZW+bSwAL5CukeXA47B/1NKcnQ==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", "dev": true, "dependencies": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.0.tgz", - "integrity": "sha512-RkGiW5Rer7fpXv9m1B3iHIFDZdItnO2/BLfWVW/9q7+KqQSDY5kUfQEbzdXM1MVhJGcugKV7kRrNVzNxmk7NBg==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.7.tgz", + "integrity": "sha512-gaqtLDxJEFCeQbYp9aLAefjhkKdjKcdh6DB7jniIGU3Pz52WAmP268zK0VgPz9hUNkMSYeH976K2/Y6yPadpng==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-replace-supers": "^7.15.0", - "@babel/helper-simple-access": "^7.14.8", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.9", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.15.0", - "@babel/types": "^7.15.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz", - "integrity": "sha512-IqiLIrODUOdnPU9/F8ib1Fx2ohlgDhxnIDU7OEVi+kAbEZcyiF7BLU8W6PfvPi9LzztjS7kcbzbmL7oG8kD6VA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.0.tgz", - "integrity": "sha512-6O+eWrhx+HEra/uJnifCwhwMd6Bp5+ZfZeJwbqUTuqkhIT6YcRhiZCOOFChRypOIe0cV46kFrRBlm+t5vHCEaA==", - "dev": true, - "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.15.0", - "@babel/helper-optimise-call-expression": "^7.14.5", - "@babel/traverse": "^7.15.0", - "@babel/types": "^7.15.0" + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { - "version": "7.14.8", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.8.tgz", - "integrity": "sha512-TrFN4RHh9gnWEU+s7JloIho2T76GPwRHhdzOWLqTrMnlas8T9O7ec+oEDNsRXndOmru9ymH9DFrEOxpzPoSbdg==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", + "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", "dev": true, "dependencies": { - "@babel/types": "^7.14.8" + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", "dev": true, "dependencies": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", - "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", - "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.3.tgz", - "integrity": "sha512-HwJiz52XaS96lX+28Tnbu31VeFSQJGOeKHJeaEPQlTl7PnlhFElWPj8tUXtqFIzeN86XxXoBr+WFAyK2PPVz6g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.0.tgz", + "integrity": "sha512-dVRM0StFMdKlkt7cVcGgwD8UMaBfWJHl3A83Yfs8GQ3MO0LHIIIMvK7Fa0RGOGUQ10qikLaX6D7o5htcQWgTMQ==", "dev": true, "dependencies": { - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.15.0", - "@babel/types": "^7.15.0" + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.7.tgz", + "integrity": "sha512-aKpPMfLvGO3Q97V0qhw/V2SWNWlwfJknuwAunU7wZLSfrM4xTBvg7E5opUVi1kJTBKihE38CPg4nBiqX83PWYw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, @@ -485,9 +393,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.3.tgz", - "integrity": "sha512-O0L6v/HvqbdJawj0iBEfVQMc3/6WP+AeOsovsIgBFyJaG+W2w7eqvZB7puddATmWuARlm1SX7DwxJ/JJUnDpEA==", + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz", + "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -496,56 +404,46 @@ "node": ">=6.0.0" } }, - "node_modules/@babel/runtime": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", - "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/template/node_modules/@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", "dev": true, "dependencies": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.0.tgz", - "integrity": "sha512-392d8BN0C9eVxVWd8H6x9WfipgVH5IaIoLp23334Sc1vbKKWINnvwRpb4us0xtPaCumlwbTtIYNA0Dv/32sVFw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.0", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.15.0", - "@babel/types": "^7.15.0", + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.8.tgz", + "integrity": "sha512-xe+H7JlvKsDQwXRsBhSnq1/+9c+LlQcCK3Tn/l5sbx02HYns/cn7ibp9+RV1sIUqu7hKg91NWsgHurO9dowITQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.16.8", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.16.8", + "@babel/types": "^7.16.8", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -554,12 +452,12 @@ } }, "node_modules/@babel/traverse/node_modules/@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", "dev": true, "dependencies": { - "@babel/highlight": "^7.14.5" + "@babel/highlight": "^7.16.7" }, "engines": { "node": ">=6.9.0" @@ -575,47 +473,18 @@ } }, "node_modules/@babel/types": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.0.tgz", - "integrity": "sha512-OBvfqnllOIdX4ojTHpwZbpvz4j3EWyjkZEdmjH0/cgsd6QOdSgU8rLSk6ard/pcW7rlmjdVSX/AWOaORR1uNOQ==", + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.8.tgz", + "integrity": "sha512-smN2DQc5s4M7fntyjGtyIPbRJv6wW4rU/94fmYJ7PKQuZkC0qGMHXJbg6sNGt12JmVr4k5YaptI/XtiLJBnmIg==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@cspotcode/source-map-consumer": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", - "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", - "engines": { - "node": ">= 12" - } - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.6.1.tgz", - "integrity": "sha512-DX3Z+T5dt1ockmPdobJS/FAsQPW4V4SrWEhD2iYQT2Cb2tQsiMnYxrcUH9By/Z3B+v0S5LMBkQtV/XOBbpLEOg==", - "dependencies": { - "@cspotcode/source-map-consumer": "0.8.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", - "dependencies": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, "node_modules/@eslint/eslintrc": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", @@ -636,146 +505,20 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", - "dependencies": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "node_modules/@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", - "dependencies": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "node_modules/@fonos/logger": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.20-alpha.0.tgz", - "integrity": "sha512-2pxbetpP/Ff5bzVOUsfNY9/yfoLzkUzBG9uM+FSYzqeZUGkCesaSLqR20R3Xr2QxFA4mQEhpAI4z4daKqzsrDQ==", - "dependencies": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - } - }, - "node_modules/@google-cloud/common": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.7.2.tgz", - "integrity": "sha512-5Q9f74IbZaY6xAwJSNFy5SrGwbm1j7mpv+6A/r+K2dymjsXBH5UauB0tziaMwWoVVaMq1IQnZF9lgtfqqvxcUg==", - "dependencies": { - "@google-cloud/projectify": "^2.0.0", - "@google-cloud/promisify": "^2.0.0", - "arrify": "^2.0.1", - "duplexify": "^4.1.1", - "ent": "^2.2.0", - "extend": "^3.0.2", - "google-auth-library": "^7.0.2", - "retry-request": "^4.2.2", - "teeny-request": "^7.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/common/node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "engines": { - "node": ">=8" - } - }, - "node_modules/@google-cloud/projectify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.0.tgz", - "integrity": "sha512-qbpidP/fOvQNz3nyabaVnZqcED1NNzf7qfeOlgtAZd9knTwY+KtsGRkYpiQzcATABy4gnGP2lousM3S0nuWVzA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/promisify": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz", - "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==", - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/speech": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.8.0.tgz", - "integrity": "sha512-f1D6pXG4IuI9qAhrJQerx0LSHuGMVD6aZtgvdPAAeBlOKwJeLn81su8e9vAjh2pDpyF9zdcWATuWDWFYKUk81w==", - "dependencies": { - "@google-cloud/common": "^3.0.0", - "@types/pumpify": "^1.4.1", - "google-gax": "^2.24.1", - "protobufjs": "^6.8.6", - "pumpify": "^2.0.0", - "stream-events": "^1.0.4", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@google-cloud/speech/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/@google-cloud/text-to-speech": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@google-cloud/text-to-speech/-/text-to-speech-3.3.0.tgz", - "integrity": "sha512-0b+5FFIsd3DeX1+whAk6wjjpmdpIeX+3hBYb2LfiGC4IJCQ57cWl9vt+PDxbS1rDn9qJb4NGMD4hN1ow/Zc6YA==", - "dependencies": { - "google-gax": "^2.24.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", - "dependencies": { - "@types/node": ">=12.12.47" - }, + "node_modules/@eslint/eslintrc/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, "engines": { - "node": "^8.13.0 || >=10.10.0" + "node": ">= 4" } }, - "node_modules/@grpc/proto-loader": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.4.tgz", - "integrity": "sha512-7xvDvW/vJEcmLUltCUGOgWRPM8Oofv0eCFSVMuKqaqWJaXSzmB+m9hiyqe34QofAl4WAzIKUZZlinIF9FOHyTQ==", - "dependencies": { - "@types/long": "^4.0.1", - "lodash.camelcase": "^4.3.0", - "long": "^4.0.0", - "protobufjs": "^6.10.0", - "yargs": "^16.1.1" - }, - "bin": { - "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" - }, - "engines": { - "node": ">=6" - } + "node_modules/@gar/promisify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", + "integrity": "sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw==", + "dev": true }, "node_modules/@humanwhocodes/config-array": { "version": "0.5.0", @@ -857,6 +600,9 @@ }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { @@ -1114,8 +860,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/conventional-commits/node_modules/universalify": { @@ -1191,8 +939,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/create-symlink/node_modules/universalify": { @@ -1225,8 +975,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/create/node_modules/universalify": { @@ -1360,8 +1112,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/get-packed/node_modules/universalify": { @@ -1465,8 +1219,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/import/node_modules/universalify": { @@ -1529,8 +1285,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/init/node_modules/universalify": { @@ -1669,8 +1427,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/npm-install/node_modules/universalify": { @@ -1722,8 +1482,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/npm-publish/node_modules/universalify": { @@ -1868,8 +1630,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/profiler/node_modules/universalify": { @@ -1986,8 +1750,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/publish/node_modules/universalify": { @@ -2058,8 +1824,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/resolve-symlink/node_modules/universalify": { @@ -2169,8 +1937,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/symlink-binary/node_modules/universalify": { @@ -2220,8 +1990,10 @@ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, "node_modules/@lerna/symlink-dependencies/node_modules/universalify": { @@ -2304,30 +2076,11 @@ "node": ">= 10.18.0" } }, - "node_modules/@mapbox/node-pre-gyp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.5.tgz", - "integrity": "sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==", - "dev": true, - "dependencies": { - "detect-libc": "^1.0.3", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.1", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "rimraf": "^3.0.2", - "semver": "^7.3.4", - "tar": "^6.1.0" - }, - "bin": { - "node-pre-gyp": "bin/node-pre-gyp" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -2340,6 +2093,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, "engines": { "node": ">= 8" } @@ -2348,6 +2102,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -2357,11 +2112,21 @@ } }, "node_modules/@npmcli/ci-detect": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.3.0.tgz", - "integrity": "sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz", + "integrity": "sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q==", "dev": true }, + "node_modules/@npmcli/fs": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.0.0.tgz", + "integrity": "sha512-8ltnOpRR/oJbOp8vaGUnipOi3bqkcW+sLHFlyXIr08OGHmVJLB1Hn7QtGXbYcpVtH1gAYZTlmDXtE4YV0+AMMQ==", + "dev": true, + "dependencies": { + "@gar/promisify": "^1.0.1", + "semver": "^7.3.5" + } + }, "node_modules/@npmcli/git": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz", @@ -2408,9 +2173,9 @@ } }, "node_modules/@npmcli/node-gyp": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.2.tgz", - "integrity": "sha512-yrJUe6reVMpktcvagumoqD9r08fH1iRo01gn1u0zoCApa9lnZGEigVKUd2hzsCId4gdtkZZIVscLhNxMECKgRg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz", + "integrity": "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==", "dev": true }, "node_modules/@npmcli/promise-spawn": { @@ -2458,2301 +2223,2196 @@ "node": ">= 10.12.0" } }, - "node_modules/@oclif/color": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@oclif/color/-/color-0.1.2.tgz", - "integrity": "sha512-M9o+DOrb8l603qvgz1FogJBUGLqcMFL1aFg2ZEL0FbXJofiNTLOWIeB4faeZTLwE6dt0xH9GpCVpzksMMzGbmA==", + "node_modules/@npmcli/run-script/node_modules/nopt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "chalk": "^3.0.0", - "strip-ansi": "^5.2.0", - "supports-color": "^5.4.0", - "tslib": "^1" + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@oclif/color/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "engines": { "node": ">=6" } }, - "node_modules/@oclif/color/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/@octokit/auth-token": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz", + "integrity": "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==", + "dev": true, "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" + "@octokit/types": "^6.0.3" } }, - "node_modules/@oclif/color/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "node_modules/@octokit/core": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.5.1.tgz", + "integrity": "sha512-omncwpLVxMP+GLpLPgeGJBF6IWJFjXDS5flY5VbppePYX9XehevbDykRH9PdCdvqt9TS5AOTiDide7h0qrkHjw==", + "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" + "@octokit/auth-token": "^2.4.4", + "@octokit/graphql": "^4.5.8", + "@octokit/request": "^5.6.0", + "@octokit/request-error": "^2.0.5", + "@octokit/types": "^6.0.3", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" } }, - "node_modules/@oclif/color/node_modules/chalk/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/@octokit/endpoint": { + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", + "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==", + "dev": true, "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "@octokit/types": "^6.0.3", + "is-plain-object": "^5.0.0", + "universal-user-agent": "^6.0.0" } }, - "node_modules/@oclif/color/node_modules/chalk/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/@octokit/graphql": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", + "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", + "dev": true, "dependencies": { - "color-name": "~1.1.4" + "@octokit/request": "^5.6.0", + "@octokit/types": "^6.0.3", + "universal-user-agent": "^6.0.0" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.2.0.tgz", + "integrity": "sha512-PBsVO+15KSlGmiI8QAzaqvsNlZlrDlyAJYcrXBCvVUxCp7VnXjkwPoFHgjEJXx3WF9BAwkA6nfCUA7i9sODzKA==", + "dev": true + }, + "node_modules/@octokit/plugin-enterprise-rest": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz", + "integrity": "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==", + "dev": true + }, + "node_modules/@octokit/plugin-paginate-rest": { + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.17.0.tgz", + "integrity": "sha512-tzMbrbnam2Mt4AhuyCHvpRkS0oZ5MvwwcQPYGtMv4tUa5kkzG58SVB0fcsLulOZQeRnOgdkZWkRUiyBlh0Bkyw==", + "dev": true, + "dependencies": { + "@octokit/types": "^6.34.0" }, - "engines": { - "node": ">=7.0.0" + "peerDependencies": { + "@octokit/core": ">=2" } }, - "node_modules/@oclif/color/node_modules/chalk/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "node_modules/@octokit/plugin-request-log": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", + "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", + "dev": true, + "peerDependencies": { + "@octokit/core": ">=3" + } }, - "node_modules/@oclif/color/node_modules/chalk/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.13.0.tgz", + "integrity": "sha512-uJjMTkN1KaOIgNtUPMtIXDOjx6dGYysdIFhgA52x4xSadQCz3b/zJexvITDVpANnfKPW/+E0xkOvLntqMYpviA==", + "dev": true, "dependencies": { - "has-flag": "^4.0.0" + "@octokit/types": "^6.34.0", + "deprecation": "^2.3.1" }, - "engines": { - "node": ">=8" + "peerDependencies": { + "@octokit/core": ">=3" } }, - "node_modules/@oclif/color/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "node_modules/@octokit/request": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.2.tgz", + "integrity": "sha512-je66CvSEVf0jCpRISxkUcCa0UkxmFs6eGDRSbfJtAVwbLH5ceqF+YEyC8lj8ystKyZTy8adWr0qmkY52EfOeLA==", + "dev": true, "dependencies": { - "color-name": "1.1.3" + "@octokit/endpoint": "^6.0.1", + "@octokit/request-error": "^2.1.0", + "@octokit/types": "^6.16.1", + "is-plain-object": "^5.0.0", + "node-fetch": "^2.6.1", + "universal-user-agent": "^6.0.0" } }, - "node_modules/@oclif/color/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + "node_modules/@octokit/request-error": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", + "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", + "dev": true, + "dependencies": { + "@octokit/types": "^6.0.3", + "deprecation": "^2.0.0", + "once": "^1.4.0" + } }, - "node_modules/@oclif/color/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "node_modules/@octokit/rest": { + "version": "18.12.0", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.12.0.tgz", + "integrity": "sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q==", + "dev": true, "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" + "@octokit/core": "^3.5.1", + "@octokit/plugin-paginate-rest": "^2.16.8", + "@octokit/plugin-request-log": "^1.0.4", + "@octokit/plugin-rest-endpoint-methods": "^5.12.0" } }, - "node_modules/@oclif/color/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/@octokit/types": { + "version": "6.34.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.34.0.tgz", + "integrity": "sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==", + "dev": true, "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" + "@octokit/openapi-types": "^11.2.0" } }, - "node_modules/@oclif/color/node_modules/supports-color/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "node_modules/@sindresorhus/is": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=6" } }, - "node_modules/@oclif/command": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@oclif/command/-/command-1.8.0.tgz", - "integrity": "sha512-5vwpq6kbvwkQwKqAoOU3L72GZ3Ta8RRrewKj9OJRolx28KLJJ8Dg9Rf7obRwt5jQA9bkYd8gqzMTrI7H3xLfaw==", + "node_modules/@sinonjs/commons": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", + "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "dev": true, "dependencies": { - "@oclif/config": "^1.15.1", - "@oclif/errors": "^1.3.3", - "@oclif/parser": "^3.8.3", - "@oclif/plugin-help": "^3", - "debug": "^4.1.1", - "semver": "^7.3.2" - }, - "engines": { - "node": ">=8.0.0" - }, - "peerDependencies": { - "@oclif/config": "^1" + "type-detect": "4.0.8" } }, - "node_modules/@oclif/config": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/@oclif/config/-/config-1.17.0.tgz", - "integrity": "sha512-Lmfuf6ubjQ4ifC/9bz1fSCHc6F6E653oyaRXxg+lgT4+bYf9bk+nqrUpAbrXyABkCqgIBiFr3J4zR/kiFdE1PA==", + "node_modules/@sinonjs/fake-timers": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz", + "integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==", + "dev": true, "dependencies": { - "@oclif/errors": "^1.3.3", - "@oclif/parser": "^3.8.0", - "debug": "^4.1.1", - "globby": "^11.0.1", - "is-wsl": "^2.1.1", - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=8.0.0" + "@sinonjs/commons": "^1.7.0" } }, - "node_modules/@oclif/config/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "node_modules/@sinonjs/samsam": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-5.3.1.tgz", + "integrity": "sha512-1Hc0b1TtyfBu8ixF/tpfSHTVWKwCBLY4QJbkgnE7HcwyvT2xArDxb4K7dMgqRm3szI+LJbzmW/s4xxEhv6hwDg==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^1.6.0", + "lodash.get": "^4.4.2", + "type-detect": "^4.0.8" + } }, - "node_modules/@oclif/errors": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@oclif/errors/-/errors-1.3.5.tgz", - "integrity": "sha512-OivucXPH/eLLlOT7FkCMoZXiaVYf8I/w1eTAM1+gKzfhALwWTusxEx7wBmW0uzvkSg/9ovWLycPaBgJbM3LOCQ==", + "node_modules/@sinonjs/text-encoding": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", + "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", + "dev": true + }, + "node_modules/@szmarczak/http-timer": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", + "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", + "dev": true, "dependencies": { - "clean-stack": "^3.0.0", - "fs-extra": "^8.1", - "indent-string": "^4.0.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" + "defer-to-connect": "^1.0.1" }, "engines": { - "node": ">=8.0.0" + "node": ">=6" } }, - "node_modules/@oclif/errors/node_modules/clean-stack": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-3.0.1.tgz", - "integrity": "sha512-lR9wNiMRcVQjSB3a7xXGLuz4cr4wJuuXlaAEbRutGowQTmlp7R72/DOgN21e8jdwblMWl9UOJMJXarX94pzKdg==", + "node_modules/@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", + "dev": true + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "node_modules/@types/minimist": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", + "dev": true + }, + "node_modules/@types/mocha": { + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.2.3.tgz", + "integrity": "sha512-ekGvFhFgrc2zYQoX4JeZPmVzZxw6Dtllga7iGHzfbYIYkAMUx/sAFP2GdFpLff+vdHXu5fl7WX9AT+TtqYcsyw==", + "dev": true + }, + "node_modules/@types/node": { + "version": "15.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.14.9.tgz", + "integrity": "sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A==", + "dev": true + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", + "dev": true + }, + "node_modules/@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz", + "integrity": "sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==", + "dev": true, "dependencies": { - "escape-string-regexp": "4.0.0" + "@typescript-eslint/experimental-utils": "4.33.0", + "@typescript-eslint/scope-manager": "4.33.0", + "debug": "^4.3.1", + "functional-red-black-tree": "^1.0.1", + "ignore": "^5.1.8", + "regexpp": "^3.1.0", + "semver": "^7.3.5", + "tsutils": "^3.21.0" }, "engines": { - "node": ">=10" + "node": "^10.12.0 || >=12.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^4.0.0", + "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@oclif/linewrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@oclif/linewrap/-/linewrap-1.0.0.tgz", - "integrity": "sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw==" - }, - "node_modules/@oclif/parser": { - "version": "3.8.5", - "resolved": "https://registry.npmjs.org/@oclif/parser/-/parser-3.8.5.tgz", - "integrity": "sha512-yojzeEfmSxjjkAvMRj0KzspXlMjCfBzNRPkWw8ZwOSoNWoJn+OCS/m/S+yfV6BvAM4u2lTzX9Y5rCbrFIgkJLg==", + "node_modules/@typescript-eslint/experimental-utils": { + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz", + "integrity": "sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q==", + "dev": true, "dependencies": { - "@oclif/errors": "^1.2.2", - "@oclif/linewrap": "^1.0.0", - "chalk": "^2.4.2", - "tslib": "^1.9.3" + "@types/json-schema": "^7.0.7", + "@typescript-eslint/scope-manager": "4.33.0", + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/typescript-estree": "4.33.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" }, "engines": { - "node": ">=8.0.0" + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" } }, - "node_modules/@oclif/parser/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/@typescript-eslint/parser": { + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.33.0.tgz", + "integrity": "sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA==", + "dev": true, "dependencies": { - "color-convert": "^1.9.0" + "@typescript-eslint/scope-manager": "4.33.0", + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/typescript-estree": "4.33.0", + "debug": "^4.3.1" }, "engines": { - "node": ">=4" + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@oclif/parser/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/@typescript-eslint/scope-manager": { + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz", + "integrity": "sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ==", + "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/visitor-keys": "4.33.0" }, "engines": { - "node": ">=4" + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@oclif/parser/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@oclif/parser/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/@oclif/parser/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@oclif/parser/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "node_modules/@typescript-eslint/types": { + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.33.0.tgz", + "integrity": "sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==", + "dev": true, "engines": { - "node": ">=4" + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@oclif/parser/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/@typescript-eslint/typescript-estree": { + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz", + "integrity": "sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==", + "dev": true, "dependencies": { - "has-flag": "^3.0.0" + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/visitor-keys": "4.33.0", + "debug": "^4.3.1", + "globby": "^11.0.3", + "is-glob": "^4.0.1", + "semver": "^7.3.5", + "tsutils": "^3.21.0" }, "engines": { - "node": ">=4" + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@oclif/plugin-help": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-3.2.3.tgz", - "integrity": "sha512-l2Pd0lbOMq4u/7xsl9hqISFqyR9gWEz/8+05xmrXFr67jXyS6EUCQB+mFBa0wepltrmJu0sAFg9AvA2mLaMMqQ==", + "node_modules/@typescript-eslint/visitor-keys": { + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz", + "integrity": "sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==", + "dev": true, "dependencies": { - "@oclif/command": "^1.5.20", - "@oclif/config": "^1.15.1", - "@oclif/errors": "^1.2.2", - "chalk": "^4.1.0", - "indent-string": "^4.0.0", - "lodash.template": "^4.4.0", - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "widest-line": "^3.1.0", - "wrap-ansi": "^4.0.0" + "@typescript-eslint/types": "4.33.0", + "eslint-visitor-keys": "^2.0.0" }, "engines": { - "node": ">=8.0.0" + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@oclif/plugin-help/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "engines": { - "node": ">=4" - } + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true }, - "node_modules/@oclif/plugin-help/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" }, "engines": { - "node": ">=4" + "node": ">=0.4.0" } }, - "node_modules/@oclif/plugin-help/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/@oclif/plugin-help/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/@oclif/plugin-help/node_modules/is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "engines": { - "node": ">=4" - } + "node_modules/add-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", + "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", + "dev": true }, - "node_modules/@oclif/plugin-help/node_modules/wrap-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-4.0.0.tgz", - "integrity": "sha512-uMTsj9rDb0/7kk1PbcbCcwvHUxp60fGDB/NNXpVa0Q+ic/e7y5+BwTxKfQ33VYgDppSwi/FBzpetYzo8s6tfbg==", + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, "dependencies": { - "ansi-styles": "^3.2.0", - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0" + "debug": "4" }, "engines": { - "node": ">=6" + "node": ">= 6.0.0" } }, - "node_modules/@oclif/plugin-help/node_modules/wrap-ansi/node_modules/string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "node_modules/agentkeepalive": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.1.4.tgz", + "integrity": "sha512-+V/rGa3EuU74H6wR04plBb7Ks10FbtUQgRj/FQOG7uUIEuaINI+AiqJR1k6t3SVNs7o7ZjIdus6706qqzVq8jQ==", + "dev": true, "dependencies": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" + "debug": "^4.1.0", + "depd": "^1.1.2", + "humanize-ms": "^1.2.1" }, "engines": { - "node": ">=4" + "node": ">= 8.0.0" } }, - "node_modules/@oclif/plugin-help/node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, "dependencies": { - "ansi-regex": "^3.0.0" + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/@oclif/plugin-not-found": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@oclif/plugin-not-found/-/plugin-not-found-1.2.4.tgz", - "integrity": "sha512-G440PCuMi/OT8b71aWkR+kCWikngGtyRjOR24sPMDbpUFV4+B3r51fz1fcqeUiiEOYqUpr0Uy/sneUe1O/NfBg==", + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, "dependencies": { - "@oclif/color": "^0.x", - "@oclif/command": "^1.6.0", - "cli-ux": "^4.9.0", - "fast-levenshtein": "^2.0.6", - "lodash": "^4.17.13" + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" }, - "engines": { - "node": ">=8.0.0" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@oclif/plugin-not-found/node_modules/ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "engines": { - "node": ">=4" + "node_modules/ansi-align": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", + "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", + "dev": true, + "dependencies": { + "string-width": "^4.1.0" } }, - "node_modules/@oclif/plugin-not-found/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, "engines": { "node": ">=6" } }, - "node_modules/@oclif/plugin-not-found/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/ansi-escape-sequences": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-escape-sequences/-/ansi-escape-sequences-4.1.0.tgz", + "integrity": "sha512-dzW9kHxH011uBsidTXd14JXgzye/YLb2LzeKZ4bsgl/Knwx8AtbSFkkGxagdNOoh0DlqHCmfiEjWKBaqjOanVw==", + "dev": true, "dependencies": { - "color-convert": "^1.9.0" + "array-back": "^3.0.1" }, "engines": { - "node": ">=4" + "node": ">=8.0.0" } }, - "node_modules/@oclif/plugin-not-found/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, + "node_modules/ansi-escape-sequences/node_modules/array-back": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", + "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=6" } }, - "node_modules/@oclif/plugin-not-found/node_modules/cli-ux": { - "version": "4.9.3", - "resolved": "https://registry.npmjs.org/cli-ux/-/cli-ux-4.9.3.tgz", - "integrity": "sha512-/1owvF0SZ5Gn54cgrikJ0QskgTzeg30HGjkmjFoaHDJzAqFpuX1DBpFR8aLvsE1J5s9MgeYRENQK4BFwOag5VA==", + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, "dependencies": { - "@oclif/errors": "^1.2.2", - "@oclif/linewrap": "^1.0.0", - "@oclif/screen": "^1.0.3", - "ansi-escapes": "^3.1.0", - "ansi-styles": "^3.2.1", - "cardinal": "^2.1.1", - "chalk": "^2.4.1", - "clean-stack": "^2.0.0", - "extract-stack": "^1.0.0", - "fs-extra": "^7.0.0", - "hyperlinker": "^1.0.0", - "indent-string": "^3.2.0", - "is-wsl": "^1.1.0", - "lodash": "^4.17.11", - "password-prompt": "^1.0.7", - "semver": "^5.6.0", - "strip-ansi": "^5.0.0", - "supports-color": "^5.5.0", - "supports-hyperlinks": "^1.0.1", - "treeify": "^1.1.0", - "tslib": "^1.9.3" + "type-fest": "^0.21.3" }, "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@oclif/plugin-not-found/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@oclif/plugin-not-found/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/@oclif/plugin-not-found/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, "engines": { - "node": ">=0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@oclif/plugin-not-found/node_modules/extract-stack": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/extract-stack/-/extract-stack-1.0.0.tgz", - "integrity": "sha1-uXrK+UQe6iMyUpYktzL8WhyBZfo=", + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/@oclif/plugin-not-found/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "color-convert": "^2.0.1" }, "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@oclif/plugin-not-found/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/@oclif/plugin-not-found/node_modules/indent-string": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", - "engines": { - "node": ">=4" - } - }, - "node_modules/@oclif/plugin-not-found/node_modules/is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/@oclif/plugin-not-found/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/@oclif/plugin-not-found/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dependencies": { - "ansi-regex": "^4.1.0" + "node": ">=8" }, - "engines": { - "node": ">=6" + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/@oclif/plugin-not-found/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, "dependencies": { - "has-flag": "^3.0.0" + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" }, "engines": { - "node": ">=4" + "node": ">= 8" } }, - "node_modules/@oclif/plugin-not-found/node_modules/supports-hyperlinks": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-1.0.1.tgz", - "integrity": "sha512-HHi5kVSefKaJkGYXbDuKbUGRVxqnWGn3J2e39CYcNJEfWciGq2zYtOhXLTlvrOZW1QU7VX67w7fMmWafHX9Pfw==", + "node_modules/append-transform": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", + "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", + "dev": true, "dependencies": { - "has-flag": "^2.0.0", - "supports-color": "^5.0.0" + "default-require-extensions": "^3.0.0" }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/@oclif/plugin-not-found/node_modules/supports-hyperlinks/node_modules/has-flag": { + "node_modules/aproba": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", - "engines": { - "node": ">=0.10.0" - } + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", + "dev": true }, - "node_modules/@oclif/plugin-plugins": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-1.10.1.tgz", - "integrity": "sha512-JDUA3NtOa4OlH8ofUBXQMTFlpEkSmeE9BxoQTD6+BeUvMgqFuZThENucRvCD00sywhCmDngmIYN59gKcXpGJeQ==", - "dependencies": { - "@oclif/color": "^0.x", - "@oclif/command": "^1.5.12", - "@oclif/errors": "^1.2.2", - "chalk": "^4.1.0", - "cli-ux": "^5.2.1", - "debug": "^4.1.0", - "fs-extra": "^9.0", - "http-call": "^5.2.2", - "load-json-file": "^5.2.0", - "npm-run-path": "^4.0.1", - "semver": "^7.3.2", - "tslib": "^2.0.0", - "yarn": "^1.21.1" - }, - "engines": { - "node": ">=8.0.0" - } + "node_modules/archy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", + "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", + "dev": true }, - "node_modules/@oclif/plugin-plugins/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "node_modules/are-we-there-yet": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", + "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", + "dev": true, "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" } }, - "node_modules/@oclif/plugin-plugins/node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "node_modules/are-we-there-yet/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "node_modules/are-we-there-yet/node_modules/readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" } }, - "node_modules/@oclif/plugin-plugins/node_modules/load-json-file": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz", - "integrity": "sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==", + "node_modules/are-we-there-yet/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, "dependencies": { - "graceful-fs": "^4.1.15", - "parse-json": "^4.0.0", - "pify": "^4.0.1", - "strip-bom": "^3.0.0", - "type-fest": "^0.3.0" - }, - "engines": { - "node": ">=6" + "safe-buffer": "~5.1.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" + "sprintf-js": "~1.0.2" } }, - "node_modules/@oclif/plugin-plugins/node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "node_modules/array-back": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.0.tgz", + "integrity": "sha512-mixVv03GOOn/ubHE4STQ+uevX42ETdk0JoMVEjNkSOCT7WgERh7C8/+NyhWYNpE3BN69pxFyJIBcF7CxWz/+4A==", + "dev": true, "engines": { - "node": ">=6" + "node": ">=12.17" } }, - "node_modules/@oclif/plugin-plugins/node_modules/strip-bom": { + "node_modules/array-differ": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", + "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "node_modules/array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", + "dev": true }, - "node_modules/@oclif/plugin-plugins/node_modules/type-fest": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", - "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true, "engines": { - "node": ">= 10.0.0" + "node": ">=0.10.0" } }, - "node_modules/@oclif/plugin-warn-if-update-available": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-1.7.0.tgz", - "integrity": "sha512-Nwyz3BJ8RhsfQ+OmFSsJSPIfn5YJqMrCzPh72Zgo2jqIjKIBWD8N9vTTe4kZlpeUUn77SyXFfwlBQbNCL5OEuQ==", - "dependencies": { - "@oclif/command": "^1.5.10", - "@oclif/config": "^1.12.8", - "@oclif/errors": "^1.2.2", - "chalk": "^2.4.1", - "debug": "^4.1.0", - "fs-extra": "^7.0.0", - "http-call": "^5.2.2", - "lodash.template": "^4.4.0", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=8.0.0" - } + "node_modules/asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", + "dev": true }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" + "safer-buffer": "~2.1.0" } }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true, "engines": { - "node": ">=4" + "node": ">=0.8" } }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true, + "engines": { + "node": "*" } }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, "engines": { - "node": ">=0.8.0" + "node": ">=8" } }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "node_modules/at-least-node": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "dev": true, "engines": { - "node": ">=6 <7 || >=8" + "node": ">= 4.0.0" } }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true, "engines": { - "node": ">=4" + "node": "*" } }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } + "node_modules/aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true }, - "node_modules/@oclif/plugin-warn-if-update-available/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/axios": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", + "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" + "follow-redirects": "^1.14.4" } }, - "node_modules/@oclif/screen": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@oclif/screen/-/screen-1.0.4.tgz", - "integrity": "sha512-60CHpq+eqnTxLZQ4PGHYNwUX572hgpMHGPtTWMjdTMsAvlm69lZV/4ly6O3sAYkomo4NggGcomrDpBe34rxUqw==", - "engines": { - "node": ">=8.0.0" + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "dependencies": { + "tweetnacl": "^0.14.3" } }, - "node_modules/@octetstream/promisify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@octetstream/promisify/-/promisify-2.0.2.tgz", - "integrity": "sha512-7XHoRB61hxsz8lBQrjC1tq/3OEIgpvGWg6DKAdwi7WRzruwkmsdwmOoUXbU4Dtd4RSOMDwed0SkP3y8UlMt1Bg==", + "node_modules/before-after-hook": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz", + "integrity": "sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ==", + "dev": true + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, "engines": { - "node": "6.x || >=8.x" + "node": ">=8" } }, - "node_modules/@octokit/auth-token": { - "version": "2.4.5", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz", - "integrity": "sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA==", + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, + "node_modules/boxen": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", + "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", "dev": true, "dependencies": { - "@octokit/types": "^6.0.3" + "ansi-align": "^3.0.0", + "camelcase": "^6.2.0", + "chalk": "^4.1.0", + "cli-boxes": "^2.2.1", + "string-width": "^4.2.2", + "type-fest": "^0.20.2", + "widest-line": "^3.1.0", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@octokit/core": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.5.1.tgz", - "integrity": "sha512-omncwpLVxMP+GLpLPgeGJBF6IWJFjXDS5flY5VbppePYX9XehevbDykRH9PdCdvqt9TS5AOTiDide7h0qrkHjw==", + "node_modules/boxen/node_modules/camelcase": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", "dev": true, - "dependencies": { - "@octokit/auth-token": "^2.4.4", - "@octokit/graphql": "^4.5.8", - "@octokit/request": "^5.6.0", - "@octokit/request-error": "^2.0.5", - "@octokit/types": "^6.0.3", - "before-after-hook": "^2.2.0", - "universal-user-agent": "^6.0.0" + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@octokit/endpoint": { - "version": "6.0.12", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", - "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==", + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "dependencies": { - "@octokit/types": "^6.0.3", - "is-plain-object": "^5.0.0", - "universal-user-agent": "^6.0.0" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "node_modules/@octokit/graphql": { - "version": "4.6.4", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.4.tgz", - "integrity": "sha512-SWTdXsVheRmlotWNjKzPOb6Js6tjSqA2a8z9+glDJng0Aqjzti8MEWOtuT8ZSu6wHnci7LZNuarE87+WJBG4vg==", + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, "dependencies": { - "@octokit/request": "^5.6.0", - "@octokit/types": "^6.0.3", - "universal-user-agent": "^6.0.0" + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" } }, - "node_modules/@octokit/openapi-types": { - "version": "9.7.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-9.7.0.tgz", - "integrity": "sha512-TUJ16DJU8mekne6+KVcMV5g6g/rJlrnIKn7aALG9QrNpnEipFc1xjoarh0PKaAWf2Hf+HwthRKYt+9mCm5RsRg==", - "dev": true - }, - "node_modules/@octokit/plugin-enterprise-rest": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz", - "integrity": "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==", + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", "dev": true }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.15.1.tgz", - "integrity": "sha512-47r52KkhQDkmvUKZqXzA1lKvcyJEfYh3TKAIe5+EzMeyDM3d+/s5v11i2gTk8/n6No6DPi3k5Ind6wtDbo/AEg==", + "node_modules/browserslist": { + "version": "4.19.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz", + "integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==", "dev": true, "dependencies": { - "@octokit/types": "^6.24.0" + "caniuse-lite": "^1.0.30001286", + "electron-to-chromium": "^1.4.17", + "escalade": "^3.1.1", + "node-releases": "^2.0.1", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" } }, - "node_modules/@octokit/plugin-request-log": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", - "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.8.0.tgz", - "integrity": "sha512-qeLZZLotNkoq+it6F+xahydkkbnvSK0iDjlXFo3jNTB+Ss0qIbYQb9V/soKLMkgGw8Q2sHjY5YEXiA47IVPp4A==", - "dev": true, - "dependencies": { - "@octokit/types": "^6.25.0", - "deprecation": "^2.3.1" - } + "node_modules/builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=", + "dev": true }, - "node_modules/@octokit/request": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.1.tgz", - "integrity": "sha512-Ls2cfs1OfXaOKzkcxnqw5MR6drMA/zWX/LIS/p8Yjdz7QKTPQLMsB3R+OvoxE6XnXeXEE2X7xe4G4l4X0gRiKQ==", + "node_modules/byline": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", + "integrity": "sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=", "dev": true, - "dependencies": { - "@octokit/endpoint": "^6.0.1", - "@octokit/request-error": "^2.1.0", - "@octokit/types": "^6.16.1", - "is-plain-object": "^5.0.0", - "node-fetch": "^2.6.1", - "universal-user-agent": "^6.0.0" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/@octokit/request-error": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", - "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", + "node_modules/byte-size": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz", + "integrity": "sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A==", "dev": true, - "dependencies": { - "@octokit/types": "^6.0.3", - "deprecation": "^2.0.0", - "once": "^1.4.0" + "engines": { + "node": ">=10" } }, - "node_modules/@octokit/rest": { - "version": "18.9.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.9.1.tgz", - "integrity": "sha512-idZ3e5PqXVWOhtZYUa546IDHTHjkGZbj3tcJsN0uhCy984KD865e8GB2WbYDc2ZxFuJRiyd0AftpL2uPNhF+UA==", + "node_modules/cacache": { + "version": "15.3.0", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", + "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", "dev": true, "dependencies": { - "@octokit/core": "^3.5.0", - "@octokit/plugin-paginate-rest": "^2.6.2", - "@octokit/plugin-request-log": "^1.0.2", - "@octokit/plugin-rest-endpoint-methods": "5.8.0" + "@npmcli/fs": "^1.0.0", + "@npmcli/move-file": "^1.0.1", + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "glob": "^7.1.4", + "infer-owner": "^1.0.4", + "lru-cache": "^6.0.0", + "minipass": "^3.1.1", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.2", + "mkdirp": "^1.0.3", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.0.2", + "unique-filename": "^1.1.1" + }, + "engines": { + "node": ">= 10" } }, - "node_modules/@octokit/types": { - "version": "6.25.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.25.0.tgz", - "integrity": "sha512-bNvyQKfngvAd/08COlYIN54nRgxskmejgywodizQNyiKoXmWRAjKup2/LYwm+T9V0gsKH6tuld1gM0PzmOiB4Q==", + "node_modules/cache-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/cache-point/-/cache-point-2.0.0.tgz", + "integrity": "sha512-4gkeHlFpSKgm3vm2gJN5sPqfmijYRFYCQ6tv5cLw0xVmT6r1z1vd4FNnpuOREco3cBs1G709sZ72LdgddKvL5w==", "dev": true, "dependencies": { - "@octokit/openapi-types": "^9.5.0" + "array-back": "^4.0.1", + "fs-then-native": "^2.0.0", + "mkdirp2": "^1.0.4" + }, + "engines": { + "node": ">=8" } }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" + "node_modules/cache-point/node_modules/array-back": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", + "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", + "dev": true, + "engines": { + "node": ">=8" } }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "node_modules/@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", + "node_modules/cacheable-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", + "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", + "dev": true, + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "node_modules/cacheable-request/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "dependencies": { - "type-detect": "4.0.8" + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@sinonjs/fake-timers": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz", - "integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==", + "node_modules/cacheable-request/node_modules/lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", "dev": true, - "dependencies": { - "@sinonjs/commons": "^1.7.0" + "engines": { + "node": ">=8" } }, - "node_modules/@sinonjs/samsam": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-5.3.1.tgz", - "integrity": "sha512-1Hc0b1TtyfBu8ixF/tpfSHTVWKwCBLY4QJbkgnE7HcwyvT2xArDxb4K7dMgqRm3szI+LJbzmW/s4xxEhv6hwDg==", + "node_modules/cacheable-request/node_modules/normalize-url": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", "dev": true, - "dependencies": { - "@sinonjs/commons": "^1.6.0", - "lodash.get": "^4.4.2", - "type-detect": "^4.0.8" + "engines": { + "node": ">=8" } }, - "node_modules/@sinonjs/text-encoding": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", - "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", - "dev": true - }, - "node_modules/@speedymonster/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", + "node_modules/caching-transform": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", + "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", + "dev": true, "dependencies": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" + "hasha": "^5.0.0", + "make-dir": "^3.0.0", + "package-hash": "^4.0.0", + "write-file-atomic": "^3.0.0" }, - "peerDependencies": { - "@grpc/grpc-js": "^1.3.7" + "engines": { + "node": ">=8" } }, - "node_modules/@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", - "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, "dependencies": { - "defer-to-connect": "^1.0.1" + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, "engines": { "node": ">=6" } }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, "engines": { - "node": ">= 6" + "node": ">=6" } }, - "node_modules/@tsconfig/node10": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", - "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==" - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", - "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==" - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", - "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==" - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", - "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==" - }, - "node_modules/@types/amqp-connection-manager": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@types/amqp-connection-manager/-/amqp-connection-manager-2.0.12.tgz", - "integrity": "sha512-2GX1jG6ECpEXQF0X68gTTZc8MQ8GA0dM2mAd1irTpWlKzGKlGzCBtb1YnqLHozNNsoLtGI6UXSp0q06jU1LA6g==", + "node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, "dependencies": { - "@types/amqplib": "*" + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@types/amqplib": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/@types/amqplib/-/amqplib-0.8.2.tgz", - "integrity": "sha512-p+TFLzo52f8UanB+Nq6gyUi65yecAcRY3nYowU6MPGFtaJvEDxcnFWrxssSTkF+ts1W3zyQDvgVICLQem5WxRA==", - "dependencies": { - "@types/bluebird": "*", - "@types/node": "*" + "node_modules/caniuse-lite": { + "version": "1.0.30001298", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001298.tgz", + "integrity": "sha512-AcKqikjMLlvghZL/vfTHorlQsLDhGRalYf1+GmWCf5SCMziSGjRYQW/JEksj14NaYHIR6KIhrFAy0HV5C25UzQ==", + "dev": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" } }, - "node_modules/@types/bluebird": { - "version": "3.5.36", - "resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.36.tgz", - "integrity": "sha512-HBNx4lhkxN7bx6P0++W8E289foSu8kO8GCk2unhuVggO+cE7rh9DhZUyPhUxNRG9m+5B5BTKxZQ5ZP92x/mx9Q==" - }, - "node_modules/@types/btoa": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@types/btoa/-/btoa-1.2.3.tgz", - "integrity": "sha512-ANNCZICS/ofxhzUl8V1DniBJs+sFQ+Yg5am1ZwVEf/sxoKY/J2+h5Fuw3xUErlZ7eJLdgzukBjZwnsV6+/2Rmg==", - "dependencies": { - "@types/node": "*" - } + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true }, - "node_modules/@types/docker-modem": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/docker-modem/-/docker-modem-3.0.1.tgz", - "integrity": "sha512-ZUXPF0WNnvs7AxoQRijt+DW2jsXnWCk8ac28tTYzTpBNnOEIAw83A+pYkCXjTFdJHMTc+wUmwNr71Zy2TRjlWg==", + "node_modules/catharsis": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", + "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", + "dev": true, "dependencies": { - "@types/node": "*", - "@types/ssh2": "*" + "lodash": "^4.17.15" + }, + "engines": { + "node": ">= 10" } }, - "node_modules/@types/dockerode": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.2.7.tgz", - "integrity": "sha512-Y8hMRQTwsOjz4qm6yilZKKjB/Y7+2EOiY3RPN1Xtu63wEUEDVv+3Ou+sgiisPE9+pVe3bmwhnF+E1Iwj/o4J6w==", + "node_modules/chai": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", + "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "dev": true, "dependencies": { - "@types/docker-modem": "*", - "@types/node": "*" + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" } }, - "node_modules/@types/duplexify": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz", - "integrity": "sha512-5zOA53RUlzN74bvrSGwjudssD9F3a797sDZQkiYpUOxW+WHaXTCPz4/d5Dgi6FKnOqZ2CpaTo0DhgIfsXAOE/A==", + "node_modules/chai-as-promised": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.1.tgz", + "integrity": "sha512-azL6xMoi+uxu6z4rhWQ1jbdUhOMhis2PvscD/xjLqNMkv3BPPp2JyyuTHOrf9BOosGpNQ11v6BKv/g57RXbiaA==", + "dev": true, "dependencies": { - "@types/node": "*" + "check-error": "^1.0.2" + }, + "peerDependencies": { + "chai": ">= 2.1.2 < 5" } }, - "node_modules/@types/fs-extra": { - "version": "9.0.12", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.12.tgz", - "integrity": "sha512-I+bsBr67CurCGnSenZZ7v94gd3tc3+Aj2taxMT4yu4ABLuOgOjeFxX3dokG24ztSRg5tnT00sL8BszO7gSMoIw==", + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "dependencies": { - "@types/node": "*" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/@types/google-protobuf": { - "version": "3.15.5", - "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.5.tgz", - "integrity": "sha512-6bgv24B+A2bo9AfzReeg5StdiijKzwwnRflA8RLd1V4Yv995LeTmo0z69/MPbBDFSiZWdZHQygLo/ccXhMEDgw==" + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true }, - "node_modules/@types/ioredis": { - "version": "4.27.2", - "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.27.2.tgz", - "integrity": "sha512-/HXAbeJOR4Ub1O0XVlOFxrRTf2Yeq7BSre3qGoBvTTxN29tSmQPPwIYYxyzm2SkNgvx0Re9ahqCVanOVHqAARg==", - "dependencies": { - "@types/node": "*" + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true, + "engines": { + "node": "*" } }, - "node_modules/@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", - "dev": true - }, - "node_modules/@types/jsonwebtoken": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.5.tgz", - "integrity": "sha512-OGqtHQ7N5/Ap/TUwO6IgHDuLiAoTmHhGpNvgkCm/F4N6pKzx/RBSfr2OXZSwC6vkfnsEdb6+7DNZVtiXiwdwFw==", + "node_modules/chokidar": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", + "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "dev": true, "dependencies": { - "@types/node": "*" + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.5.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.1" } }, - "node_modules/@types/lodash": { - "version": "4.14.172", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.172.tgz", - "integrity": "sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw==" - }, - "node_modules/@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true, + "engines": { + "node": ">=10" + } }, - "node_modules/@types/minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", "dev": true }, - "node_modules/@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true - }, - "node_modules/@types/minipass": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@types/minipass/-/minipass-3.1.0.tgz", - "integrity": "sha512-b2yPKwCrB8x9SB65kcCistMoe3wrYnxxt5rJSZ1kprw0uOXvhuKi9kTQ746Y+Pbqoh+9C0N4zt0ztmTnG9yg7A==", - "dependencies": { - "@types/node": "*" + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, + "engines": { + "node": ">=6" } }, - "node_modules/@types/mocha": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.2.3.tgz", - "integrity": "sha512-ekGvFhFgrc2zYQoX4JeZPmVzZxw6Dtllga7iGHzfbYIYkAMUx/sAFP2GdFpLff+vdHXu5fl7WX9AT+TtqYcsyw==", - "dev": true - }, - "node_modules/@types/node": { - "version": "15.14.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.14.8.tgz", - "integrity": "sha512-+ZjmmoGV7WBwhzNh/GkwehB7uyXn9HFwzQUfj9pbyR8eFAq20Qguoh93sPbWzzhsbhTme6YE92/iJ54Z0WRH7A==" - }, - "node_modules/@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", - "dev": true - }, - "node_modules/@types/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true - }, - "node_modules/@types/phone": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/phone/-/phone-2.4.1.tgz", - "integrity": "sha512-2apupIHMn2uU572A0LCgY0MBzJCNCACwsfpBVLr9pfQN7OyJO6LOCUs/sfXqDPYbNSio8yf0/hUoIJIv4uDBRw==" - }, - "node_modules/@types/prettyjson": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/prettyjson/-/prettyjson-0.0.29.tgz", - "integrity": "sha512-Zu4jAKE46yc6R8JrVkCBWbXhs18dUgI/JlbID4jziFgUBgEdAHxFekR5TlEnk9phHdGE80QlCznRBaxlk0rl7w==" - }, - "node_modules/@types/pubsub-js": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@types/pubsub-js/-/pubsub-js-1.8.2.tgz", - "integrity": "sha512-cj3ZoAopr2ZmUYwRuXUiq48PlfNj5sBcUIkBnSJunfXlmf6y8o2kx4l70h1X1j0fR3IBorPrPM3B9SoyWwoqLg==" - }, - "node_modules/@types/pumpify": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", - "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", - "dependencies": { - "@types/duplexify": "*", - "@types/node": "*" + "node_modules/cli-boxes": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", + "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@types/ssh2": { - "version": "0.5.48", - "resolved": "https://registry.npmjs.org/@types/ssh2/-/ssh2-0.5.48.tgz", - "integrity": "sha512-cmQu0gp/6RtDXe1r2xXGgi0V0TeCdueDSRMEvBX8cTRT/sSREkUpgCYZLyh+iI8Ql+VNV8Az9toQoYa/IdgHbQ==", + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, "dependencies": { - "@types/node": "*", - "@types/ssh2-streams": "*" + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/@types/ssh2-streams": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/@types/ssh2-streams/-/ssh2-streams-0.1.9.tgz", - "integrity": "sha512-I2J9jKqfmvXLR5GomDiCoHrEJ58hAOmFrekfFqmCFd+A6gaEStvWnPykoWUwld1PNg4G5ag1LwdA+Lz1doRJqg==", - "dependencies": { - "@types/node": "*" + "node_modules/cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true, + "engines": { + "node": ">= 10" } }, - "node_modules/@types/tar": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tar/-/tar-4.0.5.tgz", - "integrity": "sha512-cgwPhNEabHaZcYIy5xeMtux2EmYBitfqEceBUi2t5+ETy4dW6kswt6WX4+HqLeiiKOo42EXbGiDmVJ2x+vi37Q==", + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, "dependencies": { - "@types/minipass": "*", - "@types/node": "*" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" } }, - "node_modules/@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "dependencies": { - "@types/node": "*" + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "dev": true, + "engines": { + "node": ">=0.8" } }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.29.2.tgz", - "integrity": "sha512-x4EMgn4BTfVd9+Z+r+6rmWxoAzBaapt4QFqE+d8L8sUtYZYLDTK6VG/y/SMMWA5t1/BVU5Kf+20rX4PtWzUYZg==", + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "dev": true, "dependencies": { - "@typescript-eslint/experimental-utils": "4.29.2", - "@typescript-eslint/scope-manager": "4.29.2", - "debug": "^4.3.1", - "functional-red-black-tree": "^1.0.1", - "regexpp": "^3.1.0", - "semver": "^7.3.5", - "tsutils": "^3.21.0" + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=6" } }, - "node_modules/@typescript-eslint/experimental-utils": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.29.2.tgz", - "integrity": "sha512-P6mn4pqObhftBBPAv4GQtEK7Yos1fz/MlpT7+YjH9fTxZcALbiiPKuSIfYP/j13CeOjfq8/fr9Thr2glM9ub7A==", + "node_modules/clone-deep/node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "dependencies": { - "@types/json-schema": "^7.0.7", - "@typescript-eslint/scope-manager": "4.29.2", - "@typescript-eslint/types": "4.29.2", - "@typescript-eslint/typescript-estree": "4.29.2", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0" + "isobject": "^3.0.1" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=0.10.0" } }, - "node_modules/@typescript-eslint/parser": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.29.2.tgz", - "integrity": "sha512-WQ6BPf+lNuwteUuyk1jD/aHKqMQ9jrdCn7Gxt9vvBnzbpj7aWEf+aZsJ1zvTjx5zFxGCt000lsbD9tQPEL8u6g==", + "node_modules/clone-response": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", + "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "4.29.2", - "@typescript-eslint/types": "4.29.2", - "@typescript-eslint/typescript-estree": "4.29.2", - "debug": "^4.3.1" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" + "mimic-response": "^1.0.0" } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.29.2.tgz", - "integrity": "sha512-mfHmvlQxmfkU8D55CkZO2sQOueTxLqGvzV+mG6S/6fIunDiD2ouwsAoiYCZYDDK73QCibYjIZmGhpvKwAB5BOA==", + "node_modules/cmd-shim": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz", + "integrity": "sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "4.29.2", - "@typescript-eslint/visitor-keys": "4.29.2" + "mkdirp-infer-owner": "^2.0.0" }, "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + "node": ">=10" } }, - "node_modules/@typescript-eslint/types": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.29.2.tgz", - "integrity": "sha512-K6ApnEXId+WTGxqnda8z4LhNMa/pZmbTFkDxEBLQAbhLZL50DjeY0VIDCml/0Y3FlcbqXZrABqrcKxq+n0LwzQ==", + "node_modules/code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true, "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + "node": ">=0.10.0" } }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.29.2.tgz", - "integrity": "sha512-TJ0/hEnYxapYn9SGn3dCnETO0r+MjaxtlWZ2xU+EvytF0g4CqTpZL48SqSNn2hXsPolnewF30pdzR9a5Lj3DNg==", + "node_modules/collect-all": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/collect-all/-/collect-all-1.0.4.tgz", + "integrity": "sha512-RKZhRwJtJEP5FWul+gkSMEnaK6H3AGPTTWOiRimCcs+rc/OmQE3Yhy1Q7A7KsdkG3ZXVdZq68Y6ONSdvkeEcKA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "4.29.2", - "@typescript-eslint/visitor-keys": "4.29.2", - "debug": "^4.3.1", - "globby": "^11.0.3", - "is-glob": "^4.0.1", - "semver": "^7.3.5", - "tsutils": "^3.21.0" + "stream-connect": "^1.0.2", + "stream-via": "^1.0.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=0.10.0" } }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.29.2.tgz", - "integrity": "sha512-bDgJLQ86oWHJoZ1ai4TZdgXzJxsea3Ee9u9wsTAvjChdj2WLcVsgWYAPeY7RQMn16tKrlQaBnpKv7KBfs4EQag==", + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "4.29.2", - "eslint-visitor-keys": "^2.0.0" + "color-name": "~1.1.4" }, "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + "node": ">=7.0.0" } }, - "node_modules/@ungap/promise-all-settled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", - "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/@zxing/text-encoding": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", - "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", - "optional": true - }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true + "node_modules/colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "engines": { + "node": ">=0.1.90" + } }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "node_modules/columnify": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz", + "integrity": "sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs=", + "dev": true, "dependencies": { - "event-target-shim": "^5.0.0" - }, + "strip-ansi": "^3.0.0", + "wcwidth": "^1.0.0" + } + }, + "node_modules/columnify/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, "engines": { - "node": ">=6.5" + "node": ">=0.10.0" } }, - "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "node_modules/columnify/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" + "ansi-regex": "^2.0.0" }, "engines": { - "node": ">= 0.6" + "node": ">=0.10.0" } }, - "node_modules/acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, "dependencies": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" + "delayed-stream": "~1.0.0" }, "engines": { - "node": ">= 10" + "node": ">= 0.8" } }, - "node_modules/acme-client/node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "node_modules/command-line-args": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.0.tgz", + "integrity": "sha512-4zqtU1hYsSJzcJBOcNZIbW5Fbk9BkjCp1pZVhQKoRaWL5J7N4XphDLwo8aWwdQpTugxwu+jf9u2ZhkXiqp5Z6A==", + "dev": true, "dependencies": { - "follow-redirects": "^1.10.0" + "array-back": "^3.1.0", + "find-replace": "^3.0.0", + "lodash.camelcase": "^4.3.0", + "typical": "^4.0.0" + }, + "engines": { + "node": ">=4.0.0" } }, - "node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "node_modules/command-line-args/node_modules/array-back": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", + "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", "dev": true, - "bin": { - "acorn": "bin/acorn" - }, "engines": { - "node": ">=0.4.0" + "node": ">=6" } }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true - }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "node_modules/command-line-args/node_modules/typical": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", + "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", + "dev": true, "engines": { - "node": ">=0.4.0" + "node": ">=8" } }, - "node_modules/add-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", - "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", - "dev": true - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "node_modules/command-line-tool": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/command-line-tool/-/command-line-tool-0.8.0.tgz", + "integrity": "sha512-Xw18HVx/QzQV3Sc5k1vy3kgtOeGmsKIqwtFFoyjI4bbcpSgnw2CWVULvtakyw4s6fhyAdI6soQQhXc2OzJy62g==", + "dev": true, "dependencies": { - "debug": "4" + "ansi-escape-sequences": "^4.0.0", + "array-back": "^2.0.0", + "command-line-args": "^5.0.0", + "command-line-usage": "^4.1.0", + "typical": "^2.6.1" }, "engines": { - "node": ">= 6.0.0" + "node": ">=4.0.0" } }, - "node_modules/agentkeepalive": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.1.4.tgz", - "integrity": "sha512-+V/rGa3EuU74H6wR04plBb7Ks10FbtUQgRj/FQOG7uUIEuaINI+AiqJR1k6t3SVNs7o7ZjIdus6706qqzVq8jQ==", + "node_modules/command-line-tool/node_modules/array-back": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", + "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", "dev": true, "dependencies": { - "debug": "^4.1.0", - "depd": "^1.1.2", - "humanize-ms": "^1.2.1" + "typical": "^2.6.1" }, "engines": { - "node": ">= 8.0.0" + "node": ">=4" } }, - "node_modules/aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "node_modules/command-line-usage": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-4.1.0.tgz", + "integrity": "sha512-MxS8Ad995KpdAC0Jopo/ovGIroV/m0KHwzKfXxKag6FHOkGsH8/lv5yjgablcRxCJJC0oJeUMuO/gmaq+Wq46g==", "dev": true, "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" + "ansi-escape-sequences": "^4.0.0", + "array-back": "^2.0.0", + "table-layout": "^0.4.2", + "typical": "^2.6.1" }, "engines": { - "node": ">=8" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "node": ">=4.0.0" } }, - "node_modules/amqp-connection-manager": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/amqp-connection-manager/-/amqp-connection-manager-3.6.0.tgz", - "integrity": "sha512-oa1OAIgdJLiyltknBhwdM0IlET9i1lpnhv6GVan43o3p2LrwG/ogOoixoTN7ZUxlaH9+E8NktcP9kEtgfLSklg==", + "node_modules/command-line-usage/node_modules/array-back": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", + "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", + "dev": true, "dependencies": { - "promise-breaker": "^5.0.0", - "ts-node": "^10.2.1", - "typescript": "^4.3.5" + "typical": "^2.6.1" }, "engines": { - "node": ">=10.0.0", - "npm": ">5.0.0" - }, - "peerDependencies": { - "amqplib": "*" + "node": ">=4" } }, - "node_modules/amqp-connection-manager/node_modules/acorn": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz", - "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==", - "bin": { - "acorn": "bin/acorn" - }, + "node_modules/common-sequence": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/common-sequence/-/common-sequence-2.0.2.tgz", + "integrity": "sha512-jAg09gkdkrDO9EWTdXfv80WWH3yeZl5oT69fGfedBNS9pXUKYInVJ1bJ+/ht2+Moeei48TmSbQDYMc8EOx9G0g==", + "dev": true, "engines": { - "node": ">=0.4.0" + "node": ">=8" } }, - "node_modules/amqp-connection-manager/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "engines": { - "node": ">=0.3.1" - } + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true }, - "node_modules/amqp-connection-manager/node_modules/ts-node": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.2.1.tgz", - "integrity": "sha512-hCnyOyuGmD5wHleOQX6NIjJtYVIO8bPP8F2acWkB4W06wdlkgyvJtubO/I9NkI88hCFECbsEgoLc0VNkYmcSfw==", + "node_modules/compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "dev": true, "dependencies": { - "@cspotcode/source-map-support": "0.6.1", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" } }, - "node_modules/amqplib": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.8.0.tgz", - "integrity": "sha512-icU+a4kkq4Y1PS4NNi+YPDMwdlbFcZ1EZTQT2nigW3fvOb6AOgUQ9+Mk4ue0Zu5cBg/XpDzB40oH10ysrk2dmA==", + "node_modules/compare-func/node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, "dependencies": { - "bitsyntax": "~0.1.0", - "bluebird": "^3.7.2", - "buffer-more-ints": "~1.0.0", - "readable-stream": "1.x >=1.1.9", - "safe-buffer": "~5.2.1", - "url-parse": "~1.5.1" + "is-obj": "^2.0.0" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/amqplib/node_modules/readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "dev": true, + "engines": [ + "node >= 6.0" + ], "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" } }, - "node_modules/amqplib/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/amqplib/node_modules/string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - }, - "node_modules/ansi-align": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz", - "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==", + "node_modules/config-chain": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", + "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", + "dev": true, "dependencies": { - "string-width": "^3.0.0" + "ini": "^1.3.4", + "proto-list": "~1.2.1" } }, - "node_modules/ansi-align/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "engines": { - "node": ">=6" + "node_modules/config-master": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/config-master/-/config-master-3.1.0.tgz", + "integrity": "sha1-ZnZjWQUFooO/JqSE1oSJ10xUhdo=", + "dev": true, + "dependencies": { + "walk-back": "^2.0.1" } }, - "node_modules/ansi-align/node_modules/emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" - }, - "node_modules/ansi-align/node_modules/is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "node_modules/config-master/node_modules/walk-back": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-2.0.1.tgz", + "integrity": "sha1-VU4qnYdPrEeoywBr9EwvDEmYoKQ=", + "dev": true, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, - "node_modules/ansi-align/node_modules/string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "node_modules/configstore": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", + "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", + "dev": true, "dependencies": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" + "dot-prop": "^5.2.0", + "graceful-fs": "^4.1.2", + "make-dir": "^3.0.0", + "unique-string": "^2.0.0", + "write-file-atomic": "^3.0.0", + "xdg-basedir": "^4.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/ansi-align/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "node_modules/configstore/node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, "dependencies": { - "ansi-regex": "^4.1.0" + "is-obj": "^2.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true, - "engines": { - "node": ">=6" - } + "node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true }, - "node_modules/ansi-escape-sequences": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-escape-sequences/-/ansi-escape-sequences-4.1.0.tgz", - "integrity": "sha512-dzW9kHxH011uBsidTXd14JXgzye/YLb2LzeKZ4bsgl/Knwx8AtbSFkkGxagdNOoh0DlqHCmfiEjWKBaqjOanVw==", + "node_modules/conventional-changelog-angular": { + "version": "5.0.13", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", + "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", "dev": true, "dependencies": { - "array-back": "^3.0.1" + "compare-func": "^2.0.0", + "q": "^1.5.1" }, "engines": { - "node": ">=8.0.0" + "node": ">=10" } }, - "node_modules/ansi-escape-sequences/node_modules/array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "node_modules/conventional-changelog-core": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", + "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dependencies": { - "type-fest": "^0.21.3" + "add-stream": "^1.0.0", + "conventional-changelog-writer": "^5.0.0", + "conventional-commits-parser": "^3.2.0", + "dateformat": "^3.0.0", + "get-pkg-repo": "^4.0.0", + "git-raw-commits": "^2.0.8", + "git-remote-origin-url": "^2.0.0", + "git-semver-tags": "^4.1.1", + "lodash": "^4.17.15", + "normalize-package-data": "^3.0.0", + "q": "^1.5.1", + "read-pkg": "^3.0.0", + "read-pkg-up": "^3.0.0", + "through2": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, - "node_modules/ansi-escapes/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "node_modules/conventional-changelog-preset-loader": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", + "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", + "dev": true, "engines": { "node": ">=10" } }, - "node_modules/ansi-regex": { + "node_modules/conventional-changelog-writer": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.0.tgz", + "integrity": "sha512-HnDh9QHLNWfL6E1uHz6krZEQOgm8hN7z/m7tT16xwd802fwgMN0Wqd7AQYVkhpsjDUx/99oo+nGgvKF657XP5g==", + "dev": true, + "dependencies": { + "conventional-commits-filter": "^2.0.7", + "dateformat": "^3.0.0", + "handlebars": "^4.7.6", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "semver": "^6.0.0", + "split": "^1.0.0", + "through2": "^4.0.0" + }, + "bin": { + "conventional-changelog-writer": "cli.js" + }, "engines": { - "node": ">=8" + "node": ">=10" } }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/conventional-changelog-writer/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/conventional-commits-filter": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", + "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", + "dev": true, "dependencies": { - "color-convert": "^2.0.1" + "lodash.ismatch": "^4.4.0", + "modify-values": "^1.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, - "node_modules/ansicolors": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz", - "integrity": "sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk=" - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "node_modules/conventional-commits-parser": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.3.tgz", + "integrity": "sha512-YyRDR7On9H07ICFpRm/igcdjIqebXbvf4Cff+Pf0BrBys1i1EOzx9iFXNlAbdrLAR8jf7bkUYkDAr8pEy0q4Pw==", "dev": true, "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" + "is-text-path": "^1.0.1", + "JSONStream": "^1.0.4", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "split2": "^3.0.0", + "through2": "^4.0.0" + }, + "bin": { + "conventional-commits-parser": "cli.js" }, "engines": { - "node": ">= 8" + "node": ">=10" } }, - "node_modules/append-transform": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", - "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", + "node_modules/conventional-recommended-bump": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", + "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", "dev": true, "dependencies": { - "default-require-extensions": "^3.0.0" + "concat-stream": "^2.0.0", + "conventional-changelog-preset-loader": "^2.3.4", + "conventional-commits-filter": "^2.0.7", + "conventional-commits-parser": "^3.2.0", + "git-raw-commits": "^2.0.8", + "git-semver-tags": "^4.1.1", + "meow": "^8.0.0", + "q": "^1.5.1" + }, + "bin": { + "conventional-recommended-bump": "cli.js" }, "engines": { - "node": ">=8" + "node": ">=10" } }, - "node_modules/aproba": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", - "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", - "dev": true - }, - "node_modules/archy": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", - "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", - "dev": true - }, - "node_modules/are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "node_modules/convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", "dev": true, "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "safe-buffer": "~5.1.1" } }, - "node_modules/are-we-there-yet/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, - "node_modules/are-we-there-yet/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "node_modules/cosmiconfig": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", + "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", "dev": true, "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" } }, - "node_modules/are-we-there-yet/node_modules/string_decoder": { + "node_modules/create-require": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dependencies": { - "sprintf-js": "~1.0.2" - } + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true }, - "node_modules/ari-client": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ari-client/-/ari-client-2.2.0.tgz", - "integrity": "sha512-DPz+vC/dZyvy5HqBrEzYpNH6X2hDb+AIyRith6f8IVLHyveRWaHPO0S7rF1Q91qry/U8G+504KUZfeaBPwzIVQ==", + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, "dependencies": { - "backoff-func": "^0.1.2", - "bluebird": "^3.5.2", - "lodash": "^4.17.10", - "request": "^2.34.0", - "swagger-client": "2.0.26", - "uuid": "^3.0.0", - "ws": "^6.0.0" + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" }, "engines": { - "node": ">=8" + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" } }, - "node_modules/arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 8" } }, - "node_modules/arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "node_modules/crypto-random-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "node_modules/dargs": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", + "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/array-back": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", - "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + }, "engines": { - "node": ">=10" + "node": ">=0.10" } }, - "node_modules/array-differ": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", - "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", + "node_modules/dateformat": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", "dev": true, "engines": { - "node": ">=8" + "node": "*" } }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "node_modules/array-ify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", - "dev": true - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "node_modules/debug": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, "engines": { - "node": ">=0.10.0" + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "node_modules/arrify": { + "node_modules/debuglog": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", + "integrity": "sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=", "dev": true, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", - "dev": true - }, - "node_modules/asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dependencies": { - "safer-buffer": "~2.1.0" + "node": "*" } }, - "node_modules/assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true, "engines": { - "node": ">=0.8" + "node": ">=0.10.0" } }, - "node_modules/assertion-error": { + "node_modules/decamelize-keys": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", + "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", + "dev": true, + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, "engines": { - "node": "*" + "node": ">=0.10.0" } }, - "node_modules/assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "node_modules/decamelize-keys/node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "node_modules/decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", "dev": true, "engines": { - "node": ">=8" + "node": ">=0.10" } }, - "node_modules/async": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.1.tgz", - "integrity": "sha512-XdD5lRO/87udXCMC9meWdYiR+Nq6ZjUfXidViUZGu2F1MO4T3XwZ1et0hb2++BgLfhyJwy44BGB/yx80ABx8hg==" - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "node_modules/decompress-response": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", + "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", + "dev": true, + "dependencies": { + "mimic-response": "^1.0.0" + }, "engines": { - "node": ">= 4.0.0" + "node": ">=4" } }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "bin": { - "atob": "bin/atob.js" + "node_modules/dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "dependencies": { + "type-detect": "^4.0.0" }, "engines": { - "node": ">= 4.5.0" + "node": ">=0.12" } }, - "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=4.0.0" } }, - "node_modules/aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/default-require-extensions": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", + "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==", + "dev": true, + "dependencies": { + "strip-bom": "^4.0.0" + }, "engines": { - "node": "*" + "node": ">=8" } }, - "node_modules/aws4": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - }, - "node_modules/ax": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/ax/-/ax-0.1.8.tgz", - "integrity": "sha1-J8qac/pMeKR41i2CfK2GCiT91Jc=" - }, - "node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "node_modules/defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "dev": true, "dependencies": { - "follow-redirects": "^1.14.0" + "clone": "^1.0.2" } }, - "node_modules/backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "node_modules/backoff-func": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/backoff-func/-/backoff-func-0.1.2.tgz", - "integrity": "sha1-VMP64rreWHI0utXbh+NBLJ+ph4M=" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "node_modules/defer-to-connect": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", "dev": true }, - "node_modules/base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, "dependencies": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" + "object-keys": "^1.0.12" }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.4" } }, - "node_modules/base/node_modules/define-property": { + "node_modules/delayed-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dependencies": { - "is-descriptor": "^1.0.0" - }, + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dependencies": { - "tweetnacl": "^0.14.3" + "node": ">=0.4.0" } }, - "node_modules/before-after-hook": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz", - "integrity": "sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ==", + "node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "dev": true }, - "node_modules/bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==", + "node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true, "engines": { - "node": "*" + "node": ">= 0.6" } }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", + "dev": true + }, + "node_modules/detect-indent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", + "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", "dev": true, "engines": { "node": ">=8" } }, - "node_modules/bitsyntax": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz", - "integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==", - "dependencies": { - "buffer-more-ints": "~1.0.0", - "debug": "~2.6.9", - "safe-buffer": "~5.1.2" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/bitsyntax/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" } }, - "node_modules/bitsyntax/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "node_modules/dezalgo": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz", + "integrity": "sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY=", + "dev": true, "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" + "asap": "^2.0.0", + "wrappy": "1" } }, - "node_modules/block-stream2": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", - "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", - "dependencies": { - "readable-stream": "^3.4.0" + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true, + "engines": { + "node": ">=0.3.1" } }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" + "path-type": "^4.0.0" }, "engines": { - "node": ">= 0.8" + "node": ">=8" } }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "node_modules/dmd": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/dmd/-/dmd-6.0.0.tgz", + "integrity": "sha512-PwWZlqZnJPETwqZZ70haRa+UDZcD5jeBD3ywW1Kf+jYYv0MHu/S7Ri9jsSoeTMwkcMVW9hXOMA1IZUMEufBhOg==", + "dev": true, "dependencies": { - "ms": "2.0.0" + "array-back": "^5.0.0", + "cache-point": "^2.0.0", + "common-sequence": "^2.0.0", + "file-set": "^4.0.1", + "handlebars": "^4.7.7", + "marked": "^2.0.0", + "object-get": "^2.1.1", + "reduce-flatten": "^3.0.0", + "reduce-unique": "^2.0.1", + "reduce-without": "^1.0.1", + "test-value": "^3.0.0", + "walk-back": "^5.0.0" + }, + "engines": { + "node": ">=14" } }, - "node_modules/body-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "node_modules/dmd/node_modules/array-back": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", + "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", + "dev": true, + "engines": { + "node": ">=10" + } }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, "engines": { - "node": ">=0.6" + "node": ">=6.0.0" } }, - "node_modules/boxen": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.0.1.tgz", - "integrity": "sha512-49VBlw+PrWEF51aCmy7QIteYPIFZxSpvqBdP/2itCPPlJ49kj9zg/XPRFrdkne2W+CfwXUls8exMvu1RysZpKA==", + "node_modules/dot-prop": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz", + "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==", + "dev": true, "dependencies": { - "ansi-align": "^3.0.0", - "camelcase": "^6.2.0", - "chalk": "^4.1.0", - "cli-boxes": "^2.2.1", - "string-width": "^4.2.0", - "type-fest": "^0.20.2", - "widest-line": "^3.1.0", - "wrap-ansi": "^7.0.0" + "is-obj": "^2.0.0" }, "engines": { "node": ">=10" @@ -4761,4809 +4421,4810 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/boxen/node_modules/camelcase": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", - "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", + "node_modules/dotenv": { + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", + "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==", + "dev": true, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true + }, + "node_modules/duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", + "dev": true + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "dev": true, "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } + "node_modules/electron-to-chromium": { + "version": "1.4.38", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.38.tgz", + "integrity": "sha512-WhHt3sZazKj0KK/UpgsbGQnUUoFeAHVishzHFExMxagpZgjiGYSC9S0ZlbhCfSH2L2i+2A1yyqOIliTctMx7KQ==", + "dev": true }, - "node_modules/browser-stdout": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", - "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, - "node_modules/browserslist": { - "version": "4.16.8", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.8.tgz", - "integrity": "sha512-sc2m9ohR/49sWEbPj14ZSSZqp+kbi16aLao42Hmn3Z8FpjuMaq2xCA2l4zl9ITfyzvnvyE0hcg62YkIGKxgaNQ==", + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "dev": true, + "optional": true, "dependencies": { - "caniuse-lite": "^1.0.30001251", - "colorette": "^1.3.0", - "electron-to-chromium": "^1.3.811", - "escalade": "^3.1.1", - "node-releases": "^1.1.75" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=", - "deprecated": "Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details", - "hasInstallScript": true, - "engines": { - "node": ">=0.6.19" + "iconv-lite": "^0.6.2" } }, - "node_modules/btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", - "bin": { - "btoa": "bin/btoa.js" + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { - "node": ">= 0.4.0" + "node": ">=0.10.0" } }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" + "once": "^1.4.0" } }, - "node_modules/buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/buffer-more-ints": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz", - "integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg==" - }, - "node_modules/bufferutil": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz", - "integrity": "sha512-yEYTwGndELGvfXsImMBLop58eaGW+YdONi1fNjTINSY98tmMmFijBG6WXgdkfuLNt4imzQNtIE+eBp1PVpMCSw==", - "hasInstallScript": true, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, "dependencies": { - "node-gyp-build": "^4.2.0" + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" } }, - "node_modules/builtins": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=", + "node_modules/entities": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz", + "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==", "dev": true }, - "node_modules/byline": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", - "integrity": "sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=", + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=6" } }, - "node_modules/byte-size": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz", - "integrity": "sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A==", + "node_modules/envinfo": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", + "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", "dev": true, + "bin": { + "envinfo": "dist/cli.js" + }, "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } + "node_modules/err-code": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", + "dev": true }, - "node_modules/cacache": { - "version": "15.2.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.2.0.tgz", - "integrity": "sha512-uKoJSHmnrqXgthDFx/IU6ED/5xd+NNGe+Bb+kLZy7Ku4P+BaiWEUflAKPZ7eAzsYGcsAGASJZsybXp+quEcHTw==", + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, "dependencies": { - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" - }, - "engines": { - "node": ">= 10" + "is-arrayish": "^0.2.1" } }, - "node_modules/cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "node_modules/es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dev": true, "dependencies": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/cache-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cache-point/-/cache-point-2.0.0.tgz", - "integrity": "sha512-4gkeHlFpSKgm3vm2gJN5sPqfmijYRFYCQ6tv5cLw0xVmT6r1z1vd4FNnpuOREco3cBs1G709sZ72LdgddKvL5w==", + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", "dev": true, "dependencies": { - "array-back": "^4.0.1", - "fs-then-native": "^2.0.0", - "mkdirp2": "^1.0.4" + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" }, "engines": { - "node": ">=8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/cache-point/node_modules/array-back": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", - "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", + "node_modules/es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "dev": true + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", - "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dependencies": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, + "node_modules/escape-goat": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", + "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", + "dev": true, "engines": { "node": ">=8" } }, - "node_modules/cacheable-request/node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dependencies": { - "pump": "^3.0.0" - }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cacheable-request/node_modules/lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "node_modules/eslint": { + "version": "7.32.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz", + "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "7.12.11", + "@eslint/eslintrc": "^0.4.3", + "@humanwhocodes/config-array": "^0.5.0", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.1.2", + "globals": "^13.6.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^6.0.9", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, "engines": { - "node": ">=8" + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/cacheable-request/node_modules/normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", + "node_modules/eslint-config-google": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/eslint-config-google/-/eslint-config-google-0.14.0.tgz", + "integrity": "sha512-WsbX4WbjuMvTdeVL6+J3rK1RGhCTqjsFjX7UMSMgZiyxxaNLkoJENbrGExzERFeoTpGw3F3FypTiWAP9ZXzkEw==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=0.10.0" + }, + "peerDependencies": { + "eslint": ">=5.16.0" } }, - "node_modules/caching-transform": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", - "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", + "node_modules/eslint-config-prettier": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz", + "integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==", "dev": true, - "dependencies": { - "hasha": "^5.0.0", - "make-dir": "^3.0.0", - "package-hash": "^4.0.0", - "write-file-atomic": "^3.0.0" + "bin": { + "eslint-config-prettier": "bin/cli.js" }, - "engines": { - "node": ">=8" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "peerDependencies": { + "eslint": ">=7.0.0" } }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "node_modules/eslint-plugin-no-loops": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-no-loops/-/eslint-plugin-no-loops-0.3.0.tgz", + "integrity": "sha1-6B/stOqvSUqSbZyrqafNhNH+3n0=", "dev": true, - "engines": { - "node": ">=6" + "peerDependencies": { + "eslint": ">=2.0.0" } }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "node_modules/eslint-plugin-notice": { + "version": "0.9.10", + "resolved": "https://registry.npmjs.org/eslint-plugin-notice/-/eslint-plugin-notice-0.9.10.tgz", + "integrity": "sha512-rF79EuqdJKu9hhTmwUkNeSvLmmq03m/NXq/NHwUENHbdJ0wtoyOjxZBhW4QCug8v5xYE6cGe3AWkGqSIe9KUbQ==", "dev": true, - "engines": { - "node": ">=6" + "dependencies": { + "find-root": "^1.1.0", + "lodash": "^4.17.15", + "metric-lcs": "^0.1.2" + }, + "peerDependencies": { + "eslint": ">=3.0.0" } }, - "node_modules/camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "node_modules/eslint-plugin-prettier": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz", + "integrity": "sha512-htg25EUYUeIhKHXjOinK4BgCcDwtLHjqaxCDsMy5nbnUMkKFvIhMVCp+5GFUXQ4Nr8lBsPqtGAqBenbpFqAA2g==", "dev": true, "dependencies": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" + "prettier-linter-helpers": "^1.0.0" }, "engines": { - "node": ">=8" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001251", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz", - "integrity": "sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A==", - "dev": true - }, - "node_modules/cardinal": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz", - "integrity": "sha1-fMEFXYItISlU0HsIXeolHMe8VQU=", - "dependencies": { - "ansicolors": "~0.3.2", - "redeyed": "~2.1.0" + "node": ">=6.0.0" }, - "bin": { - "cdl": "bin/cdl.js" + "peerDependencies": { + "eslint": ">=5.0.0", + "prettier": ">=1.13.0" + }, + "peerDependenciesMeta": { + "eslint-config-prettier": { + "optional": true + } } }, - "node_modules/caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "node_modules/catharsis": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", - "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, "dependencies": { - "lodash": "^4.17.15" + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" }, "engines": { - "node": ">= 10" + "node": ">=8.0.0" } }, - "node_modules/chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "node_modules/eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "dev": true, "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.1", - "type-detect": "^4.0.5" + "eslint-visitor-keys": "^2.0.0" }, "engines": { - "node": ">=4" + "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=5" } }, - "node_modules/chai-as-promised": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.1.tgz", - "integrity": "sha512-azL6xMoi+uxu6z4rhWQ1jbdUhOMhis2PvscD/xjLqNMkv3BPPp2JyyuTHOrf9BOosGpNQ11v6BKv/g57RXbiaA==", + "node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, - "dependencies": { - "check-error": "^1.0.2" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, "engines": { "node": ">=10" } }, - "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - }, - "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", - "engines": { - "node": "*" - } - }, - "node_modules/chokidar": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", - "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "node_modules/eslint/node_modules/eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", "dev": true, "dependencies": { - "anymatch": "~3.1.1", - "braces": "~3.0.2", - "glob-parent": "~5.1.0", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.5.0" + "eslint-visitor-keys": "^1.1.0" }, "engines": { - "node": ">= 8.10.0" + "node": ">=6" }, - "optionalDependencies": { - "fsevents": "~2.3.1" + "funding": { + "url": "https://github.com/sponsors/mysticatea" } }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "node_modules/eslint/node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" - }, - "node_modules/class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dependencies": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, + "node_modules/eslint/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">= 4" } }, - "node_modules/class-utils/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "node_modules/espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "dev": true, "dependencies": { - "is-descriptor": "^0.1.0" + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" }, "engines": { - "node": ">=0.10.0" + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/class-utils/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dependencies": { - "kind-of": "^3.0.2" - }, + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/class-utils/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" }, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/class-utils/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "node_modules/esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "dev": true, "dependencies": { - "kind-of": "^3.0.2" + "estraverse": "^5.1.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=0.10" } }, - "node_modules/class-utils/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=4.0" } }, - "node_modules/class-utils/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "estraverse": "^5.2.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=4.0" } }, - "node_modules/class-utils/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=4.0" } }, - "node_modules/clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, "engines": { - "node": ">=6" + "node": ">=4.0" } }, - "node_modules/cli-boxes": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, "engines": { - "node": ">=6" + "node": ">=0.10.0" } }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true }, - "node_modules/cli-progress": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/cli-progress/-/cli-progress-3.9.0.tgz", - "integrity": "sha512-g7rLWfhAo/7pF+a/STFH/xPyosaL1zgADhI0OM83hl3c7S43iGvJWEAV2QuDOnQ8i6EMBj/u4+NTd0d5L+4JfA==", + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, "dependencies": { - "colors": "^1.1.2", - "string-width": "^4.2.0" + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" }, "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/cli-ux": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/cli-ux/-/cli-ux-5.5.1.tgz", - "integrity": "sha512-t3DT1U1C3rArLGYLpKa3m9dr/8uKZRI8HRm/rXKL7UTjm4c+Yd9zHNWg1tP8uaJkUbhmvx5SQHwb3VWpPUVdHQ==", - "dependencies": { - "@oclif/command": "^1.6.0", - "@oclif/errors": "^1.2.1", - "@oclif/linewrap": "^1.0.0", - "@oclif/screen": "^1.0.3", - "ansi-escapes": "^4.3.0", - "ansi-styles": "^4.2.0", - "cardinal": "^2.1.1", - "chalk": "^4.1.0", - "clean-stack": "^3.0.0", - "cli-progress": "^3.4.0", - "extract-stack": "^2.0.0", - "fs-extra": "^8.1", - "hyperlinker": "^1.0.0", - "indent-string": "^4.0.0", - "is-wsl": "^2.2.0", - "js-yaml": "^3.13.1", - "lodash": "^4.17.11", - "natural-orderby": "^2.0.1", - "object-treeify": "^1.1.4", - "password-prompt": "^1.1.2", - "semver": "^7.3.2", - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "supports-color": "^7.1.0", - "supports-hyperlinks": "^2.1.0", - "tslib": "^2.0.0" + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" }, "engines": { - "node": ">=8.0.0" + "node": ">=4" } }, - "node_modules/cli-ux/node_modules/clean-stack": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-3.0.1.tgz", - "integrity": "sha512-lR9wNiMRcVQjSB3a7xXGLuz4cr4wJuuXlaAEbRutGowQTmlp7R72/DOgN21e8jdwblMWl9UOJMJXarX94pzKdg==", + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true, + "engines": [ + "node >=0.6.0" + ] + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-diff": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", + "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", + "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "dev": true, "dependencies": { - "escape-string-regexp": "4.0.0" + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, - "node_modules/cli-ux/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true }, - "node_modules/cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", - "engines": { - "node": ">= 10" - } + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "node_modules/fastq": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "dev": true, "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" + "reusify": "^1.0.4" } }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "dev": true, + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, "engines": { - "node": ">=0.8" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "node_modules/figures/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - }, "engines": { - "node": ">=6" + "node": ">=0.8.0" } }, - "node_modules/clone-deep/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, "dependencies": { - "isobject": "^3.0.1" + "flat-cache": "^3.0.4" }, "engines": { - "node": ">=0.10.0" + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", + "node_modules/file-set": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/file-set/-/file-set-4.0.2.tgz", + "integrity": "sha512-fuxEgzk4L8waGXaAkd8cMr73Pm0FxOVkn8hztzUW7BAHhOGH90viQNXbiOsnecCWmfInqU6YmAMwxRMdKETceQ==", + "dev": true, "dependencies": { - "mimic-response": "^1.0.0" + "array-back": "^5.0.0", + "glob": "^7.1.6" + }, + "engines": { + "node": ">=10" } }, - "node_modules/cluster-key-slot": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", - "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==", + "node_modules/file-set/node_modules/array-back": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", + "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/cmd-shim": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz", - "integrity": "sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw==", + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, "dependencies": { - "mkdirp-infer-owner": "^2.0.0" + "to-regex-range": "^5.0.1" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/code-point-at": { + "node_modules/filter-obj": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", + "integrity": "sha1-mzERErxsYSehbgFsbF1/GeCAXFs=", "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/collect-all": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/collect-all/-/collect-all-1.0.4.tgz", - "integrity": "sha512-RKZhRwJtJEP5FWul+gkSMEnaK6H3AGPTTWOiRimCcs+rc/OmQE3Yhy1Q7A7KsdkG3ZXVdZq68Y6ONSdvkeEcKA==", + "node_modules/find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, "dependencies": { - "stream-connect": "^1.0.2", - "stream-via": "^1.0.4" + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, - "node_modules/collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "node_modules/find-replace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", + "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", + "dev": true, "dependencies": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" + "array-back": "^3.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=4.0.0" } }, - "node_modules/color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "dependencies": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" + "node_modules/find-replace/node_modules/array-back": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", + "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "dev": true, + "engines": { + "node": ">=6" } }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", + "dev": true + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, "dependencies": { - "color-name": "~1.1.4" + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": ">=7.0.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" } }, - "node_modules/color/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, "dependencies": { - "color-name": "1.1.3" + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/color/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/colorette": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.3.0.tgz", - "integrity": "sha512-ecORCqbSFP7Wm8Y6lyqMJjexBQqXSF7SSeaTyGGphogUjBlFP9m9o08wy86HL2uB7fMTxtOUzLMk7ogKcxMg1w==", + "node_modules/flatted": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", + "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", "dev": true }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", - "dependencies": { - "color": "3.0.x", - "text-hex": "1.0.x" + "node_modules/follow-redirects": { + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } } }, - "node_modules/columnify": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz", - "integrity": "sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs=", + "node_modules/foreground-child": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", + "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", "dev": true, "dependencies": { - "strip-ansi": "^3.0.0", - "wcwidth": "^1.0.0" + "cross-spawn": "^7.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8.0.0" } }, - "node_modules/columnify/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true, "engines": { - "node": ">=0.10.0" + "node": "*" } }, - "node_modules/columnify/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "dev": true, "dependencies": { - "ansi-regex": "^2.0.0" + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.12" } }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "node_modules/fromentries": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", + "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, "dependencies": { - "delayed-stream": "~1.0.0" + "minipass": "^3.0.0" }, "engines": { - "node": ">= 0.8" + "node": ">= 8" } }, - "node_modules/command-line-args": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.0.tgz", - "integrity": "sha512-4zqtU1hYsSJzcJBOcNZIbW5Fbk9BkjCp1pZVhQKoRaWL5J7N4XphDLwo8aWwdQpTugxwu+jf9u2ZhkXiqp5Z6A==", + "node_modules/fs-then-native": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fs-then-native/-/fs-then-native-2.0.0.tgz", + "integrity": "sha1-GaEk2U2QwiyOBF8ujdbr6jbUjGc=", "dev": true, - "dependencies": { - "array-back": "^3.1.0", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" - }, "engines": { "node": ">=4.0.0" } }, - "node_modules/command-line-args/node_modules/array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=6" + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/command-line-args/node_modules/typical": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", - "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "node_modules/gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "dev": true, - "engines": { - "node": ">=8" + "dependencies": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" } }, - "node_modules/command-line-tool": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/command-line-tool/-/command-line-tool-0.8.0.tgz", - "integrity": "sha512-Xw18HVx/QzQV3Sc5k1vy3kgtOeGmsKIqwtFFoyjI4bbcpSgnw2CWVULvtakyw4s6fhyAdI6soQQhXc2OzJy62g==", + "node_modules/gauge/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true, - "dependencies": { - "ansi-escape-sequences": "^4.0.0", - "array-back": "^2.0.0", - "command-line-args": "^5.0.0", - "command-line-usage": "^4.1.0", - "typical": "^2.6.1" - }, "engines": { - "node": ">=4.0.0" + "node": ">=0.10.0" } }, - "node_modules/command-line-tool/node_modules/array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", + "node_modules/gauge/node_modules/aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "node_modules/gauge/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "dependencies": { - "typical": "^2.6.1" + "number-is-nan": "^1.0.0" }, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, - "node_modules/command-line-usage": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-4.1.0.tgz", - "integrity": "sha512-MxS8Ad995KpdAC0Jopo/ovGIroV/m0KHwzKfXxKag6FHOkGsH8/lv5yjgablcRxCJJC0oJeUMuO/gmaq+Wq46g==", + "node_modules/gauge/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "dependencies": { - "ansi-escape-sequences": "^4.0.0", - "array-back": "^2.0.0", - "table-layout": "^0.4.2", - "typical": "^2.6.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" }, "engines": { - "node": ">=4.0.0" + "node": ">=0.10.0" } }, - "node_modules/command-line-usage/node_modules/array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", + "node_modules/gauge/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "dependencies": { - "typical": "^2.6.1" + "ansi-regex": "^2.0.0" }, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, - "node_modules/commander": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", - "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" - }, - "node_modules/common-sequence": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/common-sequence/-/common-sequence-2.0.2.tgz", - "integrity": "sha512-jAg09gkdkrDO9EWTdXfv80WWH3yeZl5oT69fGfedBNS9pXUKYInVJ1bJ+/ht2+Moeei48TmSbQDYMc8EOx9G0g==", + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, "engines": { - "node": ">=8" + "node": ">=6.9.0" } }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } }, - "node_modules/compare-func": { + "node_modules/get-func-name": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", "dev": true, - "dependencies": { - "array-ify": "^1.0.0", - "dot-prop": "^5.1.0" + "engines": { + "node": "*" } }, - "node_modules/compare-func/node_modules/dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", "dev": true, "dependencies": { - "is-obj": "^2.0.0" + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=8.0.0" } }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" + "node_modules/get-pkg-repo": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", + "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", + "dev": true, + "dependencies": { + "@hutson/parse-repository-url": "^3.0.0", + "hosted-git-info": "^4.0.0", + "through2": "^2.0.0", + "yargs": "^16.2.0" + }, + "bin": { + "get-pkg-repo": "src/cli.js" + }, + "engines": { + "node": ">=6.9.0" + } }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "node_modules/get-pkg-repo/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, - "node_modules/concat-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", - "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "node_modules/get-pkg-repo/node_modules/readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dev": true, - "engines": [ - "node >= 6.0" - ], "dependencies": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.0.2", - "typedarray": "^0.0.6" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" } }, - "node_modules/config-chain": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", + "node_modules/get-pkg-repo/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "dependencies": { - "ini": "^1.3.4", - "proto-list": "~1.2.1" + "safe-buffer": "~5.1.0" } }, - "node_modules/config-master": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/config-master/-/config-master-3.1.0.tgz", - "integrity": "sha1-ZnZjWQUFooO/JqSE1oSJ10xUhdo=", + "node_modules/get-pkg-repo/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, "dependencies": { - "walk-back": "^2.0.1" + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" } }, - "node_modules/config-master/node_modules/walk-back": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-2.0.1.tgz", - "integrity": "sha1-VU4qnYdPrEeoywBr9EwvDEmYoKQ=", + "node_modules/get-port": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz", + "integrity": "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/configstore": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", - "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", - "dependencies": { - "dot-prop": "^5.2.0", - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "unique-string": "^2.0.0", - "write-file-atomic": "^3.0.0", - "xdg-basedir": "^4.0.0" - }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/configstore/node_modules/dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, "dependencies": { - "is-obj": "^2.0.0" + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" }, "engines": { - "node": ">=8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "dev": true - }, - "node_modules/container-image-builder": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/container-image-builder/-/container-image-builder-3.2.0.tgz", - "integrity": "sha512-HHo1h+yqesR/2jqWsebzljuQAUuDCkyrtOUgAtJyvW1hZedzILPWnDiCFM8t5UqjwkFwta9RMrb8p3e4V8s6NA==", + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, "dependencies": { - "google-auth-library": "^5.1.0", - "micromatch": "^3.1.10", - "p-retry": "^3.0.1", - "request": "^2.88.0", - "tar": "^4.4.8", - "walkdir": "^0.4.0" - } - }, - "node_modules/container-image-builder/node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "engines": { - "node": ">=8" + "assert-plus": "^1.0.0" } }, - "node_modules/container-image-builder/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "node_modules/git-raw-commits": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.10.tgz", + "integrity": "sha512-sHhX5lsbG9SOO6yXdlwgEMQ/ljIn7qMpAbJZCGfXX2fq5T8M5SrDnpYk9/4HswTildcIqatsWa91vty6VhWSaQ==", + "dev": true, "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" + "dargs": "^7.0.0", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "split2": "^3.0.0", + "through2": "^4.0.0" + }, + "bin": { + "git-raw-commits": "cli.js" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/container-image-builder/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "node_modules/git-remote-origin-url": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", + "integrity": "sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=", + "dev": true, "dependencies": { - "is-extendable": "^0.1.0" + "gitconfiglocal": "^1.0.0", + "pify": "^2.3.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/container-image-builder/node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - }, - "node_modules/container-image-builder/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, + "node_modules/git-remote-origin-url/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/container-image-builder/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "node_modules/git-semver-tags": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", + "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", + "dev": true, "dependencies": { - "is-extendable": "^0.1.0" + "meow": "^8.0.0", + "semver": "^6.0.0" + }, + "bin": { + "git-semver-tags": "cli.js" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/container-image-builder/node_modules/fs-minipass": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", - "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", - "dependencies": { - "minipass": "^2.6.0" + "node_modules/git-semver-tags/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" } }, - "node_modules/container-image-builder/node_modules/gaxios": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", - "integrity": "sha512-US8UMj8C5pRnao3Zykc4AAVr+cffoNKRTg9Rsf2GiuZCW69vgJj38VK2PzlPuQU73FZ/nTk9/Av6/JGcE1N9vA==", + "node_modules/git-up": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/git-up/-/git-up-4.0.5.tgz", + "integrity": "sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA==", + "dev": true, "dependencies": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.3.0" - }, - "engines": { - "node": ">=8.10.0" + "is-ssh": "^1.3.0", + "parse-url": "^6.0.0" } }, - "node_modules/container-image-builder/node_modules/gcp-metadata": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-3.5.0.tgz", - "integrity": "sha512-ZQf+DLZ5aKcRpLzYUyBS3yo3N0JSa82lNDO8rj3nMSlovLcz2riKFBsYgDzeXcv75oo5eqB2lx+B14UvPoCRnA==", + "node_modules/git-url-parse": { + "version": "11.6.0", + "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.6.0.tgz", + "integrity": "sha512-WWUxvJs5HsyHL6L08wOusa/IXYtMuCAhrMmnTjQPpBU0TTHyDhnOATNH3xNQz7YOQUsqIIPTGr4xiVti1Hsk5g==", + "dev": true, "dependencies": { - "gaxios": "^2.1.0", - "json-bigint": "^0.3.0" - }, - "engines": { - "node": ">=8.10.0" + "git-up": "^4.0.0" } }, - "node_modules/container-image-builder/node_modules/google-auth-library": { - "version": "5.10.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.10.1.tgz", - "integrity": "sha512-rOlaok5vlpV9rSiUu5EpR0vVpc+PhN62oF4RyX/6++DG1VsaulAFEMlDYBLjJDDPI6OcNOCGAKy9UVB/3NIDXg==", + "node_modules/gitconfiglocal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", + "integrity": "sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=", + "dev": true, "dependencies": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^2.1.0", - "gcp-metadata": "^3.4.0", - "gtoken": "^4.1.0", - "jws": "^4.0.0", - "lru-cache": "^5.0.0" - }, - "engines": { - "node": ">=8.10.0" + "ini": "^1.3.2" } }, - "node_modules/container-image-builder/node_modules/google-p12-pem": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.5.tgz", - "integrity": "sha512-7RLkxwSsMsYh9wQ5Vb2zRtkAHvqPvfoMGag+nugl1noYO7gf0844Yr9TIFA5NEBMAeVt2Z+Imu7CQMp3oNatzQ==", + "node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, "dependencies": { - "node-forge": "^0.10.0" - }, - "bin": { - "gp12-pem": "build/src/bin/gp12-pem.js" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, "engines": { - "node": ">=8.10.0" + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/container-image-builder/node_modules/gtoken": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-4.1.4.tgz", - "integrity": "sha512-VxirzD0SWoFUo5p8RDP8Jt2AGyOmyYcT/pOUgDKJCK+iSw0TMqwrVfY37RXTNmoKwrzmDHSk0GMT9FsgVmnVSA==", + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, "dependencies": { - "gaxios": "^2.1.0", - "google-p12-pem": "^2.0.0", - "jws": "^4.0.0", - "mime": "^2.2.0" + "is-glob": "^4.0.1" }, "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/container-image-builder/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "engines": { - "node": ">=0.10.0" + "node": ">= 6" } }, - "node_modules/container-image-builder/node_modules/is-number": { + "node_modules/global-dirs": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", + "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", + "dev": true, "dependencies": { - "kind-of": "^3.0.2" + "ini": "2.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/container-image-builder/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, + "node_modules/global-dirs/node_modules/ini": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", + "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/container-image-builder/node_modules/json-bigint": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.1.tgz", - "integrity": "sha512-DGWnSzmusIreWlEupsUelHrhwmPPE+FiQvg+drKfk2p+bdEYa5mp4PJ8JsCWqae0M2jQNb0HPvnwvf1qOTThzQ==", + "node_modules/globals": { + "version": "13.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.0.tgz", + "integrity": "sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==", + "dev": true, "dependencies": { - "bignumber.js": "^9.0.0" + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/container-image-builder/node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "node_modules/globby": { + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", + "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", + "dev": true, "dependencies": { - "yallist": "^3.0.2" + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.1.1", + "ignore": "^5.1.4", + "merge2": "^1.3.0", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/container-image-builder/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "node_modules/got": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", + "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", + "dev": true, "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8.6" } }, - "node_modules/container-image-builder/node_modules/mime": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", - "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==", - "bin": { - "mime": "cli.js" + "node_modules/got/node_modules/get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" }, "engines": { - "node": ">=4.0.0" + "node": ">=6" } }, - "node_modules/container-image-builder/node_modules/minipass": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", - "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", - "dependencies": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } + "node_modules/graceful-fs": { + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", + "dev": true }, - "node_modules/container-image-builder/node_modules/minizlib": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", - "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", - "dependencies": { - "minipass": "^2.9.0" + "node_modules/growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", + "dev": true, + "engines": { + "node": ">=4.x" } }, - "node_modules/container-image-builder/node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "node_modules/grpc_tools_node_protoc_ts": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/grpc_tools_node_protoc_ts/-/grpc_tools_node_protoc_ts-5.2.2.tgz", + "integrity": "sha512-j8waJdU9uzNSyYJfEAGFFJdxP2C3k7RNkgI1dXxLB/iaT+D54p/RX1Wo+cHH2wPhBSE8hnv+BUv7HuEVT/XLPw==", + "dev": true, "dependencies": { - "minimist": "^1.2.5" + "google-protobuf": "3.15.8", + "handlebars": "4.7.7" }, "bin": { - "mkdirp": "bin/cmd.js" + "protoc-gen-ts": "bin/protoc-gen-ts" } }, - "node_modules/container-image-builder/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "node_modules/grpc_tools_node_protoc_ts/node_modules/google-protobuf": { + "version": "3.15.8", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.15.8.tgz", + "integrity": "sha512-2jtfdqTaSxk0cuBJBtTTWsot4WtR9RVr2rXg7x7OoqiuOKopPrwXpM1G4dXIkLcUNRh3RKzz76C8IOkksZSeOw==", + "dev": true }, - "node_modules/container-image-builder/node_modules/tar": { - "version": "4.4.19", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", - "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", + "node_modules/grpc-tools": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/grpc-tools/-/grpc-tools-1.11.1.tgz", + "integrity": "sha512-QNz6xuiyBuHXKu78bv5PAOzv/EBKkH54OgeTkHyFkic8TrY8oiifs6hozRJQxJb+L7k+udWYmPvfK76Pgt4JhA==", + "dev": true, + "hasInstallScript": true, "dependencies": { - "chownr": "^1.1.4", - "fs-minipass": "^1.2.7", - "minipass": "^2.9.0", - "minizlib": "^1.3.3", - "mkdirp": "^0.5.5", - "safe-buffer": "^5.2.1", - "yallist": "^3.1.1" + "node-pre-gyp": "^0.15.0" }, - "engines": { - "node": ">=4.5" + "bin": { + "grpc_tools_node_protoc": "bin/protoc.js", + "grpc_tools_node_protoc_plugin": "bin/protoc_plugin.js" } }, - "node_modules/container-image-builder/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "node_modules/handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "dev": true, "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/container-image-builder/node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" - }, - "node_modules/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "dependencies": { - "safe-buffer": "5.1.2" + "bin": { + "handlebars": "bin/handlebars" }, "engines": { - "node": ">= 0.6" + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" } }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true, "engines": { - "node": ">= 0.6" + "node": ">=4" } }, - "node_modules/conventional-changelog-angular": { - "version": "5.0.12", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz", - "integrity": "sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw==", + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", "dev": true, "dependencies": { - "compare-func": "^2.0.0", - "q": "^1.5.1" + "ajv": "^6.12.3", + "har-schema": "^2.0.0" }, "engines": { - "node": ">=10" + "node": ">=6" } }, - "node_modules/conventional-changelog-core": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.3.tgz", - "integrity": "sha512-MwnZjIoMRL3jtPH5GywVNqetGILC7g6RQFvdb8LRU/fA/338JbeWAku3PZ8yQ+mtVRViiISqJlb0sOz0htBZig==", + "node_modules/hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", "dev": true, - "dependencies": { - "add-stream": "^1.0.0", - "conventional-changelog-writer": "^5.0.0", - "conventional-commits-parser": "^3.2.0", - "dateformat": "^3.0.0", - "get-pkg-repo": "^4.0.0", - "git-raw-commits": "^2.0.8", - "git-remote-origin-url": "^2.0.0", - "git-semver-tags": "^4.1.1", - "lodash": "^4.17.15", - "normalize-package-data": "^3.0.0", - "q": "^1.5.1", - "read-pkg": "^3.0.0", - "read-pkg-up": "^3.0.0", - "through2": "^4.0.0" - }, "engines": { - "node": ">=10" + "node": ">=6" } }, - "node_modules/conventional-changelog-preset-loader": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", - "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, "engines": { - "node": ">=10" + "node": ">= 0.4.0" } }, - "node_modules/conventional-changelog-writer": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.0.tgz", - "integrity": "sha512-HnDh9QHLNWfL6E1uHz6krZEQOgm8hN7z/m7tT16xwd802fwgMN0Wqd7AQYVkhpsjDUx/99oo+nGgvKF657XP5g==", + "node_modules/has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", "dev": true, - "dependencies": { - "conventional-commits-filter": "^2.0.7", - "dateformat": "^3.0.0", - "handlebars": "^4.7.6", - "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "semver": "^6.0.0", - "split": "^1.0.0", - "through2": "^4.0.0" - }, - "bin": { - "conventional-changelog-writer": "cli.js" - }, - "engines": { - "node": ">=10" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/conventional-changelog-writer/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "bin": { - "semver": "bin/semver.js" + "engines": { + "node": ">=8" } }, - "node_modules/conventional-commits-filter": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", + "node_modules/has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", "dev": true, - "dependencies": { - "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.0" - }, "engines": { - "node": ">=10" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/conventional-commits-parser": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.1.tgz", - "integrity": "sha512-OG9kQtmMZBJD/32NEw5IhN5+HnBqVjy03eC+I71I0oQRFA5rOgA4OtPOYG7mz1GkCfCNxn3gKIX8EiHJYuf1cA==", + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", "dev": true, "dependencies": { - "is-text-path": "^1.0.1", - "JSONStream": "^1.0.4", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "split2": "^3.0.0", - "through2": "^4.0.0", - "trim-off-newlines": "^1.0.0" - }, - "bin": { - "conventional-commits-parser": "cli.js" + "has-symbols": "^1.0.2" }, "engines": { - "node": ">=10" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/conventional-recommended-bump": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", - "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", + "node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "node_modules/has-yarn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", + "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", "dev": true, - "dependencies": { - "concat-stream": "^2.0.0", - "conventional-changelog-preset-loader": "^2.3.4", - "conventional-commits-filter": "^2.0.7", - "conventional-commits-parser": "^3.2.0", - "git-raw-commits": "^2.0.8", - "git-semver-tags": "^4.1.1", - "meow": "^8.0.0", - "q": "^1.5.1" - }, - "bin": { - "conventional-recommended-bump": "cli.js" - }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "node_modules/hasha": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", + "integrity": "sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ==", "dev": true, "dependencies": { - "safe-buffer": "~5.1.1" - } - }, - "node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", + "is-stream": "^2.0.0", + "type-fest": "^0.8.0" + }, "engines": { - "node": ">= 0.6" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "node_modules/cookiejar": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-1.3.1.tgz", - "integrity": "sha1-wEsEj2iPgBYjrNkM1YSMK/iJGhc=" - }, - "node_modules/copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "node_modules/hasha/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } }, - "node_modules/cosmiconfig": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", - "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", + "node_modules/hosted-git-info": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", + "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", "dev": true, "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" + "lru-cache": "^6.0.0" }, "engines": { "node": ">=10" } }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true }, - "node_modules/cron-validate": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/cron-validate/-/cron-validate-1.4.3.tgz", - "integrity": "sha512-N+qKw019oQBEPIP5Qwi8Z5XelQ00ThN6Maahwv+9UGu2u/b/MPb35zngMQI0T8pBoNiBrIXGlhvsmspNSYae/w==", - "dependencies": { - "yup": "0.32.9" - } + "node_modules/http-cache-semantics": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "dev": true }, - "node_modules/cross-env": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", - "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "node_modules/http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", "dev": true, "dependencies": { - "cross-spawn": "^7.0.1" - }, - "bin": { - "cross-env": "src/bin/cross-env.js", - "cross-env-shell": "src/bin/cross-env-shell.js" + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" }, "engines": { - "node": ">=10.14", - "npm": ">=6", - "yarn": ">=1" + "node": ">= 6" } }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" }, "engines": { - "node": ">= 8" - } - }, - "node_modules/crypto-random-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", - "engines": { - "node": ">=8" + "node": ">=0.8", + "npm": ">=1.3.7" } }, - "node_modules/dargs": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", + "node_modules/https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dependencies": { - "assert-plus": "^1.0.0" + "agent-base": "6", + "debug": "4" }, "engines": { - "node": ">=0.10" + "node": ">= 6" } }, - "node_modules/dateformat": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, "engines": { - "node": "*" + "node": ">=10.17.0" } }, - "node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", + "dev": true, "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/debuglog": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", - "integrity": "sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=", - "dev": true, - "engines": { - "node": "*" + "ms": "^2.0.0" } }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "node_modules/husky": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/husky/-/husky-6.0.0.tgz", + "integrity": "sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==", "dev": true, - "engines": { - "node": ">=0.10.0" + "bin": { + "husky": "lib/bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" } }, - "node_modules/decamelize-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "dependencies": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" + "safer-buffer": ">= 2.1.2 < 3" }, "engines": { "node": ">=0.10.0" } }, - "node_modules/decamelize-keys/node_modules/map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "node_modules/ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">= 4" } }, - "node_modules/decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "engines": { - "node": ">=0.10" + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=", + "dev": true + }, + "node_modules/ignore-walk": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", + "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", + "dev": true, + "dependencies": { + "minimatch": "^3.0.4" } }, - "node_modules/decompress-response": { + "node_modules/import-fresh": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, "dependencies": { - "mimic-response": "^1.0.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", - "dev": true - }, - "node_modules/deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "dependencies": { - "type-detect": "^4.0.0" - }, + "node_modules/import-lazy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", + "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", + "dev": true, "engines": { - "node": ">=0.12" + "node": ">=4" } }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "node_modules/import-local": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.3.tgz", + "integrity": "sha512-bE9iaUY3CXH8Cwfan/abDKAxe1KGT9kyGsBPqf6DMK/z0a2OzAsrukeYNgIH6cH5Xr452jb1TUL8rSfCLjZ9uA==", + "dev": true, + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, "engines": { - "node": ">=4.0.0" + "node": ">=8" } }, - "node_modules/deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=0.8.19" } }, - "node_modules/default-require-extensions": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", - "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==", + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true, - "dependencies": { - "strip-bom": "^4.0.0" - }, "engines": { "node": ">=8" } }, - "node_modules/defaults": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", - "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "node_modules/infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "dev": true + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "dependencies": { - "clone": "^1.0.2" + "once": "^1.3.0", + "wrappy": "1" } }, - "node_modules/defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "node_modules/init-package-json": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-2.0.5.tgz", + "integrity": "sha512-u1uGAtEFu3VA6HNl/yUWw57jmKEMx8SKOxHhxjGnOFUiIlFnohKDFg4ZrPpv9wWqk44nDxGJAtqjdQFm+9XXQA==", + "dev": true, "dependencies": { - "object-keys": "^1.0.12" + "npm-package-arg": "^8.1.5", + "promzard": "^0.3.0", + "read": "~1.0.1", + "read-package-json": "^4.1.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "^3.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=10" } }, - "node_modules/define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "node_modules/init-package-json/node_modules/read-package-json": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.1.tgz", + "integrity": "sha512-P82sbZJ3ldDrWCOSKxJT0r/CXMWR0OR3KRh55SgKo3p91GSIEEC32v3lSHAvO/UcH3/IoL7uqhOFBduAnwdldw==", + "dev": true, "dependencies": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" + "glob": "^7.1.1", + "json-parse-even-better-errors": "^2.3.0", + "normalize-package-data": "^3.0.0", + "npm-normalize-package-bin": "^1.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "node_modules/inquirer": { + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", + "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.19", + "mute-stream": "0.0.8", + "run-async": "^2.4.0", + "rxjs": "^6.6.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6" + }, "engines": { - "node": ">=0.4.0" + "node": ">=8.0.0" } }, - "node_modules/delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", - "dev": true - }, - "node_modules/denque": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", - "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, "engines": { - "node": ">=0.10" + "node": ">= 0.4" } }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } + "node_modules/ip": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", + "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", + "dev": true }, - "node_modules/deprecation": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "node_modules/destroy": { + "node_modules/is-bigint": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "node_modules/detect-indent": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", - "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, - "engines": { - "node": ">=8" + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "bin": { - "detect-libc": "bin/detect-libc.js" + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" }, "engines": { - "node": ">=0.10" + "node": ">=8" } }, - "node_modules/dezalgo": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz", - "integrity": "sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY=", + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, "dependencies": { - "asap": "^2.0.0", - "wrappy": "1" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/diff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", - "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", "dev": true, "engines": { - "node": ">=0.3.1" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, "dependencies": { - "path-type": "^4.0.0" + "ci-info": "^2.0.0" }, - "engines": { - "node": ">=8" + "bin": { + "is-ci": "bin.js" } }, - "node_modules/dmd": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/dmd/-/dmd-6.0.0.tgz", - "integrity": "sha512-PwWZlqZnJPETwqZZ70haRa+UDZcD5jeBD3ywW1Kf+jYYv0MHu/S7Ri9jsSoeTMwkcMVW9hXOMA1IZUMEufBhOg==", + "node_modules/is-core-module": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", + "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", "dev": true, "dependencies": { - "array-back": "^5.0.0", - "cache-point": "^2.0.0", - "common-sequence": "^2.0.0", - "file-set": "^4.0.1", - "handlebars": "^4.7.7", - "marked": "^2.0.0", - "object-get": "^2.1.1", - "reduce-flatten": "^3.0.0", - "reduce-unique": "^2.0.1", - "reduce-without": "^1.0.1", - "test-value": "^3.0.0", - "walk-back": "^5.0.0" + "has": "^1.0.3" }, - "engines": { - "node": ">=14" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/docker-modem": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.0.tgz", - "integrity": "sha512-WwFajJ8I5geZ/dDZ5FDMDA6TBkWa76xWwGIGw8uzUjNUGCN0to83wJ8Oi1AxrJTC0JBn+7fvIxUctnawtlwXeg==", + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "dependencies": { - "debug": "^4.1.1", - "readable-stream": "^3.5.0", - "split-ca": "^1.0.1", - "ssh2": "^0.8.7" + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">= 8.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/dockerode": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.0.tgz", - "integrity": "sha512-St08lfOjpYCOXEM8XA0VLu3B3hRjtddODphNW5GFoA0AS3JHgoPQKOz0Qmdzg3P+hUPxhb02g1o1Cu1G+U3lRg==", - "dependencies": { - "docker-modem": "^3.0.0", - "tar-fs": "~2.0.1" - }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, "engines": { - "node": ">= 8.0" + "node": ">=0.10.0" } }, - "node_modules/doctrine": { + "node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, "engines": { - "node": ">=6.0.0" + "node": ">=8" } }, - "node_modules/dot-prop": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz", - "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==", + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "dependencies": { - "is-obj": "^2.0.0" + "is-extglob": "^2.1.1" }, "engines": { - "node": ">=10" + "node": ">=0.10.0" } }, - "node_modules/dotenv": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", - "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==", + "node_modules/is-installed-globally": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", + "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", "dev": true, + "dependencies": { + "global-dirs": "^3.0.0", + "is-path-inside": "^3.0.2" + }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/duplexer": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "node_modules/is-lambda": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", + "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=", "dev": true }, - "node_modules/duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" + "node_modules/is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "node_modules/duplexify": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", - "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", - "dependencies": { - "end-of-stream": "^1.4.1", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1", - "stream-shift": "^1.0.0" + "node_modules/is-npm": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz", + "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dependencies": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" } }, - "node_modules/ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "node_modules/is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, "dependencies": { - "safe-buffer": "^5.0.1" + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/electron-to-chromium": { - "version": "1.3.813", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.813.tgz", - "integrity": "sha512-YcSRImHt6JZZ2sSuQ4Bzajtk98igQ0iKkksqlzZLzbh4p0OIyJRSvUbsgqfcR8txdfsoYCc4ym306t4p2kP/aw==", - "dev": true - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/enabled": { + "node_modules/is-obj": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true, "engines": { - "node": ">= 0.8" + "node": ">=8" } }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dependencies": { - "iconv-lite": "^0.6.2" + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" } }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" + "node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, "dependencies": { - "ansi-colors": "^4.1.1" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">=8.6" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" + "node_modules/is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "node_modules/entities": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz", - "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==", - "dev": true + "node_modules/is-ssh": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.3.tgz", + "integrity": "sha512-NKzJmQzJfEEma3w5cJNcUMxoXfDjz0Zj0eyCalHn2E6VOwlzjZo0yuO2fcBSf8zhFuVCL/82/r5gRcoi6aEPVQ==", + "dev": true, + "dependencies": { + "protocols": "^1.1.0" + } }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, "engines": { - "node": ">=6" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/envinfo": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", - "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", "dev": true, - "bin": { - "envinfo": "dist/cli.js" + "dependencies": { + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">=4" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/err-code": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "dev": true - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, "dependencies": { - "is-arrayish": "^0.2.1" + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/es-abstract": { - "version": "1.18.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.5.tgz", - "integrity": "sha512-DDggyJLoS91CkJjgauM5c0yZMjiD1uK3KcaCeAmffGwZ+ODWzOkPN4QwRbsK5DOFf06fywmyLci3ZD8jLGhVYA==", + "node_modules/is-text-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", + "integrity": "sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4=", + "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.3", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.11.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" + "text-extensions": "^1.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=0.10.0" } }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "node_modules/is-weakref": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz", + "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==", + "dev": true, "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "call-bind": "^1.0.0" }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, "engines": { - "node": ">= 0.4" + "node": ">=0.10.0" } }, - "node_modules/es6-error": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", - "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" + "node_modules/is-yarn-global": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", + "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==", + "dev": true }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, "engines": { - "node": ">=6" + "node": ">=0.10.0" } }, - "node_modules/escape-goat": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", - "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "dev": true, "engines": { "node": ">=8" } }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + "node_modules/istanbul-lib-hook": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", + "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", + "dev": true, + "dependencies": { + "append-transform": "^2.0.0" + }, + "engines": { + "node": ">=8" + } }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "node_modules/istanbul-lib-instrument": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/eslint": { - "version": "7.32.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz", - "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/istanbul-lib-processinfo": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.2.tgz", + "integrity": "sha512-kOwpa7z9hme+IBPZMzQ5vdQj8srYgAtaRqeI48NGmAQ+/5yKiHLV0QbYqQpxsdEF0+w14SoB8YbnHKcXE2KnYw==", "dev": true, "dependencies": { - "@babel/code-frame": "7.12.11", - "@eslint/eslintrc": "^0.4.3", - "@humanwhocodes/config-array": "^0.5.0", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.0.1", - "doctrine": "^3.0.0", - "enquirer": "^2.3.5", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^2.1.0", - "eslint-visitor-keys": "^2.0.0", - "espree": "^7.3.1", - "esquery": "^1.4.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^5.1.2", - "globals": "^13.6.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^3.13.1", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.0.4", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "progress": "^2.0.0", - "regexpp": "^3.1.0", - "semver": "^7.2.1", - "strip-ansi": "^6.0.0", - "strip-json-comments": "^3.1.0", - "table": "^6.0.9", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "bin": { - "eslint": "bin/eslint.js" + "archy": "^1.0.0", + "cross-spawn": "^7.0.0", + "istanbul-lib-coverage": "^3.0.0-alpha.1", + "make-dir": "^3.0.0", + "p-map": "^3.0.0", + "rimraf": "^3.0.0", + "uuid": "^3.3.3" }, "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/eslint-config-google": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/eslint-config-google/-/eslint-config-google-0.14.0.tgz", - "integrity": "sha512-WsbX4WbjuMvTdeVL6+J3rK1RGhCTqjsFjX7UMSMgZiyxxaNLkoJENbrGExzERFeoTpGw3F3FypTiWAP9ZXzkEw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-config-prettier": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz", - "integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==", - "dev": true, - "bin": { - "eslint-config-prettier": "bin/cli.js" - } - }, - "node_modules/eslint-plugin-no-loops": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-no-loops/-/eslint-plugin-no-loops-0.3.0.tgz", - "integrity": "sha1-6B/stOqvSUqSbZyrqafNhNH+3n0=", - "dev": true - }, - "node_modules/eslint-plugin-notice": { - "version": "0.9.10", - "resolved": "https://registry.npmjs.org/eslint-plugin-notice/-/eslint-plugin-notice-0.9.10.tgz", - "integrity": "sha512-rF79EuqdJKu9hhTmwUkNeSvLmmq03m/NXq/NHwUENHbdJ0wtoyOjxZBhW4QCug8v5xYE6cGe3AWkGqSIe9KUbQ==", - "dev": true, - "dependencies": { - "find-root": "^1.1.0", - "lodash": "^4.17.15", - "metric-lcs": "^0.1.2" + "node": ">=8" } }, - "node_modules/eslint-plugin-prettier": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.0.tgz", - "integrity": "sha512-UDK6rJT6INSfcOo545jiaOwB701uAIt2/dR7WnFQoGCVl1/EMqdANBmwUaqqQ45aXprsTGzSa39LI1PyuRBxxw==", + "node_modules/istanbul-lib-processinfo/node_modules/p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", "dev": true, "dependencies": { - "prettier-linter-helpers": "^1.0.0" + "aggregate-error": "^3.0.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=8" } }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "node_modules/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=8" } }, - "node_modules/eslint-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", - "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", "dev": true, "dependencies": { - "eslint-visitor-keys": "^2.0.0" + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" }, - "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, "engines": { "node": ">=10" } }, - "node_modules/eslint/node_modules/eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "node_modules/istanbul-reports": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.5.tgz", + "integrity": "sha512-5+19PlhnGabNWB7kOFnuxT8H3T/iIyQzIbQMxXsURmmvKg86P2sbkrGOT77VnHw0Qr0gc2XzRaRfMZYYbSQCJQ==", "dev": true, "dependencies": { - "eslint-visitor-keys": "^1.1.0" + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/eslint/node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true, - "engines": { - "node": ">=4" - } + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, - "node_modules/espree": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", - "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, "dependencies": { - "acorn": "^7.4.0", - "acorn-jsx": "^5.3.1", - "eslint-visitor-keys": "^1.3.0" + "argparse": "^1.0.7", + "esprima": "^4.0.0" }, - "engines": { - "node": "^10.12.0 || >=12.0.0" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/espree/node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "node_modules/js2xmlparser": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", + "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", "dev": true, - "engines": { - "node": ">=4" + "dependencies": { + "xmlcreate": "^2.0.4" } }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "node_modules/jsdoc": { + "version": "3.6.7", + "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.7.tgz", + "integrity": "sha512-sxKt7h0vzCd+3Y81Ey2qinupL6DpRSZJclS04ugHDNmRUXGzqicMJ6iwayhSA0S0DwwX30c5ozyUthr1QKF6uw==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.9.4", + "bluebird": "^3.7.2", + "catharsis": "^0.9.0", + "escape-string-regexp": "^2.0.0", + "js2xmlparser": "^4.0.1", + "klaw": "^3.0.0", + "markdown-it": "^10.0.0", + "markdown-it-anchor": "^5.2.7", + "marked": "^2.0.3", + "mkdirp": "^1.0.4", + "requizzle": "^0.2.3", + "strip-json-comments": "^3.1.0", + "taffydb": "2.6.2", + "underscore": "~1.13.1" + }, "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" + "jsdoc": "jsdoc.js" }, "engines": { - "node": ">=4" + "node": ">=8.15.0" } }, - "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "node_modules/jsdoc-api": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-7.1.0.tgz", + "integrity": "sha512-yjIiZa6LFOgd0dyFW/R+3unnVUhhbU1CeBhisgjBPRHkar83rkgDtTMRdgQotSvt+pGlmknZqfwR5AQuMh9/6w==", "dev": true, "dependencies": { - "estraverse": "^5.1.0" + "array-back": "^6.2.0", + "cache-point": "^2.0.0", + "collect-all": "^1.0.4", + "file-set": "^4.0.2", + "fs-then-native": "^2.0.0", + "jsdoc": "^3.6.7", + "object-to-spawn-args": "^2.0.1", + "temp-path": "^1.0.0", + "walk-back": "^5.1.0" }, "engines": { - "node": ">=0.10" + "node": ">=12.17" } }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "node_modules/jsdoc-parse": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/jsdoc-parse/-/jsdoc-parse-6.0.1.tgz", + "integrity": "sha512-ij3Az5y2dp+ajMxYnEJH7kjKK5v6+yZ3Cg/KtRdoT15pIm6qTk/W8q72QdNLZ9jQm/U2/ifENFXXTOe6xIxGeA==", "dev": true, + "dependencies": { + "array-back": "^6.1.1", + "lodash.omit": "^4.5.0", + "lodash.pick": "^4.4.0", + "reduce-extract": "^1.0.0", + "sort-array": "^4.1.4", + "test-value": "^3.0.0" + }, "engines": { - "node": ">=4.0" + "node": ">=14" } }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "node_modules/jsdoc-to-markdown": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-7.1.0.tgz", + "integrity": "sha512-LJAiwrUaOpPqOmllqnVVqfBZh6KI/rHHfSwL7DerTpjLQWHfpndz/JUNlF5ngYjbL4aHNf7uJ1TuXl6xGfq5rg==", "dev": true, "dependencies": { - "estraverse": "^5.2.0" + "array-back": "^6.2.0", + "command-line-tool": "^0.8.0", + "config-master": "^3.1.0", + "dmd": "^6.0.0", + "jsdoc-api": "^7.1.0", + "jsdoc-parse": "^6.0.1", + "walk-back": "^5.1.0" + }, + "bin": { + "jsdoc2md": "bin/cli.js" }, "engines": { - "node": ">=4.0" + "node": ">=12.17" } }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "node_modules/jsdoc/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true, "engines": { - "node": ">=4.0" + "node": ">=8" } }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, "engines": { - "node": ">=4.0" + "node": ">=4" } }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } + "node_modules/json-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", + "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", + "dev": true }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "engines": { - "node": ">= 0.6" - } + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true }, - "node_modules/event-lite": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", - "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } + "node_modules/json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true }, - "node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", "dev": true, "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" + "minimist": "^1.2.5" + }, + "bin": { + "json5": "lib/cli.js" }, "engines": { - "node": ">=10" + "node": ">=6" } }, - "node_modules/expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", + "dev": true, + "engines": [ + "node >= 0.2.0" + ] + }, + "node_modules/JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, "dependencies": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + }, + "bin": { + "JSONStream": "bin.js" }, "engines": { - "node": ">=0.10.0" + "node": "*" } }, - "node_modules/expand-brackets/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "node_modules/jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], "dependencies": { - "ms": "2.0.0" + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" } }, - "node_modules/expand-brackets/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "node_modules/just-extend": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", + "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", + "dev": true + }, + "node_modules/keyv": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", + "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "dev": true, "dependencies": { - "is-descriptor": "^0.1.0" - }, + "json-buffer": "3.0.0" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/expand-brackets/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "node_modules/klaw": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", + "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", + "dev": true, "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" + "graceful-fs": "^4.1.9" } }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "node_modules/latest-version": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", + "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", + "dev": true, "dependencies": { - "kind-of": "^3.0.2" + "package-json": "^6.3.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "node_modules/lerna": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-4.0.0.tgz", + "integrity": "sha512-DD/i1znurfOmNJb0OBw66NmNqiM8kF6uIrzrJ0wGE3VNdzeOhz9ziWLYiRaZDGGwgbcjOo6eIfcx9O5Qynz+kg==", + "dev": true, "dependencies": { - "is-buffer": "^1.1.5" + "@lerna/add": "4.0.0", + "@lerna/bootstrap": "4.0.0", + "@lerna/changed": "4.0.0", + "@lerna/clean": "4.0.0", + "@lerna/cli": "4.0.0", + "@lerna/create": "4.0.0", + "@lerna/diff": "4.0.0", + "@lerna/exec": "4.0.0", + "@lerna/import": "4.0.0", + "@lerna/info": "4.0.0", + "@lerna/init": "4.0.0", + "@lerna/link": "4.0.0", + "@lerna/list": "4.0.0", + "@lerna/publish": "4.0.0", + "@lerna/run": "4.0.0", + "@lerna/version": "4.0.0", + "import-local": "^3.0.2", + "npmlog": "^4.1.2" + }, + "bin": { + "lerna": "cli.js" }, "engines": { - "node": ">=0.10.0" + "node": ">= 10.18.0" } }, - "node_modules/expand-brackets/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, "dependencies": { - "kind-of": "^3.0.2" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.8.0" } }, - "node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "node_modules/libnpmaccess": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-4.0.3.tgz", + "integrity": "sha512-sPeTSNImksm8O2b6/pf3ikv4N567ERYEpeKRPSmqlNt1dTZbvgpJIzg5vAhXHpw2ISBsELFRelk0jEahj1c6nQ==", + "dev": true, "dependencies": { - "is-buffer": "^1.1.5" + "aproba": "^2.0.0", + "minipass": "^3.1.1", + "npm-package-arg": "^8.1.2", + "npm-registry-fetch": "^11.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/expand-brackets/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "node_modules/libnpmaccess/node_modules/make-fetch-happen": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", + "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", + "dev": true, "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">= 10" } }, - "node_modules/expand-brackets/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "node_modules/libnpmaccess/node_modules/npm-registry-fetch": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", + "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "dev": true, + "dependencies": { + "make-fetch-happen": "^9.0.1", + "minipass": "^3.1.3", + "minipass-fetch": "^1.3.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.0.0", + "npm-package-arg": "^8.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/expand-brackets/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "node_modules/libnpmaccess/node_modules/socks-proxy-agent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz", + "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==", + "dev": true, + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.1", + "socks": "^2.6.1" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 10" } }, - "node_modules/expand-brackets/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "dependencies": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/express-ws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", - "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", + "node_modules/libnpmpublish": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-4.0.2.tgz", + "integrity": "sha512-+AD7A2zbVeGRCFI2aO//oUmapCwy7GHqPXFJh3qpToSRNU+tXKJ2YFUgjt04LPPAf2dlEH95s6EhIHM1J7bmOw==", + "dev": true, "dependencies": { - "ws": "^5.2.0" + "normalize-package-data": "^3.0.2", + "npm-package-arg": "^8.1.2", + "npm-registry-fetch": "^11.0.0", + "semver": "^7.1.3", + "ssri": "^8.0.1" }, "engines": { - "node": ">=4.5.0" - }, - "peerDependencies": { - "express": "^4.0.0 || ^5.0.0-alpha.1" + "node": ">=10" } }, - "node_modules/express-ws/node_modules/ws": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", - "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", + "node_modules/libnpmpublish/node_modules/make-fetch-happen": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", + "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", + "dev": true, "dependencies": { - "async-limiter": "~1.0.0" + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" + }, + "engines": { + "node": ">= 10" } }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "node_modules/libnpmpublish/node_modules/npm-registry-fetch": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", + "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "dev": true, "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/express/node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "node_modules/express/node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", + "make-fetch-happen": "^9.0.1", + "minipass": "^3.1.3", + "minipass-fetch": "^1.3.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.0.0", + "npm-package-arg": "^8.0.0" + }, "engines": { - "node": ">=0.6" + "node": ">=10" } }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "node_modules/libnpmpublish/node_modules/socks-proxy-agent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz", + "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==", + "dev": true, "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "agent-base": "^6.0.2", + "debug": "^4.3.1", + "socks": "^2.6.1" }, "engines": { - "node": ">=0.10.0" + "node": ">= 10" } }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "node_modules/lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, + "node_modules/linkify-it": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", + "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "dev": true, "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" + "uc.micro": "^1.0.1" } }, - "node_modules/extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "node_modules/load-json-file": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz", + "integrity": "sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==", + "dev": true, "dependencies": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "graceful-fs": "^4.1.15", + "parse-json": "^5.0.0", + "strip-bom": "^4.0.0", + "type-fest": "^0.6.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/extglob/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dependencies": { - "is-descriptor": "^1.0.0" - }, + "node_modules/load-json-file/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/extglob/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, "dependencies": { - "is-extendable": "^0.1.0" + "p-locate": "^5.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/extglob/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "engines": { - "node": ">=0.10.0" - } + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, - "node_modules/extract-stack": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/extract-stack/-/extract-stack-2.0.0.tgz", - "integrity": "sha512-AEo4zm+TenK7zQorGK1f9mJ8L14hnTDi2ZQPR+Mub1NX8zimka1mXpV5LpH8x9HoUmFSHZCfLHqWvp0Y4FxxzQ==", - "engines": { - "node": ">=8" - } + "node_modules/lodash._reinterpolate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", + "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=", + "dev": true }, - "node_modules/extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "engines": [ - "node >=0.6.0" - ] + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "node_modules/lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true }, - "node_modules/fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", + "node_modules/lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", "dev": true }, - "node_modules/fast-glob": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", - "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8" - } + "node_modules/lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", + "dev": true }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "node_modules/lodash.ismatch": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", + "integrity": "sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc=", + "dev": true }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lodash.omit": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", + "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=", + "dev": true }, - "node_modules/fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" + "node_modules/lodash.padend": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/lodash.padend/-/lodash.padend-4.6.1.tgz", + "integrity": "sha1-U8y6BH0G4VjTEfRdpiX05J5vFm4=", + "dev": true }, - "node_modules/fast-text-encoding": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", - "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" + "node_modules/lodash.pick": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", + "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", + "dev": true }, - "node_modules/fast-xml-parser": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz", - "integrity": "sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==", - "bin": { - "xml2js": "cli.js" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/naturalintelligence" + "node_modules/lodash.template": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", + "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", + "dev": true, + "dependencies": { + "lodash._reinterpolate": "^3.0.0", + "lodash.templatesettings": "^4.0.0" } }, - "node_modules/fastq": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.12.0.tgz", - "integrity": "sha512-VNX0QkHK3RsXVKr9KrlUv/FoTa0NdbYoHHl7uXHv2rzyHSlxjdNAKug2twd9luJxpcyNeAgf5iPPMutJO67Dfg==", + "node_modules/lodash.templatesettings": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz", + "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==", + "dev": true, "dependencies": { - "reusify": "^1.0.4" + "lodash._reinterpolate": "^3.0.0" } }, - "node_modules/fecha": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", - "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" + "node_modules/lodash.truncate": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", + "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", + "dev": true }, - "node_modules/fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "hasInstallScript": true, + "node_modules/log-symbols": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", + "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==", + "dev": true, "dependencies": { - "detect-libc": "^1.0.3" + "chalk": "^4.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=10" } }, - "node_modules/figlet": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.5.2.tgz", - "integrity": "sha512-WOn21V8AhyE1QqVfPIVxe3tupJacq1xGkPTB4iagT6o+P2cAgEOOwIxMftr4+ZCTI6d551ij9j61DFr0nsP2uQ==", - "engines": { - "node": ">= 0.4.0" + "node_modules/lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "dev": true, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/figures": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, "dependencies": { - "escape-string-regexp": "^1.0.5" + "yallist": "^4.0.0" }, "engines": { - "node": ">=8" - } - }, - "node_modules/figures/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "engines": { - "node": ">=0.8.0" + "node": ">=10" } }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, "dependencies": { - "flat-cache": "^3.0.4" + "semver": "^6.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/file-set": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/file-set/-/file-set-4.0.2.tgz", - "integrity": "sha512-fuxEgzk4L8waGXaAkd8cMr73Pm0FxOVkn8hztzUW7BAHhOGH90viQNXbiOsnecCWmfInqU6YmAMwxRMdKETceQ==", + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true, - "dependencies": { - "array-back": "^5.0.0", - "glob": "^7.1.6" - }, - "engines": { - "node": ">=10" + "bin": { + "semver": "bin/semver.js" } }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "node_modules/make-fetch-happen": { + "version": "8.0.14", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz", + "integrity": "sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ==", + "dev": true, "dependencies": { - "to-regex-range": "^5.0.1" + "agentkeepalive": "^4.1.3", + "cacache": "^15.0.5", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^5.0.0", + "ssri": "^8.0.0" }, "engines": { - "node": ">=8" + "node": ">= 10" } }, - "node_modules/filter-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", - "integrity": "sha1-mzERErxsYSehbgFsbF1/GeCAXFs=", + "node_modules/map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "node_modules/markdown-it": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", + "integrity": "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==", + "dev": true, "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" + "argparse": "^1.0.7", + "entities": "~2.0.0", + "linkify-it": "^2.0.0", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" }, - "engines": { - "node": ">= 0.8" + "bin": { + "markdown-it": "bin/markdown-it.js" } }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" + "node_modules/markdown-it-anchor": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.3.0.tgz", + "integrity": "sha512-/V1MnLL/rgJ3jkMWo84UR+K+jF1cxNG1a+KwqeXqTIJ+jtA8aWSHuigx8lTzauiIjBDbwF3NcWQMotd0Dm39jA==", + "dev": true, + "peerDependencies": { + "markdown-it": "*" } }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", + "node_modules/marked": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/marked/-/marked-2.1.3.tgz", + "integrity": "sha512-/Q+7MGzaETqifOMWYEA7HVMaZb4XbcRfaOzcSsHZEith83KGlvaSG33u0SKu89Mj5h+T8V2hM+8O45Qc5XTgwA==", "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" + "bin": { + "marked": "bin/marked" }, "engines": { - "node": ">=8" + "node": ">= 10" } }, - "node_modules/find-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", - "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", + "node_modules/mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", + "dev": true + }, + "node_modules/meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, "dependencies": { - "array-back": "^3.0.1" + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" }, "engines": { - "node": ">=4.0.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-replace/node_modules/array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "node_modules/meow/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", + "node_modules/meow/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", "dev": true }, - "node_modules/find-up": { + "node_modules/meow/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" + "p-locate": "^4.1.0" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "bin": { - "flat": "cli.js" + "node_modules/meow/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "node_modules/meow/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" + "p-limit": "^2.2.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=8" } }, - "node_modules/flatted": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", - "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", - "dev": true - }, - "node_modules/fluent-logger": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", - "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", + "node_modules/meow/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, "dependencies": { - "msgpack-lite": "*" + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, - "node_modules/follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], + "node_modules/meow/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, "engines": { - "node": ">=4.0" + "node": ">=8" }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, - "node_modules/foreachasync": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", - "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=" - }, - "node_modules/foreground-child": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", - "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", + "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, "dependencies": { - "cross-spawn": "^7.0.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8.0.0" + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" } }, - "node_modules/forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, "engines": { - "node": "*" + "node": ">=8" } }, - "node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" + "node_modules/meow/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" } }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "node_modules/meow/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dependencies": { - "map-cache": "^0.2.2" + "node": ">=10" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, "engines": { - "node": ">= 0.6" + "node": ">= 8" } }, - "node_modules/fromentries": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", - "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", + "node_modules/metric-lcs": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/metric-lcs/-/metric-lcs-0.1.2.tgz", + "integrity": "sha512-+TZ5dUDPKPJaU/rscTzxyN8ZkX7eAVLAiQU/e+YINleXPv03SCmJShaMT1If1liTH8OcmWXZs0CmzCBRBLcMpA==", "dev": true }, - "node_modules/fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" - }, - "node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "node_modules/micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "dev": true, "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "braces": "^3.0.1", + "picomatch": "^2.2.3" }, "engines": { - "node": ">=6 <7 || >=8" + "node": ">=8.6" } }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "dependencies": { - "minipass": "^3.0.0" - }, + "node_modules/mime-db": { + "version": "1.50.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz", + "integrity": "sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A==", + "dev": true, "engines": { - "node": ">= 8" + "node": ">= 0.6" } }, - "node_modules/fs-then-native": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fs-then-native/-/fs-then-native-2.0.0.tgz", - "integrity": "sha1-GaEk2U2QwiyOBF8ujdbr6jbUjGc=", + "node_modules/mime-types": { + "version": "2.1.33", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.33.tgz", + "integrity": "sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g==", "dev": true, + "dependencies": { + "mime-db": "1.50.0" + }, "engines": { - "node": ">=4.0.0" + "node": ">= 0.6" } }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true, - "optional": true, - "os": [ - "darwin" - ], "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + "node": ">=6" } }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "node_modules/functional-red-black-tree": { + "node_modules/mimic-response": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", - "dev": true - }, - "node_modules/gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", "dev": true, - "dependencies": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "engines": { + "node": ">=4" } }, - "node_modules/gauge/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/gauge/node_modules/aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", - "dev": true - }, - "node_modules/gauge/node_modules/is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "dependencies": { - "number-is-nan": "^1.0.0" + "brace-expansion": "^1.1.7" }, "engines": { - "node": ">=0.10.0" + "node": "*" } }, - "node_modules/gauge/node_modules/string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "node_modules/minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", "dev": true, "dependencies": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" }, "engines": { - "node": ">=0.10.0" + "node": ">= 6" } }, - "node_modules/gauge/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "node_modules/minipass": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.5.tgz", + "integrity": "sha512-+8NzxD82XQoNKNrl1d/FSi+X8wAEWR+sbYAfIvub4Nz0d22plFG72CEVVaufV8PNf4qSslFTD8VMOxNVhHCjTw==", "dev": true, "dependencies": { - "ansi-regex": "^2.0.0" + "yallist": "^4.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/gaxios": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.1.tgz", - "integrity": "sha512-9qXV7yrMCGzTrphl9/YGMVH41oSg0rhn1j3wJWed4Oqk45/hXDD2wBT5J1NjQcqTCcv4g3nFnyQ7reSRHNgBgw==", + "node_modules/minipass-collect": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", + "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "dev": true, "dependencies": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.1" + "minipass": "^3.0.0" }, "engines": { - "node": ">=10" + "node": ">= 8" } }, - "node_modules/gcp-metadata": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "node_modules/minipass-fetch": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", + "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", + "dev": true, "dependencies": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" + "minipass": "^3.1.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.0.0" }, "engines": { - "node": ">=10" + "node": ">=8" + }, + "optionalDependencies": { + "encoding": "^0.1.12" } }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "node_modules/minipass-flush": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", + "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", - "engines": { - "node": "*" - } - }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" } }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "node_modules/minipass-json-stream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", + "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", "dev": true, - "engines": { - "node": ">=8.0.0" + "dependencies": { + "jsonparse": "^1.3.1", + "minipass": "^3.0.0" } }, - "node_modules/get-pkg-repo": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.1.2.tgz", - "integrity": "sha512-/FjamZL9cBYllEbReZkxF2IMh80d8TJoC4e3bmLNif8ibHw95aj0N/tzqK0kZz9eU/3w3dL6lF4fnnX/sDdW3A==", + "node_modules/minipass-pipeline": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", + "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", "dev": true, "dependencies": { - "@hutson/parse-repository-url": "^3.0.0", - "hosted-git-info": "^4.0.0", - "meow": "^7.0.0", - "through2": "^2.0.0" - }, - "bin": { - "get-pkg-repo": "src/cli.js" + "minipass": "^3.0.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=8" } }, - "node_modules/get-pkg-repo/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "node_modules/minipass-sized": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", + "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", "dev": true, "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "minipass": "^3.0.0" }, "engines": { "node": ">=8" } }, - "node_modules/get-pkg-repo/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "node_modules/get-pkg-repo/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", "dev": true, "dependencies": { - "p-locate": "^4.1.0" + "minipass": "^3.0.0", + "yallist": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">= 8" } }, - "node_modules/get-pkg-repo/node_modules/meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true, - "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" + "bin": { + "mkdirp": "bin/cmd.js" }, "engines": { "node": ">=10" } }, - "node_modules/get-pkg-repo/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "node_modules/mkdirp-infer-owner": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz", + "integrity": "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==", "dev": true, "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "chownr": "^2.0.0", + "infer-owner": "^1.0.4", + "mkdirp": "^1.0.3" + }, + "engines": { + "node": ">=10" } }, - "node_modules/get-pkg-repo/node_modules/normalize-package-data/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "node_modules/mkdirp2": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/mkdirp2/-/mkdirp2-1.0.5.tgz", + "integrity": "sha512-xOE9xbICroUDmG1ye2h4bZ8WBie9EGmACaco8K8cx6RlkJJrxGIqjGqztAI+NMhexXBcdGbSEzI6N3EJPevxZw==", "dev": true }, - "node_modules/get-pkg-repo/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "node_modules/mocha": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-8.4.0.tgz", + "integrity": "sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ==", "dev": true, "dependencies": { - "p-try": "^2.0.0" + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.1", + "debug": "4.3.1", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.1.6", + "growl": "1.10.5", + "he": "1.2.0", + "js-yaml": "4.0.0", + "log-symbols": "4.0.0", + "minimatch": "3.0.4", + "ms": "2.1.3", + "nanoid": "3.1.20", + "serialize-javascript": "5.0.1", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "which": "2.0.2", + "wide-align": "1.1.3", + "workerpool": "6.1.0", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" }, "engines": { - "node": ">=6" + "node": ">= 10.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" } }, - "node_modules/get-pkg-repo/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "node_modules/mocha/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/mocha/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", "dev": true, "dependencies": { - "p-limit": "^2.2.0" + "ms": "2.1.2" }, "engines": { - "node": ">=8" + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "node_modules/get-pkg-repo/node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/mocha/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "dev": true, "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, "engines": { - "node": ">=8" + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/get-pkg-repo/node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "node_modules/mocha/node_modules/js-yaml": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", + "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", "dev": true, "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" + "argparse": "^2.0.1" }, - "engines": { - "node": ">=8" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/get-pkg-repo/node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } + "node_modules/mocha/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true }, - "node_modules/get-pkg-repo/node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "node_modules/mocha/node_modules/nanoid": { + "version": "3.1.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.20.tgz", + "integrity": "sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw==", "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, "engines": { - "node": ">=8" + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/get-pkg-repo/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "node_modules/mocha/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/get-pkg-repo/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "node_modules/modify-values": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", + "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", "dev": true, - "bin": { - "semver": "bin/semver" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/get-pkg-repo/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true }, - "node_modules/get-pkg-repo/node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "node_modules/multimatch": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz", + "integrity": "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==", "dev": true, "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" + "@types/minimatch": "^3.0.3", + "array-differ": "^3.0.0", + "array-union": "^2.1.0", + "arrify": "^2.0.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-pkg-repo/node_modules/type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", + "node_modules/multimatch/node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", "dev": true, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/get-pkg-repo/node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "node_modules/needle": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", + "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", "dev": true, "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" }, "engines": { - "node": ">=6" + "node": ">= 4.4.x" } }, - "node_modules/get-port": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz", - "integrity": "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==", + "node_modules/needle/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, - "engines": { - "node": ">=8" + "dependencies": { + "ms": "^2.1.1" } }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "node_modules/negotiator": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", "dev": true, "engines": { - "node": ">=10" - } - }, - "node_modules/get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "engines": { - "node": ">=0.10.0" + "node": ">= 0.6" } }, - "node_modules/getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dependencies": { - "assert-plus": "^1.0.0" - } + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true }, - "node_modules/git-raw-commits": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.10.tgz", - "integrity": "sha512-sHhX5lsbG9SOO6yXdlwgEMQ/ljIn7qMpAbJZCGfXX2fq5T8M5SrDnpYk9/4HswTildcIqatsWa91vty6VhWSaQ==", + "node_modules/nise": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/nise/-/nise-4.1.0.tgz", + "integrity": "sha512-eQMEmGN/8arp0xsvGoQ+B1qvSkR73B1nWSCh7nOt5neMCtwcQVYQGdzQMhcNscktTsWB54xnlSQFzOAPJD8nXA==", "dev": true, "dependencies": { - "dargs": "^7.0.0", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "split2": "^3.0.0", - "through2": "^4.0.0" - }, - "bin": { - "git-raw-commits": "cli.js" - }, - "engines": { - "node": ">=10" + "@sinonjs/commons": "^1.7.0", + "@sinonjs/fake-timers": "^6.0.0", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "path-to-regexp": "^1.7.0" } }, - "node_modules/git-remote-origin-url": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", - "integrity": "sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=", + "node_modules/node-fetch": { + "version": "2.6.6", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", + "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", "dev": true, "dependencies": { - "gitconfiglocal": "^1.0.0", - "pify": "^2.3.0" + "whatwg-url": "^5.0.0" }, "engines": { - "node": ">=4" + "node": "4.x || >=6.0.0" } }, - "node_modules/git-remote-origin-url/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "node_modules/node-fetch/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, + "node_modules/node-fetch/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + }, + "node_modules/node-fetch/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", "dev": true, - "engines": { - "node": ">=0.10.0" + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" } }, - "node_modules/git-semver-tags": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", - "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", + "node_modules/node-gyp": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz", + "integrity": "sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw==", "dev": true, "dependencies": { - "meow": "^8.0.0", - "semver": "^6.0.0" + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.2", + "mkdirp": "^0.5.1", + "nopt": "^4.0.1", + "npmlog": "^4.1.2", + "request": "^2.88.0", + "rimraf": "^2.6.3", + "semver": "^5.7.1", + "tar": "^4.4.12", + "which": "^1.3.1" }, "bin": { - "git-semver-tags": "cli.js" + "node-gyp": "bin/node-gyp.js" }, "engines": { - "node": ">=10" + "node": ">= 6.0.0" } }, - "node_modules/git-semver-tags/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } + "node_modules/node-gyp/node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true }, - "node_modules/git-up": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-4.0.5.tgz", - "integrity": "sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA==", + "node_modules/node-gyp/node_modules/fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", "dev": true, "dependencies": { - "is-ssh": "^1.3.0", - "parse-url": "^6.0.0" + "minipass": "^2.6.0" } }, - "node_modules/git-url-parse": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.5.0.tgz", - "integrity": "sha512-TZYSMDeM37r71Lqg1mbnMlOqlHd7BSij9qN7XwTkRqSAYFMihGLGhfHwgqQob3GUhEneKnV4nskN9rbQw2KGxA==", + "node_modules/node-gyp/node_modules/minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", "dev": true, "dependencies": { - "git-up": "^4.0.0" + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" } }, - "node_modules/gitconfiglocal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=", + "node_modules/node-gyp/node_modules/minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", "dev": true, "dependencies": { - "ini": "^1.3.2" + "minipass": "^2.9.0" } }, - "node_modules/glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "node_modules/node-gyp/node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/global-dirs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", - "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", - "dependencies": { - "ini": "2.0.0" - }, - "engines": { - "node": ">=10" + "minimist": "^1.2.5" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/global-dirs/node_modules/ini": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", - "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", - "engines": { - "node": ">=10" + "bin": { + "mkdirp": "bin/cmd.js" } }, - "node_modules/globals": { - "version": "13.11.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", - "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", + "node_modules/node-gyp/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "dev": true, "dependencies": { - "type-fest": "^0.20.2" + "glob": "^7.1.3" }, - "engines": { - "node": ">=8" + "bin": { + "rimraf": "bin.js" } }, - "node_modules/globby": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", - "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.1.1", - "ignore": "^5.1.4", - "merge2": "^1.3.0", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - } + "node_modules/node-gyp/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "node_modules/globby/node_modules/ignore": { - "version": "5.1.8", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", - "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", - "engines": { - "node": ">= 4" + "node_modules/node-gyp/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" } }, - "node_modules/google-auth-library": { - "version": "7.9.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.9.1.tgz", - "integrity": "sha512-cWGykH2WBR+UuYPGRnGVZ6Cjq2ftQiEIFjQWNIRIauZH7hUWoYTr/lkKUqLTYt5dex77nlWWVQ8aPV80mhfp5w==", + "node_modules/node-gyp/node_modules/tar": { + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", + "dev": true, "dependencies": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" }, "engines": { - "node": ">=10" - } - }, - "node_modules/google-auth-library/node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "engines": { - "node": ">=8" + "node": ">=4.5" } }, - "node_modules/google-gax": { - "version": "2.25.0", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.25.0.tgz", - "integrity": "sha512-s2V5UA/M5or7PFMpsp159X1FrWgIJZ2TSp+k57giUsiS+idMTtKoVgZ+LI59+UyOkFuDg7IBLRcBwZ1TgavEBw==", + "node_modules/node-gyp/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, "dependencies": { - "@grpc/grpc-js": "~1.3.0", - "@grpc/proto-loader": "^0.6.1", - "@types/long": "^4.0.0", - "abort-controller": "^3.0.0", - "duplexify": "^4.0.0", - "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.6.1", - "is-stream-ended": "^0.1.4", - "node-fetch": "^2.6.1", - "object-hash": "^2.1.1", - "proto3-json-serializer": "^0.1.1", - "protobufjs": "6.11.2", - "retry-request": "^4.0.0" + "isexe": "^2.0.0" }, "bin": { - "compileProtos": "build/tools/compileProtos.js" - }, - "engines": { - "node": ">=10" + "which": "bin/which" } }, - "node_modules/google-p12-pem": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.2.tgz", - "integrity": "sha512-tjf3IQIt7tWCDsa0ofDQ1qqSCNzahXDxdAGJDbruWqu3eCg5CKLYKN+hi0s6lfvzYZ1GDVr+oDF9OOWlDSdf0A==", + "node_modules/node-gyp/node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/node-pre-gyp": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.15.0.tgz", + "integrity": "sha512-7QcZa8/fpaU/BKenjcaeFF9hLz2+7S9AqyXFhlH/rilsQ/hPZKK32RtR5EQHJElgu+q5RfbJ34KriI79UWaorA==", + "deprecated": "Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future", + "dev": true, "dependencies": { - "node-forge": "^0.10.0" + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.3", + "needle": "^2.5.0", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4.4.2" }, "bin": { - "gp12-pem": "build/src/bin/gp12-pem.js" - }, - "engines": { - "node": ">=10" + "node-pre-gyp": "bin/node-pre-gyp" } }, - "node_modules/google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" + "node_modules/node-pre-gyp/node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true }, - "node_modules/got": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", - "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", + "node_modules/node-pre-gyp/node_modules/fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "dev": true, "dependencies": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - }, - "engines": { - "node": ">=8.6" + "minipass": "^2.6.0" } }, - "node_modules/got/node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "node_modules/node-pre-gyp/node_modules/minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "dev": true, "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" } }, - "node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" - }, - "node_modules/growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", + "node_modules/node-pre-gyp/node_modules/minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", "dev": true, - "engines": { - "node": ">=4.x" + "dependencies": { + "minipass": "^2.9.0" } }, - "node_modules/grpc_tools_node_protoc_ts": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/grpc_tools_node_protoc_ts/-/grpc_tools_node_protoc_ts-5.3.2.tgz", - "integrity": "sha512-7xPSeu8bwjcird3i9R5+9O4BF2Lhv9fMBdeobfUc2Bys9tSVtm/VB3WjTpKV78WlLYJyD94+wL/8hJqaMZ53Hw==", + "node_modules/node-pre-gyp/node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "dependencies": { - "google-protobuf": "3.15.8", - "handlebars": "4.7.7" + "minimist": "^1.2.5" }, "bin": { - "protoc-gen-ts": "bin/protoc-gen-ts" + "mkdirp": "bin/cmd.js" } }, - "node_modules/grpc_tools_node_protoc_ts/node_modules/google-protobuf": { - "version": "3.15.8", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.15.8.tgz", - "integrity": "sha512-2jtfdqTaSxk0cuBJBtTTWsot4WtR9RVr2rXg7x7OoqiuOKopPrwXpM1G4dXIkLcUNRh3RKzz76C8IOkksZSeOw==", - "dev": true - }, - "node_modules/grpc-boom": { - "version": "1.0.29", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", - "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" - }, - "node_modules/grpc-promise": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", - "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" + "node_modules/node-pre-gyp/node_modules/npm-packlist": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.8.tgz", + "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==", + "dev": true, + "dependencies": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1", + "npm-normalize-package-bin": "^1.0.1" + } }, - "node_modules/grpc-tools": { - "version": "1.11.2", - "resolved": "https://registry.npmjs.org/grpc-tools/-/grpc-tools-1.11.2.tgz", - "integrity": "sha512-4+EgpnnkJraamY++oyBCw5Hp9huRYfgakjNVKbiE3PgO9Tv5ydVlRo7ZyGJ0C0SEiA7HhbVc1sNNtIyK7FiEtg==", + "node_modules/node-pre-gyp/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "dev": true, "dependencies": { - "@mapbox/node-pre-gyp": "^1.0.5" + "glob": "^7.1.3" }, "bin": { - "grpc_tools_node_protoc": "bin/protoc.js", - "grpc_tools_node_protoc_plugin": "bin/protoc_plugin.js" + "rimraf": "bin.js" } }, - "node_modules/grpc-ts-health-check": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", - "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", - "dependencies": { - "google-protobuf": "^3.12.2", - "grpc-boom": "^1.0.28" + "node_modules/node-pre-gyp/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/node-pre-gyp/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" } }, - "node_modules/gtoken": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.1.tgz", - "integrity": "sha512-yqOREjzLHcbzz1UrQoxhBtpk8KjrVhuqPE7od1K2uhyxG2BHjKZetlbLw/SPZak/QqTIQW+addS+EcjqQsZbwQ==", + "node_modules/node-pre-gyp/node_modules/tar": { + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", + "dev": true, "dependencies": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.0.3", - "jws": "^4.0.0" + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" }, "engines": { - "node": ">=10" + "node": ">=4.5" } }, - "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "node_modules/node-pre-gyp/node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/node-preload": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", + "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", "dev": true, "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" + "process-on-spawn": "^1.0.0" }, "engines": { - "node": ">=0.4.7" - }, - "optionalDependencies": { - "uglify-js": "^3.1.4" + "node": ">=8" } }, - "node_modules/har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "engines": { - "node": ">=4" - } + "node_modules/node-releases": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", + "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", + "dev": true }, - "node_modules/har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "node_modules/nodemon": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.14.tgz", + "integrity": "sha512-frcpDx+PviKEQRSYzwhckuO2zoHcBYLHI754RE9z5h1RGtrngerc04mLpQQCPWBkH/2ObrX7We9YiwVSYZpFJQ==", + "dev": true, + "hasInstallScript": true, "dependencies": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" + "chokidar": "^3.2.2", + "debug": "^3.2.6", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.0.4", + "pstree.remy": "^1.1.7", + "semver": "^5.7.1", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.3", + "update-notifier": "^5.1.0" + }, + "bin": { + "nodemon": "bin/nodemon.js" }, "engines": { - "node": ">=6" + "node": ">=8.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" } }, - "node_modules/hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "node_modules/nodemon/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" + "ms": "^2.1.1" } }, - "node_modules/has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==" - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/nodemon/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "engines": { - "node": ">= 0.4" + "node_modules/nodemon/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" } }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "node_modules/nodemon/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, "dependencies": { - "has-symbols": "^1.0.2" + "has-flag": "^3.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=4" } }, - "node_modules/has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", - "dev": true - }, - "node_modules/has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "node_modules/nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "dev": true, "dependencies": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" + "abbrev": "1", + "osenv": "^0.1.4" }, - "engines": { - "node": ">=0.10.0" + "bin": { + "nopt": "bin/nopt.js" } }, - "node_modules/has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, "dependencies": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/has-values/node_modules/is-number": { + "node_modules/normalize-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dependencies": { - "kind-of": "^3.0.2" - }, + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/has-values/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, + "node_modules/normalize-url": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", + "dev": true, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dependencies": { - "is-buffer": "^1.1.5" + "node": ">=10" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/has-yarn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", - "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", - "engines": { - "node": ">=8" + "node_modules/npm-bundled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", + "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", + "dev": true, + "dependencies": { + "npm-normalize-package-bin": "^1.0.1" } }, - "node_modules/hasha": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", - "integrity": "sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ==", + "node_modules/npm-install-checks": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz", + "integrity": "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==", "dev": true, "dependencies": { - "is-stream": "^2.0.0", - "type-fest": "^0.8.0" + "semver": "^7.1.1" }, "engines": { - "node": ">=8" + "node": ">=10" } }, - "node_modules/hasha/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "node_modules/npm-lifecycle": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz", + "integrity": "sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g==", "dev": true, - "engines": { - "node": ">=8" - } + "dependencies": { + "byline": "^5.0.0", + "graceful-fs": "^4.1.15", + "node-gyp": "^5.0.2", + "resolve-from": "^4.0.0", + "slide": "^1.1.6", + "uid-number": "0.0.6", + "umask": "^1.1.0", + "which": "^1.3.1" + } }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "node_modules/npm-lifecycle/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, "bin": { - "he": "bin/he" + "which": "bin/which" } }, - "node_modules/hosted-git-info": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", - "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", + "node_modules/npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", + "dev": true + }, + "node_modules/npm-package-arg": { + "version": "8.1.5", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz", + "integrity": "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" + "hosted-git-info": "^4.0.1", + "semver": "^7.3.4", + "validate-npm-package-name": "^3.0.0" }, "engines": { "node": ">=10" } }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, - "node_modules/http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" - }, - "node_modules/http-call": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/http-call/-/http-call-5.3.0.tgz", - "integrity": "sha512-ahwimsC23ICE4kPl9xTBjKB4inbRaeLyZeRunC/1Jy/Z6X8tv22MEAjK+KBOMSVLaqXPTTmd8638waVIKLGx2w==", + "node_modules/npm-packlist": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz", + "integrity": "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==", + "dev": true, "dependencies": { - "content-type": "^1.0.4", - "debug": "^4.1.1", - "is-retry-allowed": "^1.1.0", - "is-stream": "^2.0.0", - "parse-json": "^4.0.0", - "tunnel-agent": "^0.6.0" + "glob": "^7.1.6", + "ignore-walk": "^3.0.3", + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" + }, + "bin": { + "npm-packlist": "bin/index.js" }, "engines": { - "node": ">=8.0.0" + "node": ">=10" } }, - "node_modules/http-call/node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "node_modules/npm-pick-manifest": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz", + "integrity": "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==", + "dev": true, "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" + "npm-install-checks": "^4.0.0", + "npm-normalize-package-bin": "^1.0.1", + "npm-package-arg": "^8.1.2", + "semver": "^7.3.4" } }, - "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "node_modules/npm-registry-fetch": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-9.0.0.tgz", + "integrity": "sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA==", + "dev": true, "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" + "@npmcli/ci-detect": "^1.0.0", + "lru-cache": "^6.0.0", + "make-fetch-happen": "^8.0.9", + "minipass": "^3.1.3", + "minipass-fetch": "^1.3.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.0.0", + "npm-package-arg": "^8.0.0" }, "engines": { - "node": ">= 0.6" + "node": ">=10" } }, - "node_modules/http-errors/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/http-proxy-agent": { + "node_modules/npm-run-path": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" + "path-key": "^3.0.0" }, "engines": { - "node": ">= 6" + "node": ">=8" } }, - "node_modules/http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "node_modules/npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, "dependencies": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - }, + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "node_modules/number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true, "engines": { - "node": ">=0.8", - "npm": ">=1.3.7" + "node": ">=0.10.0" } }, - "node_modules/https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "node_modules/nyc": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", + "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", + "dev": true, "dependencies": { - "agent-base": "6", - "debug": "4" + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "caching-transform": "^4.0.0", + "convert-source-map": "^1.7.0", + "decamelize": "^1.2.0", + "find-cache-dir": "^3.2.0", + "find-up": "^4.1.0", + "foreground-child": "^2.0.0", + "get-package-type": "^0.1.0", + "glob": "^7.1.6", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-hook": "^3.0.0", + "istanbul-lib-instrument": "^4.0.0", + "istanbul-lib-processinfo": "^2.0.2", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "make-dir": "^3.0.0", + "node-preload": "^0.2.1", + "p-map": "^3.0.0", + "process-on-spawn": "^1.0.0", + "resolve-from": "^5.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "spawn-wrap": "^2.0.0", + "test-exclude": "^6.0.0", + "yargs": "^15.0.2" + }, + "bin": { + "nyc": "bin/nyc.js" }, "engines": { - "node": ">= 6" + "node": ">=8.9" } }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "node_modules/nyc/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", "dev": true, - "engines": { - "node": ">=10.17.0" + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" } }, - "node_modules/humanize-ms": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", + "node_modules/nyc/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "dependencies": { - "ms": "^2.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/husky": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/husky/-/husky-6.0.0.tgz", - "integrity": "sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==", + "node_modules/nyc/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, - "bin": { - "husky": "lib/bin.js" + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/hyperlinker": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hyperlinker/-/hyperlinker-1.0.0.tgz", - "integrity": "sha512-Ty8UblRWFEcfSuIaajM34LdPXIhbs1ajEX/BBPv24J+enSVaEVY63xQ6lTO9VRYS5LAoghIG0IDJ+p+IPzKUQQ==", + "node_modules/nyc/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, "engines": { - "node": ">=4" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "node_modules/nyc/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "p-limit": "^2.2.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "node_modules/nyc/node_modules/p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, "engines": { - "node": ">= 4" + "node": ">=8" } }, - "node_modules/ignore-by-default": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", - "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=", - "dev": true - }, - "node_modules/ignore-walk": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", - "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", + "node_modules/nyc/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, - "dependencies": { - "minimatch": "^3.0.4" + "engines": { + "node": ">=8" } }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "node_modules/nyc/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/import-lazy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", - "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", + "node_modules/nyc/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true + }, + "node_modules/nyc/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dev": true, + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/import-local": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", - "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", + "node_modules/nyc/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" }, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true, "engines": { - "node": ">=0.8.19" + "node": "*" } }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/infer-owner": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "node_modules/object-get": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/object-get/-/object-get-2.1.1.tgz", + "integrity": "sha512-7n4IpLMzGGcLEMiQKsNR7vCe+N5E9LORFrtNUVy4sO3dj9a3HedZCxEL2T7QuLhcHN1NBuBsMOKaOsAYI9IIvg==", "dev": true }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "node_modules/object-inspect": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } }, - "node_modules/init-package-json": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-2.0.4.tgz", - "integrity": "sha512-gUACSdZYka+VvnF90TsQorC+1joAVWNI724vBNj3RD0LLMeDss2IuzaeiQs0T4YzKs76BPHtrp/z3sn2p+KDTw==", + "node_modules/object-to-spawn-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object-to-spawn-args/-/object-to-spawn-args-2.0.1.tgz", + "integrity": "sha512-6FuKFQ39cOID+BMZ3QaphcC8Y4cw6LXBLyIgPU+OhIYwviJamPAn+4mITapnSBQrejB+NNp+FMskhD8Cq+Ys3w==", "dev": true, - "dependencies": { - "glob": "^7.1.1", - "npm-package-arg": "^8.1.2", - "promzard": "^0.3.0", - "read": "~1.0.1", - "read-package-json": "^4.0.0", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4", - "validate-npm-package-name": "^3.0.0" - }, "engines": { - "node": ">=10" + "node": ">=8.0.0" } }, - "node_modules/init-package-json/node_modules/read-package-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-4.0.0.tgz", - "integrity": "sha512-EBQiek1udd0JKvUzaViAWHYVQRuQZ0IP0LWUOqVCJaZIX92ZO86dOpvsTOO3esRIQGgl7JhFBaGqW41VI57KvQ==", + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", "dev": true, "dependencies": { - "glob": "^7.1.1", - "json-parse-even-better-errors": "^2.3.0", - "normalize-package-data": "^3.0.0", - "npm-normalize-package-bin": "^1.0.0" + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" }, "engines": { - "node": ">=10" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/inquirer": { - "version": "7.3.3", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", - "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", + "node_modules/object.getownpropertydescriptors": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", + "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", + "dev": true, "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.19", - "mute-stream": "0.0.8", - "run-async": "^2.4.0", - "rxjs": "^6.6.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" }, "engines": { - "node": ">=8.0.0" + "node": ">= 0.8" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, - "node_modules/internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, "dependencies": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" + "wrappy": "1" } }, - "node_modules/ioredis": { - "version": "4.27.9", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.27.9.tgz", - "integrity": "sha512-hAwrx9F+OQ0uIvaJefuS3UTqW+ByOLyLIV+j0EH8ClNVxvFyH9Vmb08hCL4yje6mDYT5zMquShhypkd50RRzkg==", + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, "dependencies": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" + "mimic-fn": "^2.1.0" }, "engines": { "node": ">=6" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ioredis" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ioredis/node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/ip": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", - "dev": true - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, "dependencies": { - "kind-of": "^6.0.0" + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.8.0" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, + "node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dependencies": { - "has-bigints": "^1.0.1" + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "node_modules/osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "dev": true, "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" } }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, + "node_modules/p-cancelable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", + "dev": true, "engines": { - "node": ">= 0.4" + "node": ">=6" } }, - "node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, - "node_modules/is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true, "engines": { - "node": ">= 0.4" + "node": ">=4" } }, - "node_modules/is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, "dependencies": { - "ci-info": "^2.0.0" + "yocto-queue": "^0.1.0" }, - "bin": { - "is-ci": "bin.js" + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-core-module": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.6.0.tgz", - "integrity": "sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==", + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "dependencies": { - "has": "^1.0.3" - } - }, - "node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dependencies": { - "kind-of": "^6.0.0" + "p-limit": "^3.0.2" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, "dependencies": { - "has-tostringtag": "^1.0.0" + "aggregate-error": "^3.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, + "node_modules/p-map-series": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz", + "integrity": "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "bin": { - "is-docker": "cli.js" - }, + "node_modules/p-pipe": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", + "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", + "dev": true, "engines": { "node": ">=8" }, @@ -9571,10229 +9232,4643 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "node_modules/p-queue": { + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", + "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "dev": true, "dependencies": { - "is-plain-object": "^2.0.4" + "eventemitter3": "^4.0.4", + "p-timeout": "^3.2.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-extendable/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, + "node_modules/p-reduce": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", + "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "node_modules/p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "dev": true, + "dependencies": { + "p-finally": "^1.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "node_modules/p-waterfall": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz", + "integrity": "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==", + "dev": true, "dependencies": { - "has-tostringtag": "^1.0.0" + "p-reduce": "^2.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=8" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "node_modules/package-hash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", + "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", + "dev": true, "dependencies": { - "is-extglob": "^2.1.1" + "graceful-fs": "^4.1.15", + "hasha": "^5.0.0", + "lodash.flattendeep": "^4.4.0", + "release-zalgo": "^1.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/is-installed-globally": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", - "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "node_modules/package-json": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", + "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", + "dev": true, "dependencies": { - "global-dirs": "^3.0.0", - "is-path-inside": "^3.0.2" + "got": "^9.6.0", + "registry-auth-token": "^4.0.0", + "registry-url": "^5.0.0", + "semver": "^6.2.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, - "node_modules/is-lambda": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=", - "dev": true - }, - "node_modules/is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "engines": { - "node": ">= 0.4" + "node_modules/package-json/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" } }, - "node_modules/is-npm": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz", - "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==", + "node_modules/pacote": { + "version": "11.3.5", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz", + "integrity": "sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==", + "dev": true, + "dependencies": { + "@npmcli/git": "^2.1.0", + "@npmcli/installed-package-contents": "^1.0.6", + "@npmcli/promise-spawn": "^1.2.0", + "@npmcli/run-script": "^1.8.2", + "cacache": "^15.0.5", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "infer-owner": "^1.0.4", + "minipass": "^3.1.3", + "mkdirp": "^1.0.3", + "npm-package-arg": "^8.0.1", + "npm-packlist": "^2.1.4", + "npm-pick-manifest": "^6.0.0", + "npm-registry-fetch": "^11.0.0", + "promise-retry": "^2.0.1", + "read-package-json-fast": "^2.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.1.0" + }, + "bin": { + "pacote": "lib/bin.js" + }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "node_modules/pacote/node_modules/make-fetch-happen": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", + "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" + }, "engines": { - "node": ">=0.12.0" + "node": ">= 10" } }, - "node_modules/is-number-object": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", - "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "node_modules/pacote/node_modules/npm-registry-fetch": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", + "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "dev": true, "dependencies": { - "has-tostringtag": "^1.0.0" + "make-fetch-happen": "^9.0.1", + "minipass": "^3.1.3", + "minipass-fetch": "^1.3.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.0.0", + "npm-package-arg": "^8.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=10" } }, - "node_modules/is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "node_modules/pacote/node_modules/socks-proxy-agent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz", + "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==", + "dev": true, + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.1", + "socks": "^2.6.1" + }, "engines": { - "node": ">=8" + "node": ">= 10" } }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "node_modules/parse-path": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-4.0.3.tgz", + "integrity": "sha512-9Cepbp2asKnWTJ9x2kpw6Fe8y9JDbqwahGCTvklzd/cEq5C5JC59x2Xb0Kx+x0QZ8bvNquGO8/BWP0cwBHzSAA==", "dev": true, - "engines": { - "node": ">=0.10.0" + "dependencies": { + "is-ssh": "^1.3.0", + "protocols": "^1.4.0", + "qs": "^6.9.4", + "query-string": "^6.13.8" } }, - "node_modules/is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "node_modules/parse-url": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-6.0.0.tgz", + "integrity": "sha512-cYyojeX7yIIwuJzledIHeLUBVJ6COVLeT4eF+2P6aKVzwvgKQPndCBv3+yQ7pcWjqToYwaligxzSYNNmGoMAvw==", + "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" + "is-ssh": "^1.3.0", + "normalize-url": "^6.1.0", + "parse-path": "^4.0.0", + "protocols": "^1.4.0" } }, - "node_modules/is-retry-allowed": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", - "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==", + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/is-ssh": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.3.tgz", - "integrity": "sha512-NKzJmQzJfEEma3w5cJNcUMxoXfDjz0Zj0eyCalHn2E6VOwlzjZo0yuO2fcBSf8zhFuVCL/82/r5gRcoi6aEPVQ==", + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true, - "dependencies": { - "protocols": "^1.1.0" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, "engines": { "node": ">=8" } }, - "node_modules/is-stream-ended": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", - "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" - }, - "node_modules/is-string": { + "node_modules/path-parse": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-to-regexp": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", + "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "dev": true, "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" + "isarray": "0.0.1" } }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dependencies": { - "has-symbols": "^1.0.2" - }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, "engines": { - "node": ">= 0.4" + "node": ">=8" } }, - "node_modules/is-text-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4=", + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", "dev": true, - "dependencies": { - "text-extensions": "^1.0.0" - }, "engines": { - "node": ">=0.10.0" + "node": "*" } }, - "node_modules/is-typed-array": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", - "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-abstract": "^1.18.5", - "foreach": "^2.0.5", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true }, - "node_modules/is-typedarray": { + "node_modules/picocolors": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, - "node_modules/is-valid-domain": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.1.2.tgz", - "integrity": "sha512-vm/9Ynw80MusgfSMffjGRuMhO8hjk5MOxLoFL7nYWvWXTPCxTGQtACiCwO055UqHICG8xP6hIvRXK1iwnuU9GA==", - "dependencies": { - "punycode": "^2.1.1" + "node_modules/picomatch": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "node_modules/pify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", + "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, "dependencies": { - "is-docker": "^2.0.0" + "find-up": "^4.0.0" }, "engines": { "node": ">=8" } }, - "node_modules/is-yarn-global": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", - "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" - }, - "node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" - }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "node_modules/pkg-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", - "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, "engines": { "node": ">=8" } }, - "node_modules/istanbul-lib-hook": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", - "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "dependencies": { - "append-transform": "^2.0.0" + "p-try": "^2.0.0" }, "engines": { - "node": ">=8" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/istanbul-lib-instrument": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", - "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "dependencies": { - "@babel/core": "^7.7.5", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.0.0", - "semver": "^6.3.0" + "p-limit": "^2.2.0" }, "engines": { "node": ">=8" } }, - "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, - "bin": { - "semver": "bin/semver.js" + "engines": { + "node": ">= 0.8.0" } }, - "node_modules/istanbul-lib-processinfo": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.2.tgz", - "integrity": "sha512-kOwpa7z9hme+IBPZMzQ5vdQj8srYgAtaRqeI48NGmAQ+/5yKiHLV0QbYqQpxsdEF0+w14SoB8YbnHKcXE2KnYw==", + "node_modules/prepend-http": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", + "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", "dev": true, - "dependencies": { - "archy": "^1.0.0", - "cross-spawn": "^7.0.0", - "istanbul-lib-coverage": "^3.0.0-alpha.1", - "make-dir": "^3.0.0", - "p-map": "^3.0.0", - "rimraf": "^3.0.0", - "uuid": "^3.3.3" - }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/istanbul-lib-processinfo/node_modules/p-map": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", - "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "node_modules/prettier": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", + "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==", "dev": true, - "dependencies": { - "aggregate-error": "^3.0.0" + "bin": { + "prettier": "bin-prettier.js" }, "engines": { - "node": ">=8" + "node": ">=10.13.0" } }, - "node_modules/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", "dev": true, "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", - "supports-color": "^7.1.0" + "fast-diff": "^1.1.2" }, "engines": { - "node": ">=8" + "node": ">=6.0.0" } }, - "node_modules/istanbul-lib-source-maps": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz", - "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==", + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, + "node_modules/process-on-spawn": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", + "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", "dev": true, "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" + "fromentries": "^1.2.0" }, "engines": { "node": ">=8" } }, - "node_modules/istanbul-reports": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", - "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true, - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, "engines": { - "node": ">=8" + "node": ">=0.4.0" } }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "node_modules/promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", "dev": true }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "node_modules/promise-retry": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", + "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "dev": true, "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "err-code": "^2.0.2", + "retry": "^0.12.0" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": ">=10" } }, - "node_modules/js2xmlparser": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.1.tgz", - "integrity": "sha512-KrPTolcw6RocpYjdC7pL7v62e55q7qOMHvLX1UCLc5AAS8qeJ6nukarEJAF2KL2PZxlbGueEbINqZR2bDe/gUw==", + "node_modules/promzard": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz", + "integrity": "sha1-JqXW7ox97kyxIggwWs+5O6OCqe4=", "dev": true, "dependencies": { - "xmlcreate": "^2.0.3" + "read": "1" } }, - "node_modules/jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + "node_modules/proto-list": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", + "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=", + "dev": true }, - "node_modules/jsdoc": { - "version": "3.6.7", - "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.7.tgz", - "integrity": "sha512-sxKt7h0vzCd+3Y81Ey2qinupL6DpRSZJclS04ugHDNmRUXGzqicMJ6iwayhSA0S0DwwX30c5ozyUthr1QKF6uw==", + "node_modules/protocols": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz", + "integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg==", + "dev": true + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", + "dev": true + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "dependencies": { - "@babel/parser": "^7.9.4", - "bluebird": "^3.7.2", - "catharsis": "^0.9.0", - "escape-string-regexp": "^2.0.0", - "js2xmlparser": "^4.0.1", - "klaw": "^3.0.0", - "markdown-it": "^10.0.0", - "markdown-it-anchor": "^5.2.7", - "marked": "^2.0.3", - "mkdirp": "^1.0.4", - "requizzle": "^0.2.3", - "strip-json-comments": "^3.1.0", - "taffydb": "2.6.2", - "underscore": "~1.13.1" - }, - "bin": { - "jsdoc": "jsdoc.js" - }, - "engines": { - "node": ">=8.15.0" + "end-of-stream": "^1.1.0", + "once": "^1.3.1" } }, - "node_modules/jsdoc-api": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-7.0.1.tgz", - "integrity": "sha512-SttT7mAvl/L9liIoOoa647ksFlD+fyNP2Vy80MBRi6akOmJQ4ryQjMBOPfg1veKfwVp/8f3My8Bb2JnVGL9wVg==", + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true, - "dependencies": { - "array-back": "^5.0.0", - "cache-point": "^2.0.0", - "collect-all": "^1.0.4", - "file-set": "^4.0.2", - "fs-then-native": "^2.0.0", - "jsdoc": "^3.6.6", - "object-to-spawn-args": "^2.0.1", - "temp-path": "^1.0.0", - "walk-back": "^5.0.0" - }, "engines": { - "node": ">=14" + "node": ">=6" } }, - "node_modules/jsdoc-parse": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/jsdoc-parse/-/jsdoc-parse-6.0.1.tgz", - "integrity": "sha512-ij3Az5y2dp+ajMxYnEJH7kjKK5v6+yZ3Cg/KtRdoT15pIm6qTk/W8q72QdNLZ9jQm/U2/ifENFXXTOe6xIxGeA==", + "node_modules/pupa": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", + "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", "dev": true, "dependencies": { - "array-back": "^6.1.1", - "lodash.omit": "^4.5.0", - "lodash.pick": "^4.4.0", - "reduce-extract": "^1.0.0", - "sort-array": "^4.1.4", - "test-value": "^3.0.0" + "escape-goat": "^2.0.0" }, "engines": { - "node": ">=14" + "node": ">=8" } }, - "node_modules/jsdoc-parse/node_modules/array-back": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.0.tgz", - "integrity": "sha512-mixVv03GOOn/ubHE4STQ+uevX42ETdk0JoMVEjNkSOCT7WgERh7C8/+NyhWYNpE3BN69pxFyJIBcF7CxWz/+4A==", + "node_modules/q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", "dev": true, "engines": { - "node": ">=12.17" + "node": ">=0.6.0", + "teleport": ">=0.2.0" } }, - "node_modules/jsdoc-to-markdown": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-7.0.1.tgz", - "integrity": "sha512-wN6WAHAPiCyAU7m/+F3FbEEV40CGVWMae49SBPIvfy7kDq/2fBrOw86vdbnLdmjt6u/tHnoxHNrHWYbYFN+4UA==", + "node_modules/qs": { + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", + "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", "dev": true, "dependencies": { - "array-back": "^5.0.0", - "command-line-tool": "^0.8.0", - "config-master": "^3.1.0", - "dmd": "^6.0.0", - "jsdoc-api": "^7.0.0", - "jsdoc-parse": "^6.0.0", - "walk-back": "^5.0.0" - }, - "bin": { - "jsdoc2md": "bin/cli.js" + "side-channel": "^1.0.4" }, "engines": { - "node": ">=14" + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/jsdoc/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "node_modules/query-string": { + "version": "6.14.1", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz", + "integrity": "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==", "dev": true, + "dependencies": { + "decode-uri-component": "^0.2.0", + "filter-obj": "^1.1.0", + "split-on-first": "^1.0.0", + "strict-uri-encode": "^2.0.0" + }, "engines": { - "node": ">=8" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/json-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", - "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, "dependencies": { - "bignumber.js": "^9.0.0" + "safe-buffer": "^5.1.0" } }, - "node_modules/json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" - }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", - "dev": true - }, - "node_modules/json-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-stream/-/json-stream-1.0.0.tgz", - "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=" - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "dev": true, "dependencies": { - "minimist": "^1.2.5" + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" }, "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" + "rc": "cli.js" } }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", + "node_modules/rc/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "dev": true, - "engines": [ - "node >= 0.2.0" - ] + "engines": { + "node": ">=0.10.0" + } }, - "node_modules/JSONStream": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "node_modules/read": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", + "integrity": "sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ=", "dev": true, "dependencies": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - }, - "bin": { - "JSONStream": "bin.js" + "mute-stream": "~0.0.4" }, "engines": { - "node": "*" + "node": ">=0.8" } }, - "node_modules/jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "dependencies": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=4", - "npm": ">=1.4.28" - } + "node_modules/read-cmd-shim": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz", + "integrity": "sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw==", + "dev": true }, - "node_modules/jsonwebtoken/node_modules/jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "node_modules/read-package-json": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-3.0.1.tgz", + "integrity": "sha512-aLcPqxovhJTVJcsnROuuzQvv6oziQx4zd3JvG0vGCL5MjTONUc4uJ90zCBC6R7W7oUKBNoR/F8pkyfVwlbxqng==", + "dev": true, "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" + "glob": "^7.1.1", + "json-parse-even-better-errors": "^2.3.0", + "normalize-package-data": "^3.0.0", + "npm-normalize-package-bin": "^1.0.0" + }, + "engines": { + "node": ">=10" } }, - "node_modules/jsonwebtoken/node_modules/jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "node_modules/read-package-json-fast": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", + "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", + "dev": true, "dependencies": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" + "json-parse-even-better-errors": "^2.3.0", + "npm-normalize-package-bin": "^1.0.1" + }, + "engines": { + "node": ">=10" } }, - "node_modules/jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "engines": [ - "node >=0.6.0" - ], + "node_modules/read-package-tree": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz", + "integrity": "sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw==", + "dev": true, "dependencies": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" + "read-package-json": "^2.0.0", + "readdir-scoped-modules": "^1.0.0", + "util-promisify": "^2.1.0" } }, - "node_modules/just-extend": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", - "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", + "node_modules/read-package-tree/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", "dev": true }, - "node_modules/jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", - "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "node_modules/read-package-tree/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, "dependencies": { - "jwa": "^2.0.0", - "safe-buffer": "^5.0.1" + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" } }, - "node_modules/keyv": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", - "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "node_modules/read-package-tree/node_modules/read-package-json": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", + "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", + "dev": true, "dependencies": { - "json-buffer": "3.0.0" + "glob": "^7.1.1", + "json-parse-even-better-errors": "^2.3.0", + "normalize-package-data": "^2.0.0", + "npm-normalize-package-bin": "^1.0.0" } }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" + "node_modules/read-package-tree/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" } }, - "node_modules/klaw": { + "node_modules/read-pkg": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", - "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", "dev": true, "dependencies": { - "graceful-fs": "^4.1.9" - } - }, - "node_modules/kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "node_modules/latest-version": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", - "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", - "dependencies": { - "package-json": "^6.3.0" + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/lerna": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/lerna/-/lerna-4.0.0.tgz", - "integrity": "sha512-DD/i1znurfOmNJb0OBw66NmNqiM8kF6uIrzrJ0wGE3VNdzeOhz9ziWLYiRaZDGGwgbcjOo6eIfcx9O5Qynz+kg==", + "node_modules/read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", "dev": true, "dependencies": { - "@lerna/add": "4.0.0", - "@lerna/bootstrap": "4.0.0", - "@lerna/changed": "4.0.0", - "@lerna/clean": "4.0.0", - "@lerna/cli": "4.0.0", - "@lerna/create": "4.0.0", - "@lerna/diff": "4.0.0", - "@lerna/exec": "4.0.0", - "@lerna/import": "4.0.0", - "@lerna/info": "4.0.0", - "@lerna/init": "4.0.0", - "@lerna/link": "4.0.0", - "@lerna/list": "4.0.0", - "@lerna/publish": "4.0.0", - "@lerna/run": "4.0.0", - "@lerna/version": "4.0.0", - "import-local": "^3.0.2", - "npmlog": "^4.1.2" - }, - "bin": { - "lerna": "cli.js" + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" }, "engines": { - "node": ">= 10.18.0" + "node": ">=4" } }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" + "locate-path": "^2.0.0" }, "engines": { - "node": ">= 0.8.0" + "node": ">=4" } }, - "node_modules/libnpmaccess": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-4.0.3.tgz", - "integrity": "sha512-sPeTSNImksm8O2b6/pf3ikv4N567ERYEpeKRPSmqlNt1dTZbvgpJIzg5vAhXHpw2ISBsELFRelk0jEahj1c6nQ==", + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "dependencies": { - "aproba": "^2.0.0", - "minipass": "^3.1.1", - "npm-package-arg": "^8.1.2", - "npm-registry-fetch": "^11.0.0" + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" }, "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/libnpmaccess/node_modules/make-fetch-happen": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.0.5.tgz", - "integrity": "sha512-XN0i/VqHsql30Oq7179spk6vu3IuaPL1jaivNYhBrJtK7tkOuJwMK2IlROiOnJ40b9SvmOo2G86FZyI6LD2EsQ==", + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, "dependencies": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.2.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.2", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^6.0.0", - "ssri": "^8.0.0" + "p-try": "^1.0.0" }, "engines": { - "node": ">= 10" + "node": ">=4" } }, - "node_modules/libnpmaccess/node_modules/npm-registry-fetch": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", - "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "dependencies": { - "make-fetch-happen": "^9.0.1", - "minipass": "^3.1.3", - "minipass-fetch": "^1.3.0", - "minipass-json-stream": "^1.0.1", - "minizlib": "^2.0.0", - "npm-package-arg": "^8.0.0" + "p-limit": "^1.1.0" }, "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/libnpmaccess/node_modules/socks-proxy-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.0.0.tgz", - "integrity": "sha512-FIgZbQWlnjVEQvMkylz64/rUggGtrKstPnx8OZyYFG0tAFR8CSBtpXxSwbFLHyeXFn/cunFL7MpuSOvDSOPo9g==", + "node_modules/read-pkg-up/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", "dev": true, - "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.1", - "socks": "^2.6.1" - }, "engines": { - "node": ">= 10" + "node": ">=4" } }, - "node_modules/libnpmpublish": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-4.0.2.tgz", - "integrity": "sha512-+AD7A2zbVeGRCFI2aO//oUmapCwy7GHqPXFJh3qpToSRNU+tXKJ2YFUgjt04LPPAf2dlEH95s6EhIHM1J7bmOw==", - "dev": true, - "dependencies": { - "normalize-package-data": "^3.0.2", - "npm-package-arg": "^8.1.2", - "npm-registry-fetch": "^11.0.0", - "semver": "^7.1.3", - "ssri": "^8.0.1" - }, + "node_modules/read-pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/libnpmpublish/node_modules/make-fetch-happen": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.0.5.tgz", - "integrity": "sha512-XN0i/VqHsql30Oq7179spk6vu3IuaPL1jaivNYhBrJtK7tkOuJwMK2IlROiOnJ40b9SvmOo2G86FZyI6LD2EsQ==", + "node_modules/read-pkg/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/read-pkg/node_modules/load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", "dev": true, "dependencies": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.2.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.2", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^6.0.0", - "ssri": "^8.0.0" + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" }, "engines": { - "node": ">= 10" + "node": ">=4" } }, - "node_modules/libnpmpublish/node_modules/npm-registry-fetch": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", - "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, "dependencies": { - "make-fetch-happen": "^9.0.1", - "minipass": "^3.1.3", - "minipass-fetch": "^1.3.0", - "minipass-json-stream": "^1.0.1", - "minizlib": "^2.0.0", - "npm-package-arg": "^8.0.0" + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/read-pkg/node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" }, "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/libnpmpublish/node_modules/socks-proxy-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.0.0.tgz", - "integrity": "sha512-FIgZbQWlnjVEQvMkylz64/rUggGtrKstPnx8OZyYFG0tAFR8CSBtpXxSwbFLHyeXFn/cunFL7MpuSOvDSOPo9g==", + "node_modules/read-pkg/node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dev": true, "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.1", - "socks": "^2.6.1" + "pify": "^3.0.0" }, "engines": { - "node": ">= 10" + "node": ">=4" } }, - "node_modules/lines-and-columns": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", - "dev": true + "node_modules/read-pkg/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true, + "engines": { + "node": ">=4" + } }, - "node_modules/linkify-it": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", - "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "node_modules/read-pkg/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/read-pkg/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, "dependencies": { - "uc.micro": "^1.0.1" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" } }, - "node_modules/load-json-file": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz", - "integrity": "sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==", + "node_modules/readdir-scoped-modules": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", + "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", "dev": true, "dependencies": { - "graceful-fs": "^4.1.15", - "parse-json": "^5.0.0", - "strip-bom": "^4.0.0", - "type-fest": "^0.6.0" + "debuglog": "^1.0.1", + "dezalgo": "^1.0.0", + "graceful-fs": "^4.1.2", + "once": "^1.3.0" + } + }, + "node_modules/readdirp": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", + "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" }, "engines": { - "node": ">=8" + "node": ">=8.10.0" } }, - "node_modules/load-json-file/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "dev": true, + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, "engines": { "node": ">=8" } }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "node_modules/reduce-extract": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/reduce-extract/-/reduce-extract-1.0.0.tgz", + "integrity": "sha1-Z/I4W+2mUGG19fQxJmLosIDKFSU=", "dev": true, "dependencies": { - "p-locate": "^5.0.0" + "test-value": "^1.0.1" }, "engines": { - "node": ">=10" + "node": ">=0.10.0" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" - }, - "node_modules/lodash._reinterpolate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" + "node_modules/reduce-extract/node_modules/array-back": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", + "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "dev": true, + "dependencies": { + "typical": "^2.6.0" + }, + "engines": { + "node": ">=0.12.0" + } }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + "node_modules/reduce-extract/node_modules/test-value": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/test-value/-/test-value-1.1.0.tgz", + "integrity": "sha1-oJE29y7AQ9J8iTcHwrFZv6196T8=", + "dev": true, + "dependencies": { + "array-back": "^1.0.2", + "typical": "^2.4.2" + }, + "engines": { + "node": ">=0.10.0" + } }, - "node_modules/lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", - "dev": true + "node_modules/reduce-flatten": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-3.0.1.tgz", + "integrity": "sha512-bYo+97BmUUOzg09XwfkwALt4PQH1M5L0wzKerBt6WLm3Fhdd43mMS89HiT1B9pJIqko/6lWx3OnV4J9f2Kqp5Q==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "node_modules/lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" + "node_modules/reduce-unique": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/reduce-unique/-/reduce-unique-2.0.1.tgz", + "integrity": "sha512-x4jH/8L1eyZGR785WY+ePtyMNhycl1N2XOLxhCbzZFaqF4AXjLzqSxa2UHgJ2ZVR/HHyPOvl1L7xRnW8ye5MdA==", + "dev": true, + "engines": { + "node": ">=6" + } }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" + "node_modules/reduce-without": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/reduce-without/-/reduce-without-1.0.1.tgz", + "integrity": "sha1-aK0OrRGFXJo31OglbBW7+Hly/Iw=", + "dev": true, + "dependencies": { + "test-value": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } }, - "node_modules/lodash.flattendeep": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", - "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", - "dev": true - }, - "node_modules/lodash.get": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", - "dev": true - }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "node_modules/lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "node_modules/lodash.ismatch": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc=", - "dev": true - }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "node_modules/lodash.omit": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", - "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=", - "dev": true - }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, - "node_modules/lodash.padend": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/lodash.padend/-/lodash.padend-4.6.1.tgz", - "integrity": "sha1-U8y6BH0G4VjTEfRdpiX05J5vFm4=", - "dev": true - }, - "node_modules/lodash.pick": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", - "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", - "dev": true - }, - "node_modules/lodash.template": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", - "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", - "dependencies": { - "lodash._reinterpolate": "^3.0.0", - "lodash.templatesettings": "^4.0.0" - } - }, - "node_modules/lodash.templatesettings": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz", - "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==", - "dependencies": { - "lodash._reinterpolate": "^3.0.0" - } - }, - "node_modules/lodash.truncate": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", - "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", - "dev": true - }, - "node_modules/log-symbols": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", - "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==", + "node_modules/reduce-without/node_modules/array-back": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", + "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", "dev": true, "dependencies": { - "chalk": "^4.0.0" + "typical": "^2.6.0" }, "engines": { - "node": ">=10" + "node": ">=0.12.0" } }, - "node_modules/logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", + "node_modules/reduce-without/node_modules/test-value": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/test-value/-/test-value-2.1.0.tgz", + "integrity": "sha1-Edpv9nDzRxpztiXKTz/c97t0gpE=", + "dev": true, "dependencies": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "triple-beam": "^1.3.0" + "array-back": "^1.0.3", + "typical": "^2.6.0" + }, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "node_modules/lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "node_modules/regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" } }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "node_modules/registry-auth-token": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", + "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==", + "dev": true, "dependencies": { - "yallist": "^4.0.0" + "rc": "^1.2.8" }, "engines": { - "node": ">=10" + "node": ">=6.0.0" } }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "node_modules/registry-url": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", + "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", + "dev": true, "dependencies": { - "semver": "^6.0.0" + "rc": "^1.2.8" }, "engines": { "node": ">=8" } }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" + "node_modules/release-zalgo": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", + "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=", + "dev": true, + "dependencies": { + "es6-error": "^4.0.1" + }, + "engines": { + "node": ">=4" } }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" - }, - "node_modules/make-fetch-happen": { - "version": "8.0.14", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz", - "integrity": "sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ==", + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", "dev": true, "dependencies": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.0.5", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^5.0.0", - "ssri": "^8.0.0" + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" }, "engines": { - "node": ">= 10" + "node": ">= 6" } }, - "node_modules/map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "node_modules/request/node_modules/qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=0.6" } }, - "node_modules/map-obj": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", - "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==", + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "dev": true, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dependencies": { - "object-visit": "^1.0.0" - }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/markdown-it": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", - "integrity": "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==", + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "node_modules/requizzle": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.3.tgz", + "integrity": "sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ==", "dev": true, "dependencies": { - "argparse": "^1.0.7", - "entities": "~2.0.0", - "linkify-it": "^2.0.0", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" - }, - "bin": { - "markdown-it": "bin/markdown-it.js" + "lodash": "^4.17.14" } }, - "node_modules/markdown-it-anchor": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.3.0.tgz", - "integrity": "sha512-/V1MnLL/rgJ3jkMWo84UR+K+jF1cxNG1a+KwqeXqTIJ+jtA8aWSHuigx8lTzauiIjBDbwF3NcWQMotd0Dm39jA==", - "dev": true - }, - "node_modules/marked": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/marked/-/marked-2.1.3.tgz", - "integrity": "sha512-/Q+7MGzaETqifOMWYEA7HVMaZb4XbcRfaOzcSsHZEith83KGlvaSG33u0SKu89Mj5h+T8V2hM+8O45Qc5XTgwA==", - "dev": true, - "bin": { - "marked": "bin/marked" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", - "dev": true - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/meow": { - "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "node_modules/resolve": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", "dev": true, "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.18.0", - "yargs-parser": "^20.2.3" + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" }, - "engines": { - "node": ">=10" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/meow/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "resolve-from": "^5.0.0" }, "engines": { "node": ">=8" } }, - "node_modules/meow/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/meow/node_modules/locate-path": { + "node_modules/resolve-cwd/node_modules/resolve-from": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, "engines": { "node": ">=8" } }, - "node_modules/meow/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, "engines": { - "node": ">=6" + "node": ">=4" } }, - "node_modules/meow/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "node_modules/responselike": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", + "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", "dev": true, "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" + "lowercase-keys": "^1.0.0" } }, - "node_modules/meow/node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", "dev": true, "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" }, "engines": { "node": ">=8" } }, - "node_modules/meow/node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "node_modules/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, "engines": { - "node": ">=8" + "node": ">= 4" } }, - "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true, "engines": { - "node": ">=8" + "iojs": ">=1.0.0", + "node": ">=0.10.0" } }, - "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "node_modules/rimraf": { + "version": "3.0.2", "dev": true, + "license": "ISC", "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "node_modules/run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", "dev": true, "engines": { - "node": ">=8" + "node": ">=0.12.0" } }, - "node_modules/meow/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", "dev": true, - "bin": { - "semver": "bin/semver" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" } }, - "node_modules/meow/node_modules/type-fest": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "node_modules/rxjs": { + "version": "6.6.7", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", + "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", "dev": true, + "dependencies": { + "tslib": "^1.9.0" + }, "engines": { - "node": ">=10" + "npm": ">=2.0.0" } }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "node_modules/rxjs/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "engines": { - "node": ">= 8" - } + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "engines": { - "node": ">= 0.6" - } + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true }, - "node_modules/metric-lcs": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/metric-lcs/-/metric-lcs-0.1.2.tgz", - "integrity": "sha512-+TZ5dUDPKPJaU/rscTzxyN8ZkX7eAVLAiQU/e+YINleXPv03SCmJShaMT1If1liTH8OcmWXZs0CmzCBRBLcMpA==", + "node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "dev": true }, - "node_modules/micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, "dependencies": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "lru-cache": "^6.0.0" }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "bin": { - "mime": "cli.js" + "semver": "bin/semver.js" }, "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", - "engines": { - "node": ">= 0.6" + "node": ">=10" } }, - "node_modules/mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", + "node_modules/semver-diff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", + "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", + "dev": true, "dependencies": { - "mime-db": "1.49.0" + "semver": "^6.3.0" }, "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "engines": { - "node": ">=4" + "node_modules/semver-diff/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" } }, - "node_modules/min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "node_modules/serialize-javascript": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", + "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", "dev": true, - "engines": { - "node": ">=4" + "dependencies": { + "randombytes": "^2.1.0" } }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", "dev": true, "dependencies": { - "brace-expansion": "^1.1.7" + "kind-of": "^6.0.2" }, "engines": { - "node": "*" + "node": ">=8" } }, - "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "node_modules/minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "dependencies": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" + "shebang-regex": "^3.0.0" }, "engines": { - "node": ">= 6" + "node": ">=8" } }, - "node_modules/minio": { - "version": "7.0.19", - "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.19.tgz", - "integrity": "sha512-DOGKauWLdmj0/y2QKXdnrhqyzRFEnUteHi6q382uujg9TjSDrA84BiQVppS2Ew6V8Rcg+2IaRkF4GR34zw9sIA==", - "dependencies": { - "async": "^3.1.0", - "block-stream2": "^2.0.0", - "es6-error": "^4.1.1", - "fast-xml-parser": "^3.17.5", - "json-stream": "^1.0.0", - "lodash": "^4.17.21", - "mime-types": "^2.1.14", - "mkdirp": "^0.5.1", - "querystring": "0.2.0", - "through2": "^3.0.1", - "web-encoding": "^1.1.5", - "xml": "^1.0.0", - "xml2js": "^0.4.15" - }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, "engines": { - "node": ">= 4" + "node": ">=8" } }, - "node_modules/minio/node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, "dependencies": { - "minimist": "^1.2.5" + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" }, - "bin": { - "mkdirp": "bin/cmd.js" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/minio/node_modules/through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } + "node_modules/signal-exit": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", + "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", + "dev": true }, - "node_modules/minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", + "node_modules/sinon": { + "version": "9.2.4", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-9.2.4.tgz", + "integrity": "sha512-zljcULZQsJxVra28qIAL6ow1Z9tpattkCTEJR4RBP3TGc00FcttsP5pK284Nas5WjMZU5Yzy3kAIp3B3KRf5Yg==", + "dev": true, "dependencies": { - "yallist": "^4.0.0" + "@sinonjs/commons": "^1.8.1", + "@sinonjs/fake-timers": "^6.0.1", + "@sinonjs/samsam": "^5.3.1", + "diff": "^4.0.2", + "nise": "^4.0.4", + "supports-color": "^7.1.0" }, - "engines": { - "node": ">=8" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/sinon" } }, - "node_modules/minipass-collect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "node_modules/sinon-chai": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.7.0.tgz", + "integrity": "sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g==", + "dev": true, + "peerDependencies": { + "chai": "^4.0.0", + "sinon": ">=4.0.0" + } + }, + "node_modules/sinon/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, "engines": { - "node": ">= 8" + "node": ">=0.3.1" } }, - "node_modules/minipass-fetch": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.3.4.tgz", - "integrity": "sha512-TielGogIzbUEtd1LsjZFs47RWuHHfhl6TiCx1InVxApBAmQ8bL0dL5ilkLGcRvuyW/A9nE+Lvn855Ewz8S0PnQ==", + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, - "dependencies": { - "encoding": "^0.1.12", - "minipass": "^3.1.0", - "minipass-sized": "^1.0.3", - "minizlib": "^2.0.0" - }, "engines": { "node": ">=8" } }, - "node_modules/minipass-flush": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", + "node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, "dependencies": { - "minipass": "^3.0.0" + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" }, "engines": { - "node": ">= 8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, - "node_modules/minipass-json-stream": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", - "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", + "node_modules/slide": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", + "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=", "dev": true, - "dependencies": { - "jsonparse": "^1.3.1", - "minipass": "^3.0.0" + "engines": { + "node": "*" } }, - "node_modules/minipass-pipeline": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, "engines": { - "node": ">=8" + "node": ">= 6.0.0", + "npm": ">= 3.0.0" } }, - "node_modules/minipass-sized": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "node_modules/socks": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.1.tgz", + "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==", "dev": true, "dependencies": { - "minipass": "^3.0.0" + "ip": "^1.1.5", + "smart-buffer": "^4.1.0" }, "engines": { - "node": ">=8" + "node": ">= 10.13.0", + "npm": ">= 3.0.0" } }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "node_modules/socks-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz", + "integrity": "sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ==", + "dev": true, "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" + "agent-base": "^6.0.2", + "debug": "4", + "socks": "^2.3.3" }, "engines": { - "node": ">= 8" + "node": ">= 6" } }, - "node_modules/mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "node_modules/sort-array": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/sort-array/-/sort-array-4.1.4.tgz", + "integrity": "sha512-GVFN6Y1sHKrWaSYOJTk9093ZnrBMc9sP3nuhANU44S4xg3rE6W5Z5WyamuT8VpMBbssnetx5faKCua0LEmUnSw==", + "dev": true, "dependencies": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" + "array-back": "^5.0.0", + "typical": "^6.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "bin": { - "mkdirp": "bin/cmd.js" - }, + "node_modules/sort-array/node_modules/array-back": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", + "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", + "dev": true, "engines": { "node": ">=10" } }, - "node_modules/mkdirp-classic": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", - "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" - }, - "node_modules/mkdirp-infer-owner": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz", - "integrity": "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==", + "node_modules/sort-array/node_modules/typical": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/typical/-/typical-6.0.1.tgz", + "integrity": "sha512-+g3NEp7fJLe9DPa1TArHm9QAA7YciZmWnfAqEaFrBihQ7epOv9i99rjtgb6Iz0wh3WuQDjsCTDfgRoGnmHN81A==", "dev": true, - "dependencies": { - "chownr": "^2.0.0", - "infer-owner": "^1.0.4", - "mkdirp": "^1.0.3" - }, "engines": { "node": ">=10" } }, - "node_modules/mkdirp2": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/mkdirp2/-/mkdirp2-1.0.5.tgz", - "integrity": "sha512-xOE9xbICroUDmG1ye2h4bZ8WBie9EGmACaco8K8cx6RlkJJrxGIqjGqztAI+NMhexXBcdGbSEzI6N3EJPevxZw==", - "dev": true - }, - "node_modules/mocha": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-8.4.0.tgz", - "integrity": "sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ==", + "node_modules/sort-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-4.2.0.tgz", + "integrity": "sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg==", "dev": true, "dependencies": { - "@ungap/promise-all-settled": "1.1.2", - "ansi-colors": "4.1.1", - "browser-stdout": "1.3.1", - "chokidar": "3.5.1", - "debug": "4.3.1", - "diff": "5.0.0", - "escape-string-regexp": "4.0.0", - "find-up": "5.0.0", - "glob": "7.1.6", - "growl": "1.10.5", - "he": "1.2.0", - "js-yaml": "4.0.0", - "log-symbols": "4.0.0", - "minimatch": "3.0.4", - "ms": "2.1.3", - "nanoid": "3.1.20", - "serialize-javascript": "5.0.1", - "strip-json-comments": "3.1.1", - "supports-color": "8.1.1", - "which": "2.0.2", - "wide-align": "1.1.3", - "workerpool": "6.1.0", - "yargs": "16.2.0", - "yargs-parser": "20.2.4", - "yargs-unparser": "2.0.0" - }, - "bin": { - "_mocha": "bin/_mocha", - "mocha": "bin/mocha" + "is-plain-obj": "^2.0.0" }, "engines": { - "node": ">= 10.12.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/mocha/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "node_modules/sort-keys/node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "node_modules/mocha/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, - "dependencies": { - "ms": "2.1.2" - }, "engines": { - "node": ">=6.0" + "node": ">=0.10.0" } }, - "node_modules/mocha/node_modules/debug/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "node_modules/source-map-support": { + "version": "0.5.20", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", + "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } }, - "node_modules/mocha/node_modules/glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "node_modules/spawn-wrap": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", + "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^2.0.0", + "is-windows": "^1.0.2", + "make-dir": "^3.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "which": "^2.0.1" }, "engines": { - "node": "*" + "node": ">=8" } }, - "node_modules/mocha/node_modules/js-yaml": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", - "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", + "node_modules/spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", "dev": true, "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" } }, - "node_modules/mocha/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", "dev": true }, - "node_modules/mocha/node_modules/nanoid": { - "version": "3.1.20", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.20.tgz", - "integrity": "sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw==", + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", "dev": true, - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" } }, - "node_modules/mocha/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "node_modules/spdx-license-ids": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", + "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", + "dev": true + }, + "node_modules/split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", "dev": true, "dependencies": { - "has-flag": "^4.0.0" + "through": "2" }, "engines": { - "node": ">=10" + "node": "*" } }, - "node_modules/modify-values": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", + "node_modules/split-on-first": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz", + "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==", "dev": true, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/moment": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", - "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==", - "engines": { - "node": "*" + "node": ">=6" } }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", + "node_modules/split2": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "dev": true, "dependencies": { - "event-lite": "^0.1.1", - "ieee754": "^1.1.8", - "int64-buffer": "^0.1.9", - "isarray": "^1.0.0" - }, - "bin": { - "msgpack": "bin/msgpack" + "readable-stream": "^3.0.0" } }, - "node_modules/msgpack-lite/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true }, - "node_modules/multimatch": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz", - "integrity": "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==", + "node_modules/sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", "dev": true, "dependencies": { - "@types/minimatch": "^3.0.3", - "array-differ": "^3.0.0", - "array-union": "^2.1.0", - "arrify": "^2.0.1", - "minimatch": "^3.0.4" + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" }, "engines": { - "node": ">=10" + "node": ">=0.10.0" } }, - "node_modules/multimatch/node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "node_modules/ssri": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", + "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", "dev": true, + "dependencies": { + "minipass": "^3.1.1" + }, "engines": { - "node": ">=8" + "node": ">= 8" } }, - "node_modules/mustache": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/mustache/-/mustache-2.3.2.tgz", - "integrity": "sha512-KpMNwdQsYz3O/SBS1qJ/o3sqUJ5wSb8gb0pul8CO0S56b9Y2ALm8zCfsjPXsqGFfoNBkDwZuZIAjhsZI03gYVQ==", - "bin": { - "mustache": "bin/mustache" - }, - "engines": { - "npm": ">=1.4.0" - } - }, - "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" - }, - "node_modules/nanoclone": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz", - "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==" - }, - "node_modules/nanoid": { - "version": "3.1.25", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", - "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "node_modules/stream-connect": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/stream-connect/-/stream-connect-1.0.2.tgz", + "integrity": "sha1-GLyB8u2zW4tdmoAJIAqYUxRCipc=", + "dev": true, "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "array-back": "^1.0.2" }, "engines": { "node": ">=0.10.0" } }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true - }, - "node_modules/natural-orderby": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/natural-orderby/-/natural-orderby-2.0.3.tgz", - "integrity": "sha512-p7KTHxU0CUrcOXe62Zfrb5Z13nLvPhSWR/so3kFulUQU0sgUll2Z0LwpsLN351eOOD+hRGu/F1g+6xDfPeD++Q==", - "engines": { - "node": "*" - } - }, - "node_modules/ndjson": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ndjson/-/ndjson-2.0.0.tgz", - "integrity": "sha512-nGl7LRGrzugTtaFcJMhLbpzJM6XdivmbkdlaGcrk/LXg2KL/YBC6z1g70xh0/al+oFuVFP8N8kiWRucmeEH/qQ==", + "node_modules/stream-connect/node_modules/array-back": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", + "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "dev": true, "dependencies": { - "json-stringify-safe": "^5.0.1", - "minimist": "^1.2.5", - "readable-stream": "^3.6.0", - "split2": "^3.0.0", - "through2": "^4.0.0" - }, - "bin": { - "ndjson": "cli.js" + "typical": "^2.6.0" }, "engines": { - "node": ">=10" + "node": ">=0.12.0" } }, - "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", + "node_modules/stream-via": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/stream-via/-/stream-via-1.0.4.tgz", + "integrity": "sha512-DBp0lSvX5G9KGRDTkR/R+a29H+Wk2xItOF+MpZLLNDWbEV9tGPnqLPxHEYjmiz8xGtJHRIqmI+hCjmNzqoA4nQ==", + "dev": true, "engines": { - "node": ">= 0.6" + "node": ">=0.10.0" } }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, - "node_modules/network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=", - "bin": { - "network-address": "cli.js" + "node_modules/strict-uri-encode": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", + "integrity": "sha1-ucczDHBChi9rFC3CdLvMWGbONUY=", + "dev": true, + "engines": { + "node": ">=4" } }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" - }, - "node_modules/nise": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/nise/-/nise-4.1.0.tgz", - "integrity": "sha512-eQMEmGN/8arp0xsvGoQ+B1qvSkR73B1nWSCh7nOt5neMCtwcQVYQGdzQMhcNscktTsWB54xnlSQFzOAPJD8nXA==", + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.7.0", - "@sinonjs/fake-timers": "^6.0.0", - "@sinonjs/text-encoding": "^0.7.1", - "just-extend": "^4.0.2", - "path-to-regexp": "^1.7.0" + "safe-buffer": "~5.2.0" } }, - "node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "engines": { - "node": "4.x || >=6.0.0" - } + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, "engines": { - "node": ">= 6.0.0" + "node": ">=8" } }, - "node_modules/node-gyp": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz", - "integrity": "sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw==", + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", "dev": true, "dependencies": { - "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.2", - "mkdirp": "^0.5.1", - "nopt": "^4.0.1", - "npmlog": "^4.1.2", - "request": "^2.88.0", - "rimraf": "^2.6.3", - "semver": "^5.7.1", - "tar": "^4.4.12", - "which": "^1.3.1" - }, - "bin": { - "node-gyp": "bin/node-gyp.js" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" }, - "engines": { - "node": ">= 6.0.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/node-gyp-build": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz", - "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==", - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/node-gyp/node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true - }, - "node_modules/node-gyp/node_modules/fs-minipass": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", - "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "dependencies": { - "minipass": "^2.6.0" + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" } }, - "node_modules/node-gyp/node_modules/minipass": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", - "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true, - "dependencies": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" + "engines": { + "node": ">=8" } }, - "node_modules/node-gyp/node_modules/minizlib": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", - "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true, - "dependencies": { - "minipass": "^2.9.0" + "engines": { + "node": ">=6" } }, - "node_modules/node-gyp/node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "dev": true, "dependencies": { - "minimist": "^1.2.5" + "min-indent": "^1.0.0" }, - "bin": { - "mkdirp": "bin/cmd.js" + "engines": { + "node": ">=8" } }, - "node_modules/node-gyp/node_modules/nopt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", - "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, - "dependencies": { - "abbrev": "1", - "osenv": "^0.1.4" + "engines": { + "node": ">=8" }, - "bin": { - "nopt": "bin/nopt.js" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/node-gyp/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "node_modules/strong-log-transformer": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", + "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", "dev": true, "dependencies": { - "glob": "^7.1.3" + "duplexer": "^0.1.1", + "minimist": "^1.2.0", + "through": "^2.3.4" }, "bin": { - "rimraf": "bin.js" + "sl-log-transformer": "bin/sl-log-transformer.js" + }, + "engines": { + "node": ">=4" } }, - "node_modules/node-gyp/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - }, - "node_modules/node-gyp/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/node-gyp/node_modules/tar": { - "version": "4.4.19", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", - "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "dependencies": { - "chownr": "^1.1.4", - "fs-minipass": "^1.2.7", - "minipass": "^2.9.0", - "minizlib": "^1.3.3", - "mkdirp": "^0.5.5", - "safe-buffer": "^5.2.1", - "yallist": "^3.1.1" + "has-flag": "^4.0.0" }, "engines": { - "node": ">=4.5" + "node": ">=8" } }, - "node_modules/node-gyp/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "node_modules/table": { + "version": "6.7.2", + "resolved": "https://registry.npmjs.org/table/-/table-6.7.2.tgz", + "integrity": "sha512-UFZK67uvyNivLeQbVtkiUs8Uuuxv24aSL4/Vil2PJVtMgU8Lx0CYkP12uCGa3kjyQzOSgV1+z9Wkb82fCGsO0g==", "dev": true, "dependencies": { - "isexe": "^2.0.0" + "ajv": "^8.0.1", + "lodash.clonedeep": "^4.5.0", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" }, - "bin": { - "which": "bin/which" + "engines": { + "node": ">=10.0.0" } }, - "node_modules/node-gyp/node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true - }, - "node_modules/node-preload": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", - "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", + "node_modules/table-layout": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.5.tgz", + "integrity": "sha512-zTvf0mcggrGeTe/2jJ6ECkJHAQPIYEwDoqsiqBjI24mvRmQbInK5jq33fyypaCBxX08hMkfmdOqj6haT33EqWw==", "dev": true, "dependencies": { - "process-on-spawn": "^1.0.0" + "array-back": "^2.0.0", + "deep-extend": "~0.6.0", + "lodash.padend": "^4.6.1", + "typical": "^2.6.1", + "wordwrapjs": "^3.0.0" }, "engines": { - "node": ">=8" - } - }, - "node_modules/node-record-lpcm16": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", - "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", - "dependencies": { - "debug": "^2.6.8" - } - }, - "node_modules/node-record-lpcm16/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" + "node": ">=4.0.0" } }, - "node_modules/node-record-lpcm16/node_modules/ms": { + "node_modules/table-layout/node_modules/array-back": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/node-releases": { - "version": "1.1.75", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.75.tgz", - "integrity": "sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw==", - "dev": true - }, - "node_modules/node-vault": { - "version": "0.9.22", - "resolved": "https://registry.npmjs.org/node-vault/-/node-vault-0.9.22.tgz", - "integrity": "sha512-/IR+YvINFhCzxJA5x/KHUDymJerFaeqvPUE2zwceRig8yEIA41qfVKusmO6bqRGFkr/2f6CaBVp7YfabzQyteg==", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", + "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", + "dev": true, "dependencies": { - "debug": "3.1.0", - "mustache": "^2.2.1", - "request": "2.88.0", - "request-promise-native": "1.0.7", - "tv4": "^1.2.7" + "typical": "^2.6.1" + }, + "engines": { + "node": ">=4" } }, - "node_modules/node-vault/node_modules/debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "node_modules/table/node_modules/ajv": { + "version": "8.6.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.3.tgz", + "integrity": "sha512-SMJOdDP6LqTkD0Uq8qLi+gMwSt0imXLSV080qFVwJCpH9U6Mb+SUGHAXM0KNbcBPguytWyvFxcHgMLe2D2XSpw==", + "dev": true, "dependencies": { - "ms": "2.0.0" + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/node-vault/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/node-vault/node_modules/punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + "node_modules/table/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true }, - "node_modules/node-vault/node_modules/qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "engines": { - "node": ">=0.6" - } + "node_modules/taffydb": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", + "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=", + "dev": true }, - "node_modules/node-vault/node_modules/request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", - "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "node_modules/tar": { + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "dev": true, "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" }, "engines": { - "node": ">= 4" + "node": ">= 10" } }, - "node_modules/node-vault/node_modules/tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "dependencies": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - }, + "node_modules/temp-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", + "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", + "dev": true, "engines": { - "node": ">=0.8" + "node": ">=4" } }, - "node_modules/nodemon": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.12.tgz", - "integrity": "sha512-egCTmNZdObdBxUBw6ZNwvZ/xzk24CKRs5K6d+5zbmrMr7rOpPmfPeF6OxM3DDpaRx331CQRFEktn+wrFFfBSOA==", + "node_modules/temp-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-path/-/temp-path-1.0.0.tgz", + "integrity": "sha1-JLFUOXOrRCiW2a02fdnL2/r+kYs=", + "dev": true + }, + "node_modules/temp-write": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/temp-write/-/temp-write-4.0.0.tgz", + "integrity": "sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw==", "dev": true, "dependencies": { - "chokidar": "^3.2.2", - "debug": "^3.2.6", - "ignore-by-default": "^1.0.1", - "minimatch": "^3.0.4", - "pstree.remy": "^1.1.7", - "semver": "^5.7.1", - "supports-color": "^5.5.0", - "touch": "^3.1.0", - "undefsafe": "^2.0.3", - "update-notifier": "^4.1.0" - }, - "bin": { - "nodemon": "bin/nodemon.js" + "graceful-fs": "^4.1.15", + "is-stream": "^2.0.0", + "make-dir": "^3.0.0", + "temp-dir": "^1.0.0", + "uuid": "^3.3.2" }, "engines": { - "node": ">=8.10.0" + "node": ">=8" } }, - "node_modules/nodemon/node_modules/boxen": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", - "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, "dependencies": { - "ansi-align": "^3.0.0", - "camelcase": "^5.3.1", - "chalk": "^3.0.0", - "cli-boxes": "^2.2.0", - "string-width": "^4.1.0", - "term-size": "^2.1.0", - "type-fest": "^0.8.1", - "widest-line": "^3.1.0" + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" }, "engines": { "node": ">=8" } }, - "node_modules/nodemon/node_modules/chalk": { + "node_modules/test-value": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "resolved": "https://registry.npmjs.org/test-value/-/test-value-3.0.0.tgz", + "integrity": "sha512-sVACdAWcZkSU9x7AOmJo5TqE+GyNJknHaHsMrR6ZnhjVlVN9Yx6FjHrsKZ3BjIpPCT68zYesPWkakrNupwfOTQ==", "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "array-back": "^2.0.0", + "typical": "^2.6.1" }, "engines": { - "node": ">=8" + "node": ">=4.0.0" } }, - "node_modules/nodemon/node_modules/chalk/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/test-value/node_modules/array-back": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", + "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", "dev": true, + "dependencies": { + "typical": "^2.6.1" + }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/nodemon/node_modules/chalk/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/text-extensions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", + "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, "engines": { - "node": ">=8" + "node": ">=0.10" } }, - "node_modules/nodemon/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "node_modules/through2": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, "dependencies": { - "ms": "^2.1.1" + "readable-stream": "3" } }, - "node_modules/nodemon/node_modules/global-dirs": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.1.0.tgz", - "integrity": "sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ==", + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, "dependencies": { - "ini": "1.3.7" + "os-tmpdir": "~1.0.2" }, "engines": { - "node": ">=8" + "node": ">=0.6.0" } }, - "node_modules/nodemon/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true, "engines": { "node": ">=4" } }, - "node_modules/nodemon/node_modules/ini": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz", - "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==", - "dev": true + "node_modules/to-readable-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", + "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", + "dev": true, + "engines": { + "node": ">=6" + } }, - "node_modules/nodemon/node_modules/is-installed-globally": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", - "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "dependencies": { - "global-dirs": "^2.0.1", - "is-path-inside": "^3.0.1" + "is-number": "^7.0.0" }, "engines": { - "node": ">=8" + "node": ">=8.0" } }, - "node_modules/nodemon/node_modules/is-npm": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", - "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==", + "node_modules/touch": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", + "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", "dev": true, - "engines": { - "node": ">=8" + "dependencies": { + "nopt": "~1.0.10" + }, + "bin": { + "nodetouch": "bin/nodetouch.js" } }, - "node_modules/nodemon/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "node_modules/touch/node_modules/nopt": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", + "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", "dev": true, + "dependencies": { + "abbrev": "1" + }, "bin": { - "semver": "bin/semver" + "nopt": "bin/nopt.js" } }, - "node_modules/nodemon/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", "dev": true, "dependencies": { - "has-flag": "^3.0.0" + "psl": "^1.1.28", + "punycode": "^2.1.1" }, "engines": { - "node": ">=4" + "node": ">=0.8" } }, - "node_modules/nodemon/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "node_modules/tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", "dev": true, + "dependencies": { + "punycode": "^2.1.1" + }, "engines": { "node": ">=8" } }, - "node_modules/nodemon/node_modules/update-notifier": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz", - "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==", + "node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "dev": true, - "dependencies": { - "boxen": "^4.2.0", - "chalk": "^3.0.0", - "configstore": "^5.0.1", - "has-yarn": "^2.1.0", - "import-lazy": "^2.1.0", - "is-ci": "^2.0.0", - "is-installed-globally": "^0.3.1", - "is-npm": "^4.0.0", - "is-yarn-global": "^0.3.0", - "latest-version": "^5.0.0", - "pupa": "^2.0.1", - "semver-diff": "^3.1.1", - "xdg-basedir": "^4.0.0" - }, "engines": { "node": ">=8" } }, - "node_modules/nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "node_modules/ts-node": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", + "integrity": "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==", "dev": true, "dependencies": { - "abbrev": "1" + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "source-map-support": "^0.5.17", + "yn": "3.1.1" }, "bin": { - "nopt": "bin/nopt.js" + "ts-node": "dist/bin.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" }, "engines": { - "node": ">=6" - } - }, - "node_modules/normalize-package-data": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" + "node": ">=10.0.0" }, - "engines": { - "node": ">=10" + "peerDependencies": { + "typescript": ">=2.7" } }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "node_modules/ts-node/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=0.3.1" } }, - "node_modules/normalize-url": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", - "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, "engines": { - "node": ">=10" + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" } }, - "node_modules/npm-bundled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", - "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "dev": true, "dependencies": { - "npm-normalize-package-bin": "^1.0.1" + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" } }, - "node_modules/npm-install-checks": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz", - "integrity": "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==", + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, "dependencies": { - "semver": "^7.1.1" + "prelude-ls": "^1.2.1" }, "engines": { - "node": ">=10" + "node": ">= 0.8.0" } }, - "node_modules/npm-lifecycle": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz", - "integrity": "sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g==", + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true, - "dependencies": { - "byline": "^5.0.0", - "graceful-fs": "^4.1.15", - "node-gyp": "^5.0.2", - "resolve-from": "^4.0.0", - "slide": "^1.1.6", - "uid-number": "0.0.6", - "umask": "^1.1.0", - "which": "^1.3.1" + "engines": { + "node": ">=4" } }, - "node_modules/npm-lifecycle/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, - "dependencies": { - "isexe": "^2.0.0" + "engines": { + "node": ">=10" }, - "bin": { - "which": "bin/which" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/npm-normalize-package-bin": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", - "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", "dev": true }, - "node_modules/npm-package-arg": { - "version": "8.1.5", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz", - "integrity": "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==", + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", "dev": true, "dependencies": { - "hosted-git-info": "^4.0.1", - "semver": "^7.3.4", - "validate-npm-package-name": "^3.0.0" - }, - "engines": { - "node": ">=10" + "is-typedarray": "^1.0.0" } }, - "node_modules/npm-packlist": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz", - "integrity": "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==", + "node_modules/typescript": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", + "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", "dev": true, - "dependencies": { - "glob": "^7.1.6", - "ignore-walk": "^3.0.3", - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - }, "bin": { - "npm-packlist": "bin/index.js" - }, + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, "engines": { - "node": ">=10" + "node": ">=4.2.0" } }, - "node_modules/npm-pick-manifest": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz", - "integrity": "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==", - "dev": true, - "dependencies": { - "npm-install-checks": "^4.0.0", - "npm-normalize-package-bin": "^1.0.1", - "npm-package-arg": "^8.1.2", - "semver": "^7.3.4" - } + "node_modules/typical": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", + "integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=", + "dev": true }, - "node_modules/npm-registry-fetch": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-9.0.0.tgz", - "integrity": "sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA==", + "node_modules/uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", + "dev": true + }, + "node_modules/uglify-js": { + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.2.tgz", + "integrity": "sha512-rtPMlmcO4agTUfz10CbgJ1k6UAoXM2gWb3GoMPPZB/+/Ackf8lNWk11K4rYi2D0apgoFRLtQOZhb+/iGNJq26A==", "dev": true, - "dependencies": { - "@npmcli/ci-detect": "^1.0.0", - "lru-cache": "^6.0.0", - "make-fetch-happen": "^8.0.9", - "minipass": "^3.1.3", - "minipass-fetch": "^1.3.0", - "minipass-json-stream": "^1.0.1", - "minizlib": "^2.0.0", - "npm-package-arg": "^8.0.0" + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" }, "engines": { - "node": ">=10" + "node": ">=0.8.0" } }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dependencies": { - "path-key": "^3.0.0" - }, + "node_modules/uid-number": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz", + "integrity": "sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=", + "dev": true, "engines": { - "node": ">=8" + "node": "*" } }, - "node_modules/npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "dev": true, - "dependencies": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } + "node_modules/umask": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz", + "integrity": "sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0=", + "dev": true }, - "node_modules/number-is-nan": { + "node_modules/unbox-primitive": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", "dev": true, - "engines": { - "node": ">=0.10.0" + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/nyc": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", - "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", + "node_modules/undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", + "dev": true + }, + "node_modules/underscore": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz", + "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==", + "dev": true + }, + "node_modules/unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", "dev": true, "dependencies": { - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "caching-transform": "^4.0.0", - "convert-source-map": "^1.7.0", - "decamelize": "^1.2.0", - "find-cache-dir": "^3.2.0", - "find-up": "^4.1.0", - "foreground-child": "^2.0.0", - "get-package-type": "^0.1.0", - "glob": "^7.1.6", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-hook": "^3.0.0", - "istanbul-lib-instrument": "^4.0.0", - "istanbul-lib-processinfo": "^2.0.2", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.0.2", - "make-dir": "^3.0.0", - "node-preload": "^0.2.1", - "p-map": "^3.0.0", - "process-on-spawn": "^1.0.0", - "resolve-from": "^5.0.0", - "rimraf": "^3.0.0", - "signal-exit": "^3.0.2", - "spawn-wrap": "^2.0.0", - "test-exclude": "^6.0.0", - "yargs": "^15.0.2" - }, - "bin": { - "nyc": "bin/nyc.js" - }, - "engines": { - "node": ">=8.9" + "unique-slug": "^2.0.0" } }, - "node_modules/nyc/node_modules/cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "node_modules/unique-slug": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", + "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", "dev": true, "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" + "imurmurhash": "^0.1.4" } }, - "node_modules/nyc/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "node_modules/unique-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", + "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", "dev": true, "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "crypto-random-string": "^2.0.0" }, "engines": { "node": ">=8" } }, - "node_modules/nyc/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "node_modules/universal-user-agent": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dev": true + }, + "node_modules/upath": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", + "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, "engines": { - "node": ">=8" + "node": ">=4", + "yarn": "*" } }, - "node_modules/nyc/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "node_modules/update-notifier": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-5.1.0.tgz", + "integrity": "sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==", "dev": true, "dependencies": { - "p-try": "^2.0.0" + "boxen": "^5.0.0", + "chalk": "^4.1.0", + "configstore": "^5.0.1", + "has-yarn": "^2.1.0", + "import-lazy": "^2.1.0", + "is-ci": "^2.0.0", + "is-installed-globally": "^0.4.0", + "is-npm": "^5.0.0", + "is-yarn-global": "^0.3.0", + "latest-version": "^5.1.0", + "pupa": "^2.1.1", + "semver": "^7.3.4", + "semver-diff": "^3.1.1", + "xdg-basedir": "^4.0.0" }, "engines": { - "node": ">=6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/yeoman/update-notifier?sponsor=1" } }, - "node_modules/nyc/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" + "punycode": "^2.1.0" } }, - "node_modules/nyc/node_modules/p-map": { + "node_modules/url-parse-lax": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", - "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", + "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", "dev": true, "dependencies": { - "aggregate-error": "^3.0.0" + "prepend-http": "^2.0.0" }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/nyc/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "node_modules/util-promisify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz", + "integrity": "sha1-PCI2R2xNMsX/PEcAKt18E7moKlM=", "dev": true, - "engines": { - "node": ">=8" + "dependencies": { + "object.getownpropertydescriptors": "^2.0.3" } }, - "node_modules/nyc/node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" + "bin": { + "uuid": "bin/uuid" } }, - "node_modules/nyc/node_modules/y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", "dev": true }, - "node_modules/nyc/node_modules/yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, "dependencies": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - }, - "engines": { - "node": ">=8" + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" } }, - "node_modules/nyc/node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "node_modules/validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha1-X6kS2B630MdK/BQN5zF/DKffQ34=", "dev": true, "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" + "builtins": "^1.0.3" } }, - "node_modules/oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "engines": { - "node": "*" + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" } }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "node_modules/walk-back": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-5.1.0.tgz", + "integrity": "sha512-Uhxps5yZcVNbLEAnb+xaEEMdgTXl9qAQDzKYejG2AZ7qPwRQ81lozY9ECDbjLPNWm7YsO1IK5rsP1KoQzXAcGA==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=12.17" } }, - "node_modules/object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "dev": true, "dependencies": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "engines": { - "node": ">=0.10.0" + "defaults": "^1.0.3" } }, - "node_modules/object-copy/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dependencies": { - "is-descriptor": "^0.1.0" - }, + "node_modules/webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=10.4" } }, - "node_modules/object-copy/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "node_modules/whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dev": true, "dependencies": { - "kind-of": "^3.0.2" + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/object-copy/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "dependencies": { - "kind-of": "^3.0.2" + "isexe": "^2.0.0" }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "bin": { + "node-which": "bin/node-which" }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" + "node": ">= 8" } }, - "node_modules/object-copy/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, "dependencies": { - "is-buffer": "^1.1.5" + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-get": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object-get/-/object-get-2.1.1.tgz", - "integrity": "sha512-7n4IpLMzGGcLEMiQKsNR7vCe+N5E9LORFrtNUVy4sO3dj9a3HedZCxEL2T7QuLhcHN1NBuBsMOKaOsAYI9IIvg==", + "node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, - "node_modules/object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==" - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "engines": { - "node": ">= 0.4" + "node_modules/wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "dependencies": { + "string-width": "^1.0.2 || 2" } }, - "node_modules/object-to-spawn-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object-to-spawn-args/-/object-to-spawn-args-2.0.1.tgz", - "integrity": "sha512-6FuKFQ39cOID+BMZ3QaphcC8Y4cw6LXBLyIgPU+OhIYwviJamPAn+4mITapnSBQrejB+NNp+FMskhD8Cq+Ys3w==", + "node_modules/wide-align/node_modules/ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", "dev": true, "engines": { - "node": ">=8.0.0" + "node": ">=4" } }, - "node_modules/object-treeify": { - "version": "1.1.33", - "resolved": "https://registry.npmjs.org/object-treeify/-/object-treeify-1.1.33.tgz", - "integrity": "sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==", + "node_modules/wide-align/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true, "engines": { - "node": ">= 10" + "node": ">=4" } }, - "node_modules/object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "node_modules/wide-align/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, "dependencies": { - "isobject": "^3.0.0" + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "node_modules/wide-align/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" + "ansi-regex": "^3.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=4" } }, - "node_modules/object.getownpropertydescriptors": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz", - "integrity": "sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ==", + "node_modules/widest-line": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", + "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2" + "string-width": "^4.0.0" }, "engines": { - "node": ">= 0.8" + "node": ">=8" } }, - "node_modules/object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dependencies": { - "isobject": "^3.0.1" - }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "dependencies": { - "bson": "^0.1.9" - } + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "node_modules/wordwrapjs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz", + "integrity": "sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw==", + "dev": true, "dependencies": { - "ee-first": "1.1.1" + "reduce-flatten": "^1.0.1", + "typical": "^2.6.1" }, "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "dependencies": { - "fn.name": "1.x.x" + "node": ">=4.0.0" } }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dependencies": { - "mimic-fn": "^2.1.0" - }, + "node_modules/wordwrapjs/node_modules/reduce-flatten": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-1.0.1.tgz", + "integrity": "sha1-JYx479FT3fk8tWEjf2EYTzaW4yc=", + "dev": true, "engines": { - "node": ">=6" + "node": ">=0.10.0" } }, - "node_modules/openfaas-client": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/openfaas-client/-/openfaas-client-0.0.2.tgz", - "integrity": "sha512-Dv3sBrbRNmdh9Tjsam6E00Wyh7Ghspv3i9tv1kfRHiVnZV0bmH5rx6zJ8i4A8jCfYHuBdHONffhm9/xh/KSYBQ==", - "dependencies": { - "bluebird": "^3.7.2", - "request": "^2.88.2", - "typescript": "^4.2.4" - } + "node_modules/workerpool": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.0.tgz", + "integrity": "sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg==", + "dev": true }, - "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" }, "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true, - "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/os-tmpdir": { + "node_modules/wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "engines": { - "node": ">=0.10.0" - } + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true }, - "node_modules/osenv": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", - "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "node_modules/write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", "dev": true, "dependencies": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" } }, - "node_modules/p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", + "node_modules/write-json-file": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-4.3.0.tgz", + "integrity": "sha512-PxiShnxf0IlnQuMYOPPhPkhExoCQuTUNPOa/2JWCYTmBquU9njyyDuwRKN26IZBlp4yn1nt+Agh2HOOBl+55HQ==", + "dev": true, + "dependencies": { + "detect-indent": "^6.0.0", + "graceful-fs": "^4.1.15", + "is-plain-obj": "^2.0.0", + "make-dir": "^3.0.0", + "sort-keys": "^4.0.0", + "write-file-atomic": "^3.0.0" + }, "engines": { - "node": ">=6" + "node": ">=8.3" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "node_modules/write-json-file/node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "node_modules/write-pkg": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz", + "integrity": "sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==", "dev": true, "dependencies": { - "yocto-queue": "^0.1.0" + "sort-keys": "^2.0.0", + "type-fest": "^0.4.1", + "write-json-file": "^3.2.0" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/p-locate": { + "node_modules/write-pkg/node_modules/detect-indent": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", + "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=", "dev": true, - "dependencies": { - "p-limit": "^3.0.2" - }, "engines": { - "node": ">=10" + "node": ">=4" } }, - "node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "node_modules/write-pkg/node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dev": true, "dependencies": { - "aggregate-error": "^3.0.0" + "pify": "^4.0.1", + "semver": "^5.6.0" }, "engines": { - "node": ">=10" + "node": ">=6" } }, - "node_modules/p-map-series": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz", - "integrity": "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==", + "node_modules/write-pkg/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/p-pipe": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", - "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", + "node_modules/write-pkg/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true, - "engines": { - "node": ">=8" + "bin": { + "semver": "bin/semver" } }, - "node_modules/p-queue": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", - "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "node_modules/write-pkg/node_modules/sort-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", + "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=", "dev": true, "dependencies": { - "eventemitter3": "^4.0.4", - "p-timeout": "^3.2.0" + "is-plain-obj": "^1.0.0" }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/p-reduce": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", - "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", + "node_modules/write-pkg/node_modules/type-fest": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", + "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", "dev": true, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/p-retry": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-3.0.1.tgz", - "integrity": "sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w==", + "node_modules/write-pkg/node_modules/write-file-atomic": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", + "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", + "dev": true, "dependencies": { - "retry": "^0.12.0" - }, - "engines": { - "node": ">=6" + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" } }, - "node_modules/p-timeout": { + "node_modules/write-pkg/node_modules/write-json-file": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz", + "integrity": "sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ==", "dev": true, "dependencies": { - "p-finally": "^1.0.0" + "detect-indent": "^5.0.0", + "graceful-fs": "^4.1.15", + "make-dir": "^2.1.0", + "pify": "^4.0.1", + "sort-keys": "^2.0.0", + "write-file-atomic": "^2.4.2" }, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "node_modules/xdg-basedir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", "dev": true, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/p-waterfall": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz", - "integrity": "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==", - "dev": true, - "dependencies": { - "p-reduce": "^2.0.0" - }, - "engines": { - "node": ">=8" - } + "node_modules/xmlcreate": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", + "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", + "dev": true }, - "node_modules/package-hash": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", - "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", "dev": true, - "dependencies": { - "graceful-fs": "^4.1.15", - "hasha": "^5.0.0", - "lodash.flattendeep": "^4.4.0", - "release-zalgo": "^1.0.0" - }, "engines": { - "node": ">=8" + "node": ">=0.4" } }, - "node_modules/package-json": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", - "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", - "dependencies": { - "got": "^9.6.0", - "registry-auth-token": "^4.0.0", - "registry-url": "^5.0.0", - "semver": "^6.2.0" - }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=10" } }, - "node_modules/package-json/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" - } + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, - "node_modules/pacote": { - "version": "11.3.5", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz", - "integrity": "sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==", + "node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", "dev": true, - "dependencies": { - "@npmcli/git": "^2.1.0", - "@npmcli/installed-package-contents": "^1.0.6", - "@npmcli/promise-spawn": "^1.2.0", - "@npmcli/run-script": "^1.8.2", - "cacache": "^15.0.5", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "infer-owner": "^1.0.4", - "minipass": "^3.1.3", - "mkdirp": "^1.0.3", - "npm-package-arg": "^8.0.1", - "npm-packlist": "^2.1.4", - "npm-pick-manifest": "^6.0.0", - "npm-registry-fetch": "^11.0.0", - "promise-retry": "^2.0.1", - "read-package-json-fast": "^2.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.1.0" - }, - "bin": { - "pacote": "lib/bin.js" - }, "engines": { - "node": ">=10" + "node": ">= 6" } }, - "node_modules/pacote/node_modules/make-fetch-happen": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.0.5.tgz", - "integrity": "sha512-XN0i/VqHsql30Oq7179spk6vu3IuaPL1jaivNYhBrJtK7tkOuJwMK2IlROiOnJ40b9SvmOo2G86FZyI6LD2EsQ==", + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, "dependencies": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.2.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.2", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^6.0.0", - "ssri": "^8.0.0" + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" }, "engines": { - "node": ">= 10" + "node": ">=10" } }, - "node_modules/pacote/node_modules/npm-registry-fetch": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", - "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", "dev": true, - "dependencies": { - "make-fetch-happen": "^9.0.1", - "minipass": "^3.1.3", - "minipass-fetch": "^1.3.0", - "minipass-json-stream": "^1.0.1", - "minizlib": "^2.0.0", - "npm-package-arg": "^8.0.0" - }, "engines": { "node": ">=10" } }, - "node_modules/pacote/node_modules/socks-proxy-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.0.0.tgz", - "integrity": "sha512-FIgZbQWlnjVEQvMkylz64/rUggGtrKstPnx8OZyYFG0tAFR8CSBtpXxSwbFLHyeXFn/cunFL7MpuSOvDSOPo9g==", + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", "dev": true, "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.1", - "socks": "^2.6.1" + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" }, "engines": { - "node": ">= 10" + "node": ">=10" } }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "node_modules/yargs-unparser/node_modules/camelcase": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, "engines": { - "node": ">=6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "node_modules/yargs-unparser/node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/parse-path": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-4.0.3.tgz", - "integrity": "sha512-9Cepbp2asKnWTJ9x2kpw6Fe8y9JDbqwahGCTvklzd/cEq5C5JC59x2Xb0Kx+x0QZ8bvNquGO8/BWP0cwBHzSAA==", + "node_modules/yargs-unparser/node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true, - "dependencies": { - "is-ssh": "^1.3.0", - "protocols": "^1.4.0", - "qs": "^6.9.4", - "query-string": "^6.13.8" + "engines": { + "node": ">=8" } }, - "node_modules/parse-url": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-6.0.0.tgz", - "integrity": "sha512-cYyojeX7yIIwuJzledIHeLUBVJ6COVLeT4eF+2P6aKVzwvgKQPndCBv3+yQ7pcWjqToYwaligxzSYNNmGoMAvw==", + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", "dev": true, - "dependencies": { - "is-ssh": "^1.3.0", - "normalize-url": "^6.1.0", - "parse-path": "^4.0.0", - "protocols": "^1.4.0" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "engines": { - "node": ">= 0.8" + "node": ">=6" } }, - "node_modules/pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } - }, - "node_modules/password-prompt": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/password-prompt/-/password-prompt-1.1.2.tgz", - "integrity": "sha512-bpuBhROdrhuN3E7G/koAju0WjVw9/uQOG5Co5mokNj0MiOSBVZS1JTwM4zl55hu0WFmIEFvO9cU9sJQiBIYeIA==", - "dependencies": { - "ansi-escapes": "^3.1.0", - "cross-spawn": "^6.0.5" + } + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", + "dev": true, + "requires": { + "@babel/highlight": "^7.10.4" } }, - "node_modules/password-prompt/node_modules/ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "engines": { - "node": ">=4" - } + "@babel/compat-data": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.8.tgz", + "integrity": "sha512-m7OkX0IdKLKPpBlJtF561YJal5y/jyI5fNfWbPxh2D/nbzzGI4qRyrD8xO2jB24u7l+5I2a43scCG2IrfjC50Q==", + "dev": true }, - "node_modules/password-prompt/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "@babel/core": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.0.tgz", + "integrity": "sha512-mYZEvshBRHGsIAiyH5PzCFTCfbWfoYbO/jcSdXQSUQu1/pW0xDZAUP7KEc32heqWTAfAHhV9j1vH8Sav7l+JNQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-compilation-targets": "^7.16.0", + "@babel/helper-module-transforms": "^7.16.0", + "@babel/helpers": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.1.2", + "semver": "^6.3.0", + "source-map": "^0.5.0" }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/password-prompt/node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "engines": { - "node": ">=4" - } - }, - "node_modules/password-prompt/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/password-prompt/node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/password-prompt/node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "engines": { - "node": ">=0.10.0" + "@babel/code-frame": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", + "dev": true, + "requires": { + "@babel/highlight": "^7.16.0" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } } }, - "node_modules/password-prompt/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dependencies": { - "isexe": "^2.0.0" + "@babel/generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.8.tgz", + "integrity": "sha512-1ojZwE9+lOXzcWdWmO6TbUzDfqLD39CmEhN8+2cX9XkDo5yW1OpgfejfliysR2AWLpMamTiOiAp/mtroaymhpw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.8", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" }, - "bin": { - "which": "bin/which" + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } } }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "@babel/helper-compilation-targets": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", + "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", "dev": true, - "engines": { - "node": ">=8" + "requires": { + "@babel/compat-data": "^7.16.4", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" + "requires": { + "@babel/types": "^7.16.7" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "@babel/helper-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", + "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", "dev": true, - "dependencies": { - "isarray": "0.0.1" - } - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "engines": { - "node": "*" - } - }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, - "node_modules/phone": { - "version": "2.4.22", - "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", - "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==", - "engines": { - "node": ">=6.10.0" - } - }, - "node_modules/picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", - "engines": { - "node": ">=8.6" + "requires": { + "@babel/helper-get-function-arity": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/types": "^7.16.7" } }, - "node_modules/pify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", + "@babel/helper-get-function-arity": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", + "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", "dev": true, - "engines": { - "node": ">=10" + "requires": { + "@babel/types": "^7.16.7" } }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" + "requires": { + "@babel/types": "^7.16.7" } }, - "node_modules/pkg-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" + "requires": { + "@babel/types": "^7.16.7" } }, - "node_modules/pkg-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "@babel/helper-module-transforms": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.7.tgz", + "integrity": "sha512-gaqtLDxJEFCeQbYp9aLAefjhkKdjKcdh6DB7jniIGU3Pz52WAmP268zK0VgPz9hUNkMSYeH976K2/Y6yPadpng==", "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" } }, - "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "@babel/helper-simple-access": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", + "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" + "requires": { + "@babel/types": "^7.16.7" } }, - "node_modules/pkg-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "engines": { - "node": ">=0.10.0" + "requires": { + "@babel/types": "^7.16.7" } }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true }, - "node_modules/prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", - "engines": { - "node": ">=4" - } + "@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "dev": true }, - "node_modules/prettier": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.2.tgz", - "integrity": "sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==", + "@babel/helpers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.0.tgz", + "integrity": "sha512-dVRM0StFMdKlkt7cVcGgwD8UMaBfWJHl3A83Yfs8GQ3MO0LHIIIMvK7Fa0RGOGUQ10qikLaX6D7o5htcQWgTMQ==", "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" + "requires": { + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" } }, - "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "@babel/highlight": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.7.tgz", + "integrity": "sha512-aKpPMfLvGO3Q97V0qhw/V2SWNWlwfJknuwAunU7wZLSfrM4xTBvg7E5opUVi1kJTBKihE38CPg4nBiqX83PWYw==", "dev": true, - "dependencies": { - "fast-diff": "^1.1.2" + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/prettyjson": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prettyjson/-/prettyjson-1.2.1.tgz", - "integrity": "sha1-/P+rQdGcq0365eV15kJGYZsS0ok=", "dependencies": { - "colors": "^1.1.2", - "minimist": "^1.2.0" - }, - "bin": { - "prettyjson": "bin/prettyjson" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "node_modules/process-on-spawn": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", - "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", - "dev": true, - "dependencies": { - "fromentries": "^1.2.0" - }, - "engines": { - "node": ">=8" + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, - "node_modules/progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "@babel/parser": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz", + "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==", + "dev": true + }, + "@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", "dev": true, - "engines": { - "node": ">=0.4.0" + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.16.7" + } + } } }, - "node_modules/promise-breaker": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/promise-breaker/-/promise-breaker-5.0.0.tgz", - "integrity": "sha512-mgsWQuG4kJ1dtO6e/QlNDLFtMkMzzecsC69aI5hlLEjGHFNpHrvGhFi4LiK5jg2SMQj74/diH+wZliL9LpGsyA==" - }, - "node_modules/promise-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/promise-fs/-/promise-fs-2.1.1.tgz", - "integrity": "sha512-43p7e4QzAQ3w6eyN0+gbBL7jXiZFWLWYITg9wIObqkBySu/a5K1EDcQ/S6UyB/bmiZWDA4NjTbcopKLTaKcGSw==", - "dependencies": { - "@octetstream/promisify": "2.0.2" + "@babel/traverse": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.8.tgz", + "integrity": "sha512-xe+H7JlvKsDQwXRsBhSnq1/+9c+LlQcCK3Tn/l5sbx02HYns/cn7ibp9+RV1sIUqu7hKg91NWsgHurO9dowITQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.16.8", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.16.8", + "@babel/types": "^7.16.8", + "debug": "^4.1.0", + "globals": "^11.1.0" }, - "engines": { - "node": ">=6" + "dependencies": { + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.16.7" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + } } }, - "node_modules/promise-inflight": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", - "dev": true - }, - "node_modules/promise-retry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "@babel/types": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.8.tgz", + "integrity": "sha512-smN2DQc5s4M7fntyjGtyIPbRJv6wW4rU/94fmYJ7PKQuZkC0qGMHXJbg6sNGt12JmVr4k5YaptI/XtiLJBnmIg==", "dev": true, - "dependencies": { - "err-code": "^2.0.2", - "retry": "^0.12.0" - }, - "engines": { - "node": ">=10" + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" } }, - "node_modules/promzard": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz", - "integrity": "sha1-JqXW7ox97kyxIggwWs+5O6OCqe4=", + "@eslint/eslintrc": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, "dependencies": { - "read": "1" + "ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true + } } }, - "node_modules/property-expr": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.4.tgz", - "integrity": "sha512-sFPkHQjVKheDNnPvotjQmm3KD3uk1fWKUN7CrpdbwmUx3CrG3QiM8QpTSimvig5vTXmTvjz7+TDvXOI9+4rkcg==" - }, - "node_modules/proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=", + "@gar/promisify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", + "integrity": "sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw==", "dev": true }, - "node_modules/proto3-json-serializer": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-0.1.3.tgz", - "integrity": "sha512-X0DAtxCBsy1NDn84huVFGOFgBslT2gBmM+85nY6/5SOAaCon1jzVNdvi74foIyFvs5CjtSbQsepsM5TsyNhqQw==" - }, - "node_modules/protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" + "@humanwhocodes/config-array": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", + "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "dev": true, + "requires": { + "@humanwhocodes/object-schema": "^1.2.0", + "debug": "^4.1.1", + "minimatch": "^3.0.4" } }, - "node_modules/protocols": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz", - "integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg==", + "@humanwhocodes/object-schema": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.0.tgz", + "integrity": "sha512-wdppn25U8z/2yiaT6YGquE6X8sSv7hNMWSXYSSU1jGv/yd6XqjXgTDJ8KP4NgjTXfJ3GbRjeeb8RTV7a/VpM+w==", "dev": true }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" + "@hutson/parse-repository-url": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", + "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", + "dev": true + }, + "@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" }, - "engines": { - "node": ">= 0.10" + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } } }, - "node_modules/psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" - }, - "node_modules/pstree.remy": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", - "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", + "@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true }, - "node_modules/pubsub-js": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.3.tgz", - "integrity": "sha512-FhYYlPNOywTh7zN38u5AlG67emA47w6JZd7YgdQU1w8gQbZhhIGxVM0AQosdaINHb2ALb+fhfnVyBJAt4D4IzA==" - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/pumpify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", - "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", - "dependencies": { - "duplexify": "^4.1.1", - "inherits": "^2.0.3", - "pump": "^3.0.0" + "@lerna/add": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/add/-/add-4.0.0.tgz", + "integrity": "sha512-cpmAH1iS3k8JBxNvnMqrGTTjbY/ZAiKa1ChJzFevMYY3eeqbvhsBKnBcxjRXtdrJ6bd3dCQM+ZtK+0i682Fhng==", + "dev": true, + "requires": { + "@lerna/bootstrap": "4.0.0", + "@lerna/command": "4.0.0", + "@lerna/filter-options": "4.0.0", + "@lerna/npm-conf": "4.0.0", + "@lerna/validation-error": "4.0.0", + "dedent": "^0.7.0", + "npm-package-arg": "^8.1.0", + "p-map": "^4.0.0", + "pacote": "^11.2.6", + "semver": "^7.3.4" } }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "engines": { - "node": ">=6" + "@lerna/bootstrap": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-4.0.0.tgz", + "integrity": "sha512-RkS7UbeM2vu+kJnHzxNRCLvoOP9yGNgkzRdy4UV2hNalD7EP41bLvRVOwRYQ7fhc2QcbhnKNdOBihYRL0LcKtw==", + "dev": true, + "requires": { + "@lerna/command": "4.0.0", + "@lerna/filter-options": "4.0.0", + "@lerna/has-npm-version": "4.0.0", + "@lerna/npm-install": "4.0.0", + "@lerna/package-graph": "4.0.0", + "@lerna/pulse-till-done": "4.0.0", + "@lerna/rimraf-dir": "4.0.0", + "@lerna/run-lifecycle": "4.0.0", + "@lerna/run-topologically": "4.0.0", + "@lerna/symlink-binary": "4.0.0", + "@lerna/symlink-dependencies": "4.0.0", + "@lerna/validation-error": "4.0.0", + "dedent": "^0.7.0", + "get-port": "^5.1.1", + "multimatch": "^5.0.0", + "npm-package-arg": "^8.1.0", + "npmlog": "^4.1.2", + "p-map": "^4.0.0", + "p-map-series": "^2.1.0", + "p-waterfall": "^2.1.1", + "read-package-tree": "^5.3.1", + "semver": "^7.3.4" } }, - "node_modules/pupa": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", - "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", - "dependencies": { - "escape-goat": "^2.0.0" - }, - "engines": { - "node": ">=8" + "@lerna/changed": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/changed/-/changed-4.0.0.tgz", + "integrity": "sha512-cD+KuPRp6qiPOD+BO6S6SN5cARspIaWSOqGBpGnYzLb4uWT8Vk4JzKyYtc8ym1DIwyoFXHosXt8+GDAgR8QrgQ==", + "dev": true, + "requires": { + "@lerna/collect-updates": "4.0.0", + "@lerna/command": "4.0.0", + "@lerna/listable": "4.0.0", + "@lerna/output": "4.0.0" } }, - "node_modules/q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "@lerna/check-working-tree": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-4.0.0.tgz", + "integrity": "sha512-/++bxM43jYJCshBiKP5cRlCTwSJdRSxVmcDAXM+1oUewlZJVSVlnks5eO0uLxokVFvLhHlC5kHMc7gbVFPHv6Q==", "dev": true, - "engines": { - "node": ">=0.6.0", - "teleport": ">=0.2.0" + "requires": { + "@lerna/collect-uncommitted": "4.0.0", + "@lerna/describe-ref": "4.0.0", + "@lerna/validation-error": "4.0.0" } }, - "node_modules/qs": { - "version": "6.10.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", - "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "@lerna/child-process": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-4.0.0.tgz", + "integrity": "sha512-XtCnmCT9eyVsUUHx6y/CTBYdV9g2Cr/VxyseTWBgfIur92/YKClfEtJTbOh94jRT62hlKLqSvux/UhxXVh613Q==", "dev": true, - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" + "requires": { + "chalk": "^4.1.0", + "execa": "^5.0.0", + "strong-log-transformer": "^2.1.0" } }, - "node_modules/query-string": { - "version": "6.14.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz", - "integrity": "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==", + "@lerna/clean": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/clean/-/clean-4.0.0.tgz", + "integrity": "sha512-uugG2iN9k45ITx2jtd8nEOoAtca8hNlDCUM0N3lFgU/b1mEQYAPRkqr1qs4FLRl/Y50ZJ41wUz1eazS+d/0osA==", "dev": true, - "dependencies": { - "decode-uri-component": "^0.2.0", - "filter-obj": "^1.1.0", - "split-on-first": "^1.0.0", - "strict-uri-encode": "^2.0.0" - }, - "engines": { - "node": ">=6" + "requires": { + "@lerna/command": "4.0.0", + "@lerna/filter-options": "4.0.0", + "@lerna/prompt": "4.0.0", + "@lerna/pulse-till-done": "4.0.0", + "@lerna/rimraf-dir": "4.0.0", + "p-map": "^4.0.0", + "p-map-series": "^2.1.0", + "p-waterfall": "^2.1.1" } }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "engines": { - "node": ">=0.4.x" + "@lerna/cli": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/cli/-/cli-4.0.0.tgz", + "integrity": "sha512-Neaw3GzFrwZiRZv2g7g6NwFjs3er1vhraIniEs0jjVLPMNC4eata0na3GfE5yibkM/9d3gZdmihhZdZ3EBdvYA==", + "dev": true, + "requires": { + "@lerna/global-options": "4.0.0", + "dedent": "^0.7.0", + "npmlog": "^4.1.2", + "yargs": "^16.2.0" } }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" - }, - "node_modules/quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "@lerna/collect-uncommitted": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-4.0.0.tgz", + "integrity": "sha512-ufSTfHZzbx69YNj7KXQ3o66V4RC76ffOjwLX0q/ab//61bObJ41n03SiQEhSlmpP+gmFbTJ3/7pTe04AHX9m/g==", "dev": true, - "engines": { - "node": ">=8" + "requires": { + "@lerna/child-process": "4.0.0", + "chalk": "^4.1.0", + "npmlog": "^4.1.2" } }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "@lerna/collect-updates": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-4.0.0.tgz", + "integrity": "sha512-bnNGpaj4zuxsEkyaCZLka9s7nMs58uZoxrRIPJ+nrmrZYp1V5rrd+7/NYTuunOhY2ug1sTBvTAxj3NZQ+JKnOw==", "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/describe-ref": "4.0.0", + "minimatch": "^3.0.4", + "npmlog": "^4.1.2", + "slash": "^3.0.0" } }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "engines": { - "node": ">= 0.6" + "@lerna/command": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/command/-/command-4.0.0.tgz", + "integrity": "sha512-LM9g3rt5FsPNFqIHUeRwWXLNHJ5NKzOwmVKZ8anSp4e1SPrv2HNc1V02/9QyDDZK/w+5POXH5lxZUI1CHaOK/A==", + "dev": true, + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/package-graph": "4.0.0", + "@lerna/project": "4.0.0", + "@lerna/validation-error": "4.0.0", + "@lerna/write-log-file": "4.0.0", + "clone-deep": "^4.0.1", + "dedent": "^0.7.0", + "execa": "^5.0.0", + "is-ci": "^2.0.0", + "npmlog": "^4.1.2" } }, - "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" + "@lerna/conventional-commits": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-4.0.0.tgz", + "integrity": "sha512-CSUQRjJHFrH8eBn7+wegZLV3OrNc0Y1FehYfYGhjLE2SIfpCL4bmfu/ViYuHh9YjwHaA+4SX6d3hR+xkeseKmw==", + "dev": true, + "requires": { + "@lerna/validation-error": "4.0.0", + "conventional-changelog-angular": "^5.0.12", + "conventional-changelog-core": "^4.2.2", + "conventional-recommended-bump": "^6.1.0", + "fs-extra": "^9.1.0", + "get-stream": "^6.0.0", + "lodash.template": "^4.5.0", + "npm-package-arg": "^8.1.0", + "npmlog": "^4.1.2", + "pify": "^5.0.0", + "semver": "^7.3.4" }, - "engines": { - "node": ">= 0.8" + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/rc/node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/read": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", - "integrity": "sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ=", + "@lerna/create": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/create/-/create-4.0.0.tgz", + "integrity": "sha512-mVOB1niKByEUfxlbKTM1UNECWAjwUdiioIbRQZEeEabtjCL69r9rscIsjlGyhGWCfsdAG5wfq4t47nlDXdLLag==", "dev": true, - "dependencies": { - "mute-stream": "~0.0.4" + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/command": "4.0.0", + "@lerna/npm-conf": "4.0.0", + "@lerna/validation-error": "4.0.0", + "dedent": "^0.7.0", + "fs-extra": "^9.1.0", + "globby": "^11.0.2", + "init-package-json": "^2.0.2", + "npm-package-arg": "^8.1.0", + "p-reduce": "^2.1.0", + "pacote": "^11.2.6", + "pify": "^5.0.0", + "semver": "^7.3.4", + "slash": "^3.0.0", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "^3.0.0", + "whatwg-url": "^8.4.0", + "yargs-parser": "20.2.4" }, - "engines": { - "node": ">=0.8" + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/read-cmd-shim": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz", - "integrity": "sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw==", - "dev": true - }, - "node_modules/read-package-json": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-3.0.1.tgz", - "integrity": "sha512-aLcPqxovhJTVJcsnROuuzQvv6oziQx4zd3JvG0vGCL5MjTONUc4uJ90zCBC6R7W7oUKBNoR/F8pkyfVwlbxqng==", + "@lerna/create-symlink": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-4.0.0.tgz", + "integrity": "sha512-I0phtKJJdafUiDwm7BBlEUOtogmu8+taxq6PtIrxZbllV9hWg59qkpuIsiFp+no7nfRVuaasNYHwNUhDAVQBig==", "dev": true, - "dependencies": { - "glob": "^7.1.1", - "json-parse-even-better-errors": "^2.3.0", - "normalize-package-data": "^3.0.0", - "npm-normalize-package-bin": "^1.0.0" + "requires": { + "cmd-shim": "^4.1.0", + "fs-extra": "^9.1.0", + "npmlog": "^4.1.2" }, - "engines": { - "node": ">=10" + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/read-package-json-fast": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", - "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", + "@lerna/describe-ref": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-4.0.0.tgz", + "integrity": "sha512-eTU5+xC4C5Gcgz+Ey4Qiw9nV2B4JJbMulsYJMW8QjGcGh8zudib7Sduj6urgZXUYNyhYpRs+teci9M2J8u+UvQ==", "dev": true, - "dependencies": { - "json-parse-even-better-errors": "^2.3.0", - "npm-normalize-package-bin": "^1.0.1" - }, - "engines": { - "node": ">=10" + "requires": { + "@lerna/child-process": "4.0.0", + "npmlog": "^4.1.2" } }, - "node_modules/read-package-tree": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz", - "integrity": "sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw==", + "@lerna/diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/diff/-/diff-4.0.0.tgz", + "integrity": "sha512-jYPKprQVg41+MUMxx6cwtqsNm0Yxx9GDEwdiPLwcUTFx+/qKCEwifKNJ1oGIPBxyEHX2PFCOjkK39lHoj2qiag==", "dev": true, - "dependencies": { - "read-package-json": "^2.0.0", - "readdir-scoped-modules": "^1.0.0", - "util-promisify": "^2.1.0" + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/command": "4.0.0", + "@lerna/validation-error": "4.0.0", + "npmlog": "^4.1.2" } }, - "node_modules/read-package-tree/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/read-package-tree/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "@lerna/exec": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/exec/-/exec-4.0.0.tgz", + "integrity": "sha512-VGXtL/b/JfY84NB98VWZpIExfhLOzy0ozm/0XaS4a2SmkAJc5CeUfrhvHxxkxiTBLkU+iVQUyYEoAT0ulQ8PCw==", "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/command": "4.0.0", + "@lerna/filter-options": "4.0.0", + "@lerna/profiler": "4.0.0", + "@lerna/run-topologically": "4.0.0", + "@lerna/validation-error": "4.0.0", + "p-map": "^4.0.0" } }, - "node_modules/read-package-tree/node_modules/read-package-json": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", - "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", + "@lerna/filter-options": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-4.0.0.tgz", + "integrity": "sha512-vV2ANOeZhOqM0rzXnYcFFCJ/kBWy/3OA58irXih9AMTAlQLymWAK0akWybl++sUJ4HB9Hx12TOqaXbYS2NM5uw==", "dev": true, - "dependencies": { - "glob": "^7.1.1", - "json-parse-even-better-errors": "^2.3.0", - "normalize-package-data": "^2.0.0", - "npm-normalize-package-bin": "^1.0.0" + "requires": { + "@lerna/collect-updates": "4.0.0", + "@lerna/filter-packages": "4.0.0", + "dedent": "^0.7.0", + "npmlog": "^4.1.2" } }, - "node_modules/read-package-tree/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "@lerna/filter-packages": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-4.0.0.tgz", + "integrity": "sha512-+4AJIkK7iIiOaqCiVTYJxh/I9qikk4XjNQLhE3kixaqgMuHl1NQ99qXRR0OZqAWB9mh8Z1HA9bM5K1HZLBTOqA==", "dev": true, - "bin": { - "semver": "bin/semver" + "requires": { + "@lerna/validation-error": "4.0.0", + "multimatch": "^5.0.0", + "npmlog": "^4.1.2" } }, - "node_modules/read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "@lerna/get-npm-exec-opts": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-4.0.0.tgz", + "integrity": "sha512-yvmkerU31CTWS2c7DvmAWmZVeclPBqI7gPVr5VATUKNWJ/zmVcU4PqbYoLu92I9Qc4gY1TuUplMNdNuZTSL7IQ==", "dev": true, - "dependencies": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - }, - "engines": { - "node": ">=4" + "requires": { + "npmlog": "^4.1.2" } }, - "node_modules/read-pkg-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "@lerna/get-packed": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-4.0.0.tgz", + "integrity": "sha512-rfWONRsEIGyPJTxFzC8ECb3ZbsDXJbfqWYyeeQQDrJRPnEJErlltRLPLgC2QWbxFgFPsoDLeQmFHJnf0iDfd8w==", "dev": true, + "requires": { + "fs-extra": "^9.1.0", + "ssri": "^8.0.1", + "tar": "^6.1.0" + }, "dependencies": { - "find-up": "^2.0.0", - "read-pkg": "^3.0.0" - }, - "engines": { - "node": ">=4" + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/read-pkg-up/node_modules/find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "@lerna/github-client": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/github-client/-/github-client-4.0.0.tgz", + "integrity": "sha512-2jhsldZtTKXYUBnOm23Lb0Fx8G4qfSXF9y7UpyUgWUj+YZYd+cFxSuorwQIgk5P4XXrtVhsUesIsli+BYSThiw==", "dev": true, - "dependencies": { - "locate-path": "^2.0.0" - }, - "engines": { - "node": ">=4" + "requires": { + "@lerna/child-process": "4.0.0", + "@octokit/plugin-enterprise-rest": "^6.0.1", + "@octokit/rest": "^18.1.0", + "git-url-parse": "^11.4.4", + "npmlog": "^4.1.2" } }, - "node_modules/read-pkg-up/node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "@lerna/gitlab-client": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-4.0.0.tgz", + "integrity": "sha512-OMUpGSkeDWFf7BxGHlkbb35T7YHqVFCwBPSIR6wRsszY8PAzCYahtH3IaJzEJyUg6vmZsNl0FSr3pdA2skhxqA==", "dev": true, - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" + "requires": { + "node-fetch": "^2.6.1", + "npmlog": "^4.1.2", + "whatwg-url": "^8.4.0" } }, - "node_modules/read-pkg-up/node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } + "@lerna/global-options": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/global-options/-/global-options-4.0.0.tgz", + "integrity": "sha512-TRMR8afAHxuYBHK7F++Ogop2a82xQjoGna1dvPOY6ltj/pEx59pdgcJfYcynYqMkFIk8bhLJJN9/ndIfX29FTQ==", + "dev": true }, - "node_modules/read-pkg-up/node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "@lerna/has-npm-version": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-4.0.0.tgz", + "integrity": "sha512-LQ3U6XFH8ZmLCsvsgq1zNDqka0Xzjq5ibVN+igAI5ccRWNaUsE/OcmsyMr50xAtNQMYMzmpw5GVLAivT2/YzCg==", "dev": true, - "dependencies": { - "p-limit": "^1.1.0" - }, - "engines": { - "node": ">=4" + "requires": { + "@lerna/child-process": "4.0.0", + "semver": "^7.3.4" } }, - "node_modules/read-pkg-up/node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "@lerna/import": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/import/-/import-4.0.0.tgz", + "integrity": "sha512-FaIhd+4aiBousKNqC7TX1Uhe97eNKf5/SC7c5WZANVWtC7aBWdmswwDt3usrzCNpj6/Wwr9EtEbYROzxKH8ffg==", "dev": true, - "engines": { - "node": ">=4" + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/command": "4.0.0", + "@lerna/prompt": "4.0.0", + "@lerna/pulse-till-done": "4.0.0", + "@lerna/validation-error": "4.0.0", + "dedent": "^0.7.0", + "fs-extra": "^9.1.0", + "p-map-series": "^2.1.0" + }, + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/read-pkg-up/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "@lerna/info": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/info/-/info-4.0.0.tgz", + "integrity": "sha512-8Uboa12kaCSZEn4XRfPz5KU9XXoexSPS4oeYGj76s2UQb1O1GdnEyfjyNWoUl1KlJ2i/8nxUskpXIftoFYH0/Q==", "dev": true, - "engines": { - "node": ">=4" + "requires": { + "@lerna/command": "4.0.0", + "@lerna/output": "4.0.0", + "envinfo": "^7.7.4" } }, - "node_modules/read-pkg/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/read-pkg/node_modules/load-json-file": { + "@lerna/init": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "resolved": "https://registry.npmjs.org/@lerna/init/-/init-4.0.0.tgz", + "integrity": "sha512-wY6kygop0BCXupzWj5eLvTUqdR7vIAm0OgyV9WHpMYQGfs1V22jhztt8mtjCloD/O0nEe4tJhdG62XU5aYmPNQ==", "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/command": "4.0.0", + "fs-extra": "^9.1.0", + "p-map": "^4.0.0", + "write-json-file": "^4.3.0" }, - "engines": { - "node": ">=4" + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/read-pkg/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "@lerna/link": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/link/-/link-4.0.0.tgz", + "integrity": "sha512-KlvPi7XTAcVOByfaLlOeYOfkkDcd+bejpHMCd1KcArcFTwijOwXOVi24DYomIeHvy6HsX/IUquJ4PPUJIeB4+w==", "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "requires": { + "@lerna/command": "4.0.0", + "@lerna/package-graph": "4.0.0", + "@lerna/symlink-dependencies": "4.0.0", + "p-map": "^4.0.0", + "slash": "^3.0.0" } }, - "node_modules/read-pkg/node_modules/parse-json": { + "@lerna/list": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "resolved": "https://registry.npmjs.org/@lerna/list/-/list-4.0.0.tgz", + "integrity": "sha512-L2B5m3P+U4Bif5PultR4TI+KtW+SArwq1i75QZ78mRYxPc0U/piau1DbLOmwrdqr99wzM49t0Dlvl6twd7GHFg==", "dev": true, - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" + "requires": { + "@lerna/command": "4.0.0", + "@lerna/filter-options": "4.0.0", + "@lerna/listable": "4.0.0", + "@lerna/output": "4.0.0" } }, - "node_modules/read-pkg/node_modules/path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "@lerna/listable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/listable/-/listable-4.0.0.tgz", + "integrity": "sha512-/rPOSDKsOHs5/PBLINZOkRIX1joOXUXEtyUs5DHLM8q6/RP668x/1lFhw6Dx7/U+L0+tbkpGtZ1Yt0LewCLgeQ==", "dev": true, - "dependencies": { - "pify": "^3.0.0" - }, - "engines": { - "node": ">=4" + "requires": { + "@lerna/query-graph": "4.0.0", + "chalk": "^4.1.0", + "columnify": "^1.5.4" } }, - "node_modules/read-pkg/node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "@lerna/log-packed": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-4.0.0.tgz", + "integrity": "sha512-+dpCiWbdzgMAtpajLToy9PO713IHoE6GV/aizXycAyA07QlqnkpaBNZ8DW84gHdM1j79TWockGJo9PybVhrrZQ==", "dev": true, - "engines": { - "node": ">=4" + "requires": { + "byte-size": "^7.0.0", + "columnify": "^1.5.4", + "has-unicode": "^2.0.1", + "npmlog": "^4.1.2" } }, - "node_modules/read-pkg/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "@lerna/npm-conf": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-4.0.0.tgz", + "integrity": "sha512-uS7H02yQNq3oejgjxAxqq/jhwGEE0W0ntr8vM3EfpCW1F/wZruwQw+7bleJQ9vUBjmdXST//tk8mXzr5+JXCfw==", "dev": true, - "bin": { - "semver": "bin/semver" + "requires": { + "config-chain": "^1.1.12", + "pify": "^5.0.0" } }, - "node_modules/read-pkg/node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "@lerna/npm-dist-tag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-4.0.0.tgz", + "integrity": "sha512-F20sg28FMYTgXqEQihgoqSfwmq+Id3zT23CnOwD+XQMPSy9IzyLf1fFVH319vXIw6NF6Pgs4JZN2Qty6/CQXGw==", "dev": true, - "engines": { - "node": ">=4" + "requires": { + "@lerna/otplease": "4.0.0", + "npm-package-arg": "^8.1.0", + "npm-registry-fetch": "^9.0.0", + "npmlog": "^4.1.2" } }, - "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" + "@lerna/npm-install": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-4.0.0.tgz", + "integrity": "sha512-aKNxq2j3bCH3eXl3Fmu4D54s/YLL9WSwV8W7X2O25r98wzrO38AUN6AB9EtmAx+LV/SP15et7Yueg9vSaanRWg==", + "dev": true, + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/get-npm-exec-opts": "4.0.0", + "fs-extra": "^9.1.0", + "npm-package-arg": "^8.1.0", + "npmlog": "^4.1.2", + "signal-exit": "^3.0.3", + "write-pkg": "^4.0.0" }, - "engines": { - "node": ">= 6" + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/readdir-scoped-modules": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", - "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", + "@lerna/npm-publish": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-4.0.0.tgz", + "integrity": "sha512-vQb7yAPRo5G5r77DRjHITc9piR9gvEKWrmfCH7wkfBnGWEqu7n8/4bFQ7lhnkujvc8RXOsYpvbMQkNfkYibD/w==", "dev": true, + "requires": { + "@lerna/otplease": "4.0.0", + "@lerna/run-lifecycle": "4.0.0", + "fs-extra": "^9.1.0", + "libnpmpublish": "^4.0.0", + "npm-package-arg": "^8.1.0", + "npmlog": "^4.1.2", + "pify": "^5.0.0", + "read-package-json": "^3.0.0" + }, "dependencies": { - "debuglog": "^1.0.1", - "dezalgo": "^1.0.0", - "graceful-fs": "^4.1.2", - "once": "^1.3.0" + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/readdirp": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", - "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "@lerna/npm-run-script": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-4.0.0.tgz", + "integrity": "sha512-Jmyh9/IwXJjOXqKfIgtxi0bxi1pUeKe5bD3S81tkcy+kyng/GNj9WSqD5ZggoNP2NP//s4CLDAtUYLdP7CU9rA==", "dev": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" + "requires": { + "@lerna/child-process": "4.0.0", + "@lerna/get-npm-exec-opts": "4.0.0", + "npmlog": "^4.1.2" } }, - "node_modules/redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "@lerna/otplease": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/otplease/-/otplease-4.0.0.tgz", + "integrity": "sha512-Sgzbqdk1GH4psNiT6hk+BhjOfIr/5KhGBk86CEfHNJTk9BK4aZYyJD4lpDbDdMjIV4g03G7pYoqHzH765T4fxw==", "dev": true, - "dependencies": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - }, - "engines": { - "node": ">=8" + "requires": { + "@lerna/prompt": "4.0.0" } }, - "node_modules/redeyed": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", - "integrity": "sha1-iYS1gV2ZyyIEacme7v/jiRPmzAs=", - "dependencies": { - "esprima": "~4.0.0" + "@lerna/output": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/output/-/output-4.0.0.tgz", + "integrity": "sha512-Un1sHtO1AD7buDQrpnaYTi2EG6sLF+KOPEAMxeUYG5qG3khTs2Zgzq5WE3dt2N/bKh7naESt20JjIW6tBELP0w==", + "dev": true, + "requires": { + "npmlog": "^4.1.2" } }, - "node_modules/redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" - }, - "node_modules/redis-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=", - "engines": { - "node": ">=4" + "@lerna/pack-directory": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-4.0.0.tgz", + "integrity": "sha512-NJrmZNmBHS+5aM+T8N6FVbaKFScVqKlQFJNY2k7nsJ/uklNKsLLl6VhTQBPwMTbf6Tf7l6bcKzpy7aePuq9UiQ==", + "dev": true, + "requires": { + "@lerna/get-packed": "4.0.0", + "@lerna/package": "4.0.0", + "@lerna/run-lifecycle": "4.0.0", + "npm-packlist": "^2.1.4", + "npmlog": "^4.1.2", + "tar": "^6.1.0", + "temp-write": "^4.0.0" } }, - "node_modules/redis-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ=", - "dependencies": { - "redis-errors": "^1.0.0" - }, - "engines": { - "node": ">=4" + "@lerna/package": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/package/-/package-4.0.0.tgz", + "integrity": "sha512-l0M/izok6FlyyitxiQKr+gZLVFnvxRQdNhzmQ6nRnN9dvBJWn+IxxpM+cLqGACatTnyo9LDzNTOj2Db3+s0s8Q==", + "dev": true, + "requires": { + "load-json-file": "^6.2.0", + "npm-package-arg": "^8.1.0", + "write-pkg": "^4.0.0" } }, - "node_modules/reduce-extract": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/reduce-extract/-/reduce-extract-1.0.0.tgz", - "integrity": "sha1-Z/I4W+2mUGG19fQxJmLosIDKFSU=", + "@lerna/package-graph": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-4.0.0.tgz", + "integrity": "sha512-QED2ZCTkfXMKFoTGoccwUzjHtZMSf3UKX14A4/kYyBms9xfFsesCZ6SLI5YeySEgcul8iuIWfQFZqRw+Qrjraw==", "dev": true, - "dependencies": { - "test-value": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" + "requires": { + "@lerna/prerelease-id-from-version": "4.0.0", + "@lerna/validation-error": "4.0.0", + "npm-package-arg": "^8.1.0", + "npmlog": "^4.1.2", + "semver": "^7.3.4" } }, - "node_modules/reduce-extract/node_modules/array-back": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "@lerna/prerelease-id-from-version": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-4.0.0.tgz", + "integrity": "sha512-GQqguzETdsYRxOSmdFZ6zDBXDErIETWOqomLERRY54f4p+tk4aJjoVdd9xKwehC9TBfIFvlRbL1V9uQGHh1opg==", "dev": true, - "dependencies": { - "typical": "^2.6.0" - }, - "engines": { - "node": ">=0.12.0" + "requires": { + "semver": "^7.3.4" } }, - "node_modules/reduce-extract/node_modules/test-value": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/test-value/-/test-value-1.1.0.tgz", - "integrity": "sha1-oJE29y7AQ9J8iTcHwrFZv6196T8=", + "@lerna/profiler": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/profiler/-/profiler-4.0.0.tgz", + "integrity": "sha512-/BaEbqnVh1LgW/+qz8wCuI+obzi5/vRE8nlhjPzdEzdmWmZXuCKyWSEzAyHOJWw1ntwMiww5dZHhFQABuoFz9Q==", "dev": true, - "dependencies": { - "array-back": "^1.0.2", - "typical": "^2.4.2" + "requires": { + "fs-extra": "^9.1.0", + "npmlog": "^4.1.2", + "upath": "^2.0.1" }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/reduce-flatten": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-3.0.1.tgz", - "integrity": "sha512-bYo+97BmUUOzg09XwfkwALt4PQH1M5L0wzKerBt6WLm3Fhdd43mMS89HiT1B9pJIqko/6lWx3OnV4J9f2Kqp5Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/reduce-unique": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/reduce-unique/-/reduce-unique-2.0.1.tgz", - "integrity": "sha512-x4jH/8L1eyZGR785WY+ePtyMNhycl1N2XOLxhCbzZFaqF4AXjLzqSxa2UHgJ2ZVR/HHyPOvl1L7xRnW8ye5MdA==", - "dev": true, - "engines": { - "node": ">=6" + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/reduce-without": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/reduce-without/-/reduce-without-1.0.1.tgz", - "integrity": "sha1-aK0OrRGFXJo31OglbBW7+Hly/Iw=", + "@lerna/project": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/project/-/project-4.0.0.tgz", + "integrity": "sha512-o0MlVbDkD5qRPkFKlBZsXZjoNTWPyuL58564nSfZJ6JYNmgAptnWPB2dQlAc7HWRZkmnC2fCkEdoU+jioPavbg==", "dev": true, - "dependencies": { - "test-value": "^2.0.0" + "requires": { + "@lerna/package": "4.0.0", + "@lerna/validation-error": "4.0.0", + "cosmiconfig": "^7.0.0", + "dedent": "^0.7.0", + "dot-prop": "^6.0.1", + "glob-parent": "^5.1.1", + "globby": "^11.0.2", + "load-json-file": "^6.2.0", + "npmlog": "^4.1.2", + "p-map": "^4.0.0", + "resolve-from": "^5.0.0", + "write-json-file": "^4.3.0" }, - "engines": { - "node": ">=0.10.0" + "dependencies": { + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } } }, - "node_modules/reduce-without/node_modules/array-back": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "@lerna/prompt": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/prompt/-/prompt-4.0.0.tgz", + "integrity": "sha512-4Ig46oCH1TH5M7YyTt53fT6TuaKMgqUUaqdgxvp6HP6jtdak6+amcsqB8YGz2eQnw/sdxunx84DfI9XpoLj4bQ==", "dev": true, - "dependencies": { - "typical": "^2.6.0" - }, - "engines": { - "node": ">=0.12.0" + "requires": { + "inquirer": "^7.3.3", + "npmlog": "^4.1.2" } }, - "node_modules/reduce-without/node_modules/test-value": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/test-value/-/test-value-2.1.0.tgz", - "integrity": "sha1-Edpv9nDzRxpztiXKTz/c97t0gpE=", + "@lerna/publish": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/publish/-/publish-4.0.0.tgz", + "integrity": "sha512-K8jpqjHrChH22qtkytA5GRKIVFEtqBF6JWj1I8dWZtHs4Jywn8yB1jQ3BAMLhqmDJjWJtRck0KXhQQKzDK2UPg==", "dev": true, - "dependencies": { - "array-back": "^1.0.3", - "typical": "^2.6.0" + "requires": { + "@lerna/check-working-tree": "4.0.0", + "@lerna/child-process": "4.0.0", + "@lerna/collect-updates": "4.0.0", + "@lerna/command": "4.0.0", + "@lerna/describe-ref": "4.0.0", + "@lerna/log-packed": "4.0.0", + "@lerna/npm-conf": "4.0.0", + "@lerna/npm-dist-tag": "4.0.0", + "@lerna/npm-publish": "4.0.0", + "@lerna/otplease": "4.0.0", + "@lerna/output": "4.0.0", + "@lerna/pack-directory": "4.0.0", + "@lerna/prerelease-id-from-version": "4.0.0", + "@lerna/prompt": "4.0.0", + "@lerna/pulse-till-done": "4.0.0", + "@lerna/run-lifecycle": "4.0.0", + "@lerna/run-topologically": "4.0.0", + "@lerna/validation-error": "4.0.0", + "@lerna/version": "4.0.0", + "fs-extra": "^9.1.0", + "libnpmaccess": "^4.0.1", + "npm-package-arg": "^8.1.0", + "npm-registry-fetch": "^9.0.0", + "npmlog": "^4.1.2", + "p-map": "^4.0.0", + "p-pipe": "^3.1.0", + "pacote": "^11.2.6", + "semver": "^7.3.4" }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "node_modules/regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", "dependencies": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, - "node_modules/regexpp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "@lerna/pulse-till-done": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-4.0.0.tgz", + "integrity": "sha512-Frb4F7QGckaybRhbF7aosLsJ5e9WuH7h0KUkjlzSByVycxY91UZgaEIVjS2oN9wQLrheLMHl6SiFY0/Pvo0Cxg==", "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/registry-auth-token": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", - "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==", - "dependencies": { - "rc": "^1.2.8" - }, - "engines": { - "node": ">=6.0.0" + "requires": { + "npmlog": "^4.1.2" } }, - "node_modules/registry-url": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", - "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", - "dependencies": { - "rc": "^1.2.8" - }, - "engines": { - "node": ">=8" + "@lerna/query-graph": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-4.0.0.tgz", + "integrity": "sha512-YlP6yI3tM4WbBmL9GCmNDoeQyzcyg1e4W96y/PKMZa5GbyUvkS2+Jc2kwPD+5KcXou3wQZxSPzR3Te5OenaDdg==", + "dev": true, + "requires": { + "@lerna/package-graph": "4.0.0" } }, - "node_modules/release-zalgo": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", - "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=", + "@lerna/resolve-symlink": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-4.0.0.tgz", + "integrity": "sha512-RtX8VEUzqT+uLSCohx8zgmjc6zjyRlh6i/helxtZTMmc4+6O4FS9q5LJas2uGO2wKvBlhcD6siibGt7dIC3xZA==", "dev": true, - "dependencies": { - "es6-error": "^4.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/repeat-element": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", - "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/request-promise-core": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz", - "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==", - "dependencies": { - "lodash": "^4.17.11" - }, - "engines": { - "node": ">=0.10.0" - }, - "peerDependencies": { - "request": "^2.34" - } - }, - "node_modules/request-promise-native": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz", - "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==", - "deprecated": "request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142", - "dependencies": { - "request-promise-core": "1.1.2", - "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" - }, - "engines": { - "node": ">=0.12.0" - }, - "peerDependencies": { - "request": "^2.34" - } - }, - "node_modules/request/node_modules/qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", - "dev": true - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" - }, - "node_modules/requizzle": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.3.tgz", - "integrity": "sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ==", - "dev": true, - "dependencies": { - "lodash": "^4.17.14" - } - }, - "node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - } - }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-cwd/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "deprecated": "https://github.com/lydell/resolve-url#deprecated" - }, - "node_modules/responselike": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "dependencies": { - "lowercase-keys": "^1.0.0" - } - }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "engines": { - "node": ">=0.12" - } - }, - "node_modules/retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", - "engines": { - "node": ">= 4" - } - }, - "node_modules/retry-request": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", - "dependencies": { - "debug": "^4.1.1", - "extend": "^3.0.2" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", - "dependencies": { - "tslib": "^1.9.0" - }, - "engines": { - "npm": ">=2.0.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dependencies": { - "ret": "~0.1.10" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" - }, - "node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver-diff": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", - "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", - "dependencies": { - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/semver-diff/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "dependencies": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/send/node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - }, - "node_modules/serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true - }, - "node_modules/set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dependencies": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "node_modules/shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "engines": { - "node": ">=8" - } - }, - "node_modules/shred": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/shred/-/shred-0.8.10.tgz", - "integrity": "sha1-zxz+gPeb9TE9Ltw7kSJ4/RB6hxc=", - "dependencies": { - "ax": "0.1.8", - "cookiejar": "1.3.1", - "iconv-lite": ">= 0.1.2", - "sprintf": "0.1.1" - } - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "node_modules/simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/simple-swizzle/node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "node_modules/sinon": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-9.2.4.tgz", - "integrity": "sha512-zljcULZQsJxVra28qIAL6ow1Z9tpattkCTEJR4RBP3TGc00FcttsP5pK284Nas5WjMZU5Yzy3kAIp3B3KRf5Yg==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^1.8.1", - "@sinonjs/fake-timers": "^6.0.1", - "@sinonjs/samsam": "^5.3.1", - "diff": "^4.0.2", - "nise": "^4.0.4", - "supports-color": "^7.1.0" - } - }, - "node_modules/sinon-chai": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.7.0.tgz", - "integrity": "sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g==", - "dev": true - }, - "node_modules/sinon/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/slide": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", - "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "dev": true, - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dependencies": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dependencies": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dependencies": { - "kind-of": "^3.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/snapdragon/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/snapdragon/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/socks": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.1.tgz", - "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==", - "dev": true, - "dependencies": { - "ip": "^1.1.5", - "smart-buffer": "^4.1.0" - }, - "engines": { - "node": ">= 10.13.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz", - "integrity": "sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ==", - "dev": true, - "dependencies": { - "agent-base": "^6.0.2", - "debug": "4", - "socks": "^2.3.3" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/sort-array": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/sort-array/-/sort-array-4.1.4.tgz", - "integrity": "sha512-GVFN6Y1sHKrWaSYOJTk9093ZnrBMc9sP3nuhANU44S4xg3rE6W5Z5WyamuT8VpMBbssnetx5faKCua0LEmUnSw==", - "dev": true, - "dependencies": { - "array-back": "^5.0.0", - "typical": "^6.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/sort-array/node_modules/typical": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/typical/-/typical-6.0.1.tgz", - "integrity": "sha512-+g3NEp7fJLe9DPa1TArHm9QAA7YciZmWnfAqEaFrBihQ7epOv9i99rjtgb6Iz0wh3WuQDjsCTDfgRoGnmHN81A==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/sort-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-4.2.0.tgz", - "integrity": "sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg==", - "dev": true, - "dependencies": { - "is-plain-obj": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/sort-keys/node_modules/is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.19", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", - "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==" - }, - "node_modules/sox-audio": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/sox-audio/-/sox-audio-0.3.0.tgz", - "integrity": "sha1-3UOk3X+pf/QGY5DDmQOuSrGYrsU=", - "dependencies": { - "through": "^2.3.6" - } - }, - "node_modules/spawn-wrap": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", - "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==", - "dev": true, - "dependencies": { - "foreground-child": "^2.0.0", - "is-windows": "^1.0.2", - "make-dir": "^3.0.0", - "rimraf": "^3.0.0", - "signal-exit": "^3.0.2", - "which": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", - "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", - "dev": true - }, - "node_modules/split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "dev": true, - "dependencies": { - "through": "2" - }, - "engines": { - "node": "*" - } - }, - "node_modules/split-ca": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split-ca/-/split-ca-1.0.1.tgz", - "integrity": "sha1-bIOv82kvphJW4M0ZfgXp3hV2kaY=" - }, - "node_modules/split-on-first": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz", - "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dependencies": { - "extend-shallow": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split2": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", - "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", - "dependencies": { - "readable-stream": "^3.0.0" - } - }, - "node_modules/sprintf": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/sprintf/-/sprintf-0.1.1.tgz", - "integrity": "sha1-6JJfyYlOGqaJnpCRx/KhITC3DeU=", - "deprecated": "The sprintf package is deprecated in favor of sprintf-js.", - "engines": { - "node": ">=0.2.4" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "node_modules/ssh2": { - "version": "0.8.9", - "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-0.8.9.tgz", - "integrity": "sha512-GmoNPxWDMkVpMFa9LVVzQZHF6EW3WKmBwL+4/GeILf2hFmix5Isxm7Amamo8o7bHiU0tC+wXsGcUXOxp8ChPaw==", - "dependencies": { - "ssh2-streams": "~0.4.10" - }, - "engines": { - "node": ">=5.2.0" - } - }, - "node_modules/ssh2-streams": { - "version": "0.4.10", - "resolved": "https://registry.npmjs.org/ssh2-streams/-/ssh2-streams-0.4.10.tgz", - "integrity": "sha512-8pnlMjvnIZJvmTzUIIA5nT4jr2ZWNNVHwyXfMGdRJbug9TpI3kd99ffglgfSWqujVv/0gxwMsDn9j9RVst8yhQ==", - "dependencies": { - "asn1": "~0.2.0", - "bcrypt-pbkdf": "^1.0.2", - "streamsearch": "~0.1.2" - }, - "engines": { - "node": ">=5.2.0" - } - }, - "node_modules/sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "dependencies": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "dev": true, - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", - "engines": { - "node": "*" - } - }, - "node_modules/standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" - }, - "node_modules/static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dependencies": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/stealthy-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", - "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stream-connect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/stream-connect/-/stream-connect-1.0.2.tgz", - "integrity": "sha1-GLyB8u2zW4tdmoAJIAqYUxRCipc=", - "dev": true, - "dependencies": { - "array-back": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stream-connect/node_modules/array-back": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", - "dev": true, - "dependencies": { - "typical": "^2.6.0" - }, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/stream-events": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", - "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", - "dependencies": { - "stubs": "^3.0.0" - } - }, - "node_modules/stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, - "node_modules/stream-via": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stream-via/-/stream-via-1.0.4.tgz", - "integrity": "sha512-DBp0lSvX5G9KGRDTkR/R+a29H+Wk2xItOF+MpZLLNDWbEV9tGPnqLPxHEYjmiz8xGtJHRIqmI+hCjmNzqoA4nQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/streamsearch": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz", - "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/strict-uri-encode": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", - "integrity": "sha1-ucczDHBChi9rFC3CdLvMWGbONUY=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string_decoder/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, - "dependencies": { - "min-indent": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strong-log-transformer": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", - "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", - "dev": true, - "dependencies": { - "duplexer": "^0.1.1", - "minimist": "^1.2.0", - "through": "^2.3.4" - }, - "bin": { - "sl-log-transformer": "bin/sl-log-transformer.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/stubs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", - "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-hyperlinks": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz", - "integrity": "sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==", - "dependencies": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/swagger-client": { - "version": "2.0.26", - "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-2.0.26.tgz", - "integrity": "sha1-c/FQk/be82nzG5ZwxtlkWzMWPk0=", - "deprecated": "No longer maintained, please upgrade to swagger-client@3.", - "dependencies": { - "btoa": "1.1.1", - "shred": "0.8.10" - }, - "engines": { - "node": ">= 0.6.6" - } - }, - "node_modules/swagger-client/node_modules/btoa": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.1.tgz", - "integrity": "sha1-J8gQYmMQjp3UH/L6qtKhcEXjXro=", - "bin": { - "btoa": "bin/btoa.js" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "dependencies": { - "fibers": ">=0.6" - }, - "engines": { - "node": ">=0.5.2" - } - }, - "node_modules/table": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/table/-/table-6.7.1.tgz", - "integrity": "sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg==", - "dev": true, - "dependencies": { - "ajv": "^8.0.1", - "lodash.clonedeep": "^4.5.0", - "lodash.truncate": "^4.4.2", - "slice-ansi": "^4.0.0", - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/table-layout": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.5.tgz", - "integrity": "sha512-zTvf0mcggrGeTe/2jJ6ECkJHAQPIYEwDoqsiqBjI24mvRmQbInK5jq33fyypaCBxX08hMkfmdOqj6haT33EqWw==", - "dev": true, - "dependencies": { - "array-back": "^2.0.0", - "deep-extend": "~0.6.0", - "lodash.padend": "^4.6.1", - "typical": "^2.6.1", - "wordwrapjs": "^3.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/table-layout/node_modules/array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", - "dev": true, - "dependencies": { - "typical": "^2.6.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/table/node_modules/ajv": { - "version": "8.6.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.2.tgz", - "integrity": "sha512-9807RlWAgT564wT+DjeyU5OFMPjmzxVobvDFmNAhY+5zD6A2ly3jDp6sgnfyDtlIQ+7H97oc/DGCzzfu9rjw9w==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "node_modules/table/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/taffydb": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", - "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=", - "dev": true - }, - "node_modules/tar": { - "version": "6.1.10", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.10.tgz", - "integrity": "sha512-kvvfiVvjGMxeUNB6MyYv5z7vhfFRwbwCXJAeL0/lnbrttBVqcMOnpHUf0X42LrPMR8mMpgapkJMchFH4FSHzNA==", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/tar-fs": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.1.tgz", - "integrity": "sha512-6tzWDMeroL87uF/+lin46k+Q+46rAJ0SyPGz7OW7wTgblI273hsBqk2C1j0/xNadNLKDTUL9BukSjB7cwgmlPA==", - "dependencies": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.0.0" - } - }, - "node_modules/tar-fs/node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - }, - "node_modules/tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/teeny-request": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.1.tgz", - "integrity": "sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==", - "dependencies": { - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "stream-events": "^1.0.5", - "uuid": "^8.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/teeny-request/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/temp-dir": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", - "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/temp-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/temp-path/-/temp-path-1.0.0.tgz", - "integrity": "sha1-JLFUOXOrRCiW2a02fdnL2/r+kYs=", - "dev": true - }, - "node_modules/temp-write": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/temp-write/-/temp-write-4.0.0.tgz", - "integrity": "sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.15", - "is-stream": "^2.0.0", - "make-dir": "^3.0.0", - "temp-dir": "^1.0.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/term-size": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", - "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/test-value": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/test-value/-/test-value-3.0.0.tgz", - "integrity": "sha512-sVACdAWcZkSU9x7AOmJo5TqE+GyNJknHaHsMrR6ZnhjVlVN9Yx6FjHrsKZ3BjIpPCT68zYesPWkakrNupwfOTQ==", - "dev": true, - "dependencies": { - "array-back": "^2.0.0", - "typical": "^2.6.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/test-value/node_modules/array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", - "dev": true, - "dependencies": { - "typical": "^2.6.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/text-extensions": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", - "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", - "dev": true - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "node_modules/through2": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", - "dependencies": { - "readable-stream": "3" - } - }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-object-path/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "engines": { - "node": ">=6" - } - }, - "node_modules/to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dependencies": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/toposort": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", - "integrity": "sha1-riF2gXXRVZ1IvvNUILL0li8JwzA=" - }, - "node_modules/touch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", - "dev": true, - "dependencies": { - "nopt": "~1.0.10" - }, - "bin": { - "nodetouch": "bin/nodetouch.js" - } - }, - "node_modules/touch/node_modules/nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", - "dev": true, - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - } - }, - "node_modules/tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/tr46": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", - "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", - "dev": true, - "dependencies": { - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/treeify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", - "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/trim-off-newlines": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz", - "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, - "node_modules/truncate": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/truncate/-/truncate-2.1.0.tgz", - "integrity": "sha512-em3E3SUDONOjTBcZ36DTm3RvDded3IRU9rX32oHwwXNt3rJD5MVaFlJTQvs8tJoHRoeYP36OuQ1eL/Q7bNEWIQ==", - "engines": { - "node": "*" - } - }, - "node_modules/ts-node": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", - "integrity": "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==", - "dev": true, - "dependencies": { - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "source-map-support": "^0.5.17", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/ts-node/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/tv4": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.3.0.tgz", - "integrity": "sha1-0CDIRvrdUMhVq7JeuuzGj8EPeWM=", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "engines": { - "node": ">=10" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true - }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, - "node_modules/typescript": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", - "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/typical": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", - "integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=", - "dev": true - }, - "node_modules/uc.micro": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", - "dev": true - }, - "node_modules/uglify-js": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.1.tgz", - "integrity": "sha512-JhS3hmcVaXlp/xSo3PKY5R0JqKs5M3IV+exdLHW99qKvKivPO4Z8qbej6mte17SOPqAOVMjt/XGgWacnFSzM3g==", - "dev": true, - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/uid-number": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz", - "integrity": "sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/umask": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz", - "integrity": "sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0=", - "dev": true - }, - "node_modules/unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - } - }, - "node_modules/undefsafe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.3.tgz", - "integrity": "sha512-nrXZwwXrD/T/JXeygJqdCO6NZZ1L66HrxM/Z7mIq2oPanoN0F1nLx3lwJMu6AwJY69hdixaFQOuoYsMjE5/C2A==", - "dev": true, - "dependencies": { - "debug": "^2.2.0" - } - }, - "node_modules/undefsafe/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/undefsafe/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/underscore": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz", - "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==", - "dev": true - }, - "node_modules/union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dependencies": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/union-value/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unique-filename": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", - "dev": true, - "dependencies": { - "unique-slug": "^2.0.0" - } - }, - "node_modules/unique-slug": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4" - } - }, - "node_modules/unique-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", - "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", - "dependencies": { - "crypto-random-string": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - }, - "node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dependencies": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dependencies": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/upath": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", - "dev": true, - "engines": { - "node": ">=4", - "yarn": "*" - } - }, - "node_modules/update-notifier": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-5.1.0.tgz", - "integrity": "sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==", - "dependencies": { - "boxen": "^5.0.0", - "chalk": "^4.1.0", - "configstore": "^5.0.1", - "has-yarn": "^2.1.0", - "import-lazy": "^2.1.0", - "is-ci": "^2.0.0", - "is-installed-globally": "^0.4.0", - "is-npm": "^5.0.0", - "is-yarn-global": "^0.3.0", - "latest-version": "^5.1.0", - "pupa": "^2.1.1", - "semver": "^7.3.4", - "semver-diff": "^3.1.1", - "xdg-basedir": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/yeoman/update-notifier?sponsor=1" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "deprecated": "Please see https://github.com/lydell/urix#deprecated" - }, - "node_modules/url-parse": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz", - "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "node_modules/url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "dependencies": { - "prepend-http": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/utf-8-validate": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.5.tgz", - "integrity": "sha512-+pnxRYsS/axEpkrrEpzYfNZGXp0IjC/9RIxwM5gntY4Koi8SHmUGSfxfWqxZdRxrtaoVstuOzUp/rbs3JSPELQ==", - "hasInstallScript": true, - "dependencies": { - "node-gyp-build": "^4.2.0" - } - }, - "node_modules/util": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", - "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", - "which-typed-array": "^1.1.2" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "node_modules/util-promisify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz", - "integrity": "sha1-PCI2R2xNMsX/PEcAKt18E7moKlM=", - "dev": true, - "dependencies": { - "object.getownpropertydescriptors": "^2.0.3" - } - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "bin": { - "uuid": "bin/uuid" - } - }, - "node_modules/v8-compile-cache": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", - "dev": true - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/validate-npm-package-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", - "integrity": "sha1-X6kS2B630MdK/BQN5zF/DKffQ34=", - "dev": true, - "dependencies": { - "builtins": "^1.0.3" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "engines": [ - "node >=0.6.0" - ], - "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "node_modules/wait-port": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-0.2.9.tgz", - "integrity": "sha512-hQ/cVKsNqGZ/UbZB/oakOGFqic00YAMM5/PEj3Bt4vKarv2jWIWzDbqlwT94qMs/exAQAsvMOq99sZblV92zxQ==", - "dependencies": { - "chalk": "^2.4.2", - "commander": "^3.0.2", - "debug": "^4.1.1" - }, - "bin": { - "wait-port": "bin/wait-port.js" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wait-port/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/wait-port/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/wait-port/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/wait-port/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/wait-port/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/wait-port/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/wait-port/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/walk": { - "version": "2.3.14", - "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.14.tgz", - "integrity": "sha512-5skcWAUmySj6hkBdH6B6+3ddMjVQYH5Qy9QGbPmN8kVmLteXk+yVXg+yfk1nbX30EYakahLrr8iPcCxJQSCBeg==", - "dependencies": { - "foreachasync": "^3.0.0" - } - }, - "node_modules/walk-back": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-5.1.0.tgz", - "integrity": "sha512-Uhxps5yZcVNbLEAnb+xaEEMdgTXl9qAQDzKYejG2AZ7qPwRQ81lozY9ECDbjLPNWm7YsO1IK5rsP1KoQzXAcGA==", - "dev": true, - "engines": { - "node": ">=12.17" - } - }, - "node_modules/walkdir": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz", - "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", - "dev": true, - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/web-encoding": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.5.tgz", - "integrity": "sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==", - "dependencies": { - "util": "^0.12.3" - }, - "optionalDependencies": { - "@zxing/text-encoding": "0.9.0" - } - }, - "node_modules/webidl-conversions": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", - "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", - "dev": true, - "engines": { - "node": ">=10.4" - } - }, - "node_modules/whatwg-url": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", - "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", - "dev": true, - "dependencies": { - "lodash": "^4.7.0", - "tr46": "^2.1.0", - "webidl-conversions": "^6.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "node_modules/which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", - "dev": true - }, - "node_modules/which-typed-array": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", - "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-abstract": "^1.18.5", - "foreach": "^2.0.5", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "dev": true, - "dependencies": { - "string-width": "^1.0.2 || 2" - } - }, - "node_modules/wide-align/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/wide-align/node_modules/is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/wide-align/node_modules/string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "dependencies": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/wide-align/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "dependencies": { - "ansi-regex": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/widest-line": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", - "dependencies": { - "string-width": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", - "dependencies": { - "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", - "is-stream": "^2.0.0", - "logform": "^2.2.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" - }, - "engines": { - "node": ">= 6.4.0" - } - }, - "node_modules/winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", - "dependencies": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "engines": { - "node": ">= 6.4.0" - } - }, - "node_modules/winston-transport/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/winston-transport/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/winston-transport/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", - "dev": true - }, - "node_modules/wordwrapjs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz", - "integrity": "sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw==", - "dev": true, - "dependencies": { - "reduce-flatten": "^1.0.1", - "typical": "^2.6.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/wordwrapjs/node_modules/reduce-flatten": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-1.0.1.tgz", - "integrity": "sha1-JYx479FT3fk8tWEjf2EYTzaW4yc=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/workerpool": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.0.tgz", - "integrity": "sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg==", - "dev": true - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "node_modules/write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dependencies": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, - "node_modules/write-json-file": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-4.3.0.tgz", - "integrity": "sha512-PxiShnxf0IlnQuMYOPPhPkhExoCQuTUNPOa/2JWCYTmBquU9njyyDuwRKN26IZBlp4yn1nt+Agh2HOOBl+55HQ==", - "dev": true, - "dependencies": { - "detect-indent": "^6.0.0", - "graceful-fs": "^4.1.15", - "is-plain-obj": "^2.0.0", - "make-dir": "^3.0.0", - "sort-keys": "^4.0.0", - "write-file-atomic": "^3.0.0" - }, - "engines": { - "node": ">=8.3" - } - }, - "node_modules/write-json-file/node_modules/is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/write-pkg": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz", - "integrity": "sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==", - "dev": true, - "dependencies": { - "sort-keys": "^2.0.0", - "type-fest": "^0.4.1", - "write-json-file": "^3.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/write-pkg/node_modules/detect-indent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", - "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/write-pkg/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/write-pkg/node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/write-pkg/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/write-pkg/node_modules/sort-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", - "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=", - "dev": true, - "dependencies": { - "is-plain-obj": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/write-pkg/node_modules/type-fest": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", - "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/write-pkg/node_modules/write-file-atomic": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", - "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.11", - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.2" - } - }, - "node_modules/write-pkg/node_modules/write-json-file": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz", - "integrity": "sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ==", - "dev": true, - "dependencies": { - "detect-indent": "^5.0.0", - "graceful-fs": "^4.1.15", - "make-dir": "^2.1.0", - "pify": "^4.0.1", - "sort-keys": "^2.0.0", - "write-file-atomic": "^2.4.2" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, - "node_modules/xdg-basedir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/xml": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", - "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=" - }, - "node_modules/xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/xmlcreate": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.3.tgz", - "integrity": "sha512-HgS+X6zAztGa9zIK3Y3LXuJes33Lz9x+YyTxgrkIdabu2vqcGOWwdfCpf1hWLRrd553wd4QCDf6BBO6FfdsRiQ==", - "dev": true - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "dev": true, - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-unparser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", - "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", - "dev": true, - "dependencies": { - "camelcase": "^6.0.0", - "decamelize": "^4.0.0", - "flat": "^5.0.2", - "is-plain-obj": "^2.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-unparser/node_modules/camelcase": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", - "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-unparser/node_modules/decamelize": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", - "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-unparser/node_modules/is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/yarn": { - "version": "1.22.11", - "resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.11.tgz", - "integrity": "sha512-AWje4bzqO9RUn3sdnM5N8n4ZJ0BqCc/kqFJvpOI5/EVkINXui0yuvU7NDCEF//+WaxHuNay2uOHxA4+tq1P3cg==", - "hasInstallScript": true, - "bin": { - "yarn": "bin/yarn.js", - "yarnpkg": "bin/yarn.js" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yup": { - "version": "0.32.9", - "resolved": "https://registry.npmjs.org/yup/-/yup-0.32.9.tgz", - "integrity": "sha512-Ci1qN+i2H0XpY7syDQ0k5zKQ/DoxO0LzPg8PAR/X4Mpj6DqaeCoIYEEjDJwhArh3Fa7GWbQQVDZKeXYlSH4JMg==", - "dependencies": { - "@babel/runtime": "^7.10.5", - "@types/lodash": "^4.14.165", - "lodash": "^4.17.20", - "lodash-es": "^4.17.15", - "nanoclone": "^0.2.1", - "property-expr": "^2.0.4", - "toposort": "^2.0.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "dependencies": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "node_modules/zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "dependencies": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - } - }, - "node_modules/zipkin-transport-http/node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/zipkin-transport-http/node_modules/node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "dependencies": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.12.11", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", - "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", - "dev": true, - "requires": { - "@babel/highlight": "^7.10.4" - } - }, - "@babel/compat-data": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", - "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", - "dev": true - }, - "@babel/core": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.0.tgz", - "integrity": "sha512-tXtmTminrze5HEUPn/a0JtOzzfp0nk+UEXQ/tqIJo3WDGypl/2OFQEMll/zSFU8f/lfmfLXvTaORHF3cfXIQMw==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.0", - "@babel/helper-module-transforms": "^7.15.0", - "@babel/helpers": "^7.14.8", - "@babel/parser": "^7.15.0", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.15.0", - "@babel/types": "^7.15.0", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } - } - }, - "@babel/generator": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.0.tgz", - "integrity": "sha512-eKl4XdMrbpYvuB505KTta4AV9g+wWzmVBW69tX0H2NwKVKd2YJbKgyK6M8j/rgLbmHOYJn6rUklV677nOyJrEQ==", - "dev": true, - "requires": { - "@babel/types": "^7.15.0", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } - } - }, - "@babel/helper-compilation-targets": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.0.tgz", - "integrity": "sha512-h+/9t0ncd4jfZ8wsdAsoIxSa61qhBYlycXiHWqJaQBCXAhDCMbPRSMTGnZIkkmt1u4ag+UQmuqcILwqKzZ4N2A==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", - "semver": "^6.3.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", - "dev": true, - "requires": { - "@babel/types": "^7.14.5" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz", - "integrity": "sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ==", - "dev": true, - "requires": { - "@babel/types": "^7.14.5" - } - }, - "@babel/helper-member-expression-to-functions": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.0.tgz", - "integrity": "sha512-Jq8H8U2kYiafuj2xMTPQwkTBnEEdGKpT35lJEQsRRjnG0LW3neucsaMWLgKcwu3OHKNeYugfw+Z20BXBSEs2Lg==", - "dev": true, - "requires": { - "@babel/types": "^7.15.0" - } - }, - "@babel/helper-module-imports": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz", - "integrity": "sha512-SwrNHu5QWS84XlHwGYPDtCxcA0hrSlL2yhWYLgeOc0w7ccOl2qv4s/nARI0aYZW+bSwAL5CukeXA47B/1NKcnQ==", - "dev": true, - "requires": { - "@babel/types": "^7.14.5" - } - }, - "@babel/helper-module-transforms": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.0.tgz", - "integrity": "sha512-RkGiW5Rer7fpXv9m1B3iHIFDZdItnO2/BLfWVW/9q7+KqQSDY5kUfQEbzdXM1MVhJGcugKV7kRrNVzNxmk7NBg==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-replace-supers": "^7.15.0", - "@babel/helper-simple-access": "^7.14.8", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.9", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.15.0", - "@babel/types": "^7.15.0" - } - }, - "@babel/helper-optimise-call-expression": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz", - "integrity": "sha512-IqiLIrODUOdnPU9/F8ib1Fx2ohlgDhxnIDU7OEVi+kAbEZcyiF7BLU8W6PfvPi9LzztjS7kcbzbmL7oG8kD6VA==", - "dev": true, - "requires": { - "@babel/types": "^7.14.5" - } - }, - "@babel/helper-replace-supers": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.0.tgz", - "integrity": "sha512-6O+eWrhx+HEra/uJnifCwhwMd6Bp5+ZfZeJwbqUTuqkhIT6YcRhiZCOOFChRypOIe0cV46kFrRBlm+t5vHCEaA==", - "dev": true, - "requires": { - "@babel/helper-member-expression-to-functions": "^7.15.0", - "@babel/helper-optimise-call-expression": "^7.14.5", - "@babel/traverse": "^7.15.0", - "@babel/types": "^7.15.0" - } - }, - "@babel/helper-simple-access": { - "version": "7.14.8", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.8.tgz", - "integrity": "sha512-TrFN4RHh9gnWEU+s7JloIho2T76GPwRHhdzOWLqTrMnlas8T9O7ec+oEDNsRXndOmru9ymH9DFrEOxpzPoSbdg==", - "dev": true, - "requires": { - "@babel/types": "^7.14.8" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", - "dev": true, - "requires": { - "@babel/types": "^7.14.5" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", - "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==", - "dev": true - }, - "@babel/helper-validator-option": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", - "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", - "dev": true - }, - "@babel/helpers": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.3.tgz", - "integrity": "sha512-HwJiz52XaS96lX+28Tnbu31VeFSQJGOeKHJeaEPQlTl7PnlhFElWPj8tUXtqFIzeN86XxXoBr+WFAyK2PPVz6g==", - "dev": true, - "requires": { - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.15.0", - "@babel/types": "^7.15.0" - } - }, - "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.14.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "@babel/parser": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.3.tgz", - "integrity": "sha512-O0L6v/HvqbdJawj0iBEfVQMc3/6WP+AeOsovsIgBFyJaG+W2w7eqvZB7puddATmWuARlm1SX7DwxJ/JJUnDpEA==", - "dev": true - }, - "@babel/runtime": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", - "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, - "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - } - } - }, - "@babel/traverse": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.0.tgz", - "integrity": "sha512-392d8BN0C9eVxVWd8H6x9WfipgVH5IaIoLp23334Sc1vbKKWINnvwRpb4us0xtPaCumlwbTtIYNA0Dv/32sVFw==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.0", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.15.0", - "@babel/types": "^7.15.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", - "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - }, - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true - } - } - }, - "@babel/types": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.0.tgz", - "integrity": "sha512-OBvfqnllOIdX4ojTHpwZbpvz4j3EWyjkZEdmjH0/cgsd6QOdSgU8rLSk6ard/pcW7rlmjdVSX/AWOaORR1uNOQ==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.14.9", - "to-fast-properties": "^2.0.0" - } - }, - "@cspotcode/source-map-consumer": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", - "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==" - }, - "@cspotcode/source-map-support": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.6.1.tgz", - "integrity": "sha512-DX3Z+T5dt1ockmPdobJS/FAsQPW4V4SrWEhD2iYQT2Cb2tQsiMnYxrcUH9By/Z3B+v0S5LMBkQtV/XOBbpLEOg==", - "requires": { - "@cspotcode/source-map-consumer": "0.8.0" - } - }, - "@dabh/diagnostics": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz", - "integrity": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", - "requires": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "@eslint/eslintrc": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", - "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", - "dev": true, - "requires": { - "ajv": "^6.12.4", - "debug": "^4.1.1", - "espree": "^7.3.0", - "globals": "^13.9.0", - "ignore": "^4.0.6", - "import-fresh": "^3.2.1", - "js-yaml": "^3.13.1", - "minimatch": "^3.0.4", - "strip-json-comments": "^3.1.1" - } - }, - "@fonos/certs": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/certs/-/certs-0.1.20-alpha.0.tgz", - "integrity": "sha512-oDdv631UIYN6NvyNbjp3hFWyoUf9o27gb603YlQdfv6tiz+7pi9uTF1hwIUndJDMIPgBx8Kov3G9VOZgxl5PFw==", - "requires": { - "@types/jsonwebtoken": "^8.5.0", - "acme-client": "^4.1.3", - "btoa": "^1.2.1", - "jsonwebtoken": "^8.5.1" - } - }, - "@fonos/common": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/common/-/common-0.1.20-alpha.0.tgz", - "integrity": "sha512-tdGxsDeVhiVAB2ySOArc5IYHOsjiN6EFdgKW3JtZqI3JOhnlC2vJUWhW1cfJa9OUHqLYzrTbVkMkRSXfd/P+Xg==", - "requires": { - "@fonos/certs": "^0.1.20-alpha.0", - "@fonos/logger": "^0.1.20-alpha.0", - "@grpc/grpc-js": "^1.3.6", - "@speedymonster/grpc-interceptors": "^0.2.5", - "atob": "^2.1.2", - "deepmerge": "^4.2.2" - } - }, - "@fonos/logger": { - "version": "0.1.20-alpha.0", - "resolved": "https://registry.npmjs.org/@fonos/logger/-/logger-0.1.20-alpha.0.tgz", - "integrity": "sha512-2pxbetpP/Ff5bzVOUsfNY9/yfoLzkUzBG9uM+FSYzqeZUGkCesaSLqR20R3Xr2QxFA4mQEhpAI4z4daKqzsrDQ==", - "requires": { - "fluent-logger": "^3.4.1", - "winston": "^3.3.3" - } - }, - "@google-cloud/common": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.7.2.tgz", - "integrity": "sha512-5Q9f74IbZaY6xAwJSNFy5SrGwbm1j7mpv+6A/r+K2dymjsXBH5UauB0tziaMwWoVVaMq1IQnZF9lgtfqqvxcUg==", - "requires": { - "@google-cloud/projectify": "^2.0.0", - "@google-cloud/promisify": "^2.0.0", - "arrify": "^2.0.1", - "duplexify": "^4.1.1", - "ent": "^2.2.0", - "extend": "^3.0.2", - "google-auth-library": "^7.0.2", - "retry-request": "^4.2.2", - "teeny-request": "^7.0.0" - }, - "dependencies": { - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" - } - } - }, - "@google-cloud/projectify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.1.0.tgz", - "integrity": "sha512-qbpidP/fOvQNz3nyabaVnZqcED1NNzf7qfeOlgtAZd9knTwY+KtsGRkYpiQzcATABy4gnGP2lousM3S0nuWVzA==" - }, - "@google-cloud/promisify": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz", - "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==" - }, - "@google-cloud/speech": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-4.8.0.tgz", - "integrity": "sha512-f1D6pXG4IuI9qAhrJQerx0LSHuGMVD6aZtgvdPAAeBlOKwJeLn81su8e9vAjh2pDpyF9zdcWATuWDWFYKUk81w==", - "requires": { - "@google-cloud/common": "^3.0.0", - "@types/pumpify": "^1.4.1", - "google-gax": "^2.24.1", - "protobufjs": "^6.8.6", - "pumpify": "^2.0.0", - "stream-events": "^1.0.4", - "uuid": "^8.3.2" - }, - "dependencies": { - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - } - } - }, - "@google-cloud/text-to-speech": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@google-cloud/text-to-speech/-/text-to-speech-3.3.0.tgz", - "integrity": "sha512-0b+5FFIsd3DeX1+whAk6wjjpmdpIeX+3hBYb2LfiGC4IJCQ57cWl9vt+PDxbS1rDn9qJb4NGMD4hN1ow/Zc6YA==", - "requires": { - "google-gax": "^2.24.1" - } - }, - "@grpc/grpc-js": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", - "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", - "requires": { - "@types/node": ">=12.12.47" - } - }, - "@grpc/proto-loader": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.4.tgz", - "integrity": "sha512-7xvDvW/vJEcmLUltCUGOgWRPM8Oofv0eCFSVMuKqaqWJaXSzmB+m9hiyqe34QofAl4WAzIKUZZlinIF9FOHyTQ==", - "requires": { - "@types/long": "^4.0.1", - "lodash.camelcase": "^4.3.0", - "long": "^4.0.0", - "protobufjs": "^6.10.0", - "yargs": "^16.1.1" - } - }, - "@humanwhocodes/config-array": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", - "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", - "dev": true, - "requires": { - "@humanwhocodes/object-schema": "^1.2.0", - "debug": "^4.1.1", - "minimatch": "^3.0.4" - } - }, - "@humanwhocodes/object-schema": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.0.tgz", - "integrity": "sha512-wdppn25U8z/2yiaT6YGquE6X8sSv7hNMWSXYSSU1jGv/yd6XqjXgTDJ8KP4NgjTXfJ3GbRjeeb8RTV7a/VpM+w==", - "dev": true - }, - "@hutson/parse-repository-url": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", - "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", - "dev": true - }, - "@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, - "requires": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true - } - } - }, - "@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true - }, - "@lerna/add": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/add/-/add-4.0.0.tgz", - "integrity": "sha512-cpmAH1iS3k8JBxNvnMqrGTTjbY/ZAiKa1ChJzFevMYY3eeqbvhsBKnBcxjRXtdrJ6bd3dCQM+ZtK+0i682Fhng==", - "dev": true, - "requires": { - "@lerna/bootstrap": "4.0.0", - "@lerna/command": "4.0.0", - "@lerna/filter-options": "4.0.0", - "@lerna/npm-conf": "4.0.0", - "@lerna/validation-error": "4.0.0", - "dedent": "^0.7.0", - "npm-package-arg": "^8.1.0", - "p-map": "^4.0.0", - "pacote": "^11.2.6", - "semver": "^7.3.4" - } - }, - "@lerna/bootstrap": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-4.0.0.tgz", - "integrity": "sha512-RkS7UbeM2vu+kJnHzxNRCLvoOP9yGNgkzRdy4UV2hNalD7EP41bLvRVOwRYQ7fhc2QcbhnKNdOBihYRL0LcKtw==", - "dev": true, - "requires": { - "@lerna/command": "4.0.0", - "@lerna/filter-options": "4.0.0", - "@lerna/has-npm-version": "4.0.0", - "@lerna/npm-install": "4.0.0", - "@lerna/package-graph": "4.0.0", - "@lerna/pulse-till-done": "4.0.0", - "@lerna/rimraf-dir": "4.0.0", - "@lerna/run-lifecycle": "4.0.0", - "@lerna/run-topologically": "4.0.0", - "@lerna/symlink-binary": "4.0.0", - "@lerna/symlink-dependencies": "4.0.0", - "@lerna/validation-error": "4.0.0", - "dedent": "^0.7.0", - "get-port": "^5.1.1", - "multimatch": "^5.0.0", - "npm-package-arg": "^8.1.0", - "npmlog": "^4.1.2", - "p-map": "^4.0.0", - "p-map-series": "^2.1.0", - "p-waterfall": "^2.1.1", - "read-package-tree": "^5.3.1", - "semver": "^7.3.4" - } - }, - "@lerna/changed": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/changed/-/changed-4.0.0.tgz", - "integrity": "sha512-cD+KuPRp6qiPOD+BO6S6SN5cARspIaWSOqGBpGnYzLb4uWT8Vk4JzKyYtc8ym1DIwyoFXHosXt8+GDAgR8QrgQ==", - "dev": true, - "requires": { - "@lerna/collect-updates": "4.0.0", - "@lerna/command": "4.0.0", - "@lerna/listable": "4.0.0", - "@lerna/output": "4.0.0" - } - }, - "@lerna/check-working-tree": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-4.0.0.tgz", - "integrity": "sha512-/++bxM43jYJCshBiKP5cRlCTwSJdRSxVmcDAXM+1oUewlZJVSVlnks5eO0uLxokVFvLhHlC5kHMc7gbVFPHv6Q==", - "dev": true, - "requires": { - "@lerna/collect-uncommitted": "4.0.0", - "@lerna/describe-ref": "4.0.0", - "@lerna/validation-error": "4.0.0" - } - }, - "@lerna/child-process": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-4.0.0.tgz", - "integrity": "sha512-XtCnmCT9eyVsUUHx6y/CTBYdV9g2Cr/VxyseTWBgfIur92/YKClfEtJTbOh94jRT62hlKLqSvux/UhxXVh613Q==", - "dev": true, - "requires": { - "chalk": "^4.1.0", - "execa": "^5.0.0", - "strong-log-transformer": "^2.1.0" - } - }, - "@lerna/clean": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/clean/-/clean-4.0.0.tgz", - "integrity": "sha512-uugG2iN9k45ITx2jtd8nEOoAtca8hNlDCUM0N3lFgU/b1mEQYAPRkqr1qs4FLRl/Y50ZJ41wUz1eazS+d/0osA==", - "dev": true, - "requires": { - "@lerna/command": "4.0.0", - "@lerna/filter-options": "4.0.0", - "@lerna/prompt": "4.0.0", - "@lerna/pulse-till-done": "4.0.0", - "@lerna/rimraf-dir": "4.0.0", - "p-map": "^4.0.0", - "p-map-series": "^2.1.0", - "p-waterfall": "^2.1.1" - } - }, - "@lerna/cli": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/cli/-/cli-4.0.0.tgz", - "integrity": "sha512-Neaw3GzFrwZiRZv2g7g6NwFjs3er1vhraIniEs0jjVLPMNC4eata0na3GfE5yibkM/9d3gZdmihhZdZ3EBdvYA==", - "dev": true, - "requires": { - "@lerna/global-options": "4.0.0", - "dedent": "^0.7.0", - "npmlog": "^4.1.2", - "yargs": "^16.2.0" - } - }, - "@lerna/collect-uncommitted": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-4.0.0.tgz", - "integrity": "sha512-ufSTfHZzbx69YNj7KXQ3o66V4RC76ffOjwLX0q/ab//61bObJ41n03SiQEhSlmpP+gmFbTJ3/7pTe04AHX9m/g==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "chalk": "^4.1.0", - "npmlog": "^4.1.2" - } - }, - "@lerna/collect-updates": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-4.0.0.tgz", - "integrity": "sha512-bnNGpaj4zuxsEkyaCZLka9s7nMs58uZoxrRIPJ+nrmrZYp1V5rrd+7/NYTuunOhY2ug1sTBvTAxj3NZQ+JKnOw==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/describe-ref": "4.0.0", - "minimatch": "^3.0.4", - "npmlog": "^4.1.2", - "slash": "^3.0.0" - } - }, - "@lerna/command": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/command/-/command-4.0.0.tgz", - "integrity": "sha512-LM9g3rt5FsPNFqIHUeRwWXLNHJ5NKzOwmVKZ8anSp4e1SPrv2HNc1V02/9QyDDZK/w+5POXH5lxZUI1CHaOK/A==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/package-graph": "4.0.0", - "@lerna/project": "4.0.0", - "@lerna/validation-error": "4.0.0", - "@lerna/write-log-file": "4.0.0", - "clone-deep": "^4.0.1", - "dedent": "^0.7.0", - "execa": "^5.0.0", - "is-ci": "^2.0.0", - "npmlog": "^4.1.2" - } - }, - "@lerna/conventional-commits": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-4.0.0.tgz", - "integrity": "sha512-CSUQRjJHFrH8eBn7+wegZLV3OrNc0Y1FehYfYGhjLE2SIfpCL4bmfu/ViYuHh9YjwHaA+4SX6d3hR+xkeseKmw==", - "dev": true, - "requires": { - "@lerna/validation-error": "4.0.0", - "conventional-changelog-angular": "^5.0.12", - "conventional-changelog-core": "^4.2.2", - "conventional-recommended-bump": "^6.1.0", - "fs-extra": "^9.1.0", - "get-stream": "^6.0.0", - "lodash.template": "^4.5.0", - "npm-package-arg": "^8.1.0", - "npmlog": "^4.1.2", - "pify": "^5.0.0", - "semver": "^7.3.4" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/create": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/create/-/create-4.0.0.tgz", - "integrity": "sha512-mVOB1niKByEUfxlbKTM1UNECWAjwUdiioIbRQZEeEabtjCL69r9rscIsjlGyhGWCfsdAG5wfq4t47nlDXdLLag==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/command": "4.0.0", - "@lerna/npm-conf": "4.0.0", - "@lerna/validation-error": "4.0.0", - "dedent": "^0.7.0", - "fs-extra": "^9.1.0", - "globby": "^11.0.2", - "init-package-json": "^2.0.2", - "npm-package-arg": "^8.1.0", - "p-reduce": "^2.1.0", - "pacote": "^11.2.6", - "pify": "^5.0.0", - "semver": "^7.3.4", - "slash": "^3.0.0", - "validate-npm-package-license": "^3.0.4", - "validate-npm-package-name": "^3.0.0", - "whatwg-url": "^8.4.0", - "yargs-parser": "20.2.4" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/create-symlink": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-4.0.0.tgz", - "integrity": "sha512-I0phtKJJdafUiDwm7BBlEUOtogmu8+taxq6PtIrxZbllV9hWg59qkpuIsiFp+no7nfRVuaasNYHwNUhDAVQBig==", - "dev": true, - "requires": { - "cmd-shim": "^4.1.0", - "fs-extra": "^9.1.0", - "npmlog": "^4.1.2" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/describe-ref": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-4.0.0.tgz", - "integrity": "sha512-eTU5+xC4C5Gcgz+Ey4Qiw9nV2B4JJbMulsYJMW8QjGcGh8zudib7Sduj6urgZXUYNyhYpRs+teci9M2J8u+UvQ==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "npmlog": "^4.1.2" - } - }, - "@lerna/diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/diff/-/diff-4.0.0.tgz", - "integrity": "sha512-jYPKprQVg41+MUMxx6cwtqsNm0Yxx9GDEwdiPLwcUTFx+/qKCEwifKNJ1oGIPBxyEHX2PFCOjkK39lHoj2qiag==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/command": "4.0.0", - "@lerna/validation-error": "4.0.0", - "npmlog": "^4.1.2" - } - }, - "@lerna/exec": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/exec/-/exec-4.0.0.tgz", - "integrity": "sha512-VGXtL/b/JfY84NB98VWZpIExfhLOzy0ozm/0XaS4a2SmkAJc5CeUfrhvHxxkxiTBLkU+iVQUyYEoAT0ulQ8PCw==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/command": "4.0.0", - "@lerna/filter-options": "4.0.0", - "@lerna/profiler": "4.0.0", - "@lerna/run-topologically": "4.0.0", - "@lerna/validation-error": "4.0.0", - "p-map": "^4.0.0" - } - }, - "@lerna/filter-options": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-4.0.0.tgz", - "integrity": "sha512-vV2ANOeZhOqM0rzXnYcFFCJ/kBWy/3OA58irXih9AMTAlQLymWAK0akWybl++sUJ4HB9Hx12TOqaXbYS2NM5uw==", - "dev": true, - "requires": { - "@lerna/collect-updates": "4.0.0", - "@lerna/filter-packages": "4.0.0", - "dedent": "^0.7.0", - "npmlog": "^4.1.2" - } - }, - "@lerna/filter-packages": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-4.0.0.tgz", - "integrity": "sha512-+4AJIkK7iIiOaqCiVTYJxh/I9qikk4XjNQLhE3kixaqgMuHl1NQ99qXRR0OZqAWB9mh8Z1HA9bM5K1HZLBTOqA==", - "dev": true, - "requires": { - "@lerna/validation-error": "4.0.0", - "multimatch": "^5.0.0", - "npmlog": "^4.1.2" - } - }, - "@lerna/get-npm-exec-opts": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-4.0.0.tgz", - "integrity": "sha512-yvmkerU31CTWS2c7DvmAWmZVeclPBqI7gPVr5VATUKNWJ/zmVcU4PqbYoLu92I9Qc4gY1TuUplMNdNuZTSL7IQ==", - "dev": true, - "requires": { - "npmlog": "^4.1.2" - } - }, - "@lerna/get-packed": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-4.0.0.tgz", - "integrity": "sha512-rfWONRsEIGyPJTxFzC8ECb3ZbsDXJbfqWYyeeQQDrJRPnEJErlltRLPLgC2QWbxFgFPsoDLeQmFHJnf0iDfd8w==", - "dev": true, - "requires": { - "fs-extra": "^9.1.0", - "ssri": "^8.0.1", - "tar": "^6.1.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/github-client": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/github-client/-/github-client-4.0.0.tgz", - "integrity": "sha512-2jhsldZtTKXYUBnOm23Lb0Fx8G4qfSXF9y7UpyUgWUj+YZYd+cFxSuorwQIgk5P4XXrtVhsUesIsli+BYSThiw==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@octokit/plugin-enterprise-rest": "^6.0.1", - "@octokit/rest": "^18.1.0", - "git-url-parse": "^11.4.4", - "npmlog": "^4.1.2" - } - }, - "@lerna/gitlab-client": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-4.0.0.tgz", - "integrity": "sha512-OMUpGSkeDWFf7BxGHlkbb35T7YHqVFCwBPSIR6wRsszY8PAzCYahtH3IaJzEJyUg6vmZsNl0FSr3pdA2skhxqA==", - "dev": true, - "requires": { - "node-fetch": "^2.6.1", - "npmlog": "^4.1.2", - "whatwg-url": "^8.4.0" - } - }, - "@lerna/global-options": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/global-options/-/global-options-4.0.0.tgz", - "integrity": "sha512-TRMR8afAHxuYBHK7F++Ogop2a82xQjoGna1dvPOY6ltj/pEx59pdgcJfYcynYqMkFIk8bhLJJN9/ndIfX29FTQ==", - "dev": true - }, - "@lerna/has-npm-version": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-4.0.0.tgz", - "integrity": "sha512-LQ3U6XFH8ZmLCsvsgq1zNDqka0Xzjq5ibVN+igAI5ccRWNaUsE/OcmsyMr50xAtNQMYMzmpw5GVLAivT2/YzCg==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "semver": "^7.3.4" - } - }, - "@lerna/import": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/import/-/import-4.0.0.tgz", - "integrity": "sha512-FaIhd+4aiBousKNqC7TX1Uhe97eNKf5/SC7c5WZANVWtC7aBWdmswwDt3usrzCNpj6/Wwr9EtEbYROzxKH8ffg==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/command": "4.0.0", - "@lerna/prompt": "4.0.0", - "@lerna/pulse-till-done": "4.0.0", - "@lerna/validation-error": "4.0.0", - "dedent": "^0.7.0", - "fs-extra": "^9.1.0", - "p-map-series": "^2.1.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/info": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/info/-/info-4.0.0.tgz", - "integrity": "sha512-8Uboa12kaCSZEn4XRfPz5KU9XXoexSPS4oeYGj76s2UQb1O1GdnEyfjyNWoUl1KlJ2i/8nxUskpXIftoFYH0/Q==", - "dev": true, - "requires": { - "@lerna/command": "4.0.0", - "@lerna/output": "4.0.0", - "envinfo": "^7.7.4" - } - }, - "@lerna/init": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/init/-/init-4.0.0.tgz", - "integrity": "sha512-wY6kygop0BCXupzWj5eLvTUqdR7vIAm0OgyV9WHpMYQGfs1V22jhztt8mtjCloD/O0nEe4tJhdG62XU5aYmPNQ==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/command": "4.0.0", - "fs-extra": "^9.1.0", - "p-map": "^4.0.0", - "write-json-file": "^4.3.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/link": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/link/-/link-4.0.0.tgz", - "integrity": "sha512-KlvPi7XTAcVOByfaLlOeYOfkkDcd+bejpHMCd1KcArcFTwijOwXOVi24DYomIeHvy6HsX/IUquJ4PPUJIeB4+w==", - "dev": true, - "requires": { - "@lerna/command": "4.0.0", - "@lerna/package-graph": "4.0.0", - "@lerna/symlink-dependencies": "4.0.0", - "p-map": "^4.0.0", - "slash": "^3.0.0" - } - }, - "@lerna/list": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/list/-/list-4.0.0.tgz", - "integrity": "sha512-L2B5m3P+U4Bif5PultR4TI+KtW+SArwq1i75QZ78mRYxPc0U/piau1DbLOmwrdqr99wzM49t0Dlvl6twd7GHFg==", - "dev": true, - "requires": { - "@lerna/command": "4.0.0", - "@lerna/filter-options": "4.0.0", - "@lerna/listable": "4.0.0", - "@lerna/output": "4.0.0" - } - }, - "@lerna/listable": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/listable/-/listable-4.0.0.tgz", - "integrity": "sha512-/rPOSDKsOHs5/PBLINZOkRIX1joOXUXEtyUs5DHLM8q6/RP668x/1lFhw6Dx7/U+L0+tbkpGtZ1Yt0LewCLgeQ==", - "dev": true, - "requires": { - "@lerna/query-graph": "4.0.0", - "chalk": "^4.1.0", - "columnify": "^1.5.4" - } - }, - "@lerna/log-packed": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-4.0.0.tgz", - "integrity": "sha512-+dpCiWbdzgMAtpajLToy9PO713IHoE6GV/aizXycAyA07QlqnkpaBNZ8DW84gHdM1j79TWockGJo9PybVhrrZQ==", - "dev": true, - "requires": { - "byte-size": "^7.0.0", - "columnify": "^1.5.4", - "has-unicode": "^2.0.1", - "npmlog": "^4.1.2" - } - }, - "@lerna/npm-conf": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-4.0.0.tgz", - "integrity": "sha512-uS7H02yQNq3oejgjxAxqq/jhwGEE0W0ntr8vM3EfpCW1F/wZruwQw+7bleJQ9vUBjmdXST//tk8mXzr5+JXCfw==", - "dev": true, - "requires": { - "config-chain": "^1.1.12", - "pify": "^5.0.0" - } - }, - "@lerna/npm-dist-tag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-4.0.0.tgz", - "integrity": "sha512-F20sg28FMYTgXqEQihgoqSfwmq+Id3zT23CnOwD+XQMPSy9IzyLf1fFVH319vXIw6NF6Pgs4JZN2Qty6/CQXGw==", - "dev": true, - "requires": { - "@lerna/otplease": "4.0.0", - "npm-package-arg": "^8.1.0", - "npm-registry-fetch": "^9.0.0", - "npmlog": "^4.1.2" - } - }, - "@lerna/npm-install": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-4.0.0.tgz", - "integrity": "sha512-aKNxq2j3bCH3eXl3Fmu4D54s/YLL9WSwV8W7X2O25r98wzrO38AUN6AB9EtmAx+LV/SP15et7Yueg9vSaanRWg==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/get-npm-exec-opts": "4.0.0", - "fs-extra": "^9.1.0", - "npm-package-arg": "^8.1.0", - "npmlog": "^4.1.2", - "signal-exit": "^3.0.3", - "write-pkg": "^4.0.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/npm-publish": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-4.0.0.tgz", - "integrity": "sha512-vQb7yAPRo5G5r77DRjHITc9piR9gvEKWrmfCH7wkfBnGWEqu7n8/4bFQ7lhnkujvc8RXOsYpvbMQkNfkYibD/w==", - "dev": true, - "requires": { - "@lerna/otplease": "4.0.0", - "@lerna/run-lifecycle": "4.0.0", - "fs-extra": "^9.1.0", - "libnpmpublish": "^4.0.0", - "npm-package-arg": "^8.1.0", - "npmlog": "^4.1.2", - "pify": "^5.0.0", - "read-package-json": "^3.0.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/npm-run-script": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-4.0.0.tgz", - "integrity": "sha512-Jmyh9/IwXJjOXqKfIgtxi0bxi1pUeKe5bD3S81tkcy+kyng/GNj9WSqD5ZggoNP2NP//s4CLDAtUYLdP7CU9rA==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "@lerna/get-npm-exec-opts": "4.0.0", - "npmlog": "^4.1.2" - } - }, - "@lerna/otplease": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/otplease/-/otplease-4.0.0.tgz", - "integrity": "sha512-Sgzbqdk1GH4psNiT6hk+BhjOfIr/5KhGBk86CEfHNJTk9BK4aZYyJD4lpDbDdMjIV4g03G7pYoqHzH765T4fxw==", - "dev": true, - "requires": { - "@lerna/prompt": "4.0.0" - } - }, - "@lerna/output": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/output/-/output-4.0.0.tgz", - "integrity": "sha512-Un1sHtO1AD7buDQrpnaYTi2EG6sLF+KOPEAMxeUYG5qG3khTs2Zgzq5WE3dt2N/bKh7naESt20JjIW6tBELP0w==", - "dev": true, - "requires": { - "npmlog": "^4.1.2" - } - }, - "@lerna/pack-directory": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-4.0.0.tgz", - "integrity": "sha512-NJrmZNmBHS+5aM+T8N6FVbaKFScVqKlQFJNY2k7nsJ/uklNKsLLl6VhTQBPwMTbf6Tf7l6bcKzpy7aePuq9UiQ==", - "dev": true, - "requires": { - "@lerna/get-packed": "4.0.0", - "@lerna/package": "4.0.0", - "@lerna/run-lifecycle": "4.0.0", - "npm-packlist": "^2.1.4", - "npmlog": "^4.1.2", - "tar": "^6.1.0", - "temp-write": "^4.0.0" - } - }, - "@lerna/package": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/package/-/package-4.0.0.tgz", - "integrity": "sha512-l0M/izok6FlyyitxiQKr+gZLVFnvxRQdNhzmQ6nRnN9dvBJWn+IxxpM+cLqGACatTnyo9LDzNTOj2Db3+s0s8Q==", - "dev": true, - "requires": { - "load-json-file": "^6.2.0", - "npm-package-arg": "^8.1.0", - "write-pkg": "^4.0.0" - } - }, - "@lerna/package-graph": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-4.0.0.tgz", - "integrity": "sha512-QED2ZCTkfXMKFoTGoccwUzjHtZMSf3UKX14A4/kYyBms9xfFsesCZ6SLI5YeySEgcul8iuIWfQFZqRw+Qrjraw==", - "dev": true, - "requires": { - "@lerna/prerelease-id-from-version": "4.0.0", - "@lerna/validation-error": "4.0.0", - "npm-package-arg": "^8.1.0", - "npmlog": "^4.1.2", - "semver": "^7.3.4" - } - }, - "@lerna/prerelease-id-from-version": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-4.0.0.tgz", - "integrity": "sha512-GQqguzETdsYRxOSmdFZ6zDBXDErIETWOqomLERRY54f4p+tk4aJjoVdd9xKwehC9TBfIFvlRbL1V9uQGHh1opg==", - "dev": true, - "requires": { - "semver": "^7.3.4" - } - }, - "@lerna/profiler": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/profiler/-/profiler-4.0.0.tgz", - "integrity": "sha512-/BaEbqnVh1LgW/+qz8wCuI+obzi5/vRE8nlhjPzdEzdmWmZXuCKyWSEzAyHOJWw1ntwMiww5dZHhFQABuoFz9Q==", - "dev": true, - "requires": { - "fs-extra": "^9.1.0", - "npmlog": "^4.1.2", - "upath": "^2.0.1" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/project": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/project/-/project-4.0.0.tgz", - "integrity": "sha512-o0MlVbDkD5qRPkFKlBZsXZjoNTWPyuL58564nSfZJ6JYNmgAptnWPB2dQlAc7HWRZkmnC2fCkEdoU+jioPavbg==", - "dev": true, - "requires": { - "@lerna/package": "4.0.0", - "@lerna/validation-error": "4.0.0", - "cosmiconfig": "^7.0.0", - "dedent": "^0.7.0", - "dot-prop": "^6.0.1", - "glob-parent": "^5.1.1", - "globby": "^11.0.2", - "load-json-file": "^6.2.0", - "npmlog": "^4.1.2", - "p-map": "^4.0.0", - "resolve-from": "^5.0.0", - "write-json-file": "^4.3.0" - }, - "dependencies": { - "resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true - } - } - }, - "@lerna/prompt": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/prompt/-/prompt-4.0.0.tgz", - "integrity": "sha512-4Ig46oCH1TH5M7YyTt53fT6TuaKMgqUUaqdgxvp6HP6jtdak6+amcsqB8YGz2eQnw/sdxunx84DfI9XpoLj4bQ==", - "dev": true, - "requires": { - "inquirer": "^7.3.3", - "npmlog": "^4.1.2" - } - }, - "@lerna/publish": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/publish/-/publish-4.0.0.tgz", - "integrity": "sha512-K8jpqjHrChH22qtkytA5GRKIVFEtqBF6JWj1I8dWZtHs4Jywn8yB1jQ3BAMLhqmDJjWJtRck0KXhQQKzDK2UPg==", - "dev": true, - "requires": { - "@lerna/check-working-tree": "4.0.0", - "@lerna/child-process": "4.0.0", - "@lerna/collect-updates": "4.0.0", - "@lerna/command": "4.0.0", - "@lerna/describe-ref": "4.0.0", - "@lerna/log-packed": "4.0.0", - "@lerna/npm-conf": "4.0.0", - "@lerna/npm-dist-tag": "4.0.0", - "@lerna/npm-publish": "4.0.0", - "@lerna/otplease": "4.0.0", - "@lerna/output": "4.0.0", - "@lerna/pack-directory": "4.0.0", - "@lerna/prerelease-id-from-version": "4.0.0", - "@lerna/prompt": "4.0.0", - "@lerna/pulse-till-done": "4.0.0", - "@lerna/run-lifecycle": "4.0.0", - "@lerna/run-topologically": "4.0.0", - "@lerna/validation-error": "4.0.0", - "@lerna/version": "4.0.0", - "fs-extra": "^9.1.0", - "libnpmaccess": "^4.0.1", - "npm-package-arg": "^8.1.0", - "npm-registry-fetch": "^9.0.0", - "npmlog": "^4.1.2", - "p-map": "^4.0.0", - "p-pipe": "^3.1.0", - "pacote": "^11.2.6", - "semver": "^7.3.4" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/pulse-till-done": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-4.0.0.tgz", - "integrity": "sha512-Frb4F7QGckaybRhbF7aosLsJ5e9WuH7h0KUkjlzSByVycxY91UZgaEIVjS2oN9wQLrheLMHl6SiFY0/Pvo0Cxg==", - "dev": true, - "requires": { - "npmlog": "^4.1.2" - } - }, - "@lerna/query-graph": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-4.0.0.tgz", - "integrity": "sha512-YlP6yI3tM4WbBmL9GCmNDoeQyzcyg1e4W96y/PKMZa5GbyUvkS2+Jc2kwPD+5KcXou3wQZxSPzR3Te5OenaDdg==", - "dev": true, - "requires": { - "@lerna/package-graph": "4.0.0" - } - }, - "@lerna/resolve-symlink": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-4.0.0.tgz", - "integrity": "sha512-RtX8VEUzqT+uLSCohx8zgmjc6zjyRlh6i/helxtZTMmc4+6O4FS9q5LJas2uGO2wKvBlhcD6siibGt7dIC3xZA==", - "dev": true, - "requires": { - "fs-extra": "^9.1.0", - "npmlog": "^4.1.2", - "read-cmd-shim": "^2.0.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/rimraf-dir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-4.0.0.tgz", - "integrity": "sha512-QNH9ABWk9mcMJh2/muD9iYWBk1oQd40y6oH+f3wwmVGKYU5YJD//+zMiBI13jxZRtwBx0vmBZzkBkK1dR11cBg==", - "dev": true, - "requires": { - "@lerna/child-process": "4.0.0", - "npmlog": "^4.1.2", - "path-exists": "^4.0.0", - "rimraf": "^3.0.2" - } - }, - "@lerna/run": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/run/-/run-4.0.0.tgz", - "integrity": "sha512-9giulCOzlMPzcZS/6Eov6pxE9gNTyaXk0Man+iCIdGJNMrCnW7Dme0Z229WWP/UoxDKg71F2tMsVVGDiRd8fFQ==", - "dev": true, - "requires": { - "@lerna/command": "4.0.0", - "@lerna/filter-options": "4.0.0", - "@lerna/npm-run-script": "4.0.0", - "@lerna/output": "4.0.0", - "@lerna/profiler": "4.0.0", - "@lerna/run-topologically": "4.0.0", - "@lerna/timer": "4.0.0", - "@lerna/validation-error": "4.0.0", - "p-map": "^4.0.0" - } - }, - "@lerna/run-lifecycle": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-4.0.0.tgz", - "integrity": "sha512-IwxxsajjCQQEJAeAaxF8QdEixfI7eLKNm4GHhXHrgBu185JcwScFZrj9Bs+PFKxwb+gNLR4iI5rpUdY8Y0UdGQ==", - "dev": true, - "requires": { - "@lerna/npm-conf": "4.0.0", - "npm-lifecycle": "^3.1.5", - "npmlog": "^4.1.2" - } - }, - "@lerna/run-topologically": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-4.0.0.tgz", - "integrity": "sha512-EVZw9hGwo+5yp+VL94+NXRYisqgAlj0jWKWtAIynDCpghRxCE5GMO3xrQLmQgqkpUl9ZxQFpICgYv5DW4DksQA==", - "dev": true, - "requires": { - "@lerna/query-graph": "4.0.0", - "p-queue": "^6.6.2" - } - }, - "@lerna/symlink-binary": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-4.0.0.tgz", - "integrity": "sha512-zualodWC4q1QQc1pkz969hcFeWXOsVYZC5AWVtAPTDfLl+TwM7eG/O6oP+Rr3fFowspxo6b1TQ6sYfDV6HXNWA==", - "dev": true, - "requires": { - "@lerna/create-symlink": "4.0.0", - "@lerna/package": "4.0.0", - "fs-extra": "^9.1.0", - "p-map": "^4.0.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/symlink-dependencies": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-4.0.0.tgz", - "integrity": "sha512-BABo0MjeUHNAe2FNGty1eantWp8u83BHSeIMPDxNq0MuW2K3CiQRaeWT3EGPAzXpGt0+hVzBrA6+OT0GPn7Yuw==", - "dev": true, - "requires": { - "@lerna/create-symlink": "4.0.0", - "@lerna/resolve-symlink": "4.0.0", - "@lerna/symlink-binary": "4.0.0", - "fs-extra": "^9.1.0", - "p-map": "^4.0.0", - "p-map-series": "^2.1.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } - } - }, - "@lerna/timer": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/timer/-/timer-4.0.0.tgz", - "integrity": "sha512-WFsnlaE7SdOvjuyd05oKt8Leg3ENHICnvX3uYKKdByA+S3g+TCz38JsNs7OUZVt+ba63nC2nbXDlUnuT2Xbsfg==", - "dev": true - }, - "@lerna/validation-error": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-4.0.0.tgz", - "integrity": "sha512-1rBOM5/koiVWlRi3V6dB863E1YzJS8v41UtsHgMr6gB2ncJ2LsQtMKlJpi3voqcgh41H8UsPXR58RrrpPpufyw==", - "dev": true, - "requires": { - "npmlog": "^4.1.2" - } - }, - "@lerna/version": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/version/-/version-4.0.0.tgz", - "integrity": "sha512-otUgiqs5W9zGWJZSCCMRV/2Zm2A9q9JwSDS7s/tlKq4mWCYriWo7+wsHEA/nPTMDyYyBO5oyZDj+3X50KDUzeA==", - "dev": true, - "requires": { - "@lerna/check-working-tree": "4.0.0", - "@lerna/child-process": "4.0.0", - "@lerna/collect-updates": "4.0.0", - "@lerna/command": "4.0.0", - "@lerna/conventional-commits": "4.0.0", - "@lerna/github-client": "4.0.0", - "@lerna/gitlab-client": "4.0.0", - "@lerna/output": "4.0.0", - "@lerna/prerelease-id-from-version": "4.0.0", - "@lerna/prompt": "4.0.0", - "@lerna/run-lifecycle": "4.0.0", - "@lerna/run-topologically": "4.0.0", - "@lerna/validation-error": "4.0.0", - "chalk": "^4.1.0", - "dedent": "^0.7.0", - "load-json-file": "^6.2.0", - "minimatch": "^3.0.4", - "npmlog": "^4.1.2", - "p-map": "^4.0.0", - "p-pipe": "^3.1.0", - "p-reduce": "^2.1.0", - "p-waterfall": "^2.1.1", - "semver": "^7.3.4", - "slash": "^3.0.0", - "temp-write": "^4.0.0", - "write-json-file": "^4.3.0" - } - }, - "@lerna/write-log-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-4.0.0.tgz", - "integrity": "sha512-XRG5BloiArpXRakcnPHmEHJp+4AtnhRtpDIHSghmXD5EichI1uD73J7FgPp30mm2pDRq3FdqB0NbwSEsJ9xFQg==", - "dev": true, - "requires": { - "npmlog": "^4.1.2", - "write-file-atomic": "^3.0.3" - } - }, - "@mapbox/node-pre-gyp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.5.tgz", - "integrity": "sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==", - "dev": true, - "requires": { - "detect-libc": "^1.0.3", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.1", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "rimraf": "^3.0.2", - "semver": "^7.3.4", - "tar": "^6.1.0" - } - }, - "@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "requires": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - } - }, - "@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" - }, - "@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "requires": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - } - }, - "@npmcli/ci-detect": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.3.0.tgz", - "integrity": "sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q==", - "dev": true - }, - "@npmcli/git": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz", - "integrity": "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==", - "dev": true, - "requires": { - "@npmcli/promise-spawn": "^1.3.2", - "lru-cache": "^6.0.0", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^6.1.1", - "promise-inflight": "^1.0.1", - "promise-retry": "^2.0.1", - "semver": "^7.3.5", - "which": "^2.0.2" - } - }, - "@npmcli/installed-package-contents": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", - "dev": true, - "requires": { - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - } - }, - "@npmcli/move-file": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", - "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", - "dev": true, - "requires": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - } - }, - "@npmcli/node-gyp": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.2.tgz", - "integrity": "sha512-yrJUe6reVMpktcvagumoqD9r08fH1iRo01gn1u0zoCApa9lnZGEigVKUd2hzsCId4gdtkZZIVscLhNxMECKgRg==", - "dev": true - }, - "@npmcli/promise-spawn": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz", - "integrity": "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==", - "dev": true, - "requires": { - "infer-owner": "^1.0.4" - } - }, - "@npmcli/run-script": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz", - "integrity": "sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==", - "dev": true, - "requires": { - "@npmcli/node-gyp": "^1.0.2", - "@npmcli/promise-spawn": "^1.3.2", - "node-gyp": "^7.1.0", - "read-package-json-fast": "^2.0.1" - }, - "dependencies": { - "node-gyp": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz", - "integrity": "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==", - "dev": true, - "requires": { - "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.3", - "nopt": "^5.0.0", - "npmlog": "^4.1.2", - "request": "^2.88.2", - "rimraf": "^3.0.2", - "semver": "^7.3.2", - "tar": "^6.0.2", - "which": "^2.0.2" - } - } - } - }, - "@oclif/color": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@oclif/color/-/color-0.1.2.tgz", - "integrity": "sha512-M9o+DOrb8l603qvgz1FogJBUGLqcMFL1aFg2ZEL0FbXJofiNTLOWIeB4faeZTLwE6dt0xH9GpCVpzksMMzGbmA==", - "requires": { - "ansi-styles": "^3.2.1", - "chalk": "^3.0.0", - "strip-ansi": "^5.2.0", - "supports-color": "^5.4.0", - "tslib": "^1" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "requires": { - "ansi-regex": "^4.1.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - }, - "dependencies": { - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - } - } - } - } - }, - "@oclif/command": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@oclif/command/-/command-1.8.0.tgz", - "integrity": "sha512-5vwpq6kbvwkQwKqAoOU3L72GZ3Ta8RRrewKj9OJRolx28KLJJ8Dg9Rf7obRwt5jQA9bkYd8gqzMTrI7H3xLfaw==", - "requires": { - "@oclif/errors": "^1.3.3", - "@oclif/parser": "^3.8.3", - "@oclif/plugin-help": "^3", - "debug": "^4.1.1", - "semver": "^7.3.2" - } - }, - "@oclif/config": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/@oclif/config/-/config-1.17.0.tgz", - "integrity": "sha512-Lmfuf6ubjQ4ifC/9bz1fSCHc6F6E653oyaRXxg+lgT4+bYf9bk+nqrUpAbrXyABkCqgIBiFr3J4zR/kiFdE1PA==", - "requires": { - "@oclif/errors": "^1.3.3", - "@oclif/parser": "^3.8.0", - "debug": "^4.1.1", - "globby": "^11.0.1", - "is-wsl": "^2.1.1", - "tslib": "^2.0.0" - }, - "dependencies": { - "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - } - } - }, - "@oclif/errors": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@oclif/errors/-/errors-1.3.5.tgz", - "integrity": "sha512-OivucXPH/eLLlOT7FkCMoZXiaVYf8I/w1eTAM1+gKzfhALwWTusxEx7wBmW0uzvkSg/9ovWLycPaBgJbM3LOCQ==", - "requires": { - "clean-stack": "^3.0.0", - "fs-extra": "^8.1", - "indent-string": "^4.0.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "clean-stack": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-3.0.1.tgz", - "integrity": "sha512-lR9wNiMRcVQjSB3a7xXGLuz4cr4wJuuXlaAEbRutGowQTmlp7R72/DOgN21e8jdwblMWl9UOJMJXarX94pzKdg==", - "requires": { - "escape-string-regexp": "4.0.0" - } - } - } - }, - "@oclif/linewrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@oclif/linewrap/-/linewrap-1.0.0.tgz", - "integrity": "sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw==" - }, - "@oclif/parser": { - "version": "3.8.5", - "resolved": "https://registry.npmjs.org/@oclif/parser/-/parser-3.8.5.tgz", - "integrity": "sha512-yojzeEfmSxjjkAvMRj0KzspXlMjCfBzNRPkWw8ZwOSoNWoJn+OCS/m/S+yfV6BvAM4u2lTzX9Y5rCbrFIgkJLg==", - "requires": { - "@oclif/errors": "^1.2.2", - "@oclif/linewrap": "^1.0.0", - "chalk": "^2.4.2", - "tslib": "^1.9.3" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "@oclif/plugin-help": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-3.2.3.tgz", - "integrity": "sha512-l2Pd0lbOMq4u/7xsl9hqISFqyR9gWEz/8+05xmrXFr67jXyS6EUCQB+mFBa0wepltrmJu0sAFg9AvA2mLaMMqQ==", - "requires": { - "@oclif/command": "^1.5.20", - "@oclif/config": "^1.15.1", - "@oclif/errors": "^1.2.2", - "chalk": "^4.1.0", - "indent-string": "^4.0.0", - "lodash.template": "^4.4.0", - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "widest-line": "^3.1.0", - "wrap-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" - }, - "wrap-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-4.0.0.tgz", - "integrity": "sha512-uMTsj9rDb0/7kk1PbcbCcwvHUxp60fGDB/NNXpVa0Q+ic/e7y5+BwTxKfQ33VYgDppSwi/FBzpetYzo8s6tfbg==", - "requires": { - "ansi-styles": "^3.2.0", - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "requires": { - "ansi-regex": "^3.0.0" - } - } - } - } - } - }, - "@oclif/plugin-not-found": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@oclif/plugin-not-found/-/plugin-not-found-1.2.4.tgz", - "integrity": "sha512-G440PCuMi/OT8b71aWkR+kCWikngGtyRjOR24sPMDbpUFV4+B3r51fz1fcqeUiiEOYqUpr0Uy/sneUe1O/NfBg==", - "requires": { - "@oclif/color": "^0.x", - "@oclif/command": "^1.6.0", - "cli-ux": "^4.9.0", - "fast-levenshtein": "^2.0.6", - "lodash": "^4.17.13" + "requires": { + "fs-extra": "^9.1.0", + "npmlog": "^4.1.2", + "read-cmd-shim": "^2.0.0" }, "dependencies": { - "ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==" - }, - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "cli-ux": { - "version": "4.9.3", - "resolved": "https://registry.npmjs.org/cli-ux/-/cli-ux-4.9.3.tgz", - "integrity": "sha512-/1owvF0SZ5Gn54cgrikJ0QskgTzeg30HGjkmjFoaHDJzAqFpuX1DBpFR8aLvsE1J5s9MgeYRENQK4BFwOag5VA==", - "requires": { - "@oclif/errors": "^1.2.2", - "@oclif/linewrap": "^1.0.0", - "@oclif/screen": "^1.0.3", - "ansi-escapes": "^3.1.0", - "ansi-styles": "^3.2.1", - "cardinal": "^2.1.1", - "chalk": "^2.4.1", - "clean-stack": "^2.0.0", - "extract-stack": "^1.0.0", - "fs-extra": "^7.0.0", - "hyperlinker": "^1.0.0", - "indent-string": "^3.2.0", - "is-wsl": "^1.1.0", - "lodash": "^4.17.11", - "password-prompt": "^1.0.7", - "semver": "^5.6.0", - "strip-ansi": "^5.0.0", - "supports-color": "^5.5.0", - "supports-hyperlinks": "^1.0.1", - "treeify": "^1.1.0", - "tslib": "^1.9.3" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "extract-stack": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/extract-stack/-/extract-stack-1.0.0.tgz", - "integrity": "sha1-uXrK+UQe6iMyUpYktzL8WhyBZfo=" - }, "fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "indent-string": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=" - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "requires": { - "ansi-regex": "^4.1.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, "requires": { - "has-flag": "^3.0.0" + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" } }, - "supports-hyperlinks": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-1.0.1.tgz", - "integrity": "sha512-HHi5kVSefKaJkGYXbDuKbUGRVxqnWGn3J2e39CYcNJEfWciGq2zYtOhXLTlvrOZW1QU7VX67w7fMmWafHX9Pfw==", + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, "requires": { - "has-flag": "^2.0.0", - "supports-color": "^5.0.0" - }, - "dependencies": { - "has-flag": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" - } + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true } } }, - "@oclif/plugin-plugins": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-1.10.1.tgz", - "integrity": "sha512-JDUA3NtOa4OlH8ofUBXQMTFlpEkSmeE9BxoQTD6+BeUvMgqFuZThENucRvCD00sywhCmDngmIYN59gKcXpGJeQ==", + "@lerna/rimraf-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-4.0.0.tgz", + "integrity": "sha512-QNH9ABWk9mcMJh2/muD9iYWBk1oQd40y6oH+f3wwmVGKYU5YJD//+zMiBI13jxZRtwBx0vmBZzkBkK1dR11cBg==", + "dev": true, "requires": { - "@oclif/color": "^0.x", - "@oclif/command": "^1.5.12", - "@oclif/errors": "^1.2.2", - "chalk": "^4.1.0", - "cli-ux": "^5.2.1", - "debug": "^4.1.0", - "fs-extra": "^9.0", - "http-call": "^5.2.2", - "load-json-file": "^5.2.0", - "npm-run-path": "^4.0.1", - "semver": "^7.3.2", - "tslib": "^2.0.0", - "yarn": "^1.21.1" + "@lerna/child-process": "4.0.0", + "npmlog": "^4.1.2", + "path-exists": "^4.0.0", + "rimraf": "^3.0.2" + } + }, + "@lerna/run": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/run/-/run-4.0.0.tgz", + "integrity": "sha512-9giulCOzlMPzcZS/6Eov6pxE9gNTyaXk0Man+iCIdGJNMrCnW7Dme0Z229WWP/UoxDKg71F2tMsVVGDiRd8fFQ==", + "dev": true, + "requires": { + "@lerna/command": "4.0.0", + "@lerna/filter-options": "4.0.0", + "@lerna/npm-run-script": "4.0.0", + "@lerna/output": "4.0.0", + "@lerna/profiler": "4.0.0", + "@lerna/run-topologically": "4.0.0", + "@lerna/timer": "4.0.0", + "@lerna/validation-error": "4.0.0", + "p-map": "^4.0.0" + } + }, + "@lerna/run-lifecycle": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-4.0.0.tgz", + "integrity": "sha512-IwxxsajjCQQEJAeAaxF8QdEixfI7eLKNm4GHhXHrgBu185JcwScFZrj9Bs+PFKxwb+gNLR4iI5rpUdY8Y0UdGQ==", + "dev": true, + "requires": { + "@lerna/npm-conf": "4.0.0", + "npm-lifecycle": "^3.1.5", + "npmlog": "^4.1.2" + } + }, + "@lerna/run-topologically": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-4.0.0.tgz", + "integrity": "sha512-EVZw9hGwo+5yp+VL94+NXRYisqgAlj0jWKWtAIynDCpghRxCE5GMO3xrQLmQgqkpUl9ZxQFpICgYv5DW4DksQA==", + "dev": true, + "requires": { + "@lerna/query-graph": "4.0.0", + "p-queue": "^6.6.2" + } + }, + "@lerna/symlink-binary": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-4.0.0.tgz", + "integrity": "sha512-zualodWC4q1QQc1pkz969hcFeWXOsVYZC5AWVtAPTDfLl+TwM7eG/O6oP+Rr3fFowspxo6b1TQ6sYfDV6HXNWA==", + "dev": true, + "requires": { + "@lerna/create-symlink": "4.0.0", + "@lerna/package": "4.0.0", + "fs-extra": "^9.1.0", + "p-map": "^4.0.0" }, "dependencies": { "fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, "requires": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", @@ -19805,155 +13880,261 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, "requires": { "graceful-fs": "^4.1.6", "universalify": "^2.0.0" } }, - "load-json-file": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz", - "integrity": "sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==", + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } + } + }, + "@lerna/symlink-dependencies": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-4.0.0.tgz", + "integrity": "sha512-BABo0MjeUHNAe2FNGty1eantWp8u83BHSeIMPDxNq0MuW2K3CiQRaeWT3EGPAzXpGt0+hVzBrA6+OT0GPn7Yuw==", + "dev": true, + "requires": { + "@lerna/create-symlink": "4.0.0", + "@lerna/resolve-symlink": "4.0.0", + "@lerna/symlink-binary": "4.0.0", + "fs-extra": "^9.1.0", + "p-map": "^4.0.0", + "p-map-series": "^2.1.0" + }, + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, "requires": { - "graceful-fs": "^4.1.15", - "parse-json": "^4.0.0", - "pify": "^4.0.1", - "strip-bom": "^3.0.0", - "type-fest": "^0.3.0" + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" } }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" } }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==" - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" - }, - "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, - "type-fest": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", - "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==" - }, "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true } } }, - "@oclif/plugin-warn-if-update-available": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-1.7.0.tgz", - "integrity": "sha512-Nwyz3BJ8RhsfQ+OmFSsJSPIfn5YJqMrCzPh72Zgo2jqIjKIBWD8N9vTTe4kZlpeUUn77SyXFfwlBQbNCL5OEuQ==", + "@lerna/timer": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/timer/-/timer-4.0.0.tgz", + "integrity": "sha512-WFsnlaE7SdOvjuyd05oKt8Leg3ENHICnvX3uYKKdByA+S3g+TCz38JsNs7OUZVt+ba63nC2nbXDlUnuT2Xbsfg==", + "dev": true + }, + "@lerna/validation-error": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-4.0.0.tgz", + "integrity": "sha512-1rBOM5/koiVWlRi3V6dB863E1YzJS8v41UtsHgMr6gB2ncJ2LsQtMKlJpi3voqcgh41H8UsPXR58RrrpPpufyw==", + "dev": true, + "requires": { + "npmlog": "^4.1.2" + } + }, + "@lerna/version": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/version/-/version-4.0.0.tgz", + "integrity": "sha512-otUgiqs5W9zGWJZSCCMRV/2Zm2A9q9JwSDS7s/tlKq4mWCYriWo7+wsHEA/nPTMDyYyBO5oyZDj+3X50KDUzeA==", + "dev": true, + "requires": { + "@lerna/check-working-tree": "4.0.0", + "@lerna/child-process": "4.0.0", + "@lerna/collect-updates": "4.0.0", + "@lerna/command": "4.0.0", + "@lerna/conventional-commits": "4.0.0", + "@lerna/github-client": "4.0.0", + "@lerna/gitlab-client": "4.0.0", + "@lerna/output": "4.0.0", + "@lerna/prerelease-id-from-version": "4.0.0", + "@lerna/prompt": "4.0.0", + "@lerna/run-lifecycle": "4.0.0", + "@lerna/run-topologically": "4.0.0", + "@lerna/validation-error": "4.0.0", + "chalk": "^4.1.0", + "dedent": "^0.7.0", + "load-json-file": "^6.2.0", + "minimatch": "^3.0.4", + "npmlog": "^4.1.2", + "p-map": "^4.0.0", + "p-pipe": "^3.1.0", + "p-reduce": "^2.1.0", + "p-waterfall": "^2.1.1", + "semver": "^7.3.4", + "slash": "^3.0.0", + "temp-write": "^4.0.0", + "write-json-file": "^4.3.0" + } + }, + "@lerna/write-log-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-4.0.0.tgz", + "integrity": "sha512-XRG5BloiArpXRakcnPHmEHJp+4AtnhRtpDIHSghmXD5EichI1uD73J7FgPp30mm2pDRq3FdqB0NbwSEsJ9xFQg==", + "dev": true, + "requires": { + "npmlog": "^4.1.2", + "write-file-atomic": "^3.0.3" + } + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@npmcli/ci-detect": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz", + "integrity": "sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q==", + "dev": true + }, + "@npmcli/fs": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.0.0.tgz", + "integrity": "sha512-8ltnOpRR/oJbOp8vaGUnipOi3bqkcW+sLHFlyXIr08OGHmVJLB1Hn7QtGXbYcpVtH1gAYZTlmDXtE4YV0+AMMQ==", + "dev": true, + "requires": { + "@gar/promisify": "^1.0.1", + "semver": "^7.3.5" + } + }, + "@npmcli/git": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz", + "integrity": "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==", + "dev": true, + "requires": { + "@npmcli/promise-spawn": "^1.3.2", + "lru-cache": "^6.0.0", + "mkdirp": "^1.0.4", + "npm-pick-manifest": "^6.1.1", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^2.0.2" + } + }, + "@npmcli/installed-package-contents": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", + "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", + "dev": true, "requires": { - "@oclif/command": "^1.5.10", - "@oclif/config": "^1.12.8", - "@oclif/errors": "^1.2.2", - "chalk": "^2.4.1", - "debug": "^4.1.0", - "fs-extra": "^7.0.0", - "http-call": "^5.2.2", - "lodash.template": "^4.4.0", - "semver": "^5.6.0" + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" + } + }, + "@npmcli/move-file": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", + "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", + "dev": true, + "requires": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + } + }, + "@npmcli/node-gyp": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz", + "integrity": "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==", + "dev": true + }, + "@npmcli/promise-spawn": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz", + "integrity": "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==", + "dev": true, + "requires": { + "infer-owner": "^1.0.4" + } + }, + "@npmcli/run-script": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz", + "integrity": "sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==", + "dev": true, + "requires": { + "@npmcli/node-gyp": "^1.0.2", + "@npmcli/promise-spawn": "^1.3.2", + "node-gyp": "^7.1.0", + "read-package-json-fast": "^2.0.1" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "node-gyp": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz", + "integrity": "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==", + "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.3", + "nopt": "^5.0.0", + "npmlog": "^4.1.2", + "request": "^2.88.2", + "rimraf": "^3.0.2", + "semver": "^7.3.2", + "tar": "^6.0.2", + "which": "^2.0.2" } }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "nopt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "dev": true, "requires": { - "has-flag": "^3.0.0" + "abbrev": "1" } } } }, - "@oclif/screen": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@oclif/screen/-/screen-1.0.4.tgz", - "integrity": "sha512-60CHpq+eqnTxLZQ4PGHYNwUX572hgpMHGPtTWMjdTMsAvlm69lZV/4ly6O3sAYkomo4NggGcomrDpBe34rxUqw==" - }, - "@octetstream/promisify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@octetstream/promisify/-/promisify-2.0.2.tgz", - "integrity": "sha512-7XHoRB61hxsz8lBQrjC1tq/3OEIgpvGWg6DKAdwi7WRzruwkmsdwmOoUXbU4Dtd4RSOMDwed0SkP3y8UlMt1Bg==" - }, "@octokit/auth-token": { - "version": "2.4.5", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz", - "integrity": "sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz", + "integrity": "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==", "dev": true, "requires": { "@octokit/types": "^6.0.3" @@ -19986,9 +14167,9 @@ } }, "@octokit/graphql": { - "version": "4.6.4", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.4.tgz", - "integrity": "sha512-SWTdXsVheRmlotWNjKzPOb6Js6tjSqA2a8z9+glDJng0Aqjzti8MEWOtuT8ZSu6wHnci7LZNuarE87+WJBG4vg==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", + "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", "dev": true, "requires": { "@octokit/request": "^5.6.0", @@ -19997,9 +14178,9 @@ } }, "@octokit/openapi-types": { - "version": "9.7.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-9.7.0.tgz", - "integrity": "sha512-TUJ16DJU8mekne6+KVcMV5g6g/rJlrnIKn7aALG9QrNpnEipFc1xjoarh0PKaAWf2Hf+HwthRKYt+9mCm5RsRg==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.2.0.tgz", + "integrity": "sha512-PBsVO+15KSlGmiI8QAzaqvsNlZlrDlyAJYcrXBCvVUxCp7VnXjkwPoFHgjEJXx3WF9BAwkA6nfCUA7i9sODzKA==", "dev": true }, "@octokit/plugin-enterprise-rest": { @@ -20009,34 +14190,35 @@ "dev": true }, "@octokit/plugin-paginate-rest": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.15.1.tgz", - "integrity": "sha512-47r52KkhQDkmvUKZqXzA1lKvcyJEfYh3TKAIe5+EzMeyDM3d+/s5v11i2gTk8/n6No6DPi3k5Ind6wtDbo/AEg==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.17.0.tgz", + "integrity": "sha512-tzMbrbnam2Mt4AhuyCHvpRkS0oZ5MvwwcQPYGtMv4tUa5kkzG58SVB0fcsLulOZQeRnOgdkZWkRUiyBlh0Bkyw==", "dev": true, "requires": { - "@octokit/types": "^6.24.0" + "@octokit/types": "^6.34.0" } }, "@octokit/plugin-request-log": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", - "dev": true + "dev": true, + "requires": {} }, "@octokit/plugin-rest-endpoint-methods": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.8.0.tgz", - "integrity": "sha512-qeLZZLotNkoq+it6F+xahydkkbnvSK0iDjlXFo3jNTB+Ss0qIbYQb9V/soKLMkgGw8Q2sHjY5YEXiA47IVPp4A==", + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.13.0.tgz", + "integrity": "sha512-uJjMTkN1KaOIgNtUPMtIXDOjx6dGYysdIFhgA52x4xSadQCz3b/zJexvITDVpANnfKPW/+E0xkOvLntqMYpviA==", "dev": true, "requires": { - "@octokit/types": "^6.25.0", + "@octokit/types": "^6.34.0", "deprecation": "^2.3.1" } }, "@octokit/request": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.1.tgz", - "integrity": "sha512-Ls2cfs1OfXaOKzkcxnqw5MR6drMA/zWX/LIS/p8Yjdz7QKTPQLMsB3R+OvoxE6XnXeXEE2X7xe4G4l4X0gRiKQ==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.2.tgz", + "integrity": "sha512-je66CvSEVf0jCpRISxkUcCa0UkxmFs6eGDRSbfJtAVwbLH5ceqF+YEyC8lj8ystKyZTy8adWr0qmkY52EfOeLA==", "dev": true, "requires": { "@octokit/endpoint": "^6.0.1", @@ -20059,84 +14241,31 @@ } }, "@octokit/rest": { - "version": "18.9.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.9.1.tgz", - "integrity": "sha512-idZ3e5PqXVWOhtZYUa546IDHTHjkGZbj3tcJsN0uhCy984KD865e8GB2WbYDc2ZxFuJRiyd0AftpL2uPNhF+UA==", + "version": "18.12.0", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.12.0.tgz", + "integrity": "sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q==", "dev": true, "requires": { - "@octokit/core": "^3.5.0", - "@octokit/plugin-paginate-rest": "^2.6.2", - "@octokit/plugin-request-log": "^1.0.2", - "@octokit/plugin-rest-endpoint-methods": "5.8.0" + "@octokit/core": "^3.5.1", + "@octokit/plugin-paginate-rest": "^2.16.8", + "@octokit/plugin-request-log": "^1.0.4", + "@octokit/plugin-rest-endpoint-methods": "^5.12.0" } }, "@octokit/types": { - "version": "6.25.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.25.0.tgz", - "integrity": "sha512-bNvyQKfngvAd/08COlYIN54nRgxskmejgywodizQNyiKoXmWRAjKup2/LYwm+T9V0gsKH6tuld1gM0PzmOiB4Q==", + "version": "6.34.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.34.0.tgz", + "integrity": "sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==", "dev": true, "requires": { - "@octokit/openapi-types": "^9.5.0" - } - }, - "@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" + "@octokit/openapi-types": "^11.2.0" } }, - "@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, "@sindresorhus/is": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", + "dev": true }, "@sinonjs/commons": { "version": "1.8.3", @@ -20173,19 +14302,11 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, - "@speedymonster/grpc-interceptors": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@speedymonster/grpc-interceptors/-/grpc-interceptors-0.2.5.tgz", - "integrity": "sha512-av4ezWiiWHSfrsKp3QQXKVIoantmUrGu0kFAjVzbWVuVoR2nVuksmnT+Mx4XFwLurqfShI7i0sGc/nRv+KGPCg==", - "requires": { - "zipkin": "^0.12.0", - "zipkin-transport-http": "^0.12.0" - } - }, "@szmarczak/http-timer": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", + "dev": true, "requires": { "defer-to-connect": "^1.0.1" } @@ -20193,104 +14314,8 @@ "@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" - }, - "@tsconfig/node10": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", - "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==" - }, - "@tsconfig/node12": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", - "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==" - }, - "@tsconfig/node14": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", - "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==" - }, - "@tsconfig/node16": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", - "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==" - }, - "@types/amqp-connection-manager": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@types/amqp-connection-manager/-/amqp-connection-manager-2.0.12.tgz", - "integrity": "sha512-2GX1jG6ECpEXQF0X68gTTZc8MQ8GA0dM2mAd1irTpWlKzGKlGzCBtb1YnqLHozNNsoLtGI6UXSp0q06jU1LA6g==", - "requires": { - "@types/amqplib": "*" - } - }, - "@types/amqplib": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/@types/amqplib/-/amqplib-0.8.2.tgz", - "integrity": "sha512-p+TFLzo52f8UanB+Nq6gyUi65yecAcRY3nYowU6MPGFtaJvEDxcnFWrxssSTkF+ts1W3zyQDvgVICLQem5WxRA==", - "requires": { - "@types/bluebird": "*", - "@types/node": "*" - } - }, - "@types/bluebird": { - "version": "3.5.36", - "resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.36.tgz", - "integrity": "sha512-HBNx4lhkxN7bx6P0++W8E289foSu8kO8GCk2unhuVggO+cE7rh9DhZUyPhUxNRG9m+5B5BTKxZQ5ZP92x/mx9Q==" - }, - "@types/btoa": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@types/btoa/-/btoa-1.2.3.tgz", - "integrity": "sha512-ANNCZICS/ofxhzUl8V1DniBJs+sFQ+Yg5am1ZwVEf/sxoKY/J2+h5Fuw3xUErlZ7eJLdgzukBjZwnsV6+/2Rmg==", - "requires": { - "@types/node": "*" - } - }, - "@types/docker-modem": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/docker-modem/-/docker-modem-3.0.1.tgz", - "integrity": "sha512-ZUXPF0WNnvs7AxoQRijt+DW2jsXnWCk8ac28tTYzTpBNnOEIAw83A+pYkCXjTFdJHMTc+wUmwNr71Zy2TRjlWg==", - "requires": { - "@types/node": "*", - "@types/ssh2": "*" - } - }, - "@types/dockerode": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.2.7.tgz", - "integrity": "sha512-Y8hMRQTwsOjz4qm6yilZKKjB/Y7+2EOiY3RPN1Xtu63wEUEDVv+3Ou+sgiisPE9+pVe3bmwhnF+E1Iwj/o4J6w==", - "requires": { - "@types/docker-modem": "*", - "@types/node": "*" - } - }, - "@types/duplexify": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz", - "integrity": "sha512-5zOA53RUlzN74bvrSGwjudssD9F3a797sDZQkiYpUOxW+WHaXTCPz4/d5Dgi6FKnOqZ2CpaTo0DhgIfsXAOE/A==", - "requires": { - "@types/node": "*" - } - }, - "@types/fs-extra": { - "version": "9.0.12", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.12.tgz", - "integrity": "sha512-I+bsBr67CurCGnSenZZ7v94gd3tc3+Aj2taxMT4yu4ABLuOgOjeFxX3dokG24ztSRg5tnT00sL8BszO7gSMoIw==", - "requires": { - "@types/node": "*" - } - }, - "@types/google-protobuf": { - "version": "3.15.5", - "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.5.tgz", - "integrity": "sha512-6bgv24B+A2bo9AfzReeg5StdiijKzwwnRflA8RLd1V4Yv995LeTmo0z69/MPbBDFSiZWdZHQygLo/ccXhMEDgw==" - }, - "@types/ioredis": { - "version": "4.27.2", - "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.27.2.tgz", - "integrity": "sha512-/HXAbeJOR4Ub1O0XVlOFxrRTf2Yeq7BSre3qGoBvTTxN29tSmQPPwIYYxyzm2SkNgvx0Re9ahqCVanOVHqAARg==", - "requires": { - "@types/node": "*" - } + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "dev": true }, "@types/json-schema": { "version": "7.0.9", @@ -20298,24 +14323,6 @@ "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", "dev": true }, - "@types/jsonwebtoken": { - "version": "8.5.5", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.5.tgz", - "integrity": "sha512-OGqtHQ7N5/Ap/TUwO6IgHDuLiAoTmHhGpNvgkCm/F4N6pKzx/RBSfr2OXZSwC6vkfnsEdb6+7DNZVtiXiwdwFw==", - "requires": { - "@types/node": "*" - } - }, - "@types/lodash": { - "version": "4.14.172", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.172.tgz", - "integrity": "sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw==" - }, - "@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, "@types/minimatch": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", @@ -20328,14 +14335,6 @@ "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", "dev": true }, - "@types/minipass": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@types/minipass/-/minipass-3.1.0.tgz", - "integrity": "sha512-b2yPKwCrB8x9SB65kcCistMoe3wrYnxxt5rJSZ1kprw0uOXvhuKi9kTQ746Y+Pbqoh+9C0N4zt0ztmTnG9yg7A==", - "requires": { - "@types/node": "*" - } - }, "@types/mocha": { "version": "8.2.3", "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.2.3.tgz", @@ -20343,9 +14342,10 @@ "dev": true }, "@types/node": { - "version": "15.14.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.14.8.tgz", - "integrity": "sha512-+ZjmmoGV7WBwhzNh/GkwehB7uyXn9HFwzQUfj9pbyR8eFAq20Qguoh93sPbWzzhsbhTme6YE92/iJ54Z0WRH7A==" + "version": "15.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.14.9.tgz", + "integrity": "sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A==", + "dev": true }, "@types/normalize-package-data": { "version": "2.4.1", @@ -20359,129 +14359,72 @@ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", "dev": true }, - "@types/phone": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/phone/-/phone-2.4.1.tgz", - "integrity": "sha512-2apupIHMn2uU572A0LCgY0MBzJCNCACwsfpBVLr9pfQN7OyJO6LOCUs/sfXqDPYbNSio8yf0/hUoIJIv4uDBRw==" - }, - "@types/prettyjson": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/prettyjson/-/prettyjson-0.0.29.tgz", - "integrity": "sha512-Zu4jAKE46yc6R8JrVkCBWbXhs18dUgI/JlbID4jziFgUBgEdAHxFekR5TlEnk9phHdGE80QlCznRBaxlk0rl7w==" - }, - "@types/pubsub-js": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@types/pubsub-js/-/pubsub-js-1.8.2.tgz", - "integrity": "sha512-cj3ZoAopr2ZmUYwRuXUiq48PlfNj5sBcUIkBnSJunfXlmf6y8o2kx4l70h1X1j0fR3IBorPrPM3B9SoyWwoqLg==" - }, - "@types/pumpify": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@types/pumpify/-/pumpify-1.4.1.tgz", - "integrity": "sha512-l7u/Dnh1OG9T7VH6TvulR0g8oE8hgIW5409mSUKi8Vxw2+JV18aTa06Sv5bvNjrD0zbsB/cuZ/iTFQgFNfzIuw==", - "requires": { - "@types/duplexify": "*", - "@types/node": "*" - } - }, - "@types/ssh2": { - "version": "0.5.48", - "resolved": "https://registry.npmjs.org/@types/ssh2/-/ssh2-0.5.48.tgz", - "integrity": "sha512-cmQu0gp/6RtDXe1r2xXGgi0V0TeCdueDSRMEvBX8cTRT/sSREkUpgCYZLyh+iI8Ql+VNV8Az9toQoYa/IdgHbQ==", - "requires": { - "@types/node": "*", - "@types/ssh2-streams": "*" - } - }, - "@types/ssh2-streams": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/@types/ssh2-streams/-/ssh2-streams-0.1.9.tgz", - "integrity": "sha512-I2J9jKqfmvXLR5GomDiCoHrEJ58hAOmFrekfFqmCFd+A6gaEStvWnPykoWUwld1PNg4G5ag1LwdA+Lz1doRJqg==", - "requires": { - "@types/node": "*" - } - }, - "@types/tar": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tar/-/tar-4.0.5.tgz", - "integrity": "sha512-cgwPhNEabHaZcYIy5xeMtux2EmYBitfqEceBUi2t5+ETy4dW6kswt6WX4+HqLeiiKOo42EXbGiDmVJ2x+vi37Q==", - "requires": { - "@types/minipass": "*", - "@types/node": "*" - } - }, - "@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "requires": { - "@types/node": "*" - } - }, "@typescript-eslint/eslint-plugin": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.29.2.tgz", - "integrity": "sha512-x4EMgn4BTfVd9+Z+r+6rmWxoAzBaapt4QFqE+d8L8sUtYZYLDTK6VG/y/SMMWA5t1/BVU5Kf+20rX4PtWzUYZg==", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz", + "integrity": "sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==", "dev": true, "requires": { - "@typescript-eslint/experimental-utils": "4.29.2", - "@typescript-eslint/scope-manager": "4.29.2", + "@typescript-eslint/experimental-utils": "4.33.0", + "@typescript-eslint/scope-manager": "4.33.0", "debug": "^4.3.1", "functional-red-black-tree": "^1.0.1", + "ignore": "^5.1.8", "regexpp": "^3.1.0", "semver": "^7.3.5", "tsutils": "^3.21.0" } }, "@typescript-eslint/experimental-utils": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.29.2.tgz", - "integrity": "sha512-P6mn4pqObhftBBPAv4GQtEK7Yos1fz/MlpT7+YjH9fTxZcALbiiPKuSIfYP/j13CeOjfq8/fr9Thr2glM9ub7A==", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz", + "integrity": "sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q==", "dev": true, "requires": { "@types/json-schema": "^7.0.7", - "@typescript-eslint/scope-manager": "4.29.2", - "@typescript-eslint/types": "4.29.2", - "@typescript-eslint/typescript-estree": "4.29.2", + "@typescript-eslint/scope-manager": "4.33.0", + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/typescript-estree": "4.33.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" } }, "@typescript-eslint/parser": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.29.2.tgz", - "integrity": "sha512-WQ6BPf+lNuwteUuyk1jD/aHKqMQ9jrdCn7Gxt9vvBnzbpj7aWEf+aZsJ1zvTjx5zFxGCt000lsbD9tQPEL8u6g==", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.33.0.tgz", + "integrity": "sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "4.29.2", - "@typescript-eslint/types": "4.29.2", - "@typescript-eslint/typescript-estree": "4.29.2", + "@typescript-eslint/scope-manager": "4.33.0", + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/typescript-estree": "4.33.0", "debug": "^4.3.1" } }, "@typescript-eslint/scope-manager": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.29.2.tgz", - "integrity": "sha512-mfHmvlQxmfkU8D55CkZO2sQOueTxLqGvzV+mG6S/6fIunDiD2ouwsAoiYCZYDDK73QCibYjIZmGhpvKwAB5BOA==", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz", + "integrity": "sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ==", "dev": true, "requires": { - "@typescript-eslint/types": "4.29.2", - "@typescript-eslint/visitor-keys": "4.29.2" + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/visitor-keys": "4.33.0" } }, "@typescript-eslint/types": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.29.2.tgz", - "integrity": "sha512-K6ApnEXId+WTGxqnda8z4LhNMa/pZmbTFkDxEBLQAbhLZL50DjeY0VIDCml/0Y3FlcbqXZrABqrcKxq+n0LwzQ==", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.33.0.tgz", + "integrity": "sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.29.2.tgz", - "integrity": "sha512-TJ0/hEnYxapYn9SGn3dCnETO0r+MjaxtlWZ2xU+EvytF0g4CqTpZL48SqSNn2hXsPolnewF30pdzR9a5Lj3DNg==", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz", + "integrity": "sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==", "dev": true, "requires": { - "@typescript-eslint/types": "4.29.2", - "@typescript-eslint/visitor-keys": "4.29.2", + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/visitor-keys": "4.33.0", "debug": "^4.3.1", "globby": "^11.0.3", "is-glob": "^4.0.1", @@ -20490,71 +14433,26 @@ } }, "@typescript-eslint/visitor-keys": { - "version": "4.29.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.29.2.tgz", - "integrity": "sha512-bDgJLQ86oWHJoZ1ai4TZdgXzJxsea3Ee9u9wsTAvjChdj2WLcVsgWYAPeY7RQMn16tKrlQaBnpKv7KBfs4EQag==", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz", + "integrity": "sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==", "dev": true, "requires": { - "@typescript-eslint/types": "4.29.2", + "@typescript-eslint/types": "4.33.0", "eslint-visitor-keys": "^2.0.0" } }, "@ungap/promise-all-settled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", - "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", - "dev": true - }, - "@zxing/text-encoding": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", - "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", - "optional": true - }, - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, - "abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "requires": { - "event-target-shim": "^5.0.0" - } - }, - "accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "requires": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - } - }, - "acme-client": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/acme-client/-/acme-client-4.1.3.tgz", - "integrity": "sha512-QL3F5us72ChCDsrSztGnTRo1HXBaOeptyUi6v2PNksZL728wZ3ZaxAST+QcfhAt2tOrr9Zl6zJorqS5vLBTtXA==", - "requires": { - "axios": "0.21.1", - "backo2": "^1.0.0", - "bluebird": "^3.5.0", - "debug": "^4.1.1", - "node-forge": "^0.10.0" - }, - "dependencies": { - "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "requires": { - "follow-redirects": "^1.10.0" - } - } - } + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true }, "acorn": { "version": "7.4.1", @@ -20566,12 +14464,8 @@ "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true - }, - "acorn-walk": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==" + "dev": true, + "requires": {} }, "add-stream": { "version": "1.0.0", @@ -20583,6 +14477,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, "requires": { "debug": "4" } @@ -20612,6 +14507,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -20619,124 +14515,13 @@ "uri-js": "^4.2.2" } }, - "amqp-connection-manager": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/amqp-connection-manager/-/amqp-connection-manager-3.6.0.tgz", - "integrity": "sha512-oa1OAIgdJLiyltknBhwdM0IlET9i1lpnhv6GVan43o3p2LrwG/ogOoixoTN7ZUxlaH9+E8NktcP9kEtgfLSklg==", - "requires": { - "promise-breaker": "^5.0.0", - "ts-node": "^10.2.1", - "typescript": "^4.3.5" - }, - "dependencies": { - "acorn": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz", - "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==" - }, - "diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==" - }, - "ts-node": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.2.1.tgz", - "integrity": "sha512-hCnyOyuGmD5wHleOQX6NIjJtYVIO8bPP8F2acWkB4W06wdlkgyvJtubO/I9NkI88hCFECbsEgoLc0VNkYmcSfw==", - "requires": { - "@cspotcode/source-map-support": "0.6.1", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "yn": "3.1.1" - } - } - } - }, - "amqplib": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.8.0.tgz", - "integrity": "sha512-icU+a4kkq4Y1PS4NNi+YPDMwdlbFcZ1EZTQT2nigW3fvOb6AOgUQ9+Mk4ue0Zu5cBg/XpDzB40oH10ysrk2dmA==", - "requires": { - "bitsyntax": "~0.1.0", - "bluebird": "^3.7.2", - "buffer-more-ints": "~1.0.0", - "readable-stream": "1.x >=1.1.9", - "safe-buffer": "~5.2.1", - "url-parse": "~1.5.1" - }, - "dependencies": { - "readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - } - } - }, "ansi-align": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz", - "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", + "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", + "dev": true, "requires": { - "string-width": "^3.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "requires": { - "ansi-regex": "^4.1.0" - } - } + "string-width": "^4.1.0" } }, "ansi-colors": { @@ -20766,6 +14551,7 @@ "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, "requires": { "type-fest": "^0.21.3" }, @@ -20773,28 +14559,26 @@ "type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true } } }, "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "requires": { "color-convert": "^2.0.1" } }, - "ansicolors": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz", - "integrity": "sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk=" - }, "anymatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", @@ -20827,9 +14611,9 @@ "dev": true }, "are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", + "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -20871,49 +14655,22 @@ "arg": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, "requires": { "sprintf-js": "~1.0.2" } }, - "ari-client": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ari-client/-/ari-client-2.2.0.tgz", - "integrity": "sha512-DPz+vC/dZyvy5HqBrEzYpNH6X2hDb+AIyRith6f8IVLHyveRWaHPO0S7rF1Q91qry/U8G+504KUZfeaBPwzIVQ==", - "requires": { - "backoff-func": "^0.1.2", - "bluebird": "^3.5.2", - "lodash": "^4.17.10", - "request": "^2.34.0", - "swagger-client": "2.0.26", - "uuid": "^3.0.0", - "ws": "^6.0.0" - } - }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" - }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==" - }, - "arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=" - }, "array-back": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", - "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.0.tgz", + "integrity": "sha512-mixVv03GOOn/ubHE4STQ+uevX42ETdk0JoMVEjNkSOCT7WgERh7C8/+NyhWYNpE3BN69pxFyJIBcF7CxWz/+4A==", "dev": true }, "array-differ": { @@ -20922,11 +14679,6 @@ "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", "dev": true }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, "array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", @@ -20936,12 +14688,8 @@ "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" - }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true }, "arrify": { "version": "1.0.1", @@ -20959,6 +14707,7 @@ "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, "requires": { "safer-buffer": "~2.1.0" } @@ -20966,17 +14715,14 @@ "assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true }, "assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" - }, - "assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=" + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true }, "astral-regex": { "version": "2.0.0", @@ -20984,108 +14730,49 @@ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true }, - "async": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.1.tgz", - "integrity": "sha512-XdD5lRO/87udXCMC9meWdYiR+Nq6ZjUfXidViUZGu2F1MO4T3XwZ1et0hb2++BgLfhyJwy44BGB/yx80ABx8hg==" - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true }, "at-least-node": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" - }, - "available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "dev": true }, "aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true }, "aws4": { "version": "1.11.0", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - }, - "ax": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/ax/-/ax-0.1.8.tgz", - "integrity": "sha1-J8qac/pMeKR41i2CfK2GCiT91Jc=" + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true }, "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", + "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", "requires": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.14.4" } }, - "backo2": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=" - }, - "backoff-func": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/backoff-func/-/backoff-func-0.1.2.tgz", - "integrity": "sha1-VMP64rreWHI0utXbh+NBLJ+ph4M=" - }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "requires": { - "is-descriptor": "^1.0.0" - } - } - } - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, "bcrypt-pbkdf": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, "requires": { "tweetnacl": "^0.14.3" } @@ -21096,112 +14783,29 @@ "integrity": "sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ==", "dev": true }, - "bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==" - }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true }, - "bitsyntax": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz", - "integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==", - "requires": { - "buffer-more-ints": "~1.0.0", - "debug": "~2.6.9", - "safe-buffer": "~5.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "requires": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "block-stream2": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/block-stream2/-/block-stream2-2.1.0.tgz", - "integrity": "sha512-suhjmLI57Ewpmq00qaygS8UgEq2ly2PCItenIyhMqVjo4t4pGzqMvfgJuX8iWTeSDdfSSqS6j38fL4ToNL7Pfg==", - "requires": { - "readable-stream": "^3.4.0" - } - }, "bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "requires": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - } - } + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true }, "boxen": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.0.1.tgz", - "integrity": "sha512-49VBlw+PrWEF51aCmy7QIteYPIFZxSpvqBdP/2itCPPlJ49kj9zg/XPRFrdkne2W+CfwXUls8exMvu1RysZpKA==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", + "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", + "dev": true, "requires": { "ansi-align": "^3.0.0", "camelcase": "^6.2.0", "chalk": "^4.1.0", "cli-boxes": "^2.2.1", - "string-width": "^4.2.0", + "string-width": "^4.2.2", "type-fest": "^0.20.2", "widest-line": "^3.1.0", "wrap-ansi": "^7.0.0" @@ -21210,7 +14814,8 @@ "camelcase": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", - "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==" + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", + "dev": true } } }, @@ -21228,6 +14833,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, "requires": { "fill-range": "^7.0.1" } @@ -21239,61 +14845,24 @@ "dev": true }, "browserslist": { - "version": "4.16.8", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.8.tgz", - "integrity": "sha512-sc2m9ohR/49sWEbPj14ZSSZqp+kbi16aLao42Hmn3Z8FpjuMaq2xCA2l4zl9ITfyzvnvyE0hcg62YkIGKxgaNQ==", + "version": "4.19.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz", + "integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001251", - "colorette": "^1.3.0", - "electron-to-chromium": "^1.3.811", + "caniuse-lite": "^1.0.30001286", + "electron-to-chromium": "^1.4.17", "escalade": "^3.1.1", - "node-releases": "^1.1.75" - } - }, - "bson": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/bson/-/bson-0.1.9.tgz", - "integrity": "sha1-dSj4Htdw5tYwyowszfU5SkCW2xQ=" - }, - "btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" - }, - "buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" + "node-releases": "^2.0.1", + "picocolors": "^1.0.0" } }, - "buffer-equal-constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" - }, "buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, - "buffer-more-ints": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz", - "integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg==" - }, - "bufferutil": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz", - "integrity": "sha512-yEYTwGndELGvfXsImMBLop58eaGW+YdONi1fNjTINSY98tmMmFijBG6WXgdkfuLNt4imzQNtIE+eBp1PVpMCSw==", - "requires": { - "node-gyp-build": "^4.2.0" - } - }, "builtins": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", @@ -21312,17 +14881,13 @@ "integrity": "sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A==", "dev": true }, - "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" - }, "cacache": { - "version": "15.2.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.2.0.tgz", - "integrity": "sha512-uKoJSHmnrqXgthDFx/IU6ED/5xd+NNGe+Bb+kLZy7Ku4P+BaiWEUflAKPZ7eAzsYGcsAGASJZsybXp+quEcHTw==", + "version": "15.3.0", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", + "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", "dev": true, "requires": { + "@npmcli/fs": "^1.0.0", "@npmcli/move-file": "^1.0.1", "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -21342,22 +14907,6 @@ "unique-filename": "^1.1.1" } }, - "cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - } - }, "cache-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/cache-point/-/cache-point-2.0.0.tgz", @@ -21381,6 +14930,7 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", + "dev": true, "requires": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", @@ -21395,6 +14945,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, "requires": { "pump": "^3.0.0" } @@ -21402,12 +14953,14 @@ "lowercase-keys": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "dev": true }, "normalize-url": { "version": "4.5.1", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", + "dev": true } } }, @@ -21427,6 +14980,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -21456,24 +15010,16 @@ } }, "caniuse-lite": { - "version": "1.0.30001251", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz", - "integrity": "sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A==", + "version": "1.0.30001298", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001298.tgz", + "integrity": "sha512-AcKqikjMLlvghZL/vfTHorlQsLDhGRalYf1+GmWCf5SCMziSGjRYQW/JEksj14NaYHIR6KIhrFAy0HV5C25UzQ==", "dev": true }, - "cardinal": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz", - "integrity": "sha1-fMEFXYItISlU0HsIXeolHMe8VQU=", - "requires": { - "ansicolors": "~0.3.2", - "redeyed": "~2.1.0" - } - }, "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true }, "catharsis": { "version": "0.9.0", @@ -21488,6 +15034,7 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "dev": true, "requires": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", @@ -21510,6 +15057,7 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -21518,12 +15066,14 @@ "chardet": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true }, "check-error": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true }, "chokidar": { "version": "3.5.1", @@ -21541,172 +15091,50 @@ "readdirp": "~3.5.0" } }, - "chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" - }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" - }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" - } - } + "chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true + }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true }, "clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true }, "cli-boxes": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==" + "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", + "dev": true }, "cli-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, "requires": { "restore-cursor": "^3.1.0" } }, - "cli-progress": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/cli-progress/-/cli-progress-3.9.0.tgz", - "integrity": "sha512-g7rLWfhAo/7pF+a/STFH/xPyosaL1zgADhI0OM83hl3c7S43iGvJWEAV2QuDOnQ8i6EMBj/u4+NTd0d5L+4JfA==", - "requires": { - "colors": "^1.1.2", - "string-width": "^4.2.0" - } - }, - "cli-ux": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/cli-ux/-/cli-ux-5.5.1.tgz", - "integrity": "sha512-t3DT1U1C3rArLGYLpKa3m9dr/8uKZRI8HRm/rXKL7UTjm4c+Yd9zHNWg1tP8uaJkUbhmvx5SQHwb3VWpPUVdHQ==", - "requires": { - "@oclif/command": "^1.6.0", - "@oclif/errors": "^1.2.1", - "@oclif/linewrap": "^1.0.0", - "@oclif/screen": "^1.0.3", - "ansi-escapes": "^4.3.0", - "ansi-styles": "^4.2.0", - "cardinal": "^2.1.1", - "chalk": "^4.1.0", - "clean-stack": "^3.0.0", - "cli-progress": "^3.4.0", - "extract-stack": "^2.0.0", - "fs-extra": "^8.1", - "hyperlinker": "^1.0.0", - "indent-string": "^4.0.0", - "is-wsl": "^2.2.0", - "js-yaml": "^3.13.1", - "lodash": "^4.17.11", - "natural-orderby": "^2.0.1", - "object-treeify": "^1.1.4", - "password-prompt": "^1.1.2", - "semver": "^7.3.2", - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "supports-color": "^7.1.0", - "supports-hyperlinks": "^2.1.0", - "tslib": "^2.0.0" - }, - "dependencies": { - "clean-stack": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-3.0.1.tgz", - "integrity": "sha512-lR9wNiMRcVQjSB3a7xXGLuz4cr4wJuuXlaAEbRutGowQTmlp7R72/DOgN21e8jdwblMWl9UOJMJXarX94pzKdg==", - "requires": { - "escape-string-regexp": "4.0.0" - } - }, - "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - } - } - }, "cli-width": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, "requires": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -21745,15 +15173,11 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", + "dev": true, "requires": { "mimic-response": "^1.0.0" } }, - "cluster-key-slot": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz", - "integrity": "sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw==" - }, "cmd-shim": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz", @@ -21779,43 +15203,11 @@ "stream-via": "^1.0.4" } }, - "collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - } - }, - "color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" - }, - "dependencies": { - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - } - } - }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "requires": { "color-name": "~1.1.4" } @@ -21823,21 +15215,7 @@ "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "color-string": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", - "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", - "requires": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "colorette": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.3.0.tgz", - "integrity": "sha512-ecORCqbSFP7Wm8Y6lyqMJjexBQqXSF7SSeaTyGGphogUjBlFP9m9o08wy86HL2uB7fMTxtOUzLMk7ogKcxMg1w==", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "colors": { @@ -21845,15 +15223,6 @@ "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" }, - "colorspace": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.2.tgz", - "integrity": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", - "requires": { - "color": "3.0.x", - "text-hex": "1.0.x" - } - }, "columnify": { "version": "1.5.4", "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz", @@ -21885,6 +15254,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -21962,11 +15332,6 @@ } } }, - "commander": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", - "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" - }, "common-sequence": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/common-sequence/-/common-sequence-2.0.2.tgz", @@ -22000,11 +15365,6 @@ } } }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -22026,335 +15386,65 @@ "config-chain": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", - "dev": true, - "requires": { - "ini": "^1.3.4", - "proto-list": "~1.2.1" - } - }, - "config-master": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/config-master/-/config-master-3.1.0.tgz", - "integrity": "sha1-ZnZjWQUFooO/JqSE1oSJ10xUhdo=", - "dev": true, - "requires": { - "walk-back": "^2.0.1" - }, - "dependencies": { - "walk-back": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-2.0.1.tgz", - "integrity": "sha1-VU4qnYdPrEeoywBr9EwvDEmYoKQ=", - "dev": true - } - } - }, - "configstore": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", - "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", - "requires": { - "dot-prop": "^5.2.0", - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "unique-string": "^2.0.0", - "write-file-atomic": "^3.0.0", - "xdg-basedir": "^4.0.0" - }, - "dependencies": { - "dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "requires": { - "is-obj": "^2.0.0" - } - } - } - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "dev": true - }, - "container-image-builder": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/container-image-builder/-/container-image-builder-3.2.0.tgz", - "integrity": "sha512-HHo1h+yqesR/2jqWsebzljuQAUuDCkyrtOUgAtJyvW1hZedzILPWnDiCFM8t5UqjwkFwta9RMrb8p3e4V8s6NA==", - "requires": { - "google-auth-library": "^5.1.0", - "micromatch": "^3.1.10", - "p-retry": "^3.0.1", - "request": "^2.88.0", - "tar": "^4.4.8", - "walkdir": "^0.4.0" - }, - "dependencies": { - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "fs-minipass": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", - "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", - "requires": { - "minipass": "^2.6.0" - } - }, - "gaxios": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", - "integrity": "sha512-US8UMj8C5pRnao3Zykc4AAVr+cffoNKRTg9Rsf2GiuZCW69vgJj38VK2PzlPuQU73FZ/nTk9/Av6/JGcE1N9vA==", - "requires": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.3.0" - } - }, - "gcp-metadata": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-3.5.0.tgz", - "integrity": "sha512-ZQf+DLZ5aKcRpLzYUyBS3yo3N0JSa82lNDO8rj3nMSlovLcz2riKFBsYgDzeXcv75oo5eqB2lx+B14UvPoCRnA==", - "requires": { - "gaxios": "^2.1.0", - "json-bigint": "^0.3.0" - } - }, - "google-auth-library": { - "version": "5.10.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.10.1.tgz", - "integrity": "sha512-rOlaok5vlpV9rSiUu5EpR0vVpc+PhN62oF4RyX/6++DG1VsaulAFEMlDYBLjJDDPI6OcNOCGAKy9UVB/3NIDXg==", - "requires": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^2.1.0", - "gcp-metadata": "^3.4.0", - "gtoken": "^4.1.0", - "jws": "^4.0.0", - "lru-cache": "^5.0.0" - } - }, - "google-p12-pem": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.5.tgz", - "integrity": "sha512-7RLkxwSsMsYh9wQ5Vb2zRtkAHvqPvfoMGag+nugl1noYO7gf0844Yr9TIFA5NEBMAeVt2Z+Imu7CQMp3oNatzQ==", - "requires": { - "node-forge": "^0.10.0" - } - }, - "gtoken": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-4.1.4.tgz", - "integrity": "sha512-VxirzD0SWoFUo5p8RDP8Jt2AGyOmyYcT/pOUgDKJCK+iSw0TMqwrVfY37RXTNmoKwrzmDHSk0GMT9FsgVmnVSA==", - "requires": { - "gaxios": "^2.1.0", - "google-p12-pem": "^2.0.0", - "jws": "^4.0.0", - "mime": "^2.2.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "json-bigint": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.1.tgz", - "integrity": "sha512-DGWnSzmusIreWlEupsUelHrhwmPPE+FiQvg+drKfk2p+bdEYa5mp4PJ8JsCWqae0M2jQNb0HPvnwvf1qOTThzQ==", - "requires": { - "bignumber.js": "^9.0.0" - } - }, - "lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "requires": { - "yallist": "^3.0.2" - } - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, - "mime": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", - "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==" - }, - "minipass": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", - "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - }, - "minizlib": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", - "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", - "requires": { - "minipass": "^2.9.0" - } - }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "tar": { - "version": "4.4.19", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", - "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", - "requires": { - "chownr": "^1.1.4", - "fs-minipass": "^1.2.7", - "minipass": "^2.9.0", - "minizlib": "^1.3.3", - "mkdirp": "^0.5.5", - "safe-buffer": "^5.2.1", - "yallist": "^3.1.1" - } - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - }, - "yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", + "dev": true, + "requires": { + "ini": "^1.3.4", + "proto-list": "~1.2.1" + } + }, + "config-master": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/config-master/-/config-master-3.1.0.tgz", + "integrity": "sha1-ZnZjWQUFooO/JqSE1oSJ10xUhdo=", + "dev": true, + "requires": { + "walk-back": "^2.0.1" + }, + "dependencies": { + "walk-back": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-2.0.1.tgz", + "integrity": "sha1-VU4qnYdPrEeoywBr9EwvDEmYoKQ=", + "dev": true } } }, - "content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", + "configstore": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", + "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", + "dev": true, "requires": { - "safe-buffer": "5.1.2" + "dot-prop": "^5.2.0", + "graceful-fs": "^4.1.2", + "make-dir": "^3.0.0", + "unique-string": "^2.0.0", + "write-file-atomic": "^3.0.0", + "xdg-basedir": "^4.0.0" + }, + "dependencies": { + "dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "requires": { + "is-obj": "^2.0.0" + } + } } }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true }, "conventional-changelog-angular": { - "version": "5.0.12", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz", - "integrity": "sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw==", + "version": "5.0.13", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", + "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", "dev": true, "requires": { "compare-func": "^2.0.0", @@ -22362,9 +15452,9 @@ } }, "conventional-changelog-core": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.3.tgz", - "integrity": "sha512-MwnZjIoMRL3jtPH5GywVNqetGILC7g6RQFvdb8LRU/fA/338JbeWAku3PZ8yQ+mtVRViiISqJlb0sOz0htBZig==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", + "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", "dev": true, "requires": { "add-stream": "^1.0.0", @@ -22425,9 +15515,9 @@ } }, "conventional-commits-parser": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.1.tgz", - "integrity": "sha512-OG9kQtmMZBJD/32NEw5IhN5+HnBqVjy03eC+I71I0oQRFA5rOgA4OtPOYG7mz1GkCfCNxn3gKIX8EiHJYuf1cA==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.3.tgz", + "integrity": "sha512-YyRDR7On9H07ICFpRm/igcdjIqebXbvf4Cff+Pf0BrBys1i1EOzx9iFXNlAbdrLAR8jf7bkUYkDAr8pEy0q4Pw==", "dev": true, "requires": { "is-text-path": "^1.0.1", @@ -22435,8 +15525,7 @@ "lodash": "^4.17.15", "meow": "^8.0.0", "split2": "^3.0.0", - "through2": "^4.0.0", - "trim-off-newlines": "^1.0.0" + "through2": "^4.0.0" } }, "conventional-recommended-bump": { @@ -22464,35 +15553,16 @@ "safe-buffer": "~5.1.1" } }, - "cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "cookiejar": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-1.3.1.tgz", - "integrity": "sha1-wEsEj2iPgBYjrNkM1YSMK/iJGhc=" - }, - "copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" - }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true }, "cosmiconfig": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", - "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", + "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", "dev": true, "requires": { "@types/parse-json": "^4.0.0", @@ -22505,15 +15575,8 @@ "create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" - }, - "cron-validate": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/cron-validate/-/cron-validate-1.4.3.tgz", - "integrity": "sha512-N+qKw019oQBEPIP5Qwi8Z5XelQ00ThN6Maahwv+9UGu2u/b/MPb35zngMQI0T8pBoNiBrIXGlhvsmspNSYae/w==", - "requires": { - "yup": "0.32.9" - } + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true }, "cross-env": { "version": "7.0.3", @@ -22528,6 +15591,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -22537,7 +15601,8 @@ "crypto-random-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==" + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", + "dev": true }, "dargs": { "version": "7.0.0", @@ -22549,6 +15614,7 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, "requires": { "assert-plus": "^1.0.0" } @@ -22563,6 +15629,7 @@ "version": "4.3.2", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "dev": true, "requires": { "ms": "2.1.2" } @@ -22600,12 +15667,14 @@ "decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true }, "decompress-response": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", + "dev": true, "requires": { "mimic-response": "^1.0.0" } @@ -22620,6 +15689,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, "requires": { "type-detect": "^4.0.0" } @@ -22627,19 +15697,15 @@ "deep-extend": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true }, "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" - }, "default-require-extensions": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", @@ -22661,29 +15727,23 @@ "defer-to-connect": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", + "dev": true }, "define-properties": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, "requires": { "object-keys": "^1.0.12" } }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - } - }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true }, "delegates": { "version": "1.0.0", @@ -22691,15 +15751,11 @@ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "dev": true }, - "denque": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", - "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==" - }, "depd": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true }, "deprecation": { "version": "2.3.1", @@ -22707,11 +15763,6 @@ "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", "dev": true }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, "detect-indent": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", @@ -22721,7 +15772,8 @@ "detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true }, "dezalgo": { "version": "1.0.3", @@ -22743,6 +15795,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, "requires": { "path-type": "^4.0.0" } @@ -22765,26 +15818,14 @@ "reduce-without": "^1.0.1", "test-value": "^3.0.0", "walk-back": "^5.0.0" - } - }, - "docker-modem": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.0.tgz", - "integrity": "sha512-WwFajJ8I5geZ/dDZ5FDMDA6TBkWa76xWwGIGw8uzUjNUGCN0to83wJ8Oi1AxrJTC0JBn+7fvIxUctnawtlwXeg==", - "requires": { - "debug": "^4.1.1", - "readable-stream": "^3.5.0", - "split-ca": "^1.0.1", - "ssh2": "^0.8.7" - } - }, - "dockerode": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.0.tgz", - "integrity": "sha512-St08lfOjpYCOXEM8XA0VLu3B3hRjtddODphNW5GFoA0AS3JHgoPQKOz0Qmdzg3P+hUPxhb02g1o1Cu1G+U3lRg==", - "requires": { - "docker-modem": "^3.0.0", - "tar-fs": "~2.0.1" + }, + "dependencies": { + "array-back": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", + "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", + "dev": true + } } }, "doctrine": { @@ -22820,66 +15861,37 @@ "duplexer3": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" - }, - "duplexify": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", - "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", - "requires": { - "end-of-stream": "^1.4.1", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1", - "stream-shift": "^1.0.0" - } + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", + "dev": true }, "ecc-jsbn": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, "requires": { "jsbn": "~0.1.0", "safer-buffer": "^2.1.0" } }, - "ecdsa-sig-formatter": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, "electron-to-chromium": { - "version": "1.3.813", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.813.tgz", - "integrity": "sha512-YcSRImHt6JZZ2sSuQ4Bzajtk98igQ0iKkksqlzZLzbh4p0OIyJRSvUbsgqfcR8txdfsoYCc4ym306t4p2kP/aw==", + "version": "1.4.38", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.38.tgz", + "integrity": "sha512-WhHt3sZazKj0KK/UpgsbGQnUUoFeAHVishzHFExMxagpZgjiGYSC9S0ZlbhCfSH2L2i+2A1yyqOIliTctMx7KQ==", "dev": true }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true }, "encoding": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, + "optional": true, "requires": { "iconv-lite": "^0.6.2" }, @@ -22888,6 +15900,8 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "optional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } @@ -22898,6 +15912,7 @@ "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, "requires": { "once": "^1.4.0" } @@ -22911,11 +15926,6 @@ "ansi-colors": "^4.1.1" } }, - "ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=" - }, "entities": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz", @@ -22944,26 +15954,31 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, "requires": { "is-arrayish": "^0.2.1" } }, "es-abstract": { - "version": "1.18.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.5.tgz", - "integrity": "sha512-DDggyJLoS91CkJjgauM5c0yZMjiD1uK3KcaCeAmffGwZ+ODWzOkPN4QwRbsK5DOFf06fywmyLci3ZD8jLGhVYA==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dev": true, "requires": { "call-bind": "^1.0.2", "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", "has": "^1.0.3", "has-symbols": "^1.0.2", "internal-slot": "^1.0.3", - "is-callable": "^1.2.3", + "is-callable": "^1.2.4", "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", "object-inspect": "^1.11.0", "object-keys": "^1.1.1", "object.assign": "^4.1.2", @@ -22976,6 +15991,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, "requires": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -22985,27 +16001,26 @@ "es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", - "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "dev": true }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true }, "escape-goat": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", - "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==" - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", + "dev": true }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true }, "eslint": { "version": "7.32.0", @@ -23071,6 +16086,12 @@ "dev": true } } + }, + "ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true } } }, @@ -23078,19 +16099,22 @@ "version": "0.14.0", "resolved": "https://registry.npmjs.org/eslint-config-google/-/eslint-config-google-0.14.0.tgz", "integrity": "sha512-WsbX4WbjuMvTdeVL6+J3rK1RGhCTqjsFjX7UMSMgZiyxxaNLkoJENbrGExzERFeoTpGw3F3FypTiWAP9ZXzkEw==", - "dev": true + "dev": true, + "requires": {} }, "eslint-config-prettier": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz", "integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==", - "dev": true + "dev": true, + "requires": {} }, "eslint-plugin-no-loops": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/eslint-plugin-no-loops/-/eslint-plugin-no-loops-0.3.0.tgz", "integrity": "sha1-6B/stOqvSUqSbZyrqafNhNH+3n0=", - "dev": true + "dev": true, + "requires": {} }, "eslint-plugin-notice": { "version": "0.9.10", @@ -23104,9 +16128,9 @@ } }, "eslint-plugin-prettier": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.0.tgz", - "integrity": "sha512-UDK6rJT6INSfcOo545jiaOwB701uAIt2/dR7WnFQoGCVl1/EMqdANBmwUaqqQ45aXprsTGzSa39LI1PyuRBxxw==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz", + "integrity": "sha512-htg25EUYUeIhKHXjOinK4BgCcDwtLHjqaxCDsMy5nbnUMkKFvIhMVCp+5GFUXQ4Nr8lBsPqtGAqBenbpFqAA2g==", "dev": true, "requires": { "prettier-linter-helpers": "^1.0.0" @@ -23159,7 +16183,8 @@ "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true }, "esquery": { "version": "1.4.0", @@ -23171,9 +16196,9 @@ }, "dependencies": { "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true } } @@ -23188,9 +16213,9 @@ }, "dependencies": { "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true } } @@ -23201,307 +16226,63 @@ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "event-lite": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", - "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" - }, - "event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" - }, - "eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, - "execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - } - }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "requires": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - } - } - }, - "express-ws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", - "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, "requires": { - "ws": "^5.2.0" - }, - "dependencies": { - "ws": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.3.tgz", - "integrity": "sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==", - "requires": { - "async-limiter": "~1.0.0" - } - } + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" } }, "extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - } + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true }, "external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, "requires": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" } }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" - } - } - }, - "extract-stack": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/extract-stack/-/extract-stack-2.0.0.tgz", - "integrity": "sha512-AEo4zm+TenK7zQorGK1f9mJ8L14hnTDi2ZQPR+Mub1NX8zimka1mXpV5LpH8x9HoUmFSHZCfLHqWvp0Y4FxxzQ==" - }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true }, "fast-diff": { "version": "1.2.0", @@ -23513,6 +16294,7 @@ "version": "3.2.7", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -23524,58 +16306,29 @@ "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true }, "fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" - }, - "fast-safe-stringify": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", - "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" - }, - "fast-text-encoding": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", - "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" - }, - "fast-xml-parser": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz", - "integrity": "sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==" + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true }, "fastq": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.12.0.tgz", - "integrity": "sha512-VNX0QkHK3RsXVKr9KrlUv/FoTa0NdbYoHHl7uXHv2rzyHSlxjdNAKug2twd9luJxpcyNeAgf5iPPMutJO67Dfg==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "dev": true, "requires": { "reusify": "^1.0.4" } }, - "fecha": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz", - "integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==" - }, - "fibers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", - "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", - "requires": { - "detect-libc": "^1.0.3" - } - }, - "figlet": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.5.2.tgz", - "integrity": "sha512-WOn21V8AhyE1QqVfPIVxe3tupJacq1xGkPTB4iagT6o+P2cAgEOOwIxMftr4+ZCTI6d551ij9j61DFr0nsP2uQ==" - }, "figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, "requires": { "escape-string-regexp": "^1.0.5" }, @@ -23583,7 +16336,8 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true } } }, @@ -23604,12 +16358,21 @@ "requires": { "array-back": "^5.0.0", "glob": "^7.1.6" + }, + "dependencies": { + "array-back": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", + "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", + "dev": true + } } }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, "requires": { "to-regex-range": "^5.0.1" } @@ -23620,39 +16383,10 @@ "integrity": "sha1-mzERErxsYSehbgFsbF1/GeCAXFs=", "dev": true }, - "finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, "find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, "requires": { "commondir": "^1.0.1", @@ -23696,7 +16430,8 @@ "flat": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true }, "flat-cache": { "version": "3.0.4", @@ -23714,38 +16449,10 @@ "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", "dev": true }, - "fluent-logger": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/fluent-logger/-/fluent-logger-3.4.1.tgz", - "integrity": "sha512-lERIhXAvhtCYeQq8K7sBDg/HY9GkiVRq5xY3oN+hcSINVKwqwBzG6LQOJK73EnV50qO59U7XEmRnn2hBzLWaHw==", - "requires": { - "msgpack-lite": "*" - } - }, - "fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, "follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==" - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" - }, - "foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, - "foreachasync": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", - "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=" + "version": "1.14.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", + "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==" }, "foreground-child": { "version": "2.0.0", @@ -23760,61 +16467,31 @@ "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true }, "form-data": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", "mime-types": "^2.1.12" } }, - "forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" - }, - "fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "requires": { - "map-cache": "^0.2.2" - } - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, "fromentries": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", "dev": true }, - "fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" - }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, "fs-minipass": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, "requires": { "minipass": "^3.0.0" } @@ -23841,7 +16518,8 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true }, "functional-red-black-tree": { "version": "1.0.1", @@ -23908,27 +16586,6 @@ } } }, - "gaxios": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.1.tgz", - "integrity": "sha512-9qXV7yrMCGzTrphl9/YGMVH41oSg0rhn1j3wJWed4Oqk45/hXDD2wBT5J1NjQcqTCcv4g3nFnyQ7reSRHNgBgw==", - "requires": { - "abort-controller": "^3.0.0", - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.1" - } - }, - "gcp-metadata": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", - "requires": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - } - }, "gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -23938,17 +16595,20 @@ "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true }, "get-func-name": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true }, "get-intrinsic": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -23958,141 +16618,26 @@ "get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "dev": true - }, - "get-pkg-repo": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.1.2.tgz", - "integrity": "sha512-/FjamZL9cBYllEbReZkxF2IMh80d8TJoC4e3bmLNif8ibHw95aj0N/tzqK0kZz9eU/3w3dL6lF4fnnX/sDdW3A==", - "dev": true, - "requires": { - "@hutson/parse-repository-url": "^3.0.0", - "hosted-git-info": "^4.0.0", - "meow": "^7.0.0", - "through2": "^2.0.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", - "dev": true, - "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - } - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - } - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true - } - } - }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } - } + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true + }, + "get-pkg-repo": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", + "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", + "dev": true, + "requires": { + "@hutson/parse-repository-url": "^3.0.0", + "hosted-git-info": "^4.0.0", + "through2": "^2.0.0", + "yargs": "^16.2.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true }, "readable-stream": { "version": "2.3.7", @@ -24109,12 +16654,6 @@ "util-deprecate": "~1.0.1" } }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, "string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -24133,22 +16672,6 @@ "readable-stream": "~2.3.6", "xtend": "~4.0.1" } - }, - "type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", - "dev": true - }, - "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } } } }, @@ -24164,15 +16687,21 @@ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true }, - "get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=" + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } }, "getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, "requires": { "assert-plus": "^1.0.0" } @@ -24237,9 +16766,9 @@ } }, "git-url-parse": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.5.0.tgz", - "integrity": "sha512-TZYSMDeM37r71Lqg1mbnMlOqlHd7BSij9qN7XwTkRqSAYFMihGLGhfHwgqQob3GUhEneKnV4nskN9rbQw2KGxA==", + "version": "11.6.0", + "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.6.0.tgz", + "integrity": "sha512-WWUxvJs5HsyHL6L08wOusa/IXYtMuCAhrMmnTjQPpBU0TTHyDhnOATNH3xNQz7YOQUsqIIPTGr4xiVti1Hsk5g==", "dev": true, "requires": { "git-up": "^4.0.0" @@ -24255,9 +16784,9 @@ } }, "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -24272,6 +16801,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, "requires": { "is-glob": "^4.0.1" } @@ -24280,6 +16810,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", + "dev": true, "requires": { "ini": "2.0.0" }, @@ -24287,14 +16818,15 @@ "ini": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", - "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==" + "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "dev": true } } }, "globals": { - "version": "13.11.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", - "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", + "version": "13.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.0.tgz", + "integrity": "sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -24304,6 +16836,7 @@ "version": "11.0.4", "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", + "dev": true, "requires": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -24311,75 +16844,13 @@ "ignore": "^5.1.4", "merge2": "^1.3.0", "slash": "^3.0.0" - }, - "dependencies": { - "ignore": { - "version": "5.1.8", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", - "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==" - } - } - }, - "google-auth-library": { - "version": "7.9.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.9.1.tgz", - "integrity": "sha512-cWGykH2WBR+UuYPGRnGVZ6Cjq2ftQiEIFjQWNIRIauZH7hUWoYTr/lkKUqLTYt5dex77nlWWVQ8aPV80mhfp5w==", - "requires": { - "arrify": "^2.0.0", - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "fast-text-encoding": "^1.0.0", - "gaxios": "^4.0.0", - "gcp-metadata": "^4.2.0", - "gtoken": "^5.0.4", - "jws": "^4.0.0", - "lru-cache": "^6.0.0" - }, - "dependencies": { - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" - } - } - }, - "google-gax": { - "version": "2.25.0", - "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.25.0.tgz", - "integrity": "sha512-s2V5UA/M5or7PFMpsp159X1FrWgIJZ2TSp+k57giUsiS+idMTtKoVgZ+LI59+UyOkFuDg7IBLRcBwZ1TgavEBw==", - "requires": { - "@grpc/grpc-js": "~1.3.0", - "@grpc/proto-loader": "^0.6.1", - "@types/long": "^4.0.0", - "abort-controller": "^3.0.0", - "duplexify": "^4.0.0", - "fast-text-encoding": "^1.0.3", - "google-auth-library": "^7.6.1", - "is-stream-ended": "^0.1.4", - "node-fetch": "^2.6.1", - "object-hash": "^2.1.1", - "proto3-json-serializer": "^0.1.1", - "protobufjs": "6.11.2", - "retry-request": "^4.0.0" - } - }, - "google-p12-pem": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.2.tgz", - "integrity": "sha512-tjf3IQIt7tWCDsa0ofDQ1qqSCNzahXDxdAGJDbruWqu3eCg5CKLYKN+hi0s6lfvzYZ1GDVr+oDF9OOWlDSdf0A==", - "requires": { - "node-forge": "^0.10.0" } }, - "google-protobuf": { - "version": "3.17.3", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.17.3.tgz", - "integrity": "sha512-OVPzcSWIAJ+d5yiHyeaLrdufQtrvaBrF4JQg+z8ynTkbO3uFcujqXszTumqg1cGsAsjkWnI+M5B1xZ19yR4Wyg==" - }, "got": { "version": "9.6.0", "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", + "dev": true, "requires": { "@sindresorhus/is": "^0.14.0", "@szmarczak/http-timer": "^1.1.2", @@ -24398,6 +16869,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dev": true, "requires": { "pump": "^3.0.0" } @@ -24405,9 +16877,10 @@ } }, "graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", + "dev": true }, "growl": { "version": "1.10.5", @@ -24416,9 +16889,9 @@ "dev": true }, "grpc_tools_node_protoc_ts": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/grpc_tools_node_protoc_ts/-/grpc_tools_node_protoc_ts-5.3.2.tgz", - "integrity": "sha512-7xPSeu8bwjcird3i9R5+9O4BF2Lhv9fMBdeobfUc2Bys9tSVtm/VB3WjTpKV78WlLYJyD94+wL/8hJqaMZ53Hw==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/grpc_tools_node_protoc_ts/-/grpc_tools_node_protoc_ts-5.2.2.tgz", + "integrity": "sha512-j8waJdU9uzNSyYJfEAGFFJdxP2C3k7RNkgI1dXxLB/iaT+D54p/RX1Wo+cHH2wPhBSE8hnv+BUv7HuEVT/XLPw==", "dev": true, "requires": { "google-protobuf": "3.15.8", @@ -24433,42 +16906,13 @@ } } }, - "grpc-boom": { - "version": "1.0.29", - "resolved": "https://registry.npmjs.org/grpc-boom/-/grpc-boom-1.0.29.tgz", - "integrity": "sha512-YMQj+p4PHa40EAsASZqp06PgJ0tKxM7IMMyQr1BFho/O251rh7XsG28QEn08CULKlrCGu9xddJ1qfVq9vF7Y6A==" - }, - "grpc-promise": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/grpc-promise/-/grpc-promise-1.4.0.tgz", - "integrity": "sha512-4BBXHXb5OjjBh7luylu8vFqL6H6aPn/LeqpQaSBeRzO/Xv95wHW/WkU9TJRqaCTMZ5wq9jTSvlJWp0vRJy1pVA==" - }, "grpc-tools": { - "version": "1.11.2", - "resolved": "https://registry.npmjs.org/grpc-tools/-/grpc-tools-1.11.2.tgz", - "integrity": "sha512-4+EgpnnkJraamY++oyBCw5Hp9huRYfgakjNVKbiE3PgO9Tv5ydVlRo7ZyGJ0C0SEiA7HhbVc1sNNtIyK7FiEtg==", + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/grpc-tools/-/grpc-tools-1.11.1.tgz", + "integrity": "sha512-QNz6xuiyBuHXKu78bv5PAOzv/EBKkH54OgeTkHyFkic8TrY8oiifs6hozRJQxJb+L7k+udWYmPvfK76Pgt4JhA==", "dev": true, "requires": { - "@mapbox/node-pre-gyp": "^1.0.5" - } - }, - "grpc-ts-health-check": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/grpc-ts-health-check/-/grpc-ts-health-check-2.0.6.tgz", - "integrity": "sha512-3VepmtINdbU1ZZQ3w3WOMBgPhpfnvNtQWHy48ak+LepPHSVlV168vsUlYwQ7whj8A1kDyRs+ffLhAZQLGUwT6Q==", - "requires": { - "google-protobuf": "^3.12.2", - "grpc-boom": "^1.0.28" - } - }, - "gtoken": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.3.1.tgz", - "integrity": "sha512-yqOREjzLHcbzz1UrQoxhBtpk8KjrVhuqPE7od1K2uhyxG2BHjKZetlbLw/SPZak/QqTIQW+addS+EcjqQsZbwQ==", - "requires": { - "gaxios": "^4.0.0", - "google-p12-pem": "^3.0.3", - "jws": "^4.0.0" + "node-pre-gyp": "^0.15.0" } }, "handlebars": { @@ -24487,12 +16931,14 @@ "har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true }, "har-validator": { "version": "5.1.5", "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "dev": true, "requires": { "ajv": "^6.12.3", "har-schema": "^2.0.0" @@ -24508,6 +16954,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -24515,22 +16962,26 @@ "has-bigints": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==" + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true }, "has-symbols": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "dev": true }, "has-tostringtag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, "requires": { "has-symbols": "^1.0.2" } @@ -24541,57 +16992,11 @@ "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "dev": true }, - "has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", - "requires": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - } - }, - "has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "dependencies": { - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "has-yarn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", - "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==" + "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", + "dev": true }, "hasha": { "version": "5.2.2", @@ -24635,55 +17040,14 @@ "http-cache-semantics": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" - }, - "http-call": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/http-call/-/http-call-5.3.0.tgz", - "integrity": "sha512-ahwimsC23ICE4kPl9xTBjKB4inbRaeLyZeRunC/1Jy/Z6X8tv22MEAjK+KBOMSVLaqXPTTmd8638waVIKLGx2w==", - "requires": { - "content-type": "^1.0.4", - "debug": "^4.1.1", - "is-retry-allowed": "^1.1.0", - "is-stream": "^2.0.0", - "parse-json": "^4.0.0", - "tunnel-agent": "^0.6.0" - }, - "dependencies": { - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - } - } - }, - "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - } - } + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "dev": true }, "http-proxy-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "dev": true, "requires": { "@tootallnate/once": "1", "agent-base": "6", @@ -24694,6 +17058,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, "requires": { "assert-plus": "^1.0.0", "jsprim": "^1.2.2", @@ -24704,6 +17069,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dev": true, "requires": { "agent-base": "6", "debug": "4" @@ -24730,28 +17096,19 @@ "integrity": "sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==", "dev": true }, - "hyperlinker": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hyperlinker/-/hyperlinker-1.0.0.tgz", - "integrity": "sha512-Ty8UblRWFEcfSuIaajM34LdPXIhbs1ajEX/BBPv24J+enSVaEVY63xQ6lTO9VRYS5LAoghIG0IDJ+p+IPzKUQQ==" - }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" } }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", "dev": true }, "ignore-by-default": { @@ -24782,12 +17139,13 @@ "import-lazy": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", - "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=" + "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", + "dev": true }, "import-local": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", - "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.3.tgz", + "integrity": "sha512-bE9iaUY3CXH8Cwfan/abDKAxe1KGT9kyGsBPqf6DMK/z0a2OzAsrukeYNgIH6cH5Xr452jb1TUL8rSfCLjZ9uA==", "dev": true, "requires": { "pkg-dir": "^4.2.0", @@ -24797,12 +17155,14 @@ "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true }, "infer-owner": { "version": "1.0.4", @@ -24823,33 +17183,34 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true }, "ini": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true }, "init-package-json": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-2.0.4.tgz", - "integrity": "sha512-gUACSdZYka+VvnF90TsQorC+1joAVWNI724vBNj3RD0LLMeDss2IuzaeiQs0T4YzKs76BPHtrp/z3sn2p+KDTw==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-2.0.5.tgz", + "integrity": "sha512-u1uGAtEFu3VA6HNl/yUWw57jmKEMx8SKOxHhxjGnOFUiIlFnohKDFg4ZrPpv9wWqk44nDxGJAtqjdQFm+9XXQA==", "dev": true, "requires": { - "glob": "^7.1.1", - "npm-package-arg": "^8.1.2", + "npm-package-arg": "^8.1.5", "promzard": "^0.3.0", "read": "~1.0.1", - "read-package-json": "^4.0.0", + "read-package-json": "^4.1.1", "semver": "^7.3.5", "validate-npm-package-license": "^3.0.4", "validate-npm-package-name": "^3.0.0" }, "dependencies": { "read-package-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-4.0.0.tgz", - "integrity": "sha512-EBQiek1udd0JKvUzaViAWHYVQRuQZ0IP0LWUOqVCJaZIX92ZO86dOpvsTOO3esRIQGgl7JhFBaGqW41VI57KvQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.1.tgz", + "integrity": "sha512-P82sbZJ3ldDrWCOSKxJT0r/CXMWR0OR3KRh55SgKo3p91GSIEEC32v3lSHAvO/UcH3/IoL7uqhOFBduAnwdldw==", "dev": true, "requires": { "glob": "^7.1.1", @@ -24864,6 +17225,7 @@ "version": "7.3.3", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", + "dev": true, "requires": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.0", @@ -24880,83 +17242,34 @@ "through": "^2.3.6" } }, - "int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, "internal-slot": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, "requires": { "get-intrinsic": "^1.1.0", "has": "^1.0.3", "side-channel": "^1.0.4" } }, - "ioredis": { - "version": "4.27.9", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.27.9.tgz", - "integrity": "sha512-hAwrx9F+OQ0uIvaJefuS3UTqW+ByOLyLIV+j0EH8ClNVxvFyH9Vmb08hCL4yje6mDYT5zMquShhypkd50RRzkg==", - "requires": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" - }, - "dependencies": { - "p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==" - } - } - }, "ip": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", "dev": true }, - "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true }, "is-bigint": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, "requires": { "has-bigints": "^1.0.1" } @@ -24974,109 +17287,62 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" } }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, "is-callable": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==" + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true }, "is-ci": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, "requires": { "ci-info": "^2.0.0" } }, "is-core-module": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.6.0.tgz", - "integrity": "sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", + "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", "dev": true, "requires": { "has": "^1.0.3" } }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "requires": { - "kind-of": "^6.0.0" - } - }, "is-date-object": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - }, - "is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" - }, - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "requires": { - "is-plain-object": "^2.0.4" - }, - "dependencies": { - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "requires": { - "isobject": "^3.0.1" - } - } - } - }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "requires": { - "has-tostringtag": "^1.0.0" - } + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true }, "is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "requires": { "is-extglob": "^2.1.1" } @@ -25085,6 +17351,7 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "dev": true, "requires": { "global-dirs": "^3.0.0", "is-path-inside": "^3.0.2" @@ -25099,22 +17366,26 @@ "is-negative-zero": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==" + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "dev": true }, "is-npm": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz", - "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==" + "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==", + "dev": true }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true }, "is-number-object": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -25122,12 +17393,14 @@ "is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true }, "is-path-inside": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==" + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true }, "is-plain-obj": { "version": "1.1.0", @@ -25141,24 +17414,21 @@ "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", "dev": true }, - "is-promise": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - }, "is-regex": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" } }, - "is-retry-allowed": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", - "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==" + "is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "dev": true }, "is-ssh": { "version": "1.3.3", @@ -25172,17 +17442,14 @@ "is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" - }, - "is-stream-ended": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", - "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==" + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true }, "is-string": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -25191,6 +17458,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, "requires": { "has-symbols": "^1.0.2" } @@ -25204,73 +17472,61 @@ "text-extensions": "^1.0.0" } }, - "is-typed-array": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz", - "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-abstract": "^1.18.5", - "foreach": "^2.0.5", - "has-tostringtag": "^1.0.0" - } - }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true }, - "is-valid-domain": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.1.2.tgz", - "integrity": "sha512-vm/9Ynw80MusgfSMffjGRuMhO8hjk5MOxLoFL7nYWvWXTPCxTGQtACiCwO055UqHICG8xP6hIvRXK1iwnuU9GA==", + "is-weakref": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz", + "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==", + "dev": true, "requires": { - "punycode": "^2.1.1" + "call-bind": "^1.0.0" } }, "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" - }, - "is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "requires": { - "is-docker": "^2.0.0" - } + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true }, "is-yarn-global": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", - "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" + "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==", + "dev": true }, "isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true }, "isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true }, "isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true }, "istanbul-lib-coverage": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", - "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", "dev": true }, "istanbul-lib-hook": { @@ -25340,9 +17596,9 @@ } }, "istanbul-lib-source-maps": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz", - "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", "dev": true, "requires": { "debug": "^4.1.1", @@ -25351,9 +17607,9 @@ } }, "istanbul-reports": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", - "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.5.tgz", + "integrity": "sha512-5+19PlhnGabNWB7kOFnuxT8H3T/iIyQzIbQMxXsURmmvKg86P2sbkrGOT77VnHw0Qr0gc2XzRaRfMZYYbSQCJQ==", "dev": true, "requires": { "html-escaper": "^2.0.0", @@ -25370,24 +17626,26 @@ "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" } }, "js2xmlparser": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.1.tgz", - "integrity": "sha512-KrPTolcw6RocpYjdC7pL7v62e55q7qOMHvLX1UCLc5AAS8qeJ6nukarEJAF2KL2PZxlbGueEbINqZR2bDe/gUw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", + "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", "dev": true, "requires": { - "xmlcreate": "^2.0.3" + "xmlcreate": "^2.0.4" } }, "jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true }, "jsdoc": { "version": "3.6.7", @@ -25420,20 +17678,20 @@ } }, "jsdoc-api": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-7.0.1.tgz", - "integrity": "sha512-SttT7mAvl/L9liIoOoa647ksFlD+fyNP2Vy80MBRi6akOmJQ4ryQjMBOPfg1veKfwVp/8f3My8Bb2JnVGL9wVg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-7.1.0.tgz", + "integrity": "sha512-yjIiZa6LFOgd0dyFW/R+3unnVUhhbU1CeBhisgjBPRHkar83rkgDtTMRdgQotSvt+pGlmknZqfwR5AQuMh9/6w==", "dev": true, "requires": { - "array-back": "^5.0.0", + "array-back": "^6.2.0", "cache-point": "^2.0.0", "collect-all": "^1.0.4", "file-set": "^4.0.2", "fs-then-native": "^2.0.0", - "jsdoc": "^3.6.6", + "jsdoc": "^3.6.7", "object-to-spawn-args": "^2.0.1", "temp-path": "^1.0.0", - "walk-back": "^5.0.0" + "walk-back": "^5.1.0" } }, "jsdoc-parse": { @@ -25448,29 +17706,21 @@ "reduce-extract": "^1.0.0", "sort-array": "^4.1.4", "test-value": "^3.0.0" - }, - "dependencies": { - "array-back": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.0.tgz", - "integrity": "sha512-mixVv03GOOn/ubHE4STQ+uevX42ETdk0JoMVEjNkSOCT7WgERh7C8/+NyhWYNpE3BN69pxFyJIBcF7CxWz/+4A==", - "dev": true - } } }, "jsdoc-to-markdown": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-7.0.1.tgz", - "integrity": "sha512-wN6WAHAPiCyAU7m/+F3FbEEV40CGVWMae49SBPIvfy7kDq/2fBrOw86vdbnLdmjt6u/tHnoxHNrHWYbYFN+4UA==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-7.1.0.tgz", + "integrity": "sha512-LJAiwrUaOpPqOmllqnVVqfBZh6KI/rHHfSwL7DerTpjLQWHfpndz/JUNlF5ngYjbL4aHNf7uJ1TuXl6xGfq5rg==", "dev": true, "requires": { - "array-back": "^5.0.0", + "array-back": "^6.2.0", "command-line-tool": "^0.8.0", "config-master": "^3.1.0", "dmd": "^6.0.0", - "jsdoc-api": "^7.0.0", - "jsdoc-parse": "^6.0.0", - "walk-back": "^5.0.0" + "jsdoc-api": "^7.1.0", + "jsdoc-parse": "^6.0.1", + "walk-back": "^5.1.0" } }, "jsesc": { @@ -25479,23 +17729,17 @@ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, - "json-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", - "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", - "requires": { - "bignumber.js": "^9.0.0" - } - }, "json-buffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" + "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", + "dev": true }, "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true }, "json-parse-even-better-errors": { "version": "2.3.1", @@ -25506,12 +17750,14 @@ "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true }, "json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -25519,15 +17765,11 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "json-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-stream/-/json-stream-1.0.0.tgz", - "integrity": "sha1-GjhU4o0rvuqzHMfd9oPS3cVlJwg=" - }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true }, "json5": { "version": "2.2.0", @@ -25538,14 +17780,6 @@ "minimist": "^1.2.5" } }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "requires": { - "graceful-fs": "^4.1.6" - } - }, "jsonparse": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", @@ -25562,53 +17796,11 @@ "through": ">=2.2.7 <3" } }, - "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "requires": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^5.6.0" - }, - "dependencies": { - "jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "requires": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } - } - }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, "requires": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", @@ -25622,29 +17814,11 @@ "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", "dev": true }, - "jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "jws": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", - "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "requires": { - "jwa": "^2.0.0", - "safe-buffer": "^5.0.1" - } - }, "keyv": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "dev": true, "requires": { "json-buffer": "3.0.0" } @@ -25652,7 +17826,8 @@ "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true }, "klaw": { "version": "3.0.0", @@ -25663,15 +17838,11 @@ "graceful-fs": "^4.1.9" } }, - "kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, "latest-version": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", + "dev": true, "requires": { "package-json": "^6.3.0" } @@ -25725,9 +17896,9 @@ }, "dependencies": { "make-fetch-happen": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.0.5.tgz", - "integrity": "sha512-XN0i/VqHsql30Oq7179spk6vu3IuaPL1jaivNYhBrJtK7tkOuJwMK2IlROiOnJ40b9SvmOo2G86FZyI6LD2EsQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", + "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", "dev": true, "requires": { "agentkeepalive": "^4.1.3", @@ -25763,9 +17934,9 @@ } }, "socks-proxy-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.0.0.tgz", - "integrity": "sha512-FIgZbQWlnjVEQvMkylz64/rUggGtrKstPnx8OZyYFG0tAFR8CSBtpXxSwbFLHyeXFn/cunFL7MpuSOvDSOPo9g==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz", + "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==", "dev": true, "requires": { "agent-base": "^6.0.2", @@ -25789,9 +17960,9 @@ }, "dependencies": { "make-fetch-happen": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.0.5.tgz", - "integrity": "sha512-XN0i/VqHsql30Oq7179spk6vu3IuaPL1jaivNYhBrJtK7tkOuJwMK2IlROiOnJ40b9SvmOo2G86FZyI6LD2EsQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", + "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", "dev": true, "requires": { "agentkeepalive": "^4.1.3", @@ -25827,9 +17998,9 @@ } }, "socks-proxy-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.0.0.tgz", - "integrity": "sha512-FIgZbQWlnjVEQvMkylz64/rUggGtrKstPnx8OZyYFG0tAFR8CSBtpXxSwbFLHyeXFn/cunFL7MpuSOvDSOPo9g==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz", + "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==", "dev": true, "requires": { "agent-base": "^6.0.2", @@ -25886,22 +18057,20 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lodash._reinterpolate": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" + "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=", + "dev": true }, "lodash.camelcase": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true }, "lodash.clonedeep": { "version": "4.5.0", @@ -25909,16 +18078,6 @@ "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", "dev": true }, - "lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" - }, - "lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" - }, "lodash.flattendeep": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", @@ -25931,47 +18090,12 @@ "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", "dev": true }, - "lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, "lodash.ismatch": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", "integrity": "sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc=", "dev": true }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, "lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -25984,11 +18108,6 @@ "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=", "dev": true }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, "lodash.padend": { "version": "4.6.1", "resolved": "https://registry.npmjs.org/lodash.padend/-/lodash.padend-4.6.1.tgz", @@ -26005,6 +18124,7 @@ "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", + "dev": true, "requires": { "lodash._reinterpolate": "^3.0.0", "lodash.templatesettings": "^4.0.0" @@ -26014,6 +18134,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz", "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==", + "dev": true, "requires": { "lodash._reinterpolate": "^3.0.0" } @@ -26033,32 +18154,17 @@ "chalk": "^4.0.0" } }, - "logform": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.2.0.tgz", - "integrity": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", - "requires": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "triple-beam": "^1.3.0" - } - }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, "lowercase-keys": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "dev": true }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, "requires": { "yallist": "^4.0.0" } @@ -26067,6 +18173,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, "requires": { "semver": "^6.0.0" }, @@ -26074,14 +18181,16 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true } } }, "make-error": { "version": "1.3.6", "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true }, "make-fetch-happen": { "version": "8.0.14", @@ -26106,25 +18215,12 @@ "ssri": "^8.0.0" } }, - "map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=" - }, "map-obj": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", - "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", "dev": true }, - "map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "requires": { - "object-visit": "^1.0.0" - } - }, "markdown-it": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", @@ -26142,7 +18238,8 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.3.0.tgz", "integrity": "sha512-/V1MnLL/rgJ3jkMWo84UR+K+jF1cxNG1a+KwqeXqTIJ+jtA8aWSHuigx8lTzauiIjBDbwF3NcWQMotd0Dm39jA==", - "dev": true + "dev": true, + "requires": {} }, "marked": { "version": "2.1.3", @@ -26156,11 +18253,6 @@ "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", "dev": true }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, "meow": { "version": "8.1.2", "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", @@ -26288,11 +18380,6 @@ } } }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -26302,12 +18389,8 @@ "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true }, "metric-lcs": { "version": "0.1.2", @@ -26319,38 +18402,38 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "dev": true, "requires": { "braces": "^3.0.1", "picomatch": "^2.2.3" } }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, "mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" + "version": "1.50.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz", + "integrity": "sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A==", + "dev": true }, "mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", + "version": "2.1.33", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.33.tgz", + "integrity": "sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g==", + "dev": true, "requires": { - "mime-db": "1.49.0" + "mime-db": "1.50.0" } }, "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true }, "mimic-response": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", + "dev": true }, "min-indent": { "version": "1.0.1", @@ -26370,7 +18453,8 @@ "minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true }, "minimist-options": { "version": "4.1.0", @@ -26383,49 +18467,11 @@ "kind-of": "^6.0.3" } }, - "minio": { - "version": "7.0.19", - "resolved": "https://registry.npmjs.org/minio/-/minio-7.0.19.tgz", - "integrity": "sha512-DOGKauWLdmj0/y2QKXdnrhqyzRFEnUteHi6q382uujg9TjSDrA84BiQVppS2Ew6V8Rcg+2IaRkF4GR34zw9sIA==", - "requires": { - "async": "^3.1.0", - "block-stream2": "^2.0.0", - "es6-error": "^4.1.1", - "fast-xml-parser": "^3.17.5", - "json-stream": "^1.0.0", - "lodash": "^4.17.21", - "mime-types": "^2.1.14", - "mkdirp": "^0.5.1", - "querystring": "0.2.0", - "through2": "^3.0.1", - "web-encoding": "^1.1.5", - "xml": "^1.0.0", - "xml2js": "^0.4.15" - }, - "dependencies": { - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" - } - }, - "through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } - } - } - }, "minipass": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", - "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.5.tgz", + "integrity": "sha512-+8NzxD82XQoNKNrl1d/FSi+X8wAEWR+sbYAfIvub4Nz0d22plFG72CEVVaufV8PNf4qSslFTD8VMOxNVhHCjTw==", + "dev": true, "requires": { "yallist": "^4.0.0" } @@ -26440,9 +18486,9 @@ } }, "minipass-fetch": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.3.4.tgz", - "integrity": "sha512-TielGogIzbUEtd1LsjZFs47RWuHHfhl6TiCx1InVxApBAmQ8bL0dL5ilkLGcRvuyW/A9nE+Lvn855Ewz8S0PnQ==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", + "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", "dev": true, "requires": { "encoding": "^0.1.12", @@ -26492,29 +18538,17 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, "requires": { "minipass": "^3.0.0", "yallist": "^4.0.0" } }, - "mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "requires": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - } - }, "mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - }, - "mkdirp-classic": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", - "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true }, "mkdirp-infer-owner": { "version": "2.0.0", @@ -26641,33 +18675,11 @@ "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", "dev": true }, - "moment": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", - "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==" - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", - "requires": { - "event-lite": "^0.1.1", - "ieee754": "^1.1.8", - "int64-buffer": "^0.1.9", - "isarray": "^1.0.0" - }, - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - } - } + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true }, "multimatch": { "version": "5.0.0", @@ -26690,43 +18702,11 @@ } } }, - "mustache": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/mustache/-/mustache-2.3.2.tgz", - "integrity": "sha512-KpMNwdQsYz3O/SBS1qJ/o3sqUJ5wSb8gb0pul8CO0S56b9Y2ALm8zCfsjPXsqGFfoNBkDwZuZIAjhsZI03gYVQ==" - }, "mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" - }, - "nanoclone": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz", - "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==" - }, - "nanoid": { - "version": "3.1.25", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", - "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==" - }, - "nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - } + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true }, "natural-compare": { "version": "1.4.0", @@ -26734,43 +18714,39 @@ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, - "natural-orderby": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/natural-orderby/-/natural-orderby-2.0.3.tgz", - "integrity": "sha512-p7KTHxU0CUrcOXe62Zfrb5Z13nLvPhSWR/so3kFulUQU0sgUll2Z0LwpsLN351eOOD+hRGu/F1g+6xDfPeD++Q==" - }, - "ndjson": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ndjson/-/ndjson-2.0.0.tgz", - "integrity": "sha512-nGl7LRGrzugTtaFcJMhLbpzJM6XdivmbkdlaGcrk/LXg2KL/YBC6z1g70xh0/al+oFuVFP8N8kiWRucmeEH/qQ==", + "needle": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", + "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", + "dev": true, "requires": { - "json-stringify-safe": "^5.0.1", - "minimist": "^1.2.5", - "readable-stream": "^3.6.0", - "split2": "^3.0.0", - "through2": "^4.0.0" + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } } }, "negotiator": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", + "dev": true }, "neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, - "network-address": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/network-address/-/network-address-1.1.2.tgz", - "integrity": "sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=" - }, - "nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true }, "nise": { "version": "4.1.0", @@ -26786,14 +18762,37 @@ } }, "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - }, - "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" + "version": "2.6.6", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", + "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", + "dev": true, + "requires": { + "whatwg-url": "^5.0.0" + }, + "dependencies": { + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dev": true, + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + } + } }, "node-gyp": { "version": "5.1.1", @@ -26857,16 +18856,6 @@ "minimist": "^1.2.5" } }, - "nopt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", - "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", - "dev": true, - "requires": { - "abbrev": "1", - "osenv": "^0.1.4" - } - }, "rimraf": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", @@ -26920,126 +18909,141 @@ } } }, - "node-gyp-build": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz", - "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==" - }, - "node-preload": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", - "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", + "node-pre-gyp": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.15.0.tgz", + "integrity": "sha512-7QcZa8/fpaU/BKenjcaeFF9hLz2+7S9AqyXFhlH/rilsQ/hPZKK32RtR5EQHJElgu+q5RfbJ34KriI79UWaorA==", "dev": true, "requires": { - "process-on-spawn": "^1.0.0" - } - }, - "node-record-lpcm16": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/node-record-lpcm16/-/node-record-lpcm16-1.0.1.tgz", - "integrity": "sha512-H75GMOP8ErnF67m21+qSgj4USnzv5RLfm7OkEItdIi+soNKoJZpMQPX6umM8Cn9nVPSgd/dBUtc1msst5MmABA==", - "requires": { - "debug": "^2.6.8" + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.3", + "needle": "^2.5.0", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4.4.2" }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true + }, + "fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "dev": true, "requires": { - "ms": "2.0.0" + "minipass": "^2.6.0" } }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "node-releases": { - "version": "1.1.75", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.75.tgz", - "integrity": "sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw==", - "dev": true - }, - "node-vault": { - "version": "0.9.22", - "resolved": "https://registry.npmjs.org/node-vault/-/node-vault-0.9.22.tgz", - "integrity": "sha512-/IR+YvINFhCzxJA5x/KHUDymJerFaeqvPUE2zwceRig8yEIA41qfVKusmO6bqRGFkr/2f6CaBVp7YfabzQyteg==", - "requires": { - "debug": "3.1.0", - "mustache": "^2.2.1", - "request": "2.88.0", - "request-promise-native": "1.0.7", - "tv4": "^1.2.7" - }, - "dependencies": { - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "dev": true, "requires": { - "ms": "2.0.0" + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" } }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "dev": true, + "requires": { + "minipass": "^2.9.0" + } }, - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } }, - "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + "npm-packlist": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.8.tgz", + "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==", + "dev": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1", + "npm-normalize-package-bin": "^1.0.1" + } }, - "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" + "glob": "^7.1.3" } }, - "tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "tar": { + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", + "dev": true, "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" } + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true } } }, + "node-preload": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", + "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", + "dev": true, + "requires": { + "process-on-spawn": "^1.0.0" + } + }, + "node-releases": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", + "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", + "dev": true + }, "nodemon": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.12.tgz", - "integrity": "sha512-egCTmNZdObdBxUBw6ZNwvZ/xzk24CKRs5K6d+5zbmrMr7rOpPmfPeF6OxM3DDpaRx331CQRFEktn+wrFFfBSOA==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.14.tgz", + "integrity": "sha512-frcpDx+PviKEQRSYzwhckuO2zoHcBYLHI754RE9z5h1RGtrngerc04mLpQQCPWBkH/2ObrX7We9YiwVSYZpFJQ==", "dev": true, "requires": { "chokidar": "^3.2.2", @@ -27051,52 +19055,9 @@ "supports-color": "^5.5.0", "touch": "^3.1.0", "undefsafe": "^2.0.3", - "update-notifier": "^4.1.0" + "update-notifier": "^5.1.0" }, "dependencies": { - "boxen": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", - "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", - "dev": true, - "requires": { - "ansi-align": "^3.0.0", - "camelcase": "^5.3.1", - "chalk": "^3.0.0", - "cli-boxes": "^2.2.0", - "string-width": "^4.1.0", - "term-size": "^2.1.0", - "type-fest": "^0.8.1", - "widest-line": "^3.1.0" - } - }, - "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "debug": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", @@ -27106,43 +19067,12 @@ "ms": "^2.1.1" } }, - "global-dirs": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.1.0.tgz", - "integrity": "sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ==", - "dev": true, - "requires": { - "ini": "1.3.7" - } - }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, - "ini": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz", - "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==", - "dev": true - }, - "is-installed-globally": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", - "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", - "dev": true, - "requires": { - "global-dirs": "^2.0.1", - "is-path-inside": "^3.0.1" - } - }, - "is-npm": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", - "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==", - "dev": true - }, "semver": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", @@ -27157,43 +19087,17 @@ "requires": { "has-flag": "^3.0.0" } - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - }, - "update-notifier": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz", - "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==", - "dev": true, - "requires": { - "boxen": "^4.2.0", - "chalk": "^3.0.0", - "configstore": "^5.0.1", - "has-yarn": "^2.1.0", - "import-lazy": "^2.1.0", - "is-ci": "^2.0.0", - "is-installed-globally": "^0.3.1", - "is-npm": "^4.0.0", - "is-yarn-global": "^0.3.0", - "latest-version": "^5.0.0", - "pupa": "^2.0.1", - "semver-diff": "^3.1.1", - "xdg-basedir": "^4.0.0" - } } } }, "nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", "dev": true, "requires": { - "abbrev": "1" + "abbrev": "1", + "osenv": "^0.1.4" } }, "normalize-package-data": { @@ -27326,6 +19230,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, "requires": { "path-key": "^3.0.0" } @@ -27497,7 +19402,8 @@ "oauth-sign": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true }, "object-assign": { "version": "4.1.1", @@ -27505,87 +19411,23 @@ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true }, - "object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "requires": { - "kind-of": "^3.0.2" - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "requires": { - "kind-of": "^3.0.2" - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "dependencies": { - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" - } - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "object-get": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/object-get/-/object-get-2.1.1.tgz", "integrity": "sha512-7n4IpLMzGGcLEMiQKsNR7vCe+N5E9LORFrtNUVy4sO3dj9a3HedZCxEL2T7QuLhcHN1NBuBsMOKaOsAYI9IIvg==", "dev": true }, - "object-hash": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz", - "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==" - }, "object-inspect": { "version": "1.11.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==" + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", + "dev": true }, "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true }, "object-to-spawn-args": { "version": "2.0.1", @@ -27593,99 +19435,47 @@ "integrity": "sha512-6FuKFQ39cOID+BMZ3QaphcC8Y4cw6LXBLyIgPU+OhIYwviJamPAn+4mITapnSBQrejB+NNp+FMskhD8Cq+Ys3w==", "dev": true }, - "object-treeify": { - "version": "1.1.33", - "resolved": "https://registry.npmjs.org/object-treeify/-/object-treeify-1.1.33.tgz", - "integrity": "sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==" - }, - "object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "requires": { - "isobject": "^3.0.0" - } - }, "object.assign": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "object.getownpropertydescriptors": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz", - "integrity": "sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2" - } - }, - "object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "requires": { - "isobject": "^3.0.1" - } - }, - "objectid": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz", - "integrity": "sha1-o7eitNZfOoNI74SX8CMGm1ywGd4=", - "requires": { - "bson": "^0.1.9" + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" } }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "object.getownpropertydescriptors": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", + "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", + "dev": true, "requires": { - "ee-first": "1.1.1" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" } }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, "requires": { "wrappy": "1" } }, - "one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "requires": { - "fn.name": "1.x.x" - } - }, "onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, "requires": { "mimic-fn": "^2.1.0" } }, - "openfaas-client": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/openfaas-client/-/openfaas-client-0.0.2.tgz", - "integrity": "sha512-Dv3sBrbRNmdh9Tjsam6E00Wyh7Ghspv3i9tv1kfRHiVnZV0bmH5rx6zJ8i4A8jCfYHuBdHONffhm9/xh/KSYBQ==", - "requires": { - "bluebird": "^3.7.2", - "request": "^2.88.2", - "typescript": "^4.2.4" - } - }, "optionator": { "version": "0.9.1", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", @@ -27709,7 +19499,8 @@ "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true }, "osenv": { "version": "0.1.5", @@ -27724,7 +19515,8 @@ "p-cancelable": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", + "dev": true }, "p-finally": { "version": "1.0.0", @@ -27787,14 +19579,6 @@ "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", "dev": true }, - "p-retry": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-3.0.1.tgz", - "integrity": "sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w==", - "requires": { - "retry": "^0.12.0" - } - }, "p-timeout": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", @@ -27835,6 +19619,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", + "dev": true, "requires": { "got": "^9.6.0", "registry-auth-token": "^4.0.0", @@ -27845,7 +19630,8 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true } } }, @@ -27877,9 +19663,9 @@ }, "dependencies": { "make-fetch-happen": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.0.5.tgz", - "integrity": "sha512-XN0i/VqHsql30Oq7179spk6vu3IuaPL1jaivNYhBrJtK7tkOuJwMK2IlROiOnJ40b9SvmOo2G86FZyI6LD2EsQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", + "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", "dev": true, "requires": { "agentkeepalive": "^4.1.3", @@ -27915,9 +19701,9 @@ } }, "socks-proxy-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.0.0.tgz", - "integrity": "sha512-FIgZbQWlnjVEQvMkylz64/rUggGtrKstPnx8OZyYFG0tAFR8CSBtpXxSwbFLHyeXFn/cunFL7MpuSOvDSOPo9g==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz", + "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==", "dev": true, "requires": { "agent-base": "^6.0.2", @@ -27972,75 +19758,6 @@ "protocols": "^1.4.0" } }, - "parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" - }, - "pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=" - }, - "password-prompt": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/password-prompt/-/password-prompt-1.1.2.tgz", - "integrity": "sha512-bpuBhROdrhuN3E7G/koAju0WjVw9/uQOG5Co5mokNj0MiOSBVZS1JTwM4zl55hu0WFmIEFvO9cU9sJQiBIYeIA==", - "requires": { - "ansi-escapes": "^3.1.0", - "cross-spawn": "^6.0.5" - }, - "dependencies": { - "ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==" - }, - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "requires": { - "shebang-regex": "^1.0.0" - } - }, - "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" - }, - "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "requires": { - "isexe": "^2.0.0" - } - } - } - }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -28056,7 +19773,8 @@ "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true }, "path-parse": { "version": "1.0.7", @@ -28076,27 +19794,32 @@ "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true }, "pathval": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true }, - "phone": { - "version": "2.4.22", - "resolved": "https://registry.npmjs.org/phone/-/phone-2.4.22.tgz", - "integrity": "sha512-k2f9qkIgcgbbeyFFMHDcCaYdPxq7u71EjmMvD998PEquwDvIT7zmUFe00S4hH9WPjk+IQlw9W/FlHOu1O17Tbw==" + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, "picomatch": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==" + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "dev": true }, "pify": { "version": "5.0.0", @@ -28152,11 +19875,6 @@ } } }, - "posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" - }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -28166,12 +19884,13 @@ "prepend-http": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" + "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", + "dev": true }, "prettier": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.2.tgz", - "integrity": "sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", + "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==", "dev": true }, "prettier-linter-helpers": { @@ -28183,19 +19902,11 @@ "fast-diff": "^1.1.2" } }, - "prettyjson": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prettyjson/-/prettyjson-1.2.1.tgz", - "integrity": "sha1-/P+rQdGcq0365eV15kJGYZsS0ok=", - "requires": { - "colors": "^1.1.2", - "minimist": "^1.2.0" - } - }, "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true }, "process-on-spawn": { "version": "1.0.0", @@ -28212,19 +19923,6 @@ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, - "promise-breaker": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/promise-breaker/-/promise-breaker-5.0.0.tgz", - "integrity": "sha512-mgsWQuG4kJ1dtO6e/QlNDLFtMkMzzecsC69aI5hlLEjGHFNpHrvGhFi4LiK5jg2SMQj74/diH+wZliL9LpGsyA==" - }, - "promise-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/promise-fs/-/promise-fs-2.1.1.tgz", - "integrity": "sha512-43p7e4QzAQ3w6eyN0+gbBL7jXiZFWLWYITg9wIObqkBySu/a5K1EDcQ/S6UyB/bmiZWDA4NjTbcopKLTaKcGSw==", - "requires": { - "@octetstream/promisify": "2.0.2" - } - }, "promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", @@ -28250,61 +19948,23 @@ "read": "1" } }, - "property-expr": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.4.tgz", - "integrity": "sha512-sFPkHQjVKheDNnPvotjQmm3KD3uk1fWKUN7CrpdbwmUx3CrG3QiM8QpTSimvig5vTXmTvjz7+TDvXOI9+4rkcg==" - }, "proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=", "dev": true }, - "proto3-json-serializer": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-0.1.3.tgz", - "integrity": "sha512-X0DAtxCBsy1NDn84huVFGOFgBslT2gBmM+85nY6/5SOAaCon1jzVNdvi74foIyFvs5CjtSbQsepsM5TsyNhqQw==" - }, - "protobufjs": { - "version": "6.11.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz", - "integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - } - }, "protocols": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz", "integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg==", "dev": true }, - "proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "requires": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - } - }, "psl": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true }, "pstree.remy": { "version": "1.1.8", @@ -28312,39 +19972,27 @@ "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", "dev": true }, - "pubsub-js": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.3.tgz", - "integrity": "sha512-FhYYlPNOywTh7zN38u5AlG67emA47w6JZd7YgdQU1w8gQbZhhIGxVM0AQosdaINHb2ALb+fhfnVyBJAt4D4IzA==" - }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, "requires": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, - "pumpify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz", - "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==", - "requires": { - "duplexify": "^4.1.1", - "inherits": "^2.0.3", - "pump": "^3.0.0" - } - }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true }, "pupa": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", + "dev": true, "requires": { "escape-goat": "^2.0.0" } @@ -28376,20 +20024,11 @@ "strict-uri-encode": "^2.0.0" } }, - "querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" - }, - "querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true }, "quick-lru": { "version": "4.0.1", @@ -28406,26 +20045,11 @@ "safe-buffer": "^5.1.0" } }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" - }, - "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, "rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, "requires": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -28436,7 +20060,8 @@ "strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true } } }, @@ -28671,6 +20296,7 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -28708,32 +20334,6 @@ "strip-indent": "^3.0.0" } }, - "redeyed": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", - "integrity": "sha1-iYS1gV2ZyyIEacme7v/jiRPmzAs=", - "requires": { - "esprima": "~4.0.0" - } - }, - "redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" - }, - "redis-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=" - }, - "redis-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ=", - "requires": { - "redis-errors": "^1.0.0" - } - }, "reduce-extract": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/reduce-extract/-/reduce-extract-1.0.0.tgz", @@ -28806,20 +20406,6 @@ } } }, - "regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "requires": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - } - }, "regexpp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", @@ -28830,6 +20416,7 @@ "version": "4.2.1", "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==", + "dev": true, "requires": { "rc": "^1.2.8" } @@ -28838,6 +20425,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", + "dev": true, "requires": { "rc": "^1.2.8" } @@ -28851,20 +20439,11 @@ "es6-error": "^4.0.1" } }, - "repeat-element": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", - "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==" - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" - }, "request": { "version": "2.88.2", "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "dev": true, "requires": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", @@ -28891,32 +20470,16 @@ "qs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true } } }, - "request-promise-core": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz", - "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==", - "requires": { - "lodash": "^4.17.11" - } - }, - "request-promise-native": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz", - "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==", - "requires": { - "request-promise-core": "1.1.2", - "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" - } - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true }, "require-from-string": { "version": "2.0.2", @@ -28930,11 +20493,6 @@ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", "dev": true }, - "requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" - }, "requizzle": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.3.tgz", @@ -28977,15 +20535,11 @@ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true }, - "resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" - }, "responselike": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", + "dev": true, "requires": { "lowercase-keys": "^1.0.0" } @@ -28994,39 +20548,26 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, "requires": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" } }, - "ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" - }, "retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=" - }, - "retry-request": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.2.2.tgz", - "integrity": "sha512-xA93uxUD/rogV7BV59agW/JHPGXeREMWiZc9jhcwY4YdZ7QOtC7qbomYg0n4wyk2lJhggjvKvhNX8wln/Aldhg==", - "requires": { - "debug": "^4.1.1", - "extend": "^3.0.2" - } + "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", + "dev": true }, "reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true }, "rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { "glob": "^7.1.3" @@ -29035,12 +20576,14 @@ "run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, "requires": { "queue-microtask": "^1.2.2" } @@ -29049,37 +20592,42 @@ "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", + "dev": true, "requires": { "tslib": "^1.9.0" + }, + "dependencies": { + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + } } }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "requires": { - "ret": "~0.1.10" - } + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, "requires": { "lru-cache": "^6.0.0" } @@ -29088,6 +20636,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", + "dev": true, "requires": { "semver": "^6.3.0" }, @@ -29095,116 +20644,25 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "requires": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true } } - }, - "serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true - }, - "set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "requires": { - "isobject": "^3.0.1" - } - } + }, + "serialize-javascript": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", + "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" } }, - "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true }, "shallow-clone": { "version": "3.0.1", @@ -29219,6 +20677,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, "requires": { "shebang-regex": "^3.0.0" } @@ -29226,23 +20685,14 @@ "shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" - }, - "shred": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/shred/-/shred-0.8.10.tgz", - "integrity": "sha1-zxz+gPeb9TE9Ltw7kSJ4/RB6hxc=", - "requires": { - "ax": "0.1.8", - "cookiejar": "1.3.1", - "iconv-lite": ">= 0.1.2", - "sprintf": "0.1.1" - } + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -29250,24 +20700,10 @@ } }, "signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "requires": { - "is-arrayish": "^0.3.1" - }, - "dependencies": { - "is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - } - } + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", + "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", + "dev": true }, "sinon": { "version": "9.2.4", @@ -29295,12 +20731,14 @@ "version": "3.7.0", "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.7.0.tgz", "integrity": "sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g==", - "dev": true + "dev": true, + "requires": {} }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true }, "slice-ansi": { "version": "4.0.0", @@ -29325,151 +20763,6 @@ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "dev": true }, - "snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "requires": { - "is-descriptor": "^1.0.0" - } - } - } - }, - "snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "requires": { - "kind-of": "^3.2.0" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "socks": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.1.tgz", @@ -29501,6 +20794,12 @@ "typical": "^6.0.1" }, "dependencies": { + "array-back": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", + "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", + "dev": true + }, "typical": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/typical/-/typical-6.0.1.tgz", @@ -29532,41 +20831,16 @@ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true }, - "source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "requires": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, "source-map-support": { - "version": "0.5.19", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", - "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", + "version": "0.5.20", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", + "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", "dev": true, "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, - "source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==" - }, - "sox-audio": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/sox-audio/-/sox-audio-0.3.0.tgz", - "integrity": "sha1-3UOk3X+pf/QGY5DDmQOuSrGYrsU=", - "requires": { - "through": "^2.3.6" - } - }, "spawn-wrap": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", @@ -29622,65 +20896,32 @@ "through": "2" } }, - "split-ca": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split-ca/-/split-ca-1.0.1.tgz", - "integrity": "sha1-bIOv82kvphJW4M0ZfgXp3hV2kaY=" - }, "split-on-first": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz", "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==", "dev": true }, - "split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "requires": { - "extend-shallow": "^3.0.0" - } - }, "split2": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "dev": true, "requires": { "readable-stream": "^3.0.0" } }, - "sprintf": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/sprintf/-/sprintf-0.1.1.tgz", - "integrity": "sha1-6JJfyYlOGqaJnpCRx/KhITC3DeU=" - }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "ssh2": { - "version": "0.8.9", - "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-0.8.9.tgz", - "integrity": "sha512-GmoNPxWDMkVpMFa9LVVzQZHF6EW3WKmBwL+4/GeILf2hFmix5Isxm7Amamo8o7bHiU0tC+wXsGcUXOxp8ChPaw==", - "requires": { - "ssh2-streams": "~0.4.10" - } - }, - "ssh2-streams": { - "version": "0.4.10", - "resolved": "https://registry.npmjs.org/ssh2-streams/-/ssh2-streams-0.4.10.tgz", - "integrity": "sha512-8pnlMjvnIZJvmTzUIIA5nT4jr2ZWNNVHwyXfMGdRJbug9TpI3kd99ffglgfSWqujVv/0gxwMsDn9j9RVst8yhQ==", - "requires": { - "asn1": "~0.2.0", - "bcrypt-pbkdf": "^1.0.2", - "streamsearch": "~0.1.2" - } + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true }, "sshpk": { "version": "1.16.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "dev": true, "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -29702,96 +20943,6 @@ "minipass": "^3.1.1" } }, - "stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" - }, - "standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" - }, - "static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" - } - } - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" - }, - "stealthy-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", - "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=" - }, "stream-connect": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/stream-connect/-/stream-connect-1.0.2.tgz", @@ -29812,30 +20963,12 @@ } } }, - "stream-events": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", - "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", - "requires": { - "stubs": "^3.0.0" - } - }, - "stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, "stream-via": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/stream-via/-/stream-via-1.0.4.tgz", "integrity": "sha512-DBp0lSvX5G9KGRDTkR/R+a29H+Wk2xItOF+MpZLLNDWbEV9tGPnqLPxHEYjmiz8xGtJHRIqmI+hCjmNzqoA4nQ==", "dev": true }, - "streamsearch": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz", - "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=" - }, "strict-uri-encode": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", @@ -29846,6 +20979,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, "requires": { "safe-buffer": "~5.2.0" }, @@ -29853,24 +20987,27 @@ "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true } } }, "string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" + "strip-ansi": "^6.0.1" } }, "string.prototype.trimend": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" @@ -29880,17 +21017,19 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" } }, "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "requires": { - "ansi-regex": "^5.0.0" + "ansi-regex": "^5.0.1" } }, "strip-bom": { @@ -29931,70 +21070,33 @@ "through": "^2.3.4" } }, - "stubs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", - "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=" - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "requires": { "has-flag": "^4.0.0" } }, - "supports-hyperlinks": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz", - "integrity": "sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==", - "requires": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - } - }, - "swagger-client": { - "version": "2.0.26", - "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-2.0.26.tgz", - "integrity": "sha1-c/FQk/be82nzG5ZwxtlkWzMWPk0=", - "requires": { - "btoa": "1.1.1", - "shred": "0.8.10" - }, - "dependencies": { - "btoa": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.1.tgz", - "integrity": "sha1-J8gQYmMQjp3UH/L6qtKhcEXjXro=" - } - } - }, - "sync": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/sync/-/sync-0.2.5.tgz", - "integrity": "sha1-ORC7m2ar7lZULi5w8M5UkDElLfY=", - "requires": { - "fibers": ">=0.6" - } - }, "table": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/table/-/table-6.7.1.tgz", - "integrity": "sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg==", + "version": "6.7.2", + "resolved": "https://registry.npmjs.org/table/-/table-6.7.2.tgz", + "integrity": "sha512-UFZK67uvyNivLeQbVtkiUs8Uuuxv24aSL4/Vil2PJVtMgU8Lx0CYkP12uCGa3kjyQzOSgV1+z9Wkb82fCGsO0g==", "dev": true, "requires": { "ajv": "^8.0.1", "lodash.clonedeep": "^4.5.0", "lodash.truncate": "^4.4.2", "slice-ansi": "^4.0.0", - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0" + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" }, "dependencies": { "ajv": { - "version": "8.6.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.2.tgz", - "integrity": "sha512-9807RlWAgT564wT+DjeyU5OFMPjmzxVobvDFmNAhY+5zD6A2ly3jDp6sgnfyDtlIQ+7H97oc/DGCzzfu9rjw9w==", + "version": "8.6.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.3.tgz", + "integrity": "sha512-SMJOdDP6LqTkD0Uq8qLi+gMwSt0imXLSV080qFVwJCpH9U6Mb+SUGHAXM0KNbcBPguytWyvFxcHgMLe2D2XSpw==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -30042,9 +21144,10 @@ "dev": true }, "tar": { - "version": "6.1.10", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.10.tgz", - "integrity": "sha512-kvvfiVvjGMxeUNB6MyYv5z7vhfFRwbwCXJAeL0/lnbrttBVqcMOnpHUf0X42LrPMR8mMpgapkJMchFH4FSHzNA==", + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "dev": true, "requires": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -30054,55 +21157,6 @@ "yallist": "^4.0.0" } }, - "tar-fs": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.1.tgz", - "integrity": "sha512-6tzWDMeroL87uF/+lin46k+Q+46rAJ0SyPGz7OW7wTgblI273hsBqk2C1j0/xNadNLKDTUL9BukSjB7cwgmlPA==", - "requires": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.0.0" - }, - "dependencies": { - "chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - } - } - }, - "tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "requires": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - } - }, - "teeny-request": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.1.1.tgz", - "integrity": "sha512-iwY6rkW5DDGq8hE2YgNQlKbptYpY5Nn2xecjQiNjOXWbKzPGUfmeUBCSQbbr306d7Z7U2N0TPl+/SwYRfua1Dg==", - "requires": { - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "stream-events": "^1.0.5", - "uuid": "^8.0.0" - }, - "dependencies": { - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - } - } - }, "temp-dir": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", @@ -30128,12 +21182,6 @@ "uuid": "^3.3.2" } }, - "term-size": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", - "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==", - "dev": true - }, "test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", @@ -30172,11 +21220,6 @@ "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "dev": true }, - "text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -30186,12 +21229,14 @@ "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true }, "through2": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", + "dev": true, "requires": { "readable-stream": "3" } @@ -30200,6 +21245,7 @@ "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, "requires": { "os-tmpdir": "~1.0.2" } @@ -30210,57 +21256,20 @@ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true }, - "to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "to-readable-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" - }, - "to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "requires": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - } + "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", + "dev": true }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "requires": { "is-number": "^7.0.0" - } - }, - "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" - }, - "toposort": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", - "integrity": "sha1-riF2gXXRVZ1IvvNUILL0li8JwzA=" + } }, "touch": { "version": "3.1.0", @@ -30286,6 +21295,7 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, "requires": { "psl": "^1.1.28", "punycode": "^2.1.1" @@ -30300,33 +21310,12 @@ "punycode": "^2.1.1" } }, - "treeify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", - "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==" - }, "trim-newlines": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "dev": true }, - "trim-off-newlines": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz", - "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", - "dev": true - }, - "triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, - "truncate": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/truncate/-/truncate-2.1.0.tgz", - "integrity": "sha512-em3E3SUDONOjTBcZ36DTm3RvDded3IRU9rX32oHwwXNt3rJD5MVaFlJTQvs8tJoHRoeYP36OuQ1eL/Q7bNEWIQ==" - }, "ts-node": { "version": "9.1.1", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", @@ -30349,11 +21338,6 @@ } } }, - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "tsutils": { "version": "3.21.0", "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", @@ -30361,25 +21345,30 @@ "dev": true, "requires": { "tslib": "^1.8.1" + }, + "dependencies": { + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + } } }, "tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, "requires": { "safe-buffer": "^5.0.1" } }, - "tv4": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.3.0.tgz", - "integrity": "sha1-0CDIRvrdUMhVq7JeuuzGj8EPeWM=" - }, "tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true }, "type-check": { "version": "0.4.0", @@ -30393,21 +21382,14 @@ "type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true }, "type-fest": { "version": "0.20.2", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true }, "typedarray": { "version": "0.0.6", @@ -30419,14 +21401,16 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, "requires": { "is-typedarray": "^1.0.0" } }, "typescript": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", - "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==" + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", + "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", + "dev": true }, "typical": { "version": "2.6.1", @@ -30441,9 +21425,9 @@ "dev": true }, "uglify-js": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.1.tgz", - "integrity": "sha512-JhS3hmcVaXlp/xSo3PKY5R0JqKs5M3IV+exdLHW99qKvKivPO4Z8qbej6mte17SOPqAOVMjt/XGgWacnFSzM3g==", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.2.tgz", + "integrity": "sha512-rtPMlmcO4agTUfz10CbgJ1k6UAoXM2gWb3GoMPPZB/+/Ackf8lNWk11K4rYi2D0apgoFRLtQOZhb+/iGNJq26A==", "dev": true, "optional": true }, @@ -30463,6 +21447,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, "requires": { "function-bind": "^1.1.1", "has-bigints": "^1.0.1", @@ -30471,30 +21456,10 @@ } }, "undefsafe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.3.tgz", - "integrity": "sha512-nrXZwwXrD/T/JXeygJqdCO6NZZ1L66HrxM/Z7mIq2oPanoN0F1nLx3lwJMu6AwJY69hdixaFQOuoYsMjE5/C2A==", - "dev": true, - "requires": { - "debug": "^2.2.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } - } + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", + "dev": true }, "underscore": { "version": "1.13.1", @@ -30502,24 +21467,6 @@ "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==", "dev": true }, - "union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "requires": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" - } - } - }, "unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", @@ -30542,6 +21489,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "dev": true, "requires": { "crypto-random-string": "^2.0.0" } @@ -30552,57 +21500,6 @@ "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", "dev": true }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "requires": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "dependencies": { - "has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "requires": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "dependencies": { - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "requires": { - "isarray": "1.0.0" - } - } - } - }, - "has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=" - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - } - } - }, "upath": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", @@ -30613,6 +21510,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-5.1.0.tgz", "integrity": "sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==", + "dev": true, "requires": { "boxen": "^5.0.0", "chalk": "^4.1.0", @@ -30634,62 +21532,25 @@ "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, "requires": { "punycode": "^2.1.0" } }, - "urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" - }, - "url-parse": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz", - "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==", - "requires": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, "url-parse-lax": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", + "dev": true, "requires": { "prepend-http": "^2.0.0" } }, - "use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" - }, - "utf-8-validate": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.5.tgz", - "integrity": "sha512-+pnxRYsS/axEpkrrEpzYfNZGXp0IjC/9RIxwM5gntY4Koi8SHmUGSfxfWqxZdRxrtaoVstuOzUp/rbs3JSPELQ==", - "requires": { - "node-gyp-build": "^4.2.0" - } - }, - "util": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", - "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", - "requires": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", - "which-typed-array": "^1.1.2" - } - }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true }, "util-promisify": { "version": "2.1.0", @@ -30700,15 +21561,11 @@ "object.getownpropertydescriptors": "^2.0.3" } }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" - }, "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true }, "v8-compile-cache": { "version": "2.3.0", @@ -30735,101 +21592,23 @@ "builtins": "^1.0.3" } }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" - }, "verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, "requires": { "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" } }, - "wait-port": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-0.2.9.tgz", - "integrity": "sha512-hQ/cVKsNqGZ/UbZB/oakOGFqic00YAMM5/PEj3Bt4vKarv2jWIWzDbqlwT94qMs/exAQAsvMOq99sZblV92zxQ==", - "requires": { - "chalk": "^2.4.2", - "commander": "^3.0.2", - "debug": "^4.1.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "walk": { - "version": "2.3.14", - "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.14.tgz", - "integrity": "sha512-5skcWAUmySj6hkBdH6B6+3ddMjVQYH5Qy9QGbPmN8kVmLteXk+yVXg+yfk1nbX30EYakahLrr8iPcCxJQSCBeg==", - "requires": { - "foreachasync": "^3.0.0" - } - }, "walk-back": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-5.1.0.tgz", "integrity": "sha512-Uhxps5yZcVNbLEAnb+xaEEMdgTXl9qAQDzKYejG2AZ7qPwRQ81lozY9ECDbjLPNWm7YsO1IK5rsP1KoQzXAcGA==", "dev": true }, - "walkdir": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz", - "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==" - }, "wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", @@ -30839,15 +21618,6 @@ "defaults": "^1.0.3" } }, - "web-encoding": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.5.tgz", - "integrity": "sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==", - "requires": { - "@zxing/text-encoding": "0.9.0", - "util": "^0.12.3" - } - }, "webidl-conversions": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", @@ -30869,6 +21639,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "requires": { "isexe": "^2.0.0" } @@ -30877,6 +21648,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, "requires": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -30891,19 +21663,6 @@ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, - "which-typed-array": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz", - "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-abstract": "^1.18.5", - "foreach": "^2.0.5", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.7" - } - }, "wide-align": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", @@ -30950,64 +21709,11 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", + "dev": true, "requires": { "string-width": "^4.0.0" } }, - "winston": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz", - "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==", - "requires": { - "@dabh/diagnostics": "^2.0.2", - "async": "^3.1.0", - "is-stream": "^2.0.0", - "logform": "^2.2.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.4.0" - } - }, - "winston-transport": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.0.tgz", - "integrity": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", - "requires": { - "readable-stream": "^2.3.7", - "triple-beam": "^1.2.0" - }, - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", @@ -31048,6 +21754,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -31057,12 +21764,14 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true }, "write-file-atomic": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, "requires": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -31173,42 +21882,16 @@ } } }, - "ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", - "requires": { - "async-limiter": "~1.0.0" - } - }, "xdg-basedir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==" - }, - "xml": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", - "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=" - }, - "xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", - "requires": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - } - }, - "xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", + "dev": true }, "xmlcreate": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.3.tgz", - "integrity": "sha512-HgS+X6zAztGa9zIK3Y3LXuJes33Lz9x+YyTxgrkIdabu2vqcGOWwdfCpf1hWLRrd553wd4QCDf6BBO6FfdsRiQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", + "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", "dev": true }, "xtend": { @@ -31220,12 +21903,14 @@ "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "yaml": { "version": "1.10.2", @@ -31237,6 +21922,7 @@ "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, "requires": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -31250,7 +21936,8 @@ "yargs-parser": { "version": "20.2.4", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==" + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true }, "yargs-unparser": { "version": "2.0.0", @@ -31284,70 +21971,17 @@ } } }, - "yarn": { - "version": "1.22.11", - "resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.11.tgz", - "integrity": "sha512-AWje4bzqO9RUn3sdnM5N8n4ZJ0BqCc/kqFJvpOI5/EVkINXui0yuvU7NDCEF//+WaxHuNay2uOHxA4+tq1P3cg==" - }, "yn": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==" + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true }, "yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true - }, - "yup": { - "version": "0.32.9", - "resolved": "https://registry.npmjs.org/yup/-/yup-0.32.9.tgz", - "integrity": "sha512-Ci1qN+i2H0XpY7syDQ0k5zKQ/DoxO0LzPg8PAR/X4Mpj6DqaeCoIYEEjDJwhArh3Fa7GWbQQVDZKeXYlSH4JMg==", - "requires": { - "@babel/runtime": "^7.10.5", - "@types/lodash": "^4.14.165", - "lodash": "^4.17.20", - "lodash-es": "^4.17.15", - "nanoclone": "^0.2.1", - "property-expr": "^2.0.4", - "toposort": "^2.0.2" - } - }, - "zipkin": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin/-/zipkin-0.12.0.tgz", - "integrity": "sha512-QguH/UQt/ofUVcTJLW7qdyi7iEo71MJJbKg/6d/m3ptvxhm5gDVf/KVuCEfzxxzzWGSKtX+c+qACvowsPkNjuQ==", - "requires": { - "base64-js": "^1.1.2", - "is-promise": "^2.1.0", - "network-address": "^1.1.0" - } - }, - "zipkin-transport-http": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zipkin-transport-http/-/zipkin-transport-http-0.12.0.tgz", - "integrity": "sha512-65v7qSgWfThsFn/cY8+Tc4ed2ZChM5DM3MFj8Y00naFpptl+kgm1e42uU/6DlyyCyX4CtNGn4G3rk4GGSrNORA==", - "requires": { - "chai": "^4.1.2", - "node-fetch": "^1.5.3" - }, - "dependencies": { - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } - } } } } diff --git a/package.json b/package.json index 557dbb6ef..031767c6b 100644 --- a/package.json +++ b/package.json @@ -3,21 +3,21 @@ "private": true, "license": "MIT", "scripts": { - "services": "cross-env NODE_ENV=dev nodemon ./run_services", - "dispatcher": "cross-env NODE_ENV=dev nodemon ./run_dispatcher", "make": "npm i rimraf && npm run clean && npm i && npm run bootstrap && npm run build && npm run test", "bootstrap": "lerna bootstrap --no-ci --hoist", "test": "cross-env NODE_ENV=dev nyc --reporter=lcov mocha -r ts-node/register mods/**/*.unit.test.ts --exit", "integration": "cross-env NODE_ENV=dev nyc --reporter=lcov mocha --timeout 220000 -r ts-node/register mods/**/*.int.test.ts --exit", "build": "lerna run build", "clean": "rimraf .nyc_output **/*/tsconfig.tsbuildinfo dist coverage **/*/dist **/*/node_modules \"node_modules/!(rimraf|.bin)\"", - "gen-protos": "./etc/gen_code_proto.sh", - "gen-docs": "node ./etc/gen_docs.js", "lint": "eslint mods --ext .ts --fix", "format": "prettier --write mods", "check-types": "tsc --noEmit", "postinstall": "husky install", - "version:force": "lerna exec -- touch .lerna-changed-buster-$RANDOM" + "start": "cross-env NODE_ENV=dev nodemon services", + "start:dispatcher": "cross-env NODE_ENV=dev nodemon dispatcher", + "gen:protos": "./.scripts/gen_code_proto.sh", + "gen:docs": "node ./.scripts/gen_docs.js", + "version:force": "rimraf mods/**/.lerna-changed-buster-* && lerna exec -- touch .lerna-changed-buster-$RANDOM" }, "nodemonConfig": { "watch": [ @@ -29,7 +29,7 @@ }, "devDependencies": { "@types/mocha": "^8.2.0", - "@types/node": "^15.12.2", + "@types/node": "^15.14.9", "@typescript-eslint/eslint-plugin": "^4.19.0", "@typescript-eslint/parser": "^4.19.0", "chai": "^4.2.0", @@ -42,8 +42,8 @@ "eslint-plugin-no-loops": "^0.3.0", "eslint-plugin-notice": "^0.9.10", "eslint-plugin-prettier": "^3.3.1", - "grpc_tools_node_protoc_ts": "^5.2.2", - "grpc-tools": "^1.11.1", + "grpc_tools_node_protoc_ts": "5.2.2", + "grpc-tools": "1.11.1", "husky": "^6.0.0", "jsdoc-to-markdown": "^7.0.1", "lerna": "^4.0.0", @@ -55,6 +55,10 @@ "sinon": "^9.0.1", "sinon-chai": "^3.5.0", "ts-node": "^9.1.1", - "typescript": "^4.1.5" + "typescript": "^4.5.4" + }, + "dependencies": { + "axios": "^0.24.0", + "colors": "^1.4.0" } } diff --git a/run_services.ts b/services.ts similarity index 61% rename from run_services.ts rename to services.ts index bc84a3027..4b7295362 100644 --- a/run_services.ts +++ b/services.ts @@ -1,4 +1,23 @@ #!/usr/bin/env node +/* + * Copyright (C) 2021 by Fonoster Inc (https://fonoster.com) + * http://github.com/fonoster/fonoster + * + * This file is part of Fonoster + * + * Licensed under the MIT License (the "License"); + * you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://opensource.org/licenses/MIT + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import dotenv from "dotenv"; import {join} from "path"; @@ -6,6 +25,9 @@ if (process.env.NODE_ENV === "dev") { dotenv.config({path: join(__dirname, ".env")}); } +import MonitorServer from "./mods/monitor/src/service/monitor"; +import UsersServer from "./mods/users/src/service/users"; +import ProjectsServer from "./mods/projects/src/service/projects"; import AuthServer from "./mods/auth/src/service/auth"; import FuncsServer from "./mods/funcs/src/service/funcs"; import AgentsServer from "./mods/agents/src/service/agents"; @@ -15,6 +37,9 @@ import NumbersServer from "./mods/numbers/src/service/numbers"; import ProvidersServer from "./mods/providers/src/service/providers"; import CallManagerServer from "./mods/callmanager/src/service/callmanager"; import StorageServer from "./mods/storage/src/service/storage"; +import {MonitorService} from "./mods/monitor/src/service/protos/monitor_grpc_pb"; +import {ProjectsService} from "./mods/projects/src/service/protos/projects_grpc_pb"; +import {UsersService} from "./mods/users/src/service/protos/users_grpc_pb"; import {AuthService} from "./mods/auth/src/service/protos/auth_grpc_pb"; import {FuncsService} from "./mods/funcs/src/service/protos/funcs_grpc_pb"; import {AgentsService} from "./mods/agents/src/service/protos/agents_grpc_pb"; @@ -29,6 +54,24 @@ import AuthMiddleware from "./mods/auth/src/auth_middleware"; import {getSalt} from "./mods/certs/src/certs"; const services = [ + { + name: "monitor", + version: "v1beta1", + service: MonitorService, + server: new MonitorServer() + }, + { + name: "users", + version: "v1beta1", + service: UsersService, + server: new UsersServer() + }, + { + name: "projects", + version: "v1beta1", + service: ProjectsService, + server: new ProjectsServer() + }, { name: "auth", version: "v1beta1", @@ -86,9 +129,15 @@ const services = [ ]; const whitelist = [ - "/fonos.auth.v1beta1.Auth/GetRole", - "/fonos.auth.v1beta1.Auth/CreateToken", - "/fonos.auth.v1beta1.Auth/CreateNoAccessToken", + "/fonoster.monitor.v1beta1.Monitor/SearchEvents", + "/fonoster.users.v1beta1.Users/ListUsers", + "/fonoster.users.v1beta1.Users/CreateUser", + "/fonoster.users.v1beta1.Users/DeleteUser", + "/fonoster.users.v1beta1.Users/LoginUser", + "/fonoster.auth.v1beta1.Auth/GetRole", + "/fonoster.auth.v1beta1.Auth/CreateToken", + "/fonoster.auth.v1beta1.Auth/CreateNoAccessToken", + "/fonoster.auth.v1beta1.Secrets/GetSecret", "/grpc.health.v1.Health/Check" ]; diff --git a/signatures/version1/cla.json b/signatures/version1/cla.json index 7057ecd74..dd343e4b7 100644 --- a/signatures/version1/cla.json +++ b/signatures/version1/cla.json @@ -23,6 +23,86 @@ "created_at": "2021-08-17T15:15:33Z", "repoId": 120149974, "pullRequestNo": 140 + }, + { + "name": "brunowego", + "id": 441774, + "comment_id": 965041534, + "created_at": "2021-11-10T11:29:29Z", + "repoId": 120149974, + "pullRequestNo": 215 + }, + { + "name": "BrayanMnz", + "id": 61812255, + "comment_id": 983206927, + "created_at": "2021-12-01T01:52:42Z", + "repoId": 120149974, + "pullRequestNo": 249 + }, + { + "name": "gad2103", + "id": 1045265, + "comment_id": 1019594575, + "created_at": "2022-01-23T23:48:11Z", + "repoId": 120149974, + "pullRequestNo": 264 + }, + { + "name": "antoniusostermann", + "id": 2332002, + "comment_id": 1041407902, + "created_at": "2022-02-16T11:50:08Z", + "repoId": 120149974, + "pullRequestNo": 285 + }, + { + "name": "efraa", + "id": 40646537, + "comment_id": 1041576064, + "created_at": "2022-02-16T14:54:44Z", + "repoId": 120149974, + "pullRequestNo": 286 + }, + { + "name": "harish-chander", + "id": 13236956, + "comment_id": 1048484413, + "created_at": "2022-02-23T06:31:58Z", + "repoId": 120149974, + "pullRequestNo": 297 + }, + { + "name": "0xflotus", + "id": 26602940, + "comment_id": 1061866947, + "created_at": "2022-03-08T14:57:25Z", + "repoId": 120149974, + "pullRequestNo": 305 + }, + { + "name": "jellydn", + "id": 870029, + "comment_id": 1119203414, + "created_at": "2022-05-06T02:22:23Z", + "repoId": 120149974, + "pullRequestNo": 336 + }, + { + "name": "RiadVargas", + "id": 4274014, + "comment_id": 1120307370, + "created_at": "2022-05-07T22:22:01Z", + "repoId": 120149974, + "pullRequestNo": 337 + }, + { + "name": "andrp92", + "id": 28060986, + "comment_id": 1126177376, + "created_at": "2022-05-13T15:26:37Z", + "repoId": 120149974, + "pullRequestNo": 338 } ] } \ No newline at end of file